@well-insight/ui 0.1.10 → 0.1.11

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 (320) hide show
  1. package/CHANGELOG.md +50 -0
  2. package/dist/{Button-B6-YxpOQ.js → Button-tnrMSwNg.js} +3 -7
  3. package/dist/{Checkbox-BvlOYFGs.js → Checkbox-CoovLjt_.js} +1 -1
  4. package/dist/{Icon-B6gOD07E.js → Icon-DHGs8l-M.js} +27 -1
  5. package/dist/Pagination-UvgyUKB1.js +155 -0
  6. package/dist/{ProgressSpinner-YThgaSzb.js → ProgressSpinner-BTijCc7l.js} +1 -1
  7. package/dist/accordion/style.css +4 -5
  8. package/dist/auto-complete/index.js +106 -99
  9. package/dist/auto-complete/style.css +4 -5
  10. package/dist/avatar/index.js +1 -1
  11. package/dist/avatar/style.css +4 -5
  12. package/dist/badge/style.css +4 -5
  13. package/dist/block-ui/style.css +4 -5
  14. package/dist/breadcrumb/index.js +1 -1
  15. package/dist/breadcrumb/style.css +4 -5
  16. package/dist/button/index.js +1 -1
  17. package/dist/button/style.css +4 -5
  18. package/dist/card/style.css +4 -5
  19. package/dist/carousel/index.js +61 -54
  20. package/dist/carousel/style.css +43 -5
  21. package/dist/carousel/style.js +1 -0
  22. package/dist/cascade-select/index.js +143 -76
  23. package/dist/cascade-select/style.css +76 -10
  24. package/dist/cascade-select/style.js +1 -0
  25. package/dist/checkbox/index.js +1 -1
  26. package/dist/checkbox/style.css +4 -5
  27. package/dist/chip/index.js +32 -29
  28. package/dist/chip/style.css +4 -5
  29. package/dist/command-menu/index.js +2 -2
  30. package/dist/command-menu/style.css +4 -5
  31. package/dist/components/AutoComplete/AutoComplete.vue.d.ts +2 -0
  32. package/dist/components/AutoComplete/AutoComplete.vue.d.ts.map +1 -1
  33. package/dist/components/AutoComplete/types.d.ts +1 -0
  34. package/dist/components/AutoComplete/types.d.ts.map +1 -1
  35. package/dist/components/Button/Button.vue.d.ts +0 -1
  36. package/dist/components/Button/Button.vue.d.ts.map +1 -1
  37. package/dist/components/Button/types.d.ts +0 -2
  38. package/dist/components/Button/types.d.ts.map +1 -1
  39. package/dist/components/Carousel/Carousel.vue.d.ts +2 -2
  40. package/dist/components/Carousel/Carousel.vue.d.ts.map +1 -1
  41. package/dist/components/CascadeSelect/CascadeSelect.vue.d.ts +6 -0
  42. package/dist/components/CascadeSelect/CascadeSelect.vue.d.ts.map +1 -1
  43. package/dist/components/CascadeSelect/styles.css +33 -5
  44. package/dist/components/CascadeSelect/types.d.ts +11 -0
  45. package/dist/components/CascadeSelect/types.d.ts.map +1 -1
  46. package/dist/components/Chip/Chip.vue.d.ts.map +1 -1
  47. package/dist/components/ConfirmPopup/ConfirmPopup.vue.d.ts.map +1 -1
  48. package/dist/components/ContextMenu/ContextMenuNodes.vue.d.ts.map +1 -1
  49. package/dist/components/DatePicker/DatePicker.vue.d.ts +2 -0
  50. package/dist/components/DatePicker/DatePicker.vue.d.ts.map +1 -1
  51. package/dist/components/DatePicker/styles.css +33 -8
  52. package/dist/components/DatePicker/types.d.ts +1 -0
  53. package/dist/components/DatePicker/types.d.ts.map +1 -1
  54. package/dist/components/Dialog/Dialog.vue.d.ts +3 -3
  55. package/dist/components/Dialog/Dialog.vue.d.ts.map +1 -1
  56. package/dist/components/Divider/types.d.ts +0 -5
  57. package/dist/components/Divider/types.d.ts.map +1 -1
  58. package/dist/components/Drawer/Drawer.vue.d.ts +2 -2
  59. package/dist/components/Drawer/Drawer.vue.d.ts.map +1 -1
  60. package/dist/components/Dropdown/DropdownNodes.vue.d.ts +2 -2
  61. package/dist/components/Dropdown/DropdownNodes.vue.d.ts.map +1 -1
  62. package/dist/components/Fieldset/Fieldset.vue.d.ts +4 -4
  63. package/dist/components/Fieldset/Fieldset.vue.d.ts.map +1 -1
  64. package/dist/components/FileUpload/styles.css +2 -2
  65. package/dist/components/FloatLabel/FloatLabel.vue.d.ts.map +1 -1
  66. package/dist/components/Gallery/Gallery.vue.d.ts.map +1 -1
  67. package/dist/components/Icon/icons.d.ts +32 -0
  68. package/dist/components/Icon/icons.d.ts.map +1 -1
  69. package/dist/components/Input/Input.vue.d.ts +0 -1
  70. package/dist/components/Input/Input.vue.d.ts.map +1 -1
  71. package/dist/components/Input/styles.css +3 -5
  72. package/dist/components/Input/types.d.ts +1 -3
  73. package/dist/components/Input/types.d.ts.map +1 -1
  74. package/dist/components/InputNumber/InputNumber.vue.d.ts.map +1 -1
  75. package/dist/components/InputOtp/InputOtp.vue.d.ts.map +1 -1
  76. package/dist/components/InputPassword/InputPassword.vue.d.ts +4 -4
  77. package/dist/components/InputPassword/InputPassword.vue.d.ts.map +1 -1
  78. package/dist/components/InputTags/InputTags.vue.d.ts.map +1 -1
  79. package/dist/components/Layout/Layout.vue.d.ts +1 -4
  80. package/dist/components/Layout/Layout.vue.d.ts.map +1 -1
  81. package/dist/components/Layout/LayoutContent.vue.d.ts +1 -4
  82. package/dist/components/Layout/LayoutContent.vue.d.ts.map +1 -1
  83. package/dist/components/Layout/LayoutFooter.vue.d.ts.map +1 -1
  84. package/dist/components/Layout/LayoutHeader.vue.d.ts.map +1 -1
  85. package/dist/components/Layout/LayoutSider.vue.d.ts +1 -4
  86. package/dist/components/Layout/LayoutSider.vue.d.ts.map +1 -1
  87. package/dist/components/Layout/composables/useLayoutRegionStyle.d.ts +9 -0
  88. package/dist/components/Layout/composables/useLayoutRegionStyle.d.ts.map +1 -0
  89. package/dist/components/Layout/composables/useLayoutScroll.d.ts +6 -0
  90. package/dist/components/Layout/composables/useLayoutScroll.d.ts.map +1 -0
  91. package/dist/components/Layout/composables/useLayoutSiderCollapse.d.ts +16 -0
  92. package/dist/components/Layout/composables/useLayoutSiderCollapse.d.ts.map +1 -0
  93. package/dist/components/Layout/styles.css +19 -49
  94. package/dist/components/Layout/types.d.ts +0 -22
  95. package/dist/components/Layout/types.d.ts.map +1 -1
  96. package/dist/components/Layout/utils.d.ts +3 -0
  97. package/dist/components/Layout/utils.d.ts.map +1 -0
  98. package/dist/components/MegaMenu/MegaMenu.vue.d.ts.map +1 -1
  99. package/dist/components/Menu/MenuNodes.vue.d.ts.map +1 -1
  100. package/dist/components/Menubar/Menubar.vue.d.ts.map +1 -1
  101. package/dist/components/Pagination/Pagination.vue.d.ts.map +1 -1
  102. package/dist/components/Panel/Panel.vue.d.ts +3 -3
  103. package/dist/components/Panel/Panel.vue.d.ts.map +1 -1
  104. package/dist/components/Popover/Popover.vue.d.ts.map +1 -1
  105. package/dist/components/Popover/styles.css +41 -0
  106. package/dist/components/Rating/Rating.vue.d.ts.map +1 -1
  107. package/dist/components/Rating/styles.css +28 -23
  108. package/dist/components/ScrollTop/ScrollTop.vue.d.ts.map +1 -1
  109. package/dist/components/Select/Select.vue.d.ts +1 -1
  110. package/dist/components/Select/Select.vue.d.ts.map +1 -1
  111. package/dist/components/Select/styles.css +8 -108
  112. package/dist/components/Select/types.d.ts +3 -3
  113. package/dist/components/Select/types.d.ts.map +1 -1
  114. package/dist/components/Slider/Slider.vue.d.ts.map +1 -1
  115. package/dist/components/Slider/types.d.ts +2 -0
  116. package/dist/components/Slider/types.d.ts.map +1 -1
  117. package/dist/components/SpeedDial/SpeedDial.vue.d.ts.map +1 -1
  118. package/dist/components/SplitButton/SplitButton.vue.d.ts.map +1 -1
  119. package/dist/components/Table/Table.vue.d.ts +9 -9
  120. package/dist/components/Table/Table.vue.d.ts.map +1 -1
  121. package/dist/components/Tabs/Tabs.vue.d.ts +3 -3
  122. package/dist/components/Tabs/Tabs.vue.d.ts.map +1 -1
  123. package/dist/components/Tag/Tag.vue.d.ts.map +1 -1
  124. package/dist/components/Terminal/styles.css +8 -8
  125. package/dist/components/Textarea/Textarea.vue.d.ts +0 -2
  126. package/dist/components/Textarea/Textarea.vue.d.ts.map +1 -1
  127. package/dist/components/Textarea/styles.css +1 -2
  128. package/dist/components/Textarea/types.d.ts +1 -5
  129. package/dist/components/Textarea/types.d.ts.map +1 -1
  130. package/dist/components/TieredMenu/TieredMenu.vue.d.ts.map +1 -1
  131. package/dist/components/Toast/Toast.vue.d.ts.map +1 -1
  132. package/dist/components/Tooltip/Tooltip.vue.d.ts.map +1 -1
  133. package/dist/components/TreeSelect/TreeSelect.vue.d.ts.map +1 -1
  134. package/dist/components/TreeSelect/TreeSelectNodeItem.vue.d.ts.map +1 -1
  135. package/dist/components/TreeSelect/styles.css +21 -12
  136. package/dist/components/TreeTable/TreeTableRow.vue.d.ts.map +1 -1
  137. package/dist/{config-DWwce9jA.js → config-CTLkobga.js} +1 -0
  138. package/dist/config-provider/index.js +1 -1
  139. package/dist/config-provider/style.css +7 -10
  140. package/dist/confirm-dialog/index.js +4 -4
  141. package/dist/confirm-dialog/style.css +4 -5
  142. package/dist/confirm-popup/index.js +62 -77
  143. package/dist/confirm-popup/style.css +4 -5
  144. package/dist/context-menu/index.js +69 -61
  145. package/dist/context-menu/style.css +4 -5
  146. package/dist/data-view/index.js +1 -1
  147. package/dist/data-view/style.css +4 -5
  148. package/dist/date-picker/index.js +144 -137
  149. package/dist/date-picker/style.css +76 -13
  150. package/dist/date-picker/style.js +1 -0
  151. package/dist/dialog/index.js +76 -70
  152. package/dist/dialog/style.css +4 -5
  153. package/dist/divider/index.js +1 -2
  154. package/dist/divider/style.css +4 -5
  155. package/dist/dock/style.css +4 -5
  156. package/dist/drawer/index.js +49 -45
  157. package/dist/drawer/style.css +43 -5
  158. package/dist/drawer/style.js +1 -0
  159. package/dist/dropdown/index.js +98 -97
  160. package/dist/dropdown/style.css +4 -5
  161. package/dist/fieldset/index.js +16 -12
  162. package/dist/fieldset/style.css +43 -5
  163. package/dist/fieldset/style.js +1 -0
  164. package/dist/file-upload/index.js +2 -2
  165. package/dist/file-upload/style.css +6 -7
  166. package/dist/flex/index.js +1 -1
  167. package/dist/flex/style.css +4 -5
  168. package/dist/float-label/index.js +15 -4
  169. package/dist/float-label/style.css +4 -5
  170. package/dist/fluid/style.css +4 -5
  171. package/dist/form/index.js +1 -1
  172. package/dist/form/style.css +4 -5
  173. package/dist/gallery/index.js +41 -34
  174. package/dist/gallery/style.css +43 -5
  175. package/dist/gallery/style.js +1 -0
  176. package/dist/grid/style.css +4 -5
  177. package/dist/icon/index.js +1 -1
  178. package/dist/icon/style.css +4 -5
  179. package/dist/icon-Cg5TeFqe.js +7 -0
  180. package/dist/icon-field/style.css +4 -5
  181. package/dist/index.js +2783 -2643
  182. package/dist/inplace/style.css +4 -5
  183. package/dist/input/index.js +65 -66
  184. package/dist/input/style.css +46 -10
  185. package/dist/input/style.js +1 -0
  186. package/dist/input-color/index.js +1 -1
  187. package/dist/input-color/style.css +4 -5
  188. package/dist/input-group/style.css +4 -5
  189. package/dist/input-number/index.js +82 -66
  190. package/dist/input-number/style.css +43 -5
  191. package/dist/input-number/style.js +1 -0
  192. package/dist/input-otp/index.js +3 -3
  193. package/dist/input-otp/style.css +4 -5
  194. package/dist/input-password/index.js +46 -43
  195. package/dist/input-password/style.css +4 -5
  196. package/dist/input-tags/index.js +50 -46
  197. package/dist/input-tags/style.css +43 -5
  198. package/dist/input-tags/style.js +1 -0
  199. package/dist/key-CaQYVkjh.js +6 -0
  200. package/dist/knob/style.css +4 -5
  201. package/dist/label/style.css +4 -5
  202. package/dist/layout/index.js +196 -271
  203. package/dist/layout/style.css +48 -140
  204. package/dist/layout/style.js +1 -1
  205. package/dist/listbox/index.js +1 -1
  206. package/dist/listbox/style.css +4 -5
  207. package/dist/locale/en-US.d.ts.map +1 -1
  208. package/dist/locale/types.d.ts +1 -0
  209. package/dist/locale/types.d.ts.map +1 -1
  210. package/dist/locale/zh-CN.d.ts.map +1 -1
  211. package/dist/{locale-CYkJyRd1.js → locale-DxAvgqgB.js} +1 -1
  212. package/dist/mega-menu/index.js +47 -49
  213. package/dist/mega-menu/style.css +4 -5
  214. package/dist/menu/index.js +81 -76
  215. package/dist/menu/style.css +4 -5
  216. package/dist/menubar/index.js +75 -73
  217. package/dist/menubar/style.css +4 -5
  218. package/dist/message/index.js +3 -3
  219. package/dist/message/style.css +4 -5
  220. package/dist/meter-group/style.css +4 -5
  221. package/dist/order-list/index.js +2 -2
  222. package/dist/order-list/style.css +4 -5
  223. package/dist/overlayPlacement-CN1tuC95.js +51 -0
  224. package/dist/pagination/index.js +1 -1
  225. package/dist/pagination/style.css +43 -5
  226. package/dist/pagination/style.js +1 -0
  227. package/dist/panel/index.js +27 -23
  228. package/dist/panel/style.css +43 -5
  229. package/dist/panel/style.js +1 -0
  230. package/dist/pick-list/index.js +2 -2
  231. package/dist/pick-list/style.css +4 -5
  232. package/dist/popover/index.js +79 -100
  233. package/dist/popover/style.css +45 -5
  234. package/dist/progress-bar/style.css +4 -5
  235. package/dist/progress-spinner/index.js +1 -1
  236. package/dist/progress-spinner/style.css +4 -5
  237. package/dist/radio/index.js +1 -1
  238. package/dist/radio/style.css +4 -5
  239. package/dist/rating/index.js +54 -44
  240. package/dist/rating/style.css +71 -28
  241. package/dist/rating/style.js +1 -0
  242. package/dist/scroll-top/index.js +45 -41
  243. package/dist/scroll-top/style.css +43 -5
  244. package/dist/scroll-top/style.js +1 -0
  245. package/dist/scrollbar/index.js +382 -2
  246. package/dist/scrollbar/style.css +4 -5
  247. package/dist/select/index.js +149 -141
  248. package/dist/select/style.css +51 -113
  249. package/dist/select/style.js +1 -0
  250. package/dist/select-button/index.js +1 -1
  251. package/dist/select-button/style.css +4 -5
  252. package/dist/shared/componentDefaults.d.ts +5 -1
  253. package/dist/shared/componentDefaults.d.ts.map +1 -1
  254. package/dist/shared/menu/icon.d.ts +4 -0
  255. package/dist/shared/menu/icon.d.ts.map +1 -0
  256. package/dist/shared/menu/index.d.ts +4 -0
  257. package/dist/shared/menu/index.d.ts.map +1 -0
  258. package/dist/shared/menu/key.d.ts +4 -0
  259. package/dist/shared/menu/key.d.ts.map +1 -0
  260. package/dist/shared/menu/types.d.ts +11 -0
  261. package/dist/shared/menu/types.d.ts.map +1 -0
  262. package/dist/shared/overlayPlacement.d.ts +12 -0
  263. package/dist/shared/overlayPlacement.d.ts.map +1 -0
  264. package/dist/sidebar/index.js +1 -1
  265. package/dist/sidebar/style.css +4 -5
  266. package/dist/skeleton/style.css +4 -5
  267. package/dist/slider/index.js +6 -3
  268. package/dist/slider/style.css +4 -5
  269. package/dist/space/index.js +1 -1
  270. package/dist/space/style.css +4 -5
  271. package/dist/speed-dial/index.js +55 -66
  272. package/dist/speed-dial/style.css +43 -5
  273. package/dist/speed-dial/style.js +1 -0
  274. package/dist/split-button/index.js +66 -63
  275. package/dist/split-button/style.css +43 -5
  276. package/dist/split-button/style.js +1 -0
  277. package/dist/splitter/index.js +1 -1
  278. package/dist/splitter/style.css +4 -5
  279. package/dist/stepper/style.css +4 -5
  280. package/dist/styles/base.css +4 -5
  281. package/dist/styles.css +1 -1
  282. package/dist/switch/index.js +1 -1
  283. package/dist/switch/style.css +4 -5
  284. package/dist/table/index.js +41 -35
  285. package/dist/table/style.css +4 -5
  286. package/dist/tabs/index.js +78 -65
  287. package/dist/tabs/style.css +43 -5
  288. package/dist/tabs/style.js +1 -0
  289. package/dist/tag/index.js +31 -28
  290. package/dist/tag/style.css +4 -5
  291. package/dist/terminal/index.js +1 -1
  292. package/dist/terminal/style.css +12 -13
  293. package/dist/textarea/index.js +69 -75
  294. package/dist/textarea/style.css +44 -7
  295. package/dist/textarea/style.js +1 -0
  296. package/dist/tiered-menu/index.js +66 -59
  297. package/dist/tiered-menu/style.css +43 -5
  298. package/dist/tiered-menu/style.js +1 -0
  299. package/dist/timeline/index.js +1 -1
  300. package/dist/timeline/style.css +4 -5
  301. package/dist/toast/index.js +93 -89
  302. package/dist/toast/style.css +43 -5
  303. package/dist/toast/style.js +1 -0
  304. package/dist/toggle-button/index.js +1 -1
  305. package/dist/toggle-button/style.css +4 -5
  306. package/dist/toolbar/style.css +4 -5
  307. package/dist/tooltip/index.js +47 -71
  308. package/dist/tooltip/style.css +4 -5
  309. package/dist/tree/index.js +3 -3
  310. package/dist/tree/style.css +4 -5
  311. package/dist/tree-select/index.js +164 -155
  312. package/dist/tree-select/style.css +64 -17
  313. package/dist/tree-select/style.js +1 -0
  314. package/dist/tree-table/index.js +34 -30
  315. package/dist/tree-table/style.css +43 -5
  316. package/dist/tree-table/style.js +1 -0
  317. package/dist/virtual-scroller/style.css +4 -5
  318. package/package.json +4 -1
  319. package/dist/Pagination-BU-1IY0E.js +0 -148
  320. package/dist/Scrollbar-D-bR2noX.js +0 -382
