@well-insight/ui 0.1.10 → 0.1.12

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 (323) hide show
  1. package/CHANGELOG.md +56 -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/_plugin-vue_export-helper-B3ysoDQm.js +8 -0
  8. package/dist/accordion/style.css +4 -5
  9. package/dist/auto-complete/index.js +106 -99
  10. package/dist/auto-complete/style.css +4 -5
  11. package/dist/avatar/index.js +1 -1
  12. package/dist/avatar/style.css +4 -5
  13. package/dist/badge/style.css +4 -5
  14. package/dist/block-ui/style.css +4 -5
  15. package/dist/breadcrumb/index.js +1 -1
  16. package/dist/breadcrumb/style.css +4 -5
  17. package/dist/button/index.js +1 -1
  18. package/dist/button/style.css +4 -5
  19. package/dist/card/style.css +4 -5
  20. package/dist/carousel/index.js +61 -54
  21. package/dist/carousel/style.css +43 -5
  22. package/dist/carousel/style.js +1 -0
  23. package/dist/cascade-select/index.js +143 -76
  24. package/dist/cascade-select/style.css +76 -10
  25. package/dist/cascade-select/style.js +1 -0
  26. package/dist/checkbox/index.js +1 -1
  27. package/dist/checkbox/style.css +4 -5
  28. package/dist/chip/index.js +32 -29
  29. package/dist/chip/style.css +4 -5
  30. package/dist/command-menu/index.js +2 -2
  31. package/dist/command-menu/style.css +4 -5
  32. package/dist/components/AutoComplete/AutoComplete.vue.d.ts +2 -0
  33. package/dist/components/AutoComplete/AutoComplete.vue.d.ts.map +1 -1
  34. package/dist/components/AutoComplete/types.d.ts +1 -0
  35. package/dist/components/AutoComplete/types.d.ts.map +1 -1
  36. package/dist/components/Button/Button.vue.d.ts +0 -1
  37. package/dist/components/Button/Button.vue.d.ts.map +1 -1
  38. package/dist/components/Button/types.d.ts +0 -2
  39. package/dist/components/Button/types.d.ts.map +1 -1
  40. package/dist/components/Carousel/Carousel.vue.d.ts +2 -2
  41. package/dist/components/Carousel/Carousel.vue.d.ts.map +1 -1
  42. package/dist/components/CascadeSelect/CascadeSelect.vue.d.ts +6 -0
  43. package/dist/components/CascadeSelect/CascadeSelect.vue.d.ts.map +1 -1
  44. package/dist/components/CascadeSelect/styles.css +33 -5
  45. package/dist/components/CascadeSelect/types.d.ts +11 -0
  46. package/dist/components/CascadeSelect/types.d.ts.map +1 -1
  47. package/dist/components/Chip/Chip.vue.d.ts.map +1 -1
  48. package/dist/components/ConfigProvider/ConfigProvider.vue.d.ts.map +1 -1
  49. package/dist/components/ConfirmPopup/ConfirmPopup.vue.d.ts.map +1 -1
  50. package/dist/components/ContextMenu/ContextMenuNodes.vue.d.ts.map +1 -1
  51. package/dist/components/DatePicker/DatePicker.vue.d.ts +2 -0
  52. package/dist/components/DatePicker/DatePicker.vue.d.ts.map +1 -1
  53. package/dist/components/DatePicker/styles.css +33 -8
  54. package/dist/components/DatePicker/types.d.ts +1 -0
  55. package/dist/components/DatePicker/types.d.ts.map +1 -1
  56. package/dist/components/Dialog/Dialog.vue.d.ts +3 -3
  57. package/dist/components/Dialog/Dialog.vue.d.ts.map +1 -1
  58. package/dist/components/Divider/types.d.ts +0 -5
  59. package/dist/components/Divider/types.d.ts.map +1 -1
  60. package/dist/components/Drawer/Drawer.vue.d.ts +2 -2
  61. package/dist/components/Drawer/Drawer.vue.d.ts.map +1 -1
  62. package/dist/components/Dropdown/DropdownNodes.vue.d.ts +2 -2
  63. package/dist/components/Dropdown/DropdownNodes.vue.d.ts.map +1 -1
  64. package/dist/components/Fieldset/Fieldset.vue.d.ts +4 -4
  65. package/dist/components/Fieldset/Fieldset.vue.d.ts.map +1 -1
  66. package/dist/components/FileUpload/styles.css +2 -2
  67. package/dist/components/FloatLabel/FloatLabel.vue.d.ts.map +1 -1
  68. package/dist/components/Gallery/Gallery.vue.d.ts.map +1 -1
  69. package/dist/components/Icon/icons.d.ts +32 -0
  70. package/dist/components/Icon/icons.d.ts.map +1 -1
  71. package/dist/components/Input/Input.vue.d.ts +0 -1
  72. package/dist/components/Input/Input.vue.d.ts.map +1 -1
  73. package/dist/components/Input/styles.css +3 -5
  74. package/dist/components/Input/types.d.ts +1 -3
  75. package/dist/components/Input/types.d.ts.map +1 -1
  76. package/dist/components/InputNumber/InputNumber.vue.d.ts.map +1 -1
  77. package/dist/components/InputOtp/InputOtp.vue.d.ts.map +1 -1
  78. package/dist/components/InputPassword/InputPassword.vue.d.ts +4 -4
  79. package/dist/components/InputPassword/InputPassword.vue.d.ts.map +1 -1
  80. package/dist/components/InputTags/InputTags.vue.d.ts.map +1 -1
  81. package/dist/components/Layout/Layout.vue.d.ts +1 -4
  82. package/dist/components/Layout/Layout.vue.d.ts.map +1 -1
  83. package/dist/components/Layout/LayoutContent.vue.d.ts +1 -4
  84. package/dist/components/Layout/LayoutContent.vue.d.ts.map +1 -1
  85. package/dist/components/Layout/LayoutFooter.vue.d.ts.map +1 -1
  86. package/dist/components/Layout/LayoutHeader.vue.d.ts.map +1 -1
  87. package/dist/components/Layout/LayoutSider.vue.d.ts +1 -4
  88. package/dist/components/Layout/LayoutSider.vue.d.ts.map +1 -1
  89. package/dist/components/Layout/composables/useLayoutRegionStyle.d.ts +9 -0
  90. package/dist/components/Layout/composables/useLayoutRegionStyle.d.ts.map +1 -0
  91. package/dist/components/Layout/composables/useLayoutScroll.d.ts +6 -0
  92. package/dist/components/Layout/composables/useLayoutScroll.d.ts.map +1 -0
  93. package/dist/components/Layout/composables/useLayoutSiderCollapse.d.ts +16 -0
  94. package/dist/components/Layout/composables/useLayoutSiderCollapse.d.ts.map +1 -0
  95. package/dist/components/Layout/styles.css +21 -49
  96. package/dist/components/Layout/types.d.ts +0 -22
  97. package/dist/components/Layout/types.d.ts.map +1 -1
  98. package/dist/components/Layout/utils.d.ts +3 -0
  99. package/dist/components/Layout/utils.d.ts.map +1 -0
  100. package/dist/components/MegaMenu/MegaMenu.vue.d.ts.map +1 -1
  101. package/dist/components/Menu/MenuNodes.vue.d.ts.map +1 -1
  102. package/dist/components/Menubar/Menubar.vue.d.ts.map +1 -1
  103. package/dist/components/Pagination/Pagination.vue.d.ts.map +1 -1
  104. package/dist/components/Panel/Panel.vue.d.ts +3 -3
  105. package/dist/components/Panel/Panel.vue.d.ts.map +1 -1
  106. package/dist/components/Popover/Popover.vue.d.ts.map +1 -1
  107. package/dist/components/Popover/styles.css +41 -0
  108. package/dist/components/Rating/Rating.vue.d.ts.map +1 -1
  109. package/dist/components/Rating/styles.css +28 -23
  110. package/dist/components/ScrollTop/ScrollTop.vue.d.ts.map +1 -1
  111. package/dist/components/Select/Select.vue.d.ts +1 -1
  112. package/dist/components/Select/Select.vue.d.ts.map +1 -1
  113. package/dist/components/Select/styles.css +8 -108
  114. package/dist/components/Select/types.d.ts +3 -3
  115. package/dist/components/Select/types.d.ts.map +1 -1
  116. package/dist/components/Slider/Slider.vue.d.ts.map +1 -1
  117. package/dist/components/Slider/types.d.ts +2 -0
  118. package/dist/components/Slider/types.d.ts.map +1 -1
  119. package/dist/components/SpeedDial/SpeedDial.vue.d.ts.map +1 -1
  120. package/dist/components/SplitButton/SplitButton.vue.d.ts.map +1 -1
  121. package/dist/components/Table/Table.vue.d.ts +9 -9
  122. package/dist/components/Table/Table.vue.d.ts.map +1 -1
  123. package/dist/components/Tabs/Tabs.vue.d.ts +3 -3
  124. package/dist/components/Tabs/Tabs.vue.d.ts.map +1 -1
  125. package/dist/components/Tag/Tag.vue.d.ts.map +1 -1
  126. package/dist/components/Terminal/styles.css +8 -8
  127. package/dist/components/Textarea/Textarea.vue.d.ts +0 -2
  128. package/dist/components/Textarea/Textarea.vue.d.ts.map +1 -1
  129. package/dist/components/Textarea/styles.css +1 -2
  130. package/dist/components/Textarea/types.d.ts +1 -5
  131. package/dist/components/Textarea/types.d.ts.map +1 -1
  132. package/dist/components/TieredMenu/TieredMenu.vue.d.ts.map +1 -1
  133. package/dist/components/Toast/Toast.vue.d.ts.map +1 -1
  134. package/dist/components/Tooltip/Tooltip.vue.d.ts.map +1 -1
  135. package/dist/components/TreeSelect/TreeSelect.vue.d.ts.map +1 -1
  136. package/dist/components/TreeSelect/TreeSelectNodeItem.vue.d.ts.map +1 -1
  137. package/dist/components/TreeSelect/styles.css +21 -12
  138. package/dist/components/TreeTable/TreeTableRow.vue.d.ts.map +1 -1
  139. package/dist/{config-DWwce9jA.js → config-CTLkobga.js} +1 -0
  140. package/dist/config-provider/index.js +27 -26
  141. package/dist/config-provider/style.css +7 -10
  142. package/dist/confirm-dialog/index.js +4 -4
  143. package/dist/confirm-dialog/style.css +4 -5
  144. package/dist/confirm-popup/index.js +62 -77
  145. package/dist/confirm-popup/style.css +4 -5
  146. package/dist/context-menu/index.js +69 -61
  147. package/dist/context-menu/style.css +4 -5
  148. package/dist/data-view/index.js +1 -1
  149. package/dist/data-view/style.css +4 -5
  150. package/dist/date-picker/index.js +144 -137
  151. package/dist/date-picker/style.css +76 -13
  152. package/dist/date-picker/style.js +1 -0
  153. package/dist/dialog/index.js +76 -70
  154. package/dist/dialog/style.css +4 -5
  155. package/dist/divider/index.js +1 -2
  156. package/dist/divider/style.css +4 -5
  157. package/dist/dock/style.css +4 -5
  158. package/dist/drawer/index.js +49 -45
  159. package/dist/drawer/style.css +43 -5
  160. package/dist/drawer/style.js +1 -0
  161. package/dist/dropdown/index.js +98 -97
  162. package/dist/dropdown/style.css +4 -5
  163. package/dist/fieldset/index.js +16 -12
  164. package/dist/fieldset/style.css +43 -5
  165. package/dist/fieldset/style.js +1 -0
  166. package/dist/file-upload/index.js +2 -2
  167. package/dist/file-upload/style.css +6 -7
  168. package/dist/flex/index.js +1 -1
  169. package/dist/flex/style.css +4 -5
  170. package/dist/float-label/index.js +15 -4
  171. package/dist/float-label/style.css +4 -5
  172. package/dist/fluid/style.css +4 -5
  173. package/dist/form/index.js +1 -1
  174. package/dist/form/style.css +4 -5
  175. package/dist/gallery/index.js +41 -34
  176. package/dist/gallery/style.css +43 -5
  177. package/dist/gallery/style.js +1 -0
  178. package/dist/grid/style.css +4 -5
  179. package/dist/icon/index.js +1 -1
  180. package/dist/icon/style.css +4 -5
  181. package/dist/icon-Cg5TeFqe.js +7 -0
  182. package/dist/icon-field/style.css +4 -5
  183. package/dist/index.js +2790 -2650
  184. package/dist/inplace/style.css +4 -5
  185. package/dist/input/index.js +65 -66
  186. package/dist/input/style.css +46 -10
  187. package/dist/input/style.js +1 -0
  188. package/dist/input-color/index.js +1 -1
  189. package/dist/input-color/style.css +4 -5
  190. package/dist/input-group/style.css +4 -5
  191. package/dist/input-number/index.js +82 -66
  192. package/dist/input-number/style.css +43 -5
  193. package/dist/input-number/style.js +1 -0
  194. package/dist/input-otp/index.js +3 -3
  195. package/dist/input-otp/style.css +4 -5
  196. package/dist/input-password/index.js +46 -43
  197. package/dist/input-password/style.css +4 -5
  198. package/dist/input-tags/index.js +50 -46
  199. package/dist/input-tags/style.css +43 -5
  200. package/dist/input-tags/style.js +1 -0
  201. package/dist/key-CaQYVkjh.js +6 -0
  202. package/dist/knob/style.css +4 -5
  203. package/dist/label/style.css +4 -5
  204. package/dist/layout/index.js +196 -271
  205. package/dist/layout/style.css +50 -140
  206. package/dist/layout/style.js +1 -1
  207. package/dist/listbox/index.js +1 -1
  208. package/dist/listbox/style.css +4 -5
  209. package/dist/locale/en-US.d.ts.map +1 -1
  210. package/dist/locale/types.d.ts +1 -0
  211. package/dist/locale/types.d.ts.map +1 -1
  212. package/dist/locale/zh-CN.d.ts.map +1 -1
  213. package/dist/{locale-CYkJyRd1.js → locale-DxAvgqgB.js} +1 -1
  214. package/dist/mega-menu/index.js +47 -49
  215. package/dist/mega-menu/style.css +4 -5
  216. package/dist/menu/index.js +81 -76
  217. package/dist/menu/style.css +4 -5
  218. package/dist/menubar/index.js +75 -73
  219. package/dist/menubar/style.css +4 -5
  220. package/dist/message/index.js +3 -3
  221. package/dist/message/style.css +4 -5
  222. package/dist/meter-group/style.css +4 -5
  223. package/dist/order-list/index.js +2 -2
  224. package/dist/order-list/style.css +4 -5
  225. package/dist/overlayPlacement-CN1tuC95.js +51 -0
  226. package/dist/pagination/index.js +1 -1
  227. package/dist/pagination/style.css +43 -5
  228. package/dist/pagination/style.js +1 -0
  229. package/dist/panel/index.js +27 -23
  230. package/dist/panel/style.css +43 -5
  231. package/dist/panel/style.js +1 -0
  232. package/dist/pick-list/index.js +2 -2
  233. package/dist/pick-list/style.css +4 -5
  234. package/dist/popover/index.js +79 -100
  235. package/dist/popover/style.css +45 -5
  236. package/dist/progress-bar/style.css +4 -5
  237. package/dist/progress-spinner/index.js +1 -1
  238. package/dist/progress-spinner/style.css +4 -5
  239. package/dist/radio/index.js +1 -1
  240. package/dist/radio/style.css +4 -5
  241. package/dist/rating/index.js +54 -44
  242. package/dist/rating/style.css +71 -28
  243. package/dist/rating/style.js +1 -0
  244. package/dist/scroll-top/index.js +45 -41
  245. package/dist/scroll-top/style.css +43 -5
  246. package/dist/scroll-top/style.js +1 -0
  247. package/dist/scrollbar/index.js +382 -2
  248. package/dist/scrollbar/style.css +4 -5
  249. package/dist/select/index.js +149 -141
  250. package/dist/select/style.css +51 -113
  251. package/dist/select/style.js +1 -0
  252. package/dist/select-button/index.js +1 -1
  253. package/dist/select-button/style.css +4 -5
  254. package/dist/shared/componentDefaults.d.ts +5 -1
  255. package/dist/shared/componentDefaults.d.ts.map +1 -1
  256. package/dist/shared/menu/icon.d.ts +4 -0
  257. package/dist/shared/menu/icon.d.ts.map +1 -0
  258. package/dist/shared/menu/index.d.ts +4 -0
  259. package/dist/shared/menu/index.d.ts.map +1 -0
  260. package/dist/shared/menu/key.d.ts +4 -0
  261. package/dist/shared/menu/key.d.ts.map +1 -0
  262. package/dist/shared/menu/types.d.ts +11 -0
  263. package/dist/shared/menu/types.d.ts.map +1 -0
  264. package/dist/shared/overlayPlacement.d.ts +12 -0
  265. package/dist/shared/overlayPlacement.d.ts.map +1 -0
  266. package/dist/sidebar/index.js +1 -1
  267. package/dist/sidebar/style.css +4 -5
  268. package/dist/skeleton/style.css +4 -5
  269. package/dist/slider/index.js +6 -3
  270. package/dist/slider/style.css +4 -5
  271. package/dist/space/index.js +1 -1
  272. package/dist/space/style.css +4 -5
  273. package/dist/speed-dial/index.js +55 -66
  274. package/dist/speed-dial/style.css +43 -5
  275. package/dist/speed-dial/style.js +1 -0
  276. package/dist/split-button/index.js +66 -63
  277. package/dist/split-button/style.css +43 -5
  278. package/dist/split-button/style.js +1 -0
  279. package/dist/splitter/index.js +1 -1
  280. package/dist/splitter/style.css +4 -5
  281. package/dist/stepper/style.css +4 -5
  282. package/dist/styles/base.css +4 -5
  283. package/dist/styles.css +1 -1
  284. package/dist/switch/index.js +1 -1
  285. package/dist/switch/style.css +4 -5
  286. package/dist/table/index.js +41 -35
  287. package/dist/table/style.css +4 -5
  288. package/dist/tabs/index.js +78 -65
  289. package/dist/tabs/style.css +43 -5
  290. package/dist/tabs/style.js +1 -0
  291. package/dist/tag/index.js +31 -28
  292. package/dist/tag/style.css +4 -5
  293. package/dist/terminal/index.js +1 -1
  294. package/dist/terminal/style.css +12 -13
  295. package/dist/textarea/index.js +69 -75
  296. package/dist/textarea/style.css +44 -7
  297. package/dist/textarea/style.js +1 -0
  298. package/dist/tiered-menu/index.js +66 -59
  299. package/dist/tiered-menu/style.css +43 -5
  300. package/dist/tiered-menu/style.js +1 -0
  301. package/dist/timeline/index.js +1 -1
  302. package/dist/timeline/style.css +4 -5
  303. package/dist/toast/index.js +93 -89
  304. package/dist/toast/style.css +43 -5
  305. package/dist/toast/style.js +1 -0
  306. package/dist/toggle-button/index.js +1 -1
  307. package/dist/toggle-button/style.css +4 -5
  308. package/dist/toolbar/index.js +10 -13
  309. package/dist/toolbar/style.css +4 -5
  310. package/dist/tooltip/index.js +47 -71
  311. package/dist/tooltip/style.css +4 -5
  312. package/dist/tree/index.js +3 -3
  313. package/dist/tree/style.css +4 -5
  314. package/dist/tree-select/index.js +164 -155
  315. package/dist/tree-select/style.css +64 -17
  316. package/dist/tree-select/style.js +1 -0
  317. package/dist/tree-table/index.js +34 -30
  318. package/dist/tree-table/style.css +43 -5
  319. package/dist/tree-table/style.js +1 -0
  320. package/dist/virtual-scroller/style.css +4 -5
  321. package/package.json +4 -1
  322. package/dist/Pagination-BU-1IY0E.js +0 -148
  323. package/dist/Scrollbar-D-bR2noX.js +0 -382
