@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
@@ -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
  }
@@ -1400,8 +1399,7 @@
1400
1399
  outline: none;
1401
1400
  }
1402
1401
 
1403
- .wi-input--invalid:focus-visible,
1404
- .wi-input--error:focus-visible {
1402
+ .wi-input--invalid:focus-visible {
1405
1403
  border-color: var(--wi-color-danger);
1406
1404
  box-shadow: var(--wi-focus-shadow-danger);
1407
1405
  }
@@ -1426,7 +1424,7 @@
1426
1424
  font-size: var(--wi-font-size-xs);
1427
1425
  }
1428
1426
 
1429
- .wi-input-field__help--error {
1427
+ .wi-input-field__help--invalid {
1430
1428
  color: var(--wi-color-danger);
1431
1429
  }
1432
1430
 
@@ -1523,8 +1521,7 @@
1523
1521
  width: 100%;
1524
1522
  }
1525
1523
 
1526
- .wi-input--invalid,
1527
- .wi-input--error {
1524
+ .wi-input--invalid {
1528
1525
  border-color: var(--wi-color-danger);
1529
1526
  }
1530
1527
 
@@ -1,11 +1,11 @@
1
- import { t as e } from "../Icon-B6gOD07E.js";
2
- import { t } from "../Button-B6-YxpOQ.js";
1
+ import { t as e } from "../Icon-DHGs8l-M.js";
2
+ import { t } from "../Button-tnrMSwNg.js";
3
3
  import { n } from "../overlay-oR-5MDuE.js";
4
4
  import { t as r } from "../useModalOverlay-Beo3CEAt.js";
5
5
  import { t as i } from "../asyncGuard-CPGT_TKu.js";
6
6
  import { t as a } from "../lastPointer-CRxcUqdd.js";
7
- import { c as o } from "../config-DWwce9jA.js";
8
- import { n as s } from "../locale-CYkJyRd1.js";
7
+ import { c as o } from "../config-CTLkobga.js";
8
+ import { n as s } from "../locale-DxAvgqgB.js";
9
9
  import "./style.js";
10
10
  import { Teleport as c, Transition as l, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createTextVNode as h, createVNode as g, defineComponent as _, normalizeClass as v, normalizeStyle as y, openBlock as b, ref as x, renderSlot as S, toDisplayString as C, toRef as w, watch as T, withCtx as E, withModifiers as D } from "vue";
11
11
  //#region src/components/ConfirmDialog/ConfirmDialog.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,13 +1,14 @@
1
- import { t as e } from "../Icon-B6gOD07E.js";
2
- import { t } from "../Button-B6-YxpOQ.js";
1
+ import { t as e } from "../Icon-DHGs8l-M.js";
2
+ import { t } from "../Button-tnrMSwNg.js";
3
3
  import { n, t as r } from "../overlay-oR-5MDuE.js";
4
- import { t as i } from "../asyncGuard-CPGT_TKu.js";
5
- import { c as a } from "../config-DWwce9jA.js";
6
- import { n as o } from "../locale-CYkJyRd1.js";
4
+ import { t as i } from "../overlayPlacement-CN1tuC95.js";
5
+ import { t as a } from "../asyncGuard-CPGT_TKu.js";
6
+ import { c as o } from "../config-CTLkobga.js";
7
+ import { n as s } from "../locale-DxAvgqgB.js";
7
8
  import "./style.js";
8
- import { Teleport as s, Transition as c, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createTextVNode as m, createVNode as h, defineComponent as g, nextTick as _, normalizeClass as v, normalizeStyle as y, onBeforeUnmount as b, openBlock as x, ref as S, renderSlot as C, toDisplayString as w, watch as T, withCtx as E } from "vue";
9
+ import { Teleport as c, Transition as l, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createTextVNode as h, createVNode as g, defineComponent as _, nextTick as v, normalizeClass as y, normalizeStyle as b, onBeforeUnmount as x, openBlock as S, ref as C, renderSlot as w, toDisplayString as T, watch as E, withCtx as D } from "vue";
9
10
  //#region src/components/ConfirmPopup/ConfirmPopup.vue?vue&type=script&setup=true&lang.ts
10
- var D = { class: "wi-confirmpopup__message" }, O = { class: "wi-confirmpopup__footer" }, k = /* @__PURE__ */ g({
11
+ var O = { class: "wi-confirmpopup__message" }, k = { class: "wi-confirmpopup__footer" }, A = /* @__PURE__ */ _({
11
12
  __name: "ConfirmPopup",
12
13
  props: {
13
14
  modelValue: {
@@ -33,110 +34,94 @@ var D = { class: "wi-confirmpopup__message" }, O = { class: "wi-confirmpopup__fo
33
34
  "accept",
34
35
  "reject"
35
36
  ],
36
- setup(g, { emit: k }) {
37
- let A = g, j = k, M = a(), N = o(), P = S(null), F = S({}), I = S(!1), L = l(() => n(A, M.value.appendTo)), R = l(() => r(A, M.value.appendTo));
38
- function z() {
39
- I.value = !1, j("update:modelValue", !1);
37
+ setup(_, { emit: A }) {
38
+ let j = _, M = A, N = o(), P = s(), F = C(null), I = C({}), L = C(!1), R = u(() => n(j, N.value.appendTo)), z = u(() => r(j, N.value.appendTo));
39
+ function B() {
40
+ L.value = !1, M("update:modelValue", !1);
40
41
  }
41
- async function B() {
42
- if (!I.value) {
43
- I.value = !0;
42
+ async function V() {
43
+ if (!L.value) {
44
+ L.value = !0;
44
45
  try {
45
- if (!await i(A.beforeAccept)) return;
46
- j("accept"), z();
46
+ if (!await a(j.beforeAccept)) return;
47
+ M("accept"), B();
47
48
  } finally {
48
- I.value &&= !1;
49
+ L.value &&= !1;
49
50
  }
50
51
  }
51
52
  }
52
- function V() {
53
- I.value || (j("reject"), z());
54
- }
55
53
  function H() {
56
- if (A.target) {
57
- let e = A.target.getBoundingClientRect(), t = e.left + e.width / 2, n = e.top + e.height / 2;
58
- A.placement === "top" ? F.value = {
59
- left: `${t}px`,
60
- top: `${e.top - 8}px`,
61
- transform: "translate(-50%, -100%)"
62
- } : A.placement === "left" ? F.value = {
63
- left: `${e.left - 8}px`,
64
- top: `${n}px`,
65
- transform: "translate(-100%, -50%)"
66
- } : A.placement === "right" ? F.value = {
67
- left: `${e.right + 8}px`,
68
- top: `${n}px`,
69
- transform: "translateY(-50%)"
70
- } : F.value = {
71
- left: `${t}px`,
72
- top: `${e.bottom + 8}px`,
73
- transform: "translateX(-50%)"
74
- };
54
+ L.value || (M("reject"), B());
55
+ }
56
+ function U() {
57
+ if (j.target) {
58
+ let e = j.target.getBoundingClientRect(), t = j.placement === "top" || j.placement === "left" || j.placement === "right" ? j.placement : "bottom";
59
+ I.value = i(e, t);
75
60
  return;
76
61
  }
77
- if (A.position) {
78
- F.value = {
79
- left: `${A.position.left}px`,
80
- top: `${A.position.top}px`
62
+ if (j.position) {
63
+ I.value = {
64
+ left: `${j.position.left}px`,
65
+ top: `${j.position.top}px`
81
66
  };
82
67
  return;
83
68
  }
84
- F.value = {
69
+ I.value = {
85
70
  left: "50%",
86
71
  top: "30%",
87
72
  transform: "translateX(-50%)"
88
73
  };
89
74
  }
90
- function U(e) {
91
- e.key === "Escape" && V();
92
- }
93
75
  function W(e) {
94
- P.value?.contains(e.target) || A.target?.contains(e.target) || V();
76
+ e.key === "Escape" && H();
77
+ }
78
+ function G(e) {
79
+ F.value?.contains(e.target) || j.target?.contains(e.target) || H();
95
80
  }
96
- T(() => A.modelValue, async (e) => {
97
- e ? (document.addEventListener("keydown", U), window.addEventListener("resize", H), window.addEventListener("scroll", H, !0), await _(), H(), P.value?.focus(), window.setTimeout(() => document.addEventListener("click", W), 0)) : (document.removeEventListener("keydown", U), document.removeEventListener("click", W), window.removeEventListener("resize", H), window.removeEventListener("scroll", H, !0));
98
- }, { immediate: !0 }), T(() => [
99
- A.target,
100
- A.position,
101
- A.placement
81
+ E(() => j.modelValue, async (e) => {
82
+ e ? (document.addEventListener("keydown", W), window.addEventListener("resize", U), window.addEventListener("scroll", U, !0), await v(), U(), F.value?.focus(), window.setTimeout(() => document.addEventListener("click", G), 0)) : (document.removeEventListener("keydown", W), document.removeEventListener("click", G), window.removeEventListener("resize", U), window.removeEventListener("scroll", U, !0));
83
+ }, { immediate: !0 }), E(() => [
84
+ j.target,
85
+ j.position,
86
+ j.placement
102
87
  ], () => {
103
- A.modelValue && H();
104
- }), b(() => {
105
- document.removeEventListener("keydown", U), document.removeEventListener("click", W), window.removeEventListener("resize", H), window.removeEventListener("scroll", H, !0);
88
+ j.modelValue && U();
89
+ }), x(() => {
90
+ document.removeEventListener("keydown", W), document.removeEventListener("click", G), window.removeEventListener("resize", U), window.removeEventListener("scroll", U, !0);
106
91
  });
107
- let G = l(() => A.modelValue), K = l(() => A.acceptLabel ?? N.value.accept), q = l(() => A.rejectLabel ?? N.value.reject);
108
- return (n, r) => (x(), u(s, {
109
- to: L.value.to,
110
- disabled: L.value.disabled
111
- }, [h(c, { name: "wi-scale-fade" }, {
112
- default: E(() => [G.value ? (x(), f("div", {
92
+ let K = u(() => j.modelValue), q = u(() => j.acceptLabel ?? P.value.accept), J = u(() => j.rejectLabel ?? P.value.reject);
93
+ return (n, r) => (S(), d(c, {
94
+ to: R.value.to,
95
+ disabled: R.value.disabled
96
+ }, [g(l, { name: "wi-scale-fade" }, {
97
+ default: D(() => [K.value ? (S(), p("div", {
113
98
  key: 0,
114
99
  ref_key: "panel",
115
- ref: P,
116
- class: v(["wi-confirmpopup", { "wi-confirmpopup--teleported": R.value }]),
100
+ ref: F,
101
+ class: y(["wi-confirmpopup", { "wi-confirmpopup--teleported": z.value }]),
117
102
  role: "alertdialog",
118
103
  "aria-modal": "true",
119
104
  tabindex: "-1",
120
- style: y(F.value)
121
- }, [p("div", D, [g.icon ? (x(), u(e, {
105
+ style: b(I.value)
106
+ }, [m("div", O, [_.icon ? (S(), d(e, {
122
107
  key: 0,
123
108
  class: "wi-confirmpopup__icon",
124
- name: g.icon,
109
+ name: _.icon,
125
110
  size: "sm"
126
- }, null, 8, ["name"])) : d("", !0), C(n.$slots, "default", {}, () => [m(w(g.message), 1)])]), p("div", O, [h(t, {
127
- label: q.value,
111
+ }, null, 8, ["name"])) : f("", !0), w(n.$slots, "default", {}, () => [h(T(_.message), 1)])]), m("div", k, [g(t, {
112
+ label: J.value,
128
113
  severity: "secondary",
129
114
  size: "small",
130
- onClick: V
131
- }, null, 8, ["label"]), h(t, {
132
- label: K.value,
115
+ onClick: H
116
+ }, null, 8, ["label"]), g(t, {
117
+ label: q.value,
133
118
  size: "small",
134
- loading: I.value,
135
- onClick: B
136
- }, null, 8, ["label", "loading"])])], 6)) : d("", !0)]),
119
+ loading: L.value,
120
+ onClick: V
121
+ }, null, 8, ["label", "loading"])])], 6)) : f("", !0)]),
137
122
  _: 3
138
123
  })], 8, ["to", "disabled"]));
139
124
  }
140
125
  });
141
126
  //#endregion
142
- export { k as WiConfirmPopup };
127
+ export { A as WiConfirmPopup };
@@ -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,72 +1,80 @@
1
- import { a as e, t } from "../Icon-B6gOD07E.js";
2
- import { n, t as r } from "../overlay-oR-5MDuE.js";
3
- import { c as i } from "../config-DWwce9jA.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 "../icon-Cg5TeFqe.js";
4
+ import { t as i } from "../key-CaQYVkjh.js";
5
+ import { c as a } from "../config-CTLkobga.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, createTextVNode as p, createVNode as m, defineComponent as h, normalizeClass as g, normalizeStyle as _, onBeforeUnmount as v, openBlock as y, ref as b, renderList as x, toDisplayString as S, watch as C, withCtx as w, withModifiers as T } from "vue";
7
+ import { Fragment as o, Teleport as s, Transition as c, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createTextVNode as m, createVNode as h, defineComponent as g, normalizeClass as _, normalizeStyle as v, onBeforeUnmount as y, openBlock as b, ref as x, renderList as S, toDisplayString as C, watch as w, withCtx as T, withModifiers as E } from "vue";
6
8
  //#region src/components/ContextMenu/ContextMenuNodes.vue?vue&type=script&setup=true&lang.ts
7
- var E = {
9
+ var D = {
8
10
  key: 0,
9
11
  class: "wi-contextmenu__separator",
10
12
  role: "separator"
11
- }, D = ["onMouseenter"], O = ["disabled"], k = {
13
+ }, O = ["onMouseenter"], k = ["disabled"], A = {
12
14
  key: 0,
13
15
  class: "wi-contextmenu__icon",
14
16
  "aria-hidden": "true"
15
- }, A = {
17
+ }, j = {
18
+ class: "wi-contextmenu__caret",
19
+ "aria-hidden": "true"
20
+ }, M = {
16
21
  key: 0,
17
22
  class: "wi-contextmenu__submenu",
18
23
  role: "menu"
19
- }, j = ["disabled", "onClick"], M = {
24
+ }, N = ["disabled", "onClick"], P = {
20
25
  key: 0,
21
26
  class: "wi-contextmenu__icon",
22
27
  "aria-hidden": "true"
23
- }, N = /* @__PURE__ */ h({
28
+ }, F = /* @__PURE__ */ g({
24
29
  __name: "ContextMenuNodes",
25
30
  props: { items: {} },
26
31
  emits: ["activate"],
27
- setup(n, { emit: r }) {
28
- let i = b(null);
29
- function o(t) {
30
- return t.icon && e(t.icon) ? t.icon : void 0;
32
+ setup(t, { emit: n }) {
33
+ let a = x(null);
34
+ function s(e, t) {
35
+ return i(e, t, "cm");
36
+ }
37
+ function c(e) {
38
+ return r(e.icon);
31
39
  }
32
- return (e, r) => (y(!0), d(a, null, x(n.items, (n, s) => (y(), d(a, { key: n.key ?? n.label ?? s }, [n.separator ? (y(), d("div", E)) : n.items?.length ? (y(), d("div", {
40
+ return (n, r) => (b(!0), f(o, null, S(t.items, (t, i) => (b(), f(o, { key: s(t, i) }, [t.separator ? (b(), f("div", D)) : t.items?.length ? (b(), f("div", {
33
41
  key: 1,
34
42
  class: "wi-contextmenu__submenu-wrap",
35
- onMouseenter: (e) => i.value = s,
36
- onMouseleave: r[1] ||= (e) => i.value = null
37
- }, [f("button", {
43
+ onMouseenter: (e) => a.value = i,
44
+ onMouseleave: r[1] ||= (e) => a.value = null
45
+ }, [p("button", {
38
46
  type: "button",
39
47
  class: "wi-contextmenu__item wi-contextmenu__item--parent",
40
48
  role: "menuitem",
41
- disabled: n.disabled
49
+ disabled: t.disabled
42
50
  }, [
43
- o(n) || n.icon ? (y(), d("span", k, [o(n) ? (y(), l(t, {
51
+ c(t) || t.icon ? (b(), f("span", A, [c(t) ? (b(), u(e, {
44
52
  key: 0,
45
- name: o(n),
53
+ name: c(t),
54
+ size: "sm"
55
+ }, null, 8, ["name"])) : (b(), f(o, { key: 1 }, [m(C(t.icon), 1)], 64))])) : d("", !0),
56
+ m(" " + C(t.label) + " ", 1),
57
+ p("span", j, [h(e, {
58
+ name: "chevron-right",
46
59
  size: "sm"
47
- }, null, 8, ["name"])) : (y(), d(a, { key: 1 }, [p(S(n.icon), 1)], 64))])) : u("", !0),
48
- p(" " + S(n.label) + " ", 1),
49
- r[2] ||= f("span", {
50
- class: "wi-contextmenu__caret",
51
- "aria-hidden": "true"
52
- }, "▸", -1)
53
- ], 8, O), i.value === s ? (y(), d("div", A, [m(N, {
54
- items: n.items,
55
- onActivate: r[0] ||= (t) => e.$emit("activate", t)
56
- }, null, 8, ["items"])])) : u("", !0)], 40, D)) : (y(), d("button", {
60
+ })])
61
+ ], 8, k), a.value === i ? (b(), f("div", M, [h(F, {
62
+ items: t.items,
63
+ onActivate: r[0] ||= (e) => n.$emit("activate", e)
64
+ }, null, 8, ["items"])])) : d("", !0)], 40, O)) : (b(), f("button", {
57
65
  key: 2,
58
66
  type: "button",
59
67
  class: "wi-contextmenu__item",
60
68
  role: "menuitem",
61
- disabled: n.disabled,
62
- onClick: (t) => e.$emit("activate", n)
63
- }, [o(n) || n.icon ? (y(), d("span", M, [o(n) ? (y(), l(t, {
69
+ disabled: t.disabled,
70
+ onClick: (e) => n.$emit("activate", t)
71
+ }, [c(t) || t.icon ? (b(), f("span", P, [c(t) ? (b(), u(e, {
64
72
  key: 0,
65
- name: o(n),
73
+ name: c(t),
66
74
  size: "sm"
67
- }, null, 8, ["name"])) : (y(), d(a, { key: 1 }, [p(S(n.icon), 1)], 64))])) : u("", !0), p(" " + S(n.label), 1)], 8, j))], 64))), 128));
75
+ }, null, 8, ["name"])) : (b(), f(o, { key: 1 }, [m(C(t.icon), 1)], 64))])) : d("", !0), m(" " + C(t.label), 1)], 8, N))], 64))), 128));
68
76
  }
69
- }), P = /* @__PURE__ */ h({
77
+ }), I = /* @__PURE__ */ g({
70
78
  __name: "ContextMenu",
71
79
  props: {
72
80
  model: {},
@@ -82,12 +90,12 @@ var E = {
82
90
  appendTo: {}
83
91
  },
84
92
  emits: ["update:modelValue", "update:position"],
85
- setup(e, { expose: t, emit: a }) {
86
- let f = e, p = a, h = i(), x = b(null), S = b({
93
+ setup(e, { expose: r, emit: i }) {
94
+ let o = e, p = i, m = a(), g = x(null), S = x({
87
95
  x: 0,
88
96
  y: 0
89
- }), E = c(() => n(f, h.value.appendTo)), D = c(() => r(f, h.value.appendTo)), O = c(() => {
90
- let e = f.position ?? S.value;
97
+ }), C = l(() => t(o, m.value.appendTo)), D = l(() => n(o, m.value.appendTo)), O = l(() => {
98
+ let e = o.position ?? S.value;
91
99
  return {
92
100
  left: `${e.x}px`,
93
101
  top: `${e.y}px`
@@ -110,42 +118,42 @@ var E = {
110
118
  e.disabled || e.separator || (e.command?.(), k());
111
119
  }
112
120
  function M(e) {
113
- f.modelValue && x.value && !x.value.contains(e.target) && k();
121
+ o.modelValue && g.value && !g.value.contains(e.target) && k();
114
122
  }
115
- function P(e) {
123
+ function N(e) {
116
124
  e.key === "Escape" && k();
117
125
  }
118
- return C(() => f.modelValue, (e) => {
119
- e ? (document.addEventListener("click", M), document.addEventListener("keydown", P), document.addEventListener("contextmenu", M)) : (document.removeEventListener("click", M), document.removeEventListener("keydown", P), document.removeEventListener("contextmenu", M));
120
- }, { immediate: !0 }), v(() => {
121
- document.removeEventListener("click", M), document.removeEventListener("keydown", P), document.removeEventListener("contextmenu", M);
122
- }), t({
126
+ return w(() => o.modelValue, (e) => {
127
+ e ? (document.addEventListener("click", M), document.addEventListener("keydown", N), document.addEventListener("contextmenu", M)) : (document.removeEventListener("click", M), document.removeEventListener("keydown", N), document.removeEventListener("contextmenu", M));
128
+ }, { immediate: !0 }), y(() => {
129
+ document.removeEventListener("click", M), document.removeEventListener("keydown", N), document.removeEventListener("contextmenu", M);
130
+ }), r({
123
131
  show: A,
124
132
  hide: k
125
- }), (t, n) => (y(), l(o, {
126
- to: E.value.to,
127
- disabled: E.value.disabled
128
- }, [m(s, { name: "wi-scale-fade" }, {
129
- default: w(() => [e.modelValue ? (y(), d("div", {
133
+ }), (t, n) => (b(), u(s, {
134
+ to: C.value.to,
135
+ disabled: C.value.disabled
136
+ }, [h(c, { name: "wi-scale-fade" }, {
137
+ default: T(() => [e.modelValue ? (b(), f("div", {
130
138
  key: 0,
131
139
  ref_key: "root",
132
- ref: x,
133
- class: g(["wi-contextmenu", { "wi-contextmenu--teleported": D.value }]),
140
+ ref: g,
141
+ class: _(["wi-contextmenu", { "wi-contextmenu--teleported": D.value }]),
134
142
  role: "menu",
135
- style: _(O.value),
136
- onClick: n[0] ||= T(() => {}, ["stop"])
137
- }, [m(N, {
143
+ style: v(O.value),
144
+ onClick: n[0] ||= E(() => {}, ["stop"])
145
+ }, [h(F, {
138
146
  items: e.model,
139
147
  onActivate: j
140
- }, null, 8, ["items"])], 6)) : u("", !0)]),
148
+ }, null, 8, ["items"])], 6)) : d("", !0)]),
141
149
  _: 1
142
150
  })], 8, ["to", "disabled"]));
143
151
  }
144
152
  });
145
153
  //#endregion
146
154
  //#region src/components/ContextMenu/useContextMenu.ts
147
- function F() {
148
- let e = b(!1), t = b({
155
+ function L() {
156
+ let e = x(!1), t = x({
149
157
  x: 0,
150
158
  y: 0
151
159
  });
@@ -171,4 +179,4 @@ function F() {
171
179
  };
172
180
  }
173
181
  //#endregion
174
- export { P as WiContextMenu, F as useContextMenu };
182
+ export { I as WiContextMenu, L as useContextMenu };
@@ -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 "../Pagination-BU-1IY0E.js";
1
+ import { t as e } from "../Pagination-UvgyUKB1.js";
2
2
  import "./style.js";
3
3
  import { Fragment as t, computed as n, createBlock as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, defineComponent as s, normalizeClass as c, openBlock as l, ref as u, renderList as d, renderSlot as f, toDisplayString as p, watch as m } from "vue";
4
4
  //#region src/components/DataView/DataView.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
  }