@@ -480,8 +480,8 @@
480
480
  font-size: var(--wi-font-size-xs);
481
481
  }
482
482
 
483
- .wi-textarea-field__help--error,
484
- .wi-select-field__help--error {
483
+ .wi-textarea-field__help--invalid,
484
+ .wi-select-field__help--invalid {
485
485
  color: var(--wi-color-danger);
486
486
  }
487
487
 
@@ -500,9 +500,8 @@
500
500
  }
501
501
 
502
502
  .wi-textarea--invalid:focus-visible,
503
- .wi-textarea--error:focus-visible,
504
- .wi-select--error.wi-select--open,
505
- .wi-select--error:focus-visible {
503
+ .wi-select--invalid.wi-select--open,
504
+ .wi-select--invalid:focus-visible {
506
505
  border-color: var(--wi-color-danger);
507
506
  box-shadow: var(--wi-focus-shadow-danger);
508
507
  }
@@ -480,8 +480,8 @@
480
480
  font-size: var(--wi-font-size-xs);
481
481
  }
482
482
 
483
- .wi-textarea-field__help--error,
484
- .wi-select-field__help--error {
483
+ .wi-textarea-field__help--invalid,
484
+ .wi-select-field__help--invalid {
485
485
  color: var(--wi-color-danger);
486
486
  }
487
487
 
@@ -500,9 +500,8 @@
500
500
  }