package/CHANGELOG.md CHANGED
@@ -1,5 +1,61 @@
1
1
  # @well-insight/ui
2
2
 
3
+ ## 0.1.12
4
+
5
+ ### 变更
6
+
7
+ - import Icon styles across multiple components
8
+
9
+ ## 0.1.11
10
+
11
+ ### 破坏性变更
12
+
13
+ - drop deprecated prop and CSS aliases
14
+
15
+ ### 新功能
16
+
17
+ - add mobile sidebar drawer for docs and components
18
+ - add global site search with CommandMenu
19
+ - persist language in URL query
20
+ - add dedicated 404 page
21
+ - add favicon and meta description
22
+ - Harden MCP catalog tooling
23
+
24
+ ### 修复
25
+
26
+ - unify suffix icons and Select clearable hover behavior
27
+ - restore DatePicker panel grid after teleport
28
+ - add invalid modifier class alongside error alias
29
+ - improve FloatLabel, Popover, and Slider
30
+ - scroll doc TOC inside WiScrollbar
31
+ - repair guide links and quick-start copy
32
+ - Fix layout header and footer padding axis
33
+
34
+ ### 文档
35
+
36
+ - complete Events/Slots sections and remove migration guide
37
+ - add Events and a11y sections to high-traffic components
38
+ - rename Basic sections to 基础用法 in Chinese component docs
39
+ - add accessibility guide for playground
40
+ - expand menu and virtual scroller component pages
41
+ - add deprecated API migration guide
42
+
43
+ ### 变更
44
+
45
+ - enhance MobileSidebarShell and DocsView layout with improved flex properties
46
+ - unify clearable API across pickers (phase 6b)
47
+ - phase 6a icon unification and shared picker suffix
48
+ - split vendor chunks and replace eager markdown manifest
49
+ - add unit tests for 16 sub-components
50
+ - migrate remaining overlays to shared placement util
51
+ - add shared menu icon and key utilities
52
+ - replace hardcoded colors with design tokens
53
+ - migrate Select and Dropdown to shared overlay placement
54
+ - extract shared overlay placement utility
55
+ - lazy-load routes and markdown docs
56
+ - streamline MCP tools from 18 to 13
57
+ - Simplify layout components by removing custom scrollbar support and enhancing layout styles
58
+
3
59
  ## 0.1.10