501
501
 
502
502
  .wi-textarea--invalid:focus-visible,
503
- .wi-textarea--error:focus-visible,
504
- .wi-select--error.wi-select--open,
505
- .wi-select--error:focus-visible {
503
+ .wi-select--invalid.wi-select--open,
504
+ .wi-select--invalid:focus-visible {
506
505
  border-color: var(--wi-color-danger);
507
506
  box-shadow: var(--wi-focus-shadow-danger);
508
507
  }
@@ -1,4 +1,4 @@
1
- import { n as e } from "../locale-CYkJyRd1.js";
1
+ import { n as e } from "../locale-DxAvgqgB.js";
2
2
  import "./style.js";
3
3
  import { Fragment as t, computed as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, createTextVNode as o, defineComponent as s, normalizeClass as c, openBlock as l, renderList as u, renderSlot as d, toDisplayString as f, unref as p } from "vue";
4
4
  //#region src/components/Breadcrumb/Breadcrumb.vue?vue&type=script&setup=true&lang.ts
@@ -480,8 +480,8 @@
480
480
  font-size: var(--wi-font-size-xs);
481
481
  }
482
482
 
483
- .wi-textarea-field__help--error,
484
- .wi-select-field__help--error {
483
+ .wi-textarea-field__help--invalid,
484
+ .wi-select-field__help--invalid {
485
485
  color: var(--wi-color-danger);
486
486
  }
487
487
 
@@ -500,9 +500,8 @@
500
500
  }
501
501
 
502
502
  .wi-textarea--invalid:focus-visible,
503
- .wi-textarea--error:focus-visible,
504
- .wi-select--error.wi-select--open,
505
- .wi-select--error:focus-visible {
503
+ .wi-select--invalid.wi-select--open,
504
+ .wi-select--invalid:focus-visible {
506
505
  border-color: var(--wi-color-danger);
507
506
  box-shadow: var(--wi-focus-shadow-danger);
508
507
  }
@@ -1,4 +1,4 @@
1
- import { t as e } from "../Button-B6-YxpOQ.js";
1
+ import { t as e } from "../Button-tnrMSwNg.js";
2
2
  import "./style.js";
3
3
  import { computed as t, createElementBlock as n, defineComponent as r, normalizeClass as i, openBlock as a, renderSlot as o } from "vue";
4
4
  //#region src/components/Button/ButtonGroup.vue?vue&type=script&setup=true&lang.ts
@@ -480,8 +480,8 @@
480
480
  font-size: var(--wi-font-size-xs);
481
481
  }
482
482
 
483
- .wi-textarea-field__help--error,
484
- .wi-select-field__help--error {
483
+ .wi-textarea-field__help--invalid,
484
+ .wi-select-field__help--invalid {
485
485
  color: var(--wi-color-danger);
486
486
  }
487
487
 
@@ -500,9 +500,8 @@
500
500
  }
501
501
 
502
502
  .wi-textarea--invalid:focus-visible,
503
- .wi-textarea--error:focus-visible,
504
- .wi-select--error.wi-select--open,
505
- .wi-select--error:focus-visible {
503
+ .wi-select--invalid.wi-select--open,
504
+ .wi-select--invalid:focus-visible {
506
505
  border-color: var(--wi-color-danger);
507
506
  box-shadow: var(--wi-focus-shadow-danger);
508
507
  }
@@ -480,8 +480,8 @@
480
480
  font-size: var(--wi-font-size-xs);
481
481
  }
482
482
 
483
- .wi-textarea-field__help--error,
484
- .wi-select-field__help--error {
483
+ .wi-textarea-field__help--invalid,
484
+ .wi-select-field__help--invalid {
485
485
  color: var(--wi-color-danger);
486
486
  }
487
487
 
@@ -500,9 +500,8 @@
500
500
  }