4
60
 
5
61
  ### 修复
@@ -1,5 +1,5 @@
1
- import { t as e } from "./Icon-B6gOD07E.js";
2
- import { o as t } from "./config-DWwce9jA.js";
1
+ import { t as e } from "./Icon-DHGs8l-M.js";
2
+ import { o as t } from "./config-CTLkobga.js";
3
3
  import { Comment as n, Fragment as r, Text as i, computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createTextVNode as u, defineComponent as d, normalizeClass as f, normalizeStyle as p, openBlock as m, ref as h, renderSlot as g, resolveDynamicComponent as _, toDisplayString as v, useSlots as y } from "vue";
4
4
  //#region src/components/Button/Button.vue?vue&type=script&setup=true&lang.ts
5
5
  var b = [
@@ -61,10 +61,6 @@ var b = [
61
61
  type: Boolean,
62
62
  default: !1
63
63
  },
64
- block: {
65
- type: Boolean,
66
- default: !1
67
- },
68
64
  loading: {
69
65
  type: Boolean,
70
66
  default: !1
@@ -84,7 +80,7 @@ var b = [
84
80
  },
85
81
  emits: ["click"],
86
82
  setup(d, { expose: S, emit: C }) {
87
- let w = d, T = C, E = y(), D = h(null), O = a(() => !!E.default?.().some((e) => W(e))), k = a(() => O.value || !!w.label?.trim()), A = a(() => w.outlined || w.variant === "outlined"), j = a(() => w.text || w.variant === "text"), M = a(() => w.link || w.variant === "link"), N = a(() => w.ghost || w.variant === "ghost"), P = a(() => w.quaternary || w.variant === "quaternary"), F = a(() => w.fluid || w.block), I = t("Button", () => w.size), L = a(() => w.iconOnly || !k.value && !!(w.icon || E.icon || w.loading)), R = a(() => w.severity ?? "primary"), z = a(() => typeof w.icon == "string" ? w.icon : void 0), B = a(() => typeof w.icon == "string" || !w.icon ? void 0 : w.icon), V = a(() => [
83
+ let w = d, T = C, E = y(), D = h(null), O = a(() => !!E.default?.().some((e) => W(e))), k = a(() => O.value || !!w.label?.trim()), A = a(() => w.outlined || w.variant === "outlined"), j = a(() => w.text || w.variant === "text"), M = a(() => w.link || w.variant === "link"), N = a(() => w.ghost || w.variant === "ghost"), P = a(() => w.quaternary || w.variant === "quaternary"), F = a(() => w.fluid), I = t("Button", () => w.size), L = a(() => w.iconOnly || !k.value && !!(w.icon || E.icon || w.loading)), R = a(() => w.severity ?? "primary"), z = a(() => typeof w.icon == "string" ? w.icon : void 0), B = a(() => typeof w.icon == "string" || !w.icon ? void 0 : w.icon), V = a(() => [
88
84
  "wi-button",
89
85
  `wi-button--${R.value}`,
90
86
  `wi-button--${I.value}`,
@@ -1,4 +1,4 @@
1
- import { o as e } from "./config-DWwce9jA.js";
1
+ import { o as e } from "./config-CTLkobga.js";
2
2
  import { computed as t, createCommentVNode as n, createElementBlock as r, createElementVNode as i, createTextVNode as a, defineComponent as o, inject as s, mergeProps as c, normalizeClass as l, openBlock as u, renderSlot as d, toDisplayString as f, unref as p, useAttrs as m } from "vue";
3
3
  //#region src/components/Checkbox/types.ts
4
4
  var h = Symbol("wiCheckboxGroup"), g = ["for"], _ = [
@@ -365,7 +365,33 @@ var d = {
365
365
  r: 1,
366
366
  fill: "currentColor"
367
367
  }
368
- ] }
368
+ ] },
369
+ sort: { primitives: [{
370
+ tag: "path",
371
+ d: "M8 3.5v4M5.5 7 8 3.5 10.5 7"
372
+ }, {
373
+ tag: "path",
374
+ d: "M8 12.5v-4M5.5 9 8 12.5 10.5 9"
375
+ }] },
376
+ maximize: { primitives: [{
377
+ tag: "rect",
378
+ x: 3.5,
379
+ y: 3.5,
380
+ width: 9,
381
+ height: 9,
382
+ rx: .75
383
+ }] },
384
+ restore: { primitives: [{
385
+ tag: "rect",
386
+ x: 3.5,
387
+ y: 5.5,
388
+ width: 7,
389
+ height: 7,
390
+ rx: .75
391
+ }, {
392
+ tag: "path",
393
+ d: "M5.5 3.5h5.5V9"
394
+ }] }
369
395
  }, f = Object.keys(d);
370
396
  function p(e) {
371
397
  return e in d;
@@ -0,0 +1,155 @@
1
+ import { t as e } from "./Icon-DHGs8l-M.js";
2
+ import { n as t, t as n } from "./locale-DxAvgqgB.js";
3
+ import { Fragment as r, computed as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createVNode as c, defineComponent as l, normalizeClass as u, openBlock as d, ref as f, renderList as p, toDisplayString as m, unref as h, withKeys as g, withModifiers as _ } from "vue";
4
+ //#region src/components/Pagination/Pagination.vue?vue&type=script&setup=true&lang.ts
5
+ var v = ["aria-label"], y = ["disabled", "aria-label"], b = {
6
+ key: 0,
7
+ class: "wi-pagination__simple",
8
+ "aria-current": "page"
9
+ }, x = [
10
+ "disabled",
11
+ "aria-label",
12
+ "aria-current",
13
+ "onClick"
14
+ ], S = ["disabled", "aria-label"], C = {
15
+ key: 2,
16
+ class: "wi-pagination__sizer"
17
+ }, w = { class: "wi-pagination__sizer-label" }, T = ["disabled", "value"], E = ["value"], D = {
18
+ key: 3,
19
+ class: "wi-pagination__jumper"
20
+ }, O = [
21
+ "max",
22
+ "disabled",
23
+ "value",
24
+ "onKeydown"
25
+ ], k = { key: 0 }, A = /* @__PURE__ */ l({
26
+ __name: "Pagination",
27
+ props: {
28
+ modelValue: { default: 1 },
29
+ totalRecords: {},
30
+ rows: { default: 10 },
31
+ pageSize: {},
32
+ pageLinkSize: { default: 5 },
33
+ disabled: {
34
+ type: Boolean,
35
+ default: !1
36
+ },
37
+ showSizePicker: {
38
+ type: Boolean,
39
+ default: !1
40
+ },
41
+ pageSizes: { default: () => [
42
+ 10,
43
+ 20,
44
+ 50,
45
+ 100
46
+ ] },
47
+ showQuickJumper: {
48
+ type: Boolean,
49
+ default: !1
50
+ },
51
+ simple: {
52
+ type: Boolean,
53
+ default: !1
54
+ }
55
+ },
56
+ emits: [
57
+ "update:modelValue",
58
+ "page",
59
+ "update:rows",
60
+ "update:pageSize"
61
+ ],
62
+ setup(l, { expose: A, emit: j }) {
63
+ let M = l, N = j, P = t(), F = f(""), I = i(() => Math.max(1, M.pageSize ?? M.rows)), L = i(() => Math.max(1, Math.ceil(M.totalRecords / I.value))), R = i(() => Math.min(Math.max(1, M.modelValue), L.value)), z = i(() => (R.value - 1) * I.value), B = i(() => {
64
+ let e = Math.min(M.pageLinkSize, L.value), t = Math.min(Math.max(1, R.value - Math.floor(e / 2)), L.value - e + 1);
65
+ return Array.from({ length: e }, (e, n) => t + n);
66
+ }), V = i(() => {
67
+ let e = [...M.pageSizes];
68
+ return e.includes(I.value) || e.unshift(I.value), e;
69
+ });
70
+ function H(e) {
71
+ let t = Math.min(Math.max(1, e), L.value);
72
+ M.disabled || t === R.value || (N("update:modelValue", t), N("page", t));
73
+ }
74
+ function U(e) {
75
+ if (M.disabled || e === I.value) return;
76
+ N("update:rows", e), N("update:pageSize", e);
77
+ let t = Math.max(1, Math.ceil(M.totalRecords / e)), n = Math.min(R.value, t);
78
+ n !== R.value && (N("update:modelValue", n), N("page", n));
79
+ }
80
+ function W(e) {
81
+ let t = Number(e.target.value);
82
+ Number.isFinite(t) && U(t);
83
+ }
84
+ function G() {
85
+ let e = Number.parseInt(F.value, 10);
86
+ F.value = "", Number.isFinite(e) && H(e);
87
+ }
88
+ function K(e) {
89
+ return n(P.value.page, { page: e });
90
+ }
91
+ return A({
92
+ first: z,
93
+ pageCount: L
94
+ }), (t, n) => (d(), o("nav", {
95
+ class: u(["wi-pagination", { "wi-pagination--simple": l.simple }]),
96
+ "aria-label": h(P).pagination
97
+ }, [
98
+ s("button", {
99
+ type: "button",
100
+ class: "wi-pagination__button",
101
+ disabled: l.disabled || R.value === 1,
102
+ "aria-label": h(P).prevPage,
103
+ onClick: n[0] ||= (e) => H(R.value - 1)
104
+ }, [c(e, {
105
+ name: "chevron-left",
106
+ size: "sm"
107
+ })], 8, y),
108
+ l.simple ? (d(), o("span", b, m(R.value) + " / " + m(L.value), 1)) : (d(!0), o(r, { key: 1 }, p(B.value, (e) => (d(), o("button", {
109
+ key: e,
110
+ type: "button",
111
+ class: u(["wi-pagination__button", { "wi-pagination__button--active": e === R.value }]),
112
+ disabled: l.disabled,
113
+ "aria-label": K(e),
114
+ "aria-current": e === R.value ? "page" : void 0,
115
+ onClick: (t) => H(e)
116
+ }, m(e), 11, x))), 128)),
117
+ s("button", {
118
+ type: "button",
119
+ class: "wi-pagination__button",
120
+ disabled: l.disabled || R.value === L.value,
121
+ "aria-label": h(P).nextPage,
122
+ onClick: n[1] ||= (e) => H(R.value + 1)
123
+ }, [c(e, {
124
+ name: "chevron-right",
125
+ size: "sm"
126
+ })], 8, S),
127
+ l.showSizePicker && !l.simple ? (d(), o("label", C, [s("span", w, m(h(P).itemsPerPage), 1), s("select", {
128
+ class: "wi-pagination__select",
129
+ disabled: l.disabled,
130
+ value: I.value,
131
+ onChange: W
132
+ }, [(d(!0), o(r, null, p(V.value, (e) => (d(), o("option", {
133
+ key: e,
134
+ value: e
135
+ }, m(e), 9, E))), 128))], 40, T)])) : a("", !0),
136
+ l.showQuickJumper && !l.simple ? (d(), o("label", D, [
137
+ s("span", null, m(h(P).jumpToPage), 1),
138
+ s("input", {
139
+ class: "wi-pagination__input",
140
+ type: "number",
141
+ min: "1",
142
+ max: L.value,
143
+ disabled: l.disabled,
144
+ value: F.value,
145
+ onInput: n[2] ||= (e) => F.value = e.target.value,
146
+ onKeydown: g(_(G, ["prevent"]), ["enter"]),
147
+ onBlur: G
148
+ }, null, 40, O),
149
+ h(P).pageClassifier ? (d(), o("span", k, m(h(P).pageClassifier), 1)) : a("", !0)
150
+ ])) : a("", !0)
151
+ ], 10, v));
152
+ }
153
+ });
154
+ //#endregion
155
+ export { A as t };
@@ -1,5 +1,5 @@
1
1
  import { n as e } from "./types-tV3SEv3Q.js";
2
- import { n as t } from "./locale-CYkJyRd1.js";
2
+ import { n as t } from "./locale-DxAvgqgB.js";
3
3
  import { computed as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, defineComponent as o, normalizeClass as s, normalizeStyle as c, onBeforeUnmount as l, openBlock as u, ref as d, renderSlot as f, toDisplayString as p, useSlots as m, watch as h } from "vue";
4
4
  //#region src/components/ProgressSpinner/ProgressSpinner.vue?vue&type=script&setup=true&lang.ts
5
5
  var g = { class: "wi-progress-spinner-wrap__content" }, _ = {
@@ -0,0 +1,8 @@
1
+ //#region \0plugin-vue:export-helper
2
+ var e = (e, t) => {
3
+ let n = e.__vccOpts || e;
4
+ for (let [e, r] of t) n[e] = r;
5
+ return n;
6
+ };
7
+ //#endregion
8
+ export { e as t };
@@ -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,24 +1,25 @@
1
- import { t as e } from "../Icon-B6gOD07E.js";
1
+ import { t as e } from "../Icon-DHGs8l-M.js";
2
2
  import { n as t, t as n } from "../overlay-oR-5MDuE.js";
3
- import { c as ee, o as te } from "../config-DWwce9jA.js";
4
- import { n as ne } from "../locale-CYkJyRd1.js";
3
+ import { t as r } from "../overlayPlacement-CN1tuC95.js";
4
+ import { c as i, o as a } from "../config-CTLkobga.js";
5
+ import { n as o } from "../locale-DxAvgqgB.js";
5
6
  import "./style.js";
6
- import { Fragment as r, Teleport as i, Transition as a, computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createVNode as d, defineComponent as f, nextTick as p, normalizeClass as m, normalizeStyle as h, onBeforeUnmount as g, openBlock as _, ref as v, renderList as re, toDisplayString as y, unref as b, watch as x, withCtx as S, withModifiers as C } from "vue";
7
+ import { Fragment as s, Teleport as ee, Transition as te, 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, withModifiers as E } from "vue";
7
8
  //#region src/components/AutoComplete/AutoComplete.vue?vue&type=script&setup=true&lang.ts
8
- var w = [
9
+ var D = [
9
10
  "value",
10
11
  "placeholder",
11
12
  "disabled",
12
13
  "aria-expanded",
13
14
  "aria-busy"
14
- ], T = {
15
+ ], O = {
15
16
  key: 0,
16
17
  class: "wi-autocomplete__spinner",
17
18
  "aria-hidden": "true"
18
- }, E = ["aria-label"], D = ["aria-label", "disabled"], O = {
19
+ }, ne = ["aria-label"], re = ["aria-label", "disabled"], ie = {
19
20
  key: 0,
20
21
  class: "wi-autocomplete__status"
21
- }, k = ["aria-selected", "onMousedown"], A = /* @__PURE__ */ f({
22
+ }, ae = ["aria-selected", "onMousedown"], k = /* @__PURE__ */ m({
22
23
  __name: "AutoComplete",
23
24
  props: {
24
25
  modelValue: { default: "" },
@@ -47,160 +48,166 @@ var w = [
47
48
  },
48
49
  appendTo: {}
49
50
  },
50
- emits: ["update:modelValue", "complete"],
51
- setup(f, { emit: A }) {
52
- let j = f, M = A, N = ee(), P = ne(), F = te("AutoComplete", () => j.size), I = v(!1), L = v(null), R = v(null), z = v(null), B = v({}), V = v(-1), H = o(() => t(j, N.value.appendTo)), U = o(() => n(j, N.value.appendTo));
53
- function W(e) {
51
+ emits: [
52
+ "update:modelValue",
53
+ "complete",
54
+ "clear"
55
+ ],
56
+ setup(m, { emit: k }) {
57
+ let A = m, j = k, M = i(), N = o(), P = a("AutoComplete", () => A.size), F = b(!1), I = b(null), L = b(null), R = b(null), z = b({}), B = b(-1), V = c(() => t(A, M.value.appendTo)), H = c(() => n(A, M.value.appendTo));
58
+ function U(e) {
54
59
  return typeof e == "string" ? {
55
60
  label: e,
56
61
  value: e
57
62
  } : e;
58
63
  }
59
- let G = o(() => j.suggestions.map(W)), K = o(() => {
60
- let e = (j.modelValue ?? "").trim().toLowerCase();
61
- return e ? G.value.filter((t) => t.label.toLowerCase().includes(e) || t.value.toLowerCase().includes(e)) : G.value;
62
- }), q = o(() => j.clearable && !!j.modelValue && !j.disabled), J = o(() => [
64
+ let W = c(() => A.suggestions.map(U)), G = c(() => {
65
+ let e = (A.modelValue ?? "").trim().toLowerCase();
66
+ return e ? W.value.filter((t) => t.label.toLowerCase().includes(e) || t.value.toLowerCase().includes(e)) : W.value;
67
+ }), K = c(() => A.clearable && !!A.modelValue && !A.disabled), q = c(() => [
63
68
  "wi-autocomplete",
64
- `wi-autocomplete--${F.value}`,
69
+ `wi-autocomplete--${P.value}`,
65
70
  {
66
- "wi-autocomplete--disabled": j.disabled,
67
- "wi-autocomplete--open": I.value,
68
- "wi-autocomplete--loading": j.loading
71
+ "wi-autocomplete--disabled": A.disabled,
72
+ "wi-autocomplete--open": F.value,
73
+ "wi-autocomplete--loading": A.loading
69
74
  }
70
75
  ]);
71
- function Y() {
72
- if (!U.value || !R.value) return;
73
- let e = R.value.getBoundingClientRect();
74
- B.value = {
75
- left: `${e.left}px`,
76
- width: `${e.width}px`,
77
- top: `${e.bottom + 8}px`
78
- };
76
+ function J() {
77
+ if (!H.value || !L.value) return;
78
+ let e = L.value.getBoundingClientRect(), t = `${e.width}px`;
79
+ z.value = r(e, "bottom-start", {
80
+ minWidth: t,
81
+ width: t
82
+ });
79
83
  }
80
- function X(e) {
81
- M("complete", e), I.value = !0, V.value = K.value.length ? 0 : -1, p(() => Y());
84
+ function Y(e) {
85
+ j("complete", e), F.value = !0, B.value = G.value.length ? 0 : -1, h(() => J());
82
86
  }
83
- function ie(e) {
84
- if (j.disabled) return;
87
+ function oe(e) {
88
+ if (A.disabled) return;
85
89
  let t = e.target.value;
86
- M("update:modelValue", t), X(t);
90
+ j("update:modelValue", t), Y(t);
87
91
  }
88
- function Z(e) {
89
- j.disabled || (M("update:modelValue", e.value), I.value = !1);
92
+ function X(e) {
93
+ A.disabled || (j("update:modelValue", e.value), F.value = !1);
90
94
  }
91
- function ae() {
92
- j.disabled || (M("update:modelValue", ""), X(""));
95
+ function se() {
96
+ A.disabled || (j("update:modelValue", ""), j("clear"), Y(""));
93
97
  }
94
- function oe() {
95
- if (!j.disabled) {
96
- if (I.value) {
97
- I.value = !1;
98
+ function ce() {
99
+ if (!A.disabled) {
100
+ if (F.value) {
101
+ F.value = !1;
98
102
  return;
99
103
  }
100
- X(j.modelValue ?? "");
104
+ Y(A.modelValue ?? "");
101
105
  }
102
106
  }
103
- function se(e) {
104
- if (!I.value && (e.key === "ArrowDown" || e.key === "Enter")) {
105
- X(j.modelValue ?? "");
107
+ function Z(e) {
108
+ if (!F.value && (e.key === "ArrowDown" || e.key === "Enter")) {
109
+ Y(A.modelValue ?? "");
106
110
  return;
107
111
  }
108
- if (I.value) {
112
+ if (F.value) {
109
113
  if (e.key === "Escape") {
110
- I.value = !1;
114
+ F.value = !1;
111
115
  return;
112
116
  }
113
117
  if (e.key === "ArrowDown" || e.key === "ArrowUp") {
114
118
  e.preventDefault();
115
- let t = K.value.length;
119
+ let t = G.value.length;
116
120
  if (!t) return;
117
121
  let n = e.key === "ArrowDown" ? 1 : -1;
118
- V.value = (V.value + n + t) % t;
122
+ B.value = (B.value + n + t) % t;
119
123
  }
120
- if (e.key === "Enter" && V.value >= 0) {
124
+ if (e.key === "Enter" && B.value >= 0) {
121
125
  e.preventDefault();
122
- let t = K.value[V.value];
123
- t != null && Z(t);
126
+ let t = G.value[B.value];
127
+ t != null && X(t);
124
128
  }
125
129
  }
126
130
  }
127
131
  function Q(e) {
128
132
  let t = e.target;
129
- L.value?.contains(t) || z.value?.contains(t) || (I.value = !1);
133
+ I.value?.contains(t) || R.value?.contains(t) || (F.value = !1);
130
134
  }
131
135
  function $() {
132
- I.value && Y();
136
+ F.value && J();
133
137
  }
134
- x(I, async (e) => {
135
- e ? (document.addEventListener("click", Q), U.value && (window.addEventListener("resize", $), window.addEventListener("scroll", $, !0)), await p(), Y()) : (document.removeEventListener("click", Q), window.removeEventListener("resize", $), window.removeEventListener("scroll", $, !0));
136
- }), x(K, (e) => {
137
- e.length ? V.value >= e.length && (V.value = 0) : V.value = -1;
138
- }), g(() => {
138
+ w(F, async (e) => {
139
+ e ? (document.addEventListener("click", Q), H.value && (window.addEventListener("resize", $), window.addEventListener("scroll", $, !0)), await h(), J()) : (document.removeEventListener("click", Q), window.removeEventListener("resize", $), window.removeEventListener("scroll", $, !0));
140
+ }), w(G, (e) => {
141
+ e.length ? B.value >= e.length && (B.value = 0) : B.value = -1;
142
+ }), v(() => {
139
143
  document.removeEventListener("click", Q), window.removeEventListener("resize", $), window.removeEventListener("scroll", $, !0);
140
144
  });
141
- let ce = o(() => I.value && (K.value.length > 0 || j.loading));
142
- return (t, n) => (_(), l("div", {
145
+ let le = c(() => F.value && (G.value.length > 0 || A.loading));
146
+ return (t, n) => (y(), d("div", {
143
147
  ref_key: "root",
144
- ref: L,
145
- class: m(J.value)
146
- }, [u("div", {
148
+ ref: I,
149
+ class: g(q.value)
150
+ }, [f("div", {
147
151
  ref_key: "trigger",
148
- ref: R,
152
+ ref: L,
149
153
  class: "wi-autocomplete__control"
150
154
  }, [
151
- u("input", {
155
+ f("input", {
152
156
  class: "wi-autocomplete__input",
153
157
  type: "text",
154
158
  role: "combobox",
155
- value: f.modelValue,
156
- placeholder: f.placeholder,
157
- disabled: f.disabled,
158
- "aria-expanded": I.value,
159
- "aria-busy": f.loading || void 0,
159
+ value: m.modelValue,
160
+ placeholder: m.placeholder,
161
+ disabled: m.disabled,
162
+ "aria-expanded": F.value,
163
+ "aria-busy": m.loading || void 0,
160
164
  "aria-autocomplete": "list",
161
- onInput: ie,
162
- onKeydown: se,
163
- onFocus: n[0] ||= (e) => X(f.modelValue ?? "")
164
- }, null, 40, w),
165
- f.loading ? (_(), l("span", T)) : q.value ? (_(), l("button", {
165
+ onInput: oe,
166
+ onKeydown: Z,
167
+ onFocus: n[0] ||= (e) => Y(m.modelValue ?? "")
168
+ }, null, 40, D),
169
+ m.loading ? (y(), d("span", O)) : K.value ? (y(), d("button", {
166
170
  key: 1,
167
171
  type: "button",
168
172
  class: "wi-autocomplete__clear",
169
- "aria-label": b(P).clearInput,
170
- onClick: ae
171
- }, " × ", 8, E)) : c("", !0),
172
- f.dropdown ? (_(), l("button", {
173
+ "aria-label": C(N).clearInput,
174
+ onClick: se
175
+ }, [p(e, {
176
+ name: "close",
177
+ size: "sm"
178
+ })], 8, ne)) : u("", !0),
179
+ m.dropdown ? (y(), d("button", {
173
180
  key: 2,
174
181
  type: "button",
175
182
  class: "wi-autocomplete__dropdown",
176
- "aria-label": b(P).showSuggestions,
177
- disabled: f.disabled,
178
- onClick: oe
179
- }, [d(e, {
183
+ "aria-label": C(N).showSuggestions,
184
+ disabled: m.disabled,
185
+ onClick: ce
186
+ }, [p(e, {
180
187
  name: "chevron-down",
181
188
  size: "sm"
182
- })], 8, D)) : c("", !0)
183
- ], 512), (_(), s(i, {
184
- to: H.value.to,
185
- disabled: H.value.disabled
186
- }, [d(a, { name: "wi-scale-fade" }, {
187
- default: S(() => [ce.value ? (_(), l("ul", {
189
+ })], 8, re)) : u("", !0)
190
+ ], 512), (y(), l(ee, {
191
+ to: V.value.to,
192
+ disabled: V.value.disabled
193
+ }, [p(te, { name: "wi-scale-fade" }, {
194
+ default: T(() => [le.value ? (y(), d("ul", {
188
195
  key: 0,
189
196
  ref_key: "panel",
190
- ref: z,
191
- class: m(["wi-autocomplete__panel", { "wi-autocomplete__panel--teleported": U.value }]),
192
- style: h(U.value ? B.value : void 0),
197
+ ref: R,
198
+ class: g(["wi-autocomplete__panel", { "wi-autocomplete__panel--teleported": H.value }]),
199
+ style: _(H.value ? z.value : void 0),
193
200
  role: "listbox"
194
- }, [f.loading && !K.value.length ? (_(), l("li", O, y(b(P).loading), 1)) : c("", !0), (_(!0), l(r, null, re(K.value, (e, t) => (_(), l("li", {
201
+ }, [m.loading && !G.value.length ? (y(), d("li", ie, S(C(N).loading), 1)) : u("", !0), (y(!0), d(s, null, x(G.value, (e, t) => (y(), d("li", {
195
202
  key: `${e.value}-${t}`,
196
- class: m(["wi-autocomplete__item", { "wi-autocomplete__item--active": t === V.value }]),
203
+ class: g(["wi-autocomplete__item", { "wi-autocomplete__item--active": t === B.value }]),
197
204
  role: "option",
198
- "aria-selected": t === V.value,
199
- onMousedown: C((t) => Z(e), ["prevent"])
200
- }, y(e.label), 43, k))), 128))], 6)) : c("", !0)]),
205
+ "aria-selected": t === B.value,
206
+ onMousedown: E((t) => X(e), ["prevent"])
207
+ }, S(e.label), 43, ae))), 128))], 6)) : u("", !0)]),
201
208
  _: 1
202
209
  })], 8, ["to", "disabled"]))], 2));
203
210
  }
204
211
  });
205
212
  //#endregion
206
- export { A as WiAutoComplete };
213
+ export { k as WiAutoComplete };
@@ -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 "../Icon-B6gOD07E.js";
1
+ import { t as e } from "../Icon-DHGs8l-M.js";
2
2
  import "./style.js";
3
3
  import { Comment as t, Fragment as n, Text as r, computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, defineComponent as c, normalizeClass as l, openBlock as u, ref as d, renderList as f, resolveDynamicComponent as p, toDisplayString as m, useSlots as h, watch as g } from "vue";
4
4
  //#region src/components/Avatar/Avatar.vue?vue&type=script&setup=true&lang.ts