501
501
 
502
502
  .wi-textarea--invalid:focus-visible,
503
- .wi-textarea--error:focus-visible,
504
- .wi-select--error.wi-select--open,
505
- .wi-select--error:focus-visible {
503
+ .wi-select--invalid.wi-select--open,
504
+ .wi-select--invalid:focus-visible {
506
505
  border-color: var(--wi-color-danger);
507
506
  box-shadow: var(--wi-focus-shadow-danger);
508
507
  }
@@ -1,15 +1,16 @@
1
- import { n as e } from "../locale-CYkJyRd1.js";
1
+ import { t as e } from "../Icon-DHGs8l-M.js";
2
+ import { n as t } from "../locale-DxAvgqgB.js";
2
3
  import "./style.js";
3
- import { Fragment as t, computed as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, createTextVNode as o, defineComponent as s, normalizeClass as c, normalizeStyle as l, onBeforeUnmount as u, openBlock as d, ref as f, renderList as p, renderSlot as m, toDisplayString as h, unref as g, watch as _ } from "vue";
4
+ import { Fragment as n, computed as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createTextVNode as s, createVNode as c, defineComponent as l, normalizeClass as u, normalizeStyle as d, onBeforeUnmount as f, openBlock as p, ref as m, renderList as h, renderSlot as g, toDisplayString as _, unref as v, watch as y } from "vue";
4
5
  //#region src/components/Carousel/Carousel.vue?vue&type=script&setup=true&lang.ts
5
- var v = { class: "wi-carousel" }, y = ["aria-label", "disabled"], b = { class: "wi-carousel__main" }, x = { class: "wi-carousel__viewport" }, S = {
6
+ var b = { class: "wi-carousel" }, x = ["aria-label", "disabled"], S = { class: "wi-carousel__main" }, C = { class: "wi-carousel__viewport" }, w = {
6
7
  key: 0,
7
8
  class: "wi-carousel__indicators"
8
- }, C = [
9
+ }, T = [
9
10
  "aria-label",
10
11
  "aria-current",
11
12
  "onClick"
12
- ], w = ["aria-label", "disabled"], T = /* @__PURE__ */ s({
13
+ ], E = ["aria-label", "disabled"], D = /* @__PURE__ */ l({
13
14
  __name: "Carousel",
14
15
  props: {
15
16
  value: {},
@@ -33,79 +34,85 @@ var v = { class: "wi-carousel" }, y = ["aria-label", "disabled"], b = { class: "
33
34
  }
34
35
  },
35
36
  emits: ["update:page"],
36
- setup(s, { emit: T }) {
37
- let E = s, D = T, O = f(0), k = e(), A = null, j = n(() => Math.max(0, E.value.length - E.numVisible)), M = n(() => Array.from({ length: j.value + 1 }, (e, t) => t)), N = n(() => {
38
- let e = O.value;
39
- return E.value.slice(e, e + E.numVisible).map((t, n) => ({
37
+ setup(l, { emit: D }) {
38
+ let O = l, k = D, A = m(0), j = t(), M = null, N = r(() => Math.max(0, O.value.length - O.numVisible)), P = r(() => Array.from({ length: N.value + 1 }, (e, t) => t)), F = r(() => {
39
+ let e = A.value;
40
+ return O.value.slice(e, e + O.numVisible).map((t, n) => ({
40
41
  item: t,
41
42
  index: e + n
42
43
  }));
43
44
  });
44
- function P(e) {
45
+ function I(e) {
45
46
  let t = e;
46
- if (E.circular) {
47
- let n = j.value + 1;
47
+ if (O.circular) {
48
+ let n = N.value + 1;
48
49
  t = (e % n + n) % n;
49
- } else t = Math.min(j.value, Math.max(0, e));
50
- O.value = t, D("update:page", t);
51
- }
52
- function F() {
53
- P(O.value - 1);
54
- }
55
- function I() {
56
- P(O.value + 1);
50
+ } else t = Math.min(N.value, Math.max(0, e));
51
+ A.value = t, k("update:page", t);
57
52
  }
58
53
  function L() {
59
- A !== null && (clearInterval(A), A = null);
54
+ I(A.value - 1);
60
55
  }
61
56
  function R() {
62
- L(), !(!E.autoplay || E.value.length <= E.numVisible) && (A = setInterval(() => {
63
- if (!E.circular && O.value >= j.value) {
64
- P(0);
57
+ I(A.value + 1);
58
+ }
59
+ function z() {
60
+ M !== null && (clearInterval(M), M = null);
61
+ }
62
+ function B() {
63
+ z(), !(!O.autoplay || O.value.length <= O.numVisible) && (M = setInterval(() => {
64
+ if (!O.circular && A.value >= N.value) {
65
+ I(0);
65
66
  return;
66
67
  }
67
- I();
68
- }, Math.max(400, E.interval)));
68
+ R();
69
+ }, Math.max(400, O.interval)));
69
70
  }
70
- return _(() => [
71
- E.autoplay,
72
- E.interval,
73
- E.value.length,
74
- E.numVisible
75
- ], () => R(), { immediate: !0 }), u(L), (e, n) => (d(), i("div", v, [
76
- s.showArrows ? (d(), i("button", {
71
+ return y(() => [
72
+ O.autoplay,
73
+ O.interval,
74
+ O.value.length,
75
+ O.numVisible
76
+ ], () => B(), { immediate: !0 }), f(z), (t, r) => (p(), a("div", b, [
77
+ l.showArrows ? (p(), a("button", {
77
78
  key: 0,
78
79
  type: "button",
79
80
  class: "wi-carousel__nav wi-carousel__nav--prev",
80
- "aria-label": g(k).prev,
81
- disabled: !s.circular && O.value <= 0,
82
- onClick: F
83
- }, " ‹ ", 8, y)) : r("", !0),
84
- a("div", b, [a("div", x, [(d(!0), i(t, null, p(N.value, (t) => (d(), i("div", {
85
- key: t.index,
81
+ "aria-label": v(j).prev,
82
+ disabled: !l.circular && A.value <= 0,
83
+ onClick: L
84
+ }, [c(e, {
85
+ name: "chevron-left",
86
+ size: "sm"
87
+ })], 8, x)) : i("", !0),
88
+ o("div", S, [o("div", C, [(p(!0), a(n, null, h(F.value, (e) => (p(), a("div", {
89
+ key: e.index,
86
90
  class: "wi-carousel__item",
87
- style: l({ flex: `0 0 ${100 / s.numVisible}%` })
88
- }, [m(e.$slots, "item", {
89
- item: t.item,
90
- index: t.index
91
- }, () => [o(h(t.item), 1)])], 4))), 128))]), s.showIndicators && M.value.length > 1 ? (d(), i("div", S, [(d(!0), i(t, null, p(M.value, (e) => (d(), i("button", {
91
+ style: d({ flex: `0 0 ${100 / l.numVisible}%` })
92
+ }, [g(t.$slots, "item", {
93
+ item: e.item,
94
+ index: e.index
95
+ }, () => [s(_(e.item), 1)])], 4))), 128))]), l.showIndicators && P.value.length > 1 ? (p(), a("div", w, [(p(!0), a(n, null, h(P.value, (e) => (p(), a("button", {
92
96
  key: e,
93
97
  type: "button",
94
- class: c(["wi-carousel__indicator", { "wi-carousel__indicator--active": e === O.value }]),
98
+ class: u(["wi-carousel__indicator", { "wi-carousel__indicator--active": e === A.value }]),
95
99
  "aria-label": String(e + 1),
96
- "aria-current": e === O.value ? "true" : void 0,
97
- onClick: (t) => P(e)
98
- }, null, 10, C))), 128))])) : r("", !0)]),
99
- s.showArrows ? (d(), i("button", {
100
+ "aria-current": e === A.value ? "true" : void 0,
101
+ onClick: (t) => I(e)
102
+ }, null, 10, T))), 128))])) : i("", !0)]),
103
+ l.showArrows ? (p(), a("button", {
100
104
  key: 1,
101
105
  type: "button",
102
106
  class: "wi-carousel__nav wi-carousel__nav--next",
103
- "aria-label": g(k).next,
104
- disabled: !s.circular && O.value >= j.value,
105
- onClick: I
106
- }, " › ", 8, w)) : r("", !0)
107
+ "aria-label": v(j).next,
108
+ disabled: !l.circular && A.value >= N.value,
109
+ onClick: R
110
+ }, [c(e, {
111
+ name: "chevron-right",
112
+ size: "sm"
113
+ })], 8, E)) : i("", !0)
107
114
  ]));
108
115
  }
109
116
  });
110
117
  //#endregion
111
- export { T as WiCarousel };
118
+ export { D as WiCarousel };
@@ -480,8 +480,8 @@
480
480
  font-size: var(--wi-font-size-xs);
481
481
  }
482
482
 
483
- .wi-textarea-field__help--error,
484
- .wi-select-field__help--error {
483
+ .wi-textarea-field__help--invalid,
484
+ .wi-select-field__help--invalid {
485
485
  color: var(--wi-color-danger);
486
486
  }
487
487
 
@@ -500,9 +500,8 @@
500
500
  }
501
501
 
502
502
  .wi-textarea--invalid:focus-visible,
503
- .wi-textarea--error:focus-visible,
504
- .wi-select--error.wi-select--open,
505
- .wi-select--error:focus-visible {
503
+ .wi-select--invalid.wi-select--open,
504
+ .wi-select--invalid:focus-visible {
506
505
  border-color: var(--wi-color-danger);
507
506
  box-shadow: var(--wi-focus-shadow-danger);
508
507
  }
@@ -750,6 +749,45 @@
750
749
  line-height: 1;
751
750
  }
752
751
 
752
+ .wi-icon {
753
+ display: inline-flex;
754
+ height: 1rem;
755
+ width: 1rem;
756
+ }
757
+
758
+ .wi-icon svg {
759
+ height: 100%;
760
+ width: 100%;
761
+ }
762
+
763
+ .wi-icon--sm,
764
+ .wi-icon--small {
765
+ height: 0.875rem;
766
+ width: 0.875rem;
767
+ }
768
+
769
+ .wi-icon--md,
770
+ .wi-icon--normal {
771
+ height: 1rem;
772
+ width: 1rem;
773
+ }
774
+
775
+ .wi-icon--lg,
776
+ .wi-icon--large {
777
+ height: 1.25rem;
778
+ width: 1.25rem;
779
+ }
780
+
781
+ .wi-icon--spin svg {
782
+ animation: wi-icon-spin 0.8s linear infinite;
783
+ }
784
+
785
+ @keyframes wi-icon-spin {
786
+ to {
787
+ transform: rotate(360deg);
788
+ }
789
+ }
790
+
753
791
  /* —— Media: Carousel —— */
754
792
  .wi-carousel {
755
793
  --wi-carousel-indicator-size: 0.45rem;
@@ -1,3 +1,4 @@
1
1
  import '../theme/styles.css'
2
2
  import '../styles/base.css'
3
+ import '../components/Icon/styles.css'
3
4
  import '../components/Carousel/styles.css'
@@ -1,129 +1,196 @@
1
- import { n as e, t } from "../overlay-oR-5MDuE.js";
2
- import { c as n, o as r } from "../config-DWwce9jA.js";
3
- import { n as i } from "../locale-CYkJyRd1.js";
1
+ import { t as e } from "../Icon-DHGs8l-M.js";
2
+ import { n as t, t as n } from "../overlay-oR-5MDuE.js";
3
+ import { t as r } from "../overlayPlacement-CN1tuC95.js";
4
+ import { c as ee, i as te, o as ne } from "../config-CTLkobga.js";
5
+ import { n as re } from "../locale-DxAvgqgB.js";
4
6
  import "./style.js";
5
- import { Fragment as a, Teleport as o, Transition as s, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createVNode as p, defineComponent as m, nextTick as h, normalizeClass as g, normalizeStyle as _, onBeforeUnmount as v, openBlock as y, ref as b, renderList as x, toDisplayString as S, unref as C, watch as w, withCtx as T } from "vue";
7
+ import { Fragment as i, Teleport as a, Transition as o, computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createVNode as f, defineComponent as p, nextTick as m, normalizeClass as h, normalizeStyle as ie, onBeforeUnmount as ae, openBlock as g, ref as _, renderList as v, toDisplayString as y, unref as b, watch as x, withCtx as S } from "vue";
6
8
  //#region src/components/CascadeSelect/CascadeSelect.vue?vue&type=script&setup=true&lang.ts
7
- var E = ["disabled", "aria-expanded"], D = { class: "wi-cascadeselect__label" }, O = [
9
+ var C = ["for"], w = [
10
+ "id",
11
+ "disabled",
12
+ "aria-expanded",
13
+ "aria-invalid",
14
+ "aria-describedby"
15
+ ], T = { class: "wi-cascadeselect__label" }, E = { class: "wi-select__suffix" }, oe = ["aria-label"], se = ["id"], ce = [
8
16
  "disabled",
9
17
  "aria-selected",
10
18
  "onClick"
11
- ], k = {
12
- key: 0,
13
- "aria-hidden": "true"
14
- }, A = /* @__PURE__ */ m({
19
+ ], D = /* @__PURE__ */ p({
15
20
  __name: "CascadeSelect",
16
21
  props: {
17
22
  modelValue: { default: null },
18
23
  options: {},
24
+ label: {},
25
+ helpText: {},
26
+ invalid: {
27
+ type: Boolean,
28
+ default: !1
29
+ },
30
+ errorMessage: {},
31
+ id: {},
19
32
  placeholder: { default: void 0 },
20
33
  disabled: {
21
34
  type: Boolean,
22
35
  default: !1
23
36
  },
37
+ required: {
38
+ type: Boolean,
39
+ default: !1
40
+ },
24
41
  size: {},
42
+ fluid: {
43
+ type: Boolean,
44
+ default: void 0
45
+ },
46
+ clearable: {
47
+ type: Boolean,
48
+ default: void 0
49
+ },
25
50
  teleport: {
26
51
  type: Boolean,
27
52
  default: !0
28
53
  },
29
54
  appendTo: {}
30
55
  },
31
- emits: ["update:modelValue"],
32
- setup(m, { emit: A }) {
33
- let j = m, M = A, N = n(), P = i(), F = r("CascadeSelect", () => j.size), I = b(!1), L = b(null), R = b(null), z = b(null), B = b({}), V = b([]), H = c(() => e(j, N.value.appendTo)), U = c(() => t(j, N.value.appendTo)), W = c(() => G(j.options, j.modelValue) ?? j.placeholder ?? P.value.selectPlaceholder);
34
- function G(e, t) {
56
+ emits: ["update:modelValue", "clear"],
57
+ setup(p, { emit: D }) {
58
+ let O = p, k = D, A = te("CascadeSelect"), j = ee(), M = re(), N = ne("CascadeSelect", () => O.size), P = _(!1), F = _(null), I = _(null), L = _(null), R = _({}), z = _([]), B = s(() => O.id ?? `wi-cascadeselect-${Math.random().toString(36).slice(2, 8)}`), V = s(() => t(O, j.value.appendTo)), H = s(() => n(O, j.value.appendTo)), U = s(() => O.clearable ?? A.value.clearable ?? !1), W = s(() => O.fluid ?? A.value.fluid ?? !1), G = s(() => O.invalid || !!O.errorMessage), K = s(() => O.errorMessage || O.helpText), le = s(() => !!O.errorMessage || G.value && !!O.helpText), q = s(() => O.modelValue != null), J = s(() => U.value && q.value && !O.disabled), ue = s(() => Y(O.options, O.modelValue) ?? O.placeholder ?? M.value.selectPlaceholder);
59
+ function Y(e, t) {
60
+ if (t == null) return null;
35
61
  for (let n of e) {
36
62
  if (n.value === t) return n.label;
37
63
  if (n.children?.length) {
38
- let e = G(n.children, t);
64
+ let e = Y(n.children, t);
39
65
  if (e) return e;
40
66
  }
41
67
  }
42
68
  return null;
43
69
  }
44
- function K() {
45
- if (!R.value) return;
46
- let e = R.value.getBoundingClientRect(), t = `${e.width}px`;
47
- B.value = U.value ? {
48
- left: `${e.left}px`,
70
+ function X() {
71
+ if (!I.value) return;
72
+ let e = I.value.getBoundingClientRect(), t = `${e.width}px`;
73
+ R.value = H.value ? r(e, "bottom-start", {
49
74
  minWidth: t,
50
- top: `${e.bottom + 8}px`,
51
75
  width: t
52
- } : {
76
+ }) : {
53
77
  minWidth: t,
54
78
  width: t
55
79
  };
56
80
  }
57
- function q() {
58
- j.disabled || (I.value = !I.value, I.value && (V.value = [j.options], h(() => K())));
81
+ function de() {
82
+ O.disabled || (P.value = !P.value, P.value && (z.value = [O.options], m(() => X())));
59
83
  }
60
- function J(e, t) {
84
+ function Z(e) {
85
+ e.stopPropagation(), e.preventDefault(), !(O.disabled || !q.value) && (k("update:modelValue", null), k("clear"), I.value?.focus({ preventScroll: !0 }));
86
+ }
87
+ function fe(e, t) {
61
88
  if (!e.disabled) {
62
89
  if (e.children?.length) {
63
- V.value = [...V.value.slice(0, t + 1), e.children], h(() => K());
90
+ z.value = [...z.value.slice(0, t + 1), e.children], m(() => X());
64
91
  return;
65
92
  }
66
- M("update:modelValue", e.value), I.value = !1;
93
+ k("update:modelValue", e.value), P.value = !1;
67
94
  }
68
95
  }
69
- function Y(e) {
96
+ function Q(e) {
70
97
  let t = e.target;
71
- L.value?.contains(t) || z.value?.contains(t) || (I.value = !1);
98
+ F.value?.contains(t) || L.value?.contains(t) || (P.value = !1);
72
99
  }
73
- function X() {
74
- I.value && K();
100
+ function $() {
101
+ P.value && X();
75
102
  }
76
- return w(I, (e) => {
77
- e ? (document.addEventListener("click", Y), U.value && (window.addEventListener("resize", X), window.addEventListener("scroll", X, !0))) : (document.removeEventListener("click", Y), window.removeEventListener("resize", X), window.removeEventListener("scroll", X, !0));
78
- }), v(() => {
79
- document.removeEventListener("click", Y), window.removeEventListener("resize", X), window.removeEventListener("scroll", X, !0);
80
- }), (e, t) => (y(), d("div", {
103
+ return x(P, (e) => {
104
+ e ? (document.addEventListener("click", Q), H.value && (window.addEventListener("resize", $), window.addEventListener("scroll", $, !0))) : (document.removeEventListener("click", Q), window.removeEventListener("resize", $), window.removeEventListener("scroll", $, !0));
105
+ }), ae(() => {
106
+ document.removeEventListener("click", Q), window.removeEventListener("resize", $), window.removeEventListener("scroll", $, !0);
107
+ }), (t, n) => (g(), u("div", {
81
108
  ref_key: "root",
82
- ref: L,
83
- class: g(["wi-cascadeselect", [`wi-cascadeselect--${C(F)}`, {
84
- "wi-cascadeselect--disabled": m.disabled,
85
- "wi-cascadeselect--open": I.value
109
+ ref: F,
110
+ class: h(["wi-select-field wi-cascadeselect", [`wi-cascadeselect--${b(N)}`, {
111
+ "wi-select-field--fluid": W.value,
112
+ "wi-cascadeselect--disabled": p.disabled,
113
+ "wi-cascadeselect--open": P.value
86
114
  }]])
87
- }, [f("button", {
88
- ref_key: "trigger",
89
- ref: R,
90
- type: "button",
91
- class: "wi-cascadeselect__trigger",
92
- disabled: m.disabled,
93
- "aria-expanded": I.value,
94
- "aria-haspopup": "listbox",
95
- onClick: q
96
- }, [f("span", D, S(W.value), 1), t[0] ||= f("span", {
97
- class: "wi-cascadeselect__caret",
98
- "aria-hidden": "true"
99
- }, "▾", -1)], 8, E), (y(), l(o, {
100
- to: H.value.to,
101
- disabled: H.value.disabled
102
- }, [p(s, { name: "wi-scale-fade" }, {
103
- default: T(() => [I.value ? (y(), d("div", {
115
+ }, [
116
+ p.label ? (g(), u("label", {
104
117
  key: 0,
105
- ref_key: "panel",
106
- ref: z,
107
- class: g(["wi-cascadeselect__panel", { "wi-cascadeselect__panel--teleported": U.value }]),
108
- style: _(B.value),
109
- role: "listbox"
110
- }, [(y(!0), d(a, null, x(V.value, (e, t) => (y(), d("ul", {
111
- key: t,
112
- class: "wi-cascadeselect__column"
113
- }, [(y(!0), d(a, null, x(e, (e) => (y(), d("li", { key: String(e.value) }, [f("button", {
118
+ class: "wi-select-field__label",
119
+ for: B.value
120
+ }, y(p.label), 9, C)) : l("", !0),
121
+ d("div", { class: h(["wi-cascadeselect__control wi-select__control", {
122
+ "wi-select__control--clearable": J.value,
123
+ "wi-select__control--open": P.value
124
+ }]) }, [d("button", {
125
+ id: B.value,
126
+ ref_key: "trigger",
127
+ ref: I,
114
128
  type: "button",
115
- class: g(["wi-cascadeselect__option", {
116
- "wi-cascadeselect__option--selected": e.value === m.modelValue,
117
- "wi-cascadeselect__option--parent": !!e.children?.length
129
+ class: h(["wi-cascadeselect__trigger", {
130
+ "wi-cascadeselect__trigger--invalid": G.value,
131
+ "wi-cascadeselect__trigger--placeholder": !q.value
118
132
  }]),
119
- disabled: e.disabled,
120
- role: "option",
121
- "aria-selected": e.value === m.modelValue,
122
- onClick: (n) => J(e, t)
123
- }, [f("span", null, S(e.label), 1), e.children?.length ? (y(), d("span", k, "›")) : u("", !0)], 10, O)]))), 128))]))), 128))], 6)) : u("", !0)]),
124
- _: 1
125
- })], 8, ["to", "disabled"]))], 2));
133
+ disabled: p.disabled,
134
+ "aria-expanded": P.value,
135
+ "aria-invalid": G.value || void 0,
136
+ "aria-describedby": K.value ? `${B.value}-help` : void 0,
137
+ "aria-haspopup": "listbox",
138
+ onClick: de
139
+ }, [d("span", T, y(ue.value), 1)], 10, w), d("div", E, [J.value ? (g(), u("button", {
140
+ key: 0,
141
+ class: "wi-select__clear",
142
+ type: "button",
143
+ "aria-label": b(M).clear,
144
+ onClick: Z
145
+ }, [f(e, {
146
+ name: "close",
147
+ size: "sm"
148
+ })], 8, oe)) : l("", !0), d("span", {
149
+ class: h(["wi-select__indicator", { "wi-select__indicator--open": P.value }]),
150
+ "aria-hidden": "true"
151
+ }, [f(e, {
152
+ name: "chevron-down",
153
+ size: "sm"
154
+ })], 2)])], 2),
155
+ K.value ? (g(), u("p", {
156
+ key: 1,
157
+ id: `${B.value}-help`,
158
+ class: h(["wi-select-field__help", { "wi-select-field__help--invalid": le.value }])
159
+ }, y(K.value), 11, se)) : l("", !0),
160
+ (g(), c(a, {
161
+ to: V.value.to,
162
+ disabled: V.value.disabled
163
+ }, [f(o, { name: "wi-scale-fade" }, {
164
+ default: S(() => [P.value ? (g(), u("div", {
165
+ key: 0,
166
+ ref_key: "panel",
167
+ ref: L,
168
+ class: h(["wi-cascadeselect__panel", { "wi-cascadeselect__panel--teleported": H.value }]),
169
+ style: ie(R.value),
170
+ role: "listbox"
171
+ }, [(g(!0), u(i, null, v(z.value, (t, n) => (g(), u("ul", {
172
+ key: n,
173
+ class: "wi-cascadeselect__column"
174
+ }, [(g(!0), u(i, null, v(t, (t) => (g(), u("li", { key: String(t.value) }, [d("button", {
175
+ type: "button",
176
+ class: h(["wi-cascadeselect__option", {
177
+ "wi-cascadeselect__option--selected": t.value === p.modelValue,
178
+ "wi-cascadeselect__option--parent": !!t.children?.length
179
+ }]),
180
+ disabled: t.disabled,
181
+ role: "option",
182
+ "aria-selected": t.value === p.modelValue,
183
+ onClick: (e) => fe(t, n)
184
+ }, [d("span", null, y(t.label), 1), t.children?.length ? (g(), c(e, {
185
+ key: 0,
186
+ name: "chevron-right",
187
+ size: "sm",
188
+ "aria-hidden": "true"
189
+ })) : l("", !0)], 10, ce)]))), 128))]))), 128))], 6)) : l("", !0)]),
190
+ _: 1
191
+ })], 8, ["to", "disabled"]))
192
+ ], 2));
126
193
  }
127
194
  });
128
195
  //#endregion
129
- export { A as WiCascadeSelect };
196
+ export { D as WiCascadeSelect };