@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.
- package/CHANGELOG.md +56 -0
- package/dist/{Button-B6-YxpOQ.js → Button-tnrMSwNg.js} +3 -7
- package/dist/{Checkbox-BvlOYFGs.js → Checkbox-CoovLjt_.js} +1 -1
- package/dist/{Icon-B6gOD07E.js → Icon-DHGs8l-M.js} +27 -1
- package/dist/Pagination-UvgyUKB1.js +155 -0
- package/dist/{ProgressSpinner-YThgaSzb.js → ProgressSpinner-BTijCc7l.js} +1 -1
- package/dist/_plugin-vue_export-helper-B3ysoDQm.js +8 -0
- package/dist/accordion/style.css +4 -5
- package/dist/auto-complete/index.js +106 -99
- package/dist/auto-complete/style.css +4 -5
- package/dist/avatar/index.js +1 -1
- package/dist/avatar/style.css +4 -5
- package/dist/badge/style.css +4 -5
- package/dist/block-ui/style.css +4 -5
- package/dist/breadcrumb/index.js +1 -1
- package/dist/breadcrumb/style.css +4 -5
- package/dist/button/index.js +1 -1
- package/dist/button/style.css +4 -5
- package/dist/card/style.css +4 -5
- package/dist/carousel/index.js +61 -54
- package/dist/carousel/style.css +43 -5
- package/dist/carousel/style.js +1 -0
- package/dist/cascade-select/index.js +143 -76
- package/dist/cascade-select/style.css +76 -10
- package/dist/cascade-select/style.js +1 -0
- package/dist/checkbox/index.js +1 -1
- package/dist/checkbox/style.css +4 -5
- package/dist/chip/index.js +32 -29
- package/dist/chip/style.css +4 -5
- package/dist/command-menu/index.js +2 -2
- package/dist/command-menu/style.css +4 -5
- package/dist/components/AutoComplete/AutoComplete.vue.d.ts +2 -0
- package/dist/components/AutoComplete/AutoComplete.vue.d.ts.map +1 -1
- package/dist/components/AutoComplete/types.d.ts +1 -0
- package/dist/components/AutoComplete/types.d.ts.map +1 -1
- package/dist/components/Button/Button.vue.d.ts +0 -1
- package/dist/components/Button/Button.vue.d.ts.map +1 -1
- package/dist/components/Button/types.d.ts +0 -2
- package/dist/components/Button/types.d.ts.map +1 -1
- package/dist/components/Carousel/Carousel.vue.d.ts +2 -2
- package/dist/components/Carousel/Carousel.vue.d.ts.map +1 -1
- package/dist/components/CascadeSelect/CascadeSelect.vue.d.ts +6 -0
- package/dist/components/CascadeSelect/CascadeSelect.vue.d.ts.map +1 -1
- package/dist/components/CascadeSelect/styles.css +33 -5
- package/dist/components/CascadeSelect/types.d.ts +11 -0
- package/dist/components/CascadeSelect/types.d.ts.map +1 -1
- package/dist/components/Chip/Chip.vue.d.ts.map +1 -1
- package/dist/components/ConfigProvider/ConfigProvider.vue.d.ts.map +1 -1
- package/dist/components/ConfirmPopup/ConfirmPopup.vue.d.ts.map +1 -1
- package/dist/components/ContextMenu/ContextMenuNodes.vue.d.ts.map +1 -1
- package/dist/components/DatePicker/DatePicker.vue.d.ts +2 -0
- package/dist/components/DatePicker/DatePicker.vue.d.ts.map +1 -1
- package/dist/components/DatePicker/styles.css +33 -8
- package/dist/components/DatePicker/types.d.ts +1 -0
- package/dist/components/DatePicker/types.d.ts.map +1 -1
- package/dist/components/Dialog/Dialog.vue.d.ts +3 -3
- package/dist/components/Dialog/Dialog.vue.d.ts.map +1 -1
- package/dist/components/Divider/types.d.ts +0 -5
- package/dist/components/Divider/types.d.ts.map +1 -1
- package/dist/components/Drawer/Drawer.vue.d.ts +2 -2
- package/dist/components/Drawer/Drawer.vue.d.ts.map +1 -1
- package/dist/components/Dropdown/DropdownNodes.vue.d.ts +2 -2
- package/dist/components/Dropdown/DropdownNodes.vue.d.ts.map +1 -1
- package/dist/components/Fieldset/Fieldset.vue.d.ts +4 -4
- package/dist/components/Fieldset/Fieldset.vue.d.ts.map +1 -1
- package/dist/components/FileUpload/styles.css +2 -2
- package/dist/components/FloatLabel/FloatLabel.vue.d.ts.map +1 -1
- package/dist/components/Gallery/Gallery.vue.d.ts.map +1 -1
- package/dist/components/Icon/icons.d.ts +32 -0
- package/dist/components/Icon/icons.d.ts.map +1 -1
- package/dist/components/Input/Input.vue.d.ts +0 -1
- package/dist/components/Input/Input.vue.d.ts.map +1 -1
- package/dist/components/Input/styles.css +3 -5
- package/dist/components/Input/types.d.ts +1 -3
- package/dist/components/Input/types.d.ts.map +1 -1
- package/dist/components/InputNumber/InputNumber.vue.d.ts.map +1 -1
- package/dist/components/InputOtp/InputOtp.vue.d.ts.map +1 -1
- package/dist/components/InputPassword/InputPassword.vue.d.ts +4 -4
- package/dist/components/InputPassword/InputPassword.vue.d.ts.map +1 -1
- package/dist/components/InputTags/InputTags.vue.d.ts.map +1 -1
- package/dist/components/Layout/Layout.vue.d.ts +1 -4
- package/dist/components/Layout/Layout.vue.d.ts.map +1 -1
- package/dist/components/Layout/LayoutContent.vue.d.ts +1 -4
- package/dist/components/Layout/LayoutContent.vue.d.ts.map +1 -1
- package/dist/components/Layout/LayoutFooter.vue.d.ts.map +1 -1
- package/dist/components/Layout/LayoutHeader.vue.d.ts.map +1 -1
- package/dist/components/Layout/LayoutSider.vue.d.ts +1 -4
- package/dist/components/Layout/LayoutSider.vue.d.ts.map +1 -1
- package/dist/components/Layout/composables/useLayoutRegionStyle.d.ts +9 -0
- package/dist/components/Layout/composables/useLayoutRegionStyle.d.ts.map +1 -0
- package/dist/components/Layout/composables/useLayoutScroll.d.ts +6 -0
- package/dist/components/Layout/composables/useLayoutScroll.d.ts.map +1 -0
- package/dist/components/Layout/composables/useLayoutSiderCollapse.d.ts +16 -0
- package/dist/components/Layout/composables/useLayoutSiderCollapse.d.ts.map +1 -0
- package/dist/components/Layout/styles.css +21 -49
- package/dist/components/Layout/types.d.ts +0 -22
- package/dist/components/Layout/types.d.ts.map +1 -1
- package/dist/components/Layout/utils.d.ts +3 -0
- package/dist/components/Layout/utils.d.ts.map +1 -0
- package/dist/components/MegaMenu/MegaMenu.vue.d.ts.map +1 -1
- package/dist/components/Menu/MenuNodes.vue.d.ts.map +1 -1
- package/dist/components/Menubar/Menubar.vue.d.ts.map +1 -1
- package/dist/components/Pagination/Pagination.vue.d.ts.map +1 -1
- package/dist/components/Panel/Panel.vue.d.ts +3 -3
- package/dist/components/Panel/Panel.vue.d.ts.map +1 -1
- package/dist/components/Popover/Popover.vue.d.ts.map +1 -1
- package/dist/components/Popover/styles.css +41 -0
- package/dist/components/Rating/Rating.vue.d.ts.map +1 -1
- package/dist/components/Rating/styles.css +28 -23
- package/dist/components/ScrollTop/ScrollTop.vue.d.ts.map +1 -1
- package/dist/components/Select/Select.vue.d.ts +1 -1
- package/dist/components/Select/Select.vue.d.ts.map +1 -1
- package/dist/components/Select/styles.css +8 -108
- package/dist/components/Select/types.d.ts +3 -3
- package/dist/components/Select/types.d.ts.map +1 -1
- package/dist/components/Slider/Slider.vue.d.ts.map +1 -1
- package/dist/components/Slider/types.d.ts +2 -0
- package/dist/components/Slider/types.d.ts.map +1 -1
- package/dist/components/SpeedDial/SpeedDial.vue.d.ts.map +1 -1
- package/dist/components/SplitButton/SplitButton.vue.d.ts.map +1 -1
- package/dist/components/Table/Table.vue.d.ts +9 -9
- package/dist/components/Table/Table.vue.d.ts.map +1 -1
- package/dist/components/Tabs/Tabs.vue.d.ts +3 -3
- package/dist/components/Tabs/Tabs.vue.d.ts.map +1 -1
- package/dist/components/Tag/Tag.vue.d.ts.map +1 -1
- package/dist/components/Terminal/styles.css +8 -8
- package/dist/components/Textarea/Textarea.vue.d.ts +0 -2
- package/dist/components/Textarea/Textarea.vue.d.ts.map +1 -1
- package/dist/components/Textarea/styles.css +1 -2
- package/dist/components/Textarea/types.d.ts +1 -5
- package/dist/components/Textarea/types.d.ts.map +1 -1
- package/dist/components/TieredMenu/TieredMenu.vue.d.ts.map +1 -1
- package/dist/components/Toast/Toast.vue.d.ts.map +1 -1
- package/dist/components/Tooltip/Tooltip.vue.d.ts.map +1 -1
- package/dist/components/TreeSelect/TreeSelect.vue.d.ts.map +1 -1
- package/dist/components/TreeSelect/TreeSelectNodeItem.vue.d.ts.map +1 -1
- package/dist/components/TreeSelect/styles.css +21 -12
- package/dist/components/TreeTable/TreeTableRow.vue.d.ts.map +1 -1
- package/dist/{config-DWwce9jA.js → config-CTLkobga.js} +1 -0
- package/dist/config-provider/index.js +27 -26
- package/dist/config-provider/style.css +7 -10
- package/dist/confirm-dialog/index.js +4 -4
- package/dist/confirm-dialog/style.css +4 -5
- package/dist/confirm-popup/index.js +62 -77
- package/dist/confirm-popup/style.css +4 -5
- package/dist/context-menu/index.js +69 -61
- package/dist/context-menu/style.css +4 -5
- package/dist/data-view/index.js +1 -1
- package/dist/data-view/style.css +4 -5
- package/dist/date-picker/index.js +144 -137
- package/dist/date-picker/style.css +76 -13
- package/dist/date-picker/style.js +1 -0
- package/dist/dialog/index.js +76 -70
- package/dist/dialog/style.css +4 -5
- package/dist/divider/index.js +1 -2
- package/dist/divider/style.css +4 -5
- package/dist/dock/style.css +4 -5
- package/dist/drawer/index.js +49 -45
- package/dist/drawer/style.css +43 -5
- package/dist/drawer/style.js +1 -0
- package/dist/dropdown/index.js +98 -97
- package/dist/dropdown/style.css +4 -5
- package/dist/fieldset/index.js +16 -12
- package/dist/fieldset/style.css +43 -5
- package/dist/fieldset/style.js +1 -0
- package/dist/file-upload/index.js +2 -2
- package/dist/file-upload/style.css +6 -7
- package/dist/flex/index.js +1 -1
- package/dist/flex/style.css +4 -5
- package/dist/float-label/index.js +15 -4
- package/dist/float-label/style.css +4 -5
- package/dist/fluid/style.css +4 -5
- package/dist/form/index.js +1 -1
- package/dist/form/style.css +4 -5
- package/dist/gallery/index.js +41 -34
- package/dist/gallery/style.css +43 -5
- package/dist/gallery/style.js +1 -0
- package/dist/grid/style.css +4 -5
- package/dist/icon/index.js +1 -1
- package/dist/icon/style.css +4 -5
- package/dist/icon-Cg5TeFqe.js +7 -0
- package/dist/icon-field/style.css +4 -5
- package/dist/index.js +2790 -2650
- package/dist/inplace/style.css +4 -5
- package/dist/input/index.js +65 -66
- package/dist/input/style.css +46 -10
- package/dist/input/style.js +1 -0
- package/dist/input-color/index.js +1 -1
- package/dist/input-color/style.css +4 -5
- package/dist/input-group/style.css +4 -5
- package/dist/input-number/index.js +82 -66
- package/dist/input-number/style.css +43 -5
- package/dist/input-number/style.js +1 -0
- package/dist/input-otp/index.js +3 -3
- package/dist/input-otp/style.css +4 -5
- package/dist/input-password/index.js +46 -43
- package/dist/input-password/style.css +4 -5
- package/dist/input-tags/index.js +50 -46
- package/dist/input-tags/style.css +43 -5
- package/dist/input-tags/style.js +1 -0
- package/dist/key-CaQYVkjh.js +6 -0
- package/dist/knob/style.css +4 -5
- package/dist/label/style.css +4 -5
- package/dist/layout/index.js +196 -271
- package/dist/layout/style.css +50 -140
- package/dist/layout/style.js +1 -1
- package/dist/listbox/index.js +1 -1
- package/dist/listbox/style.css +4 -5
- package/dist/locale/en-US.d.ts.map +1 -1
- package/dist/locale/types.d.ts +1 -0
- package/dist/locale/types.d.ts.map +1 -1
- package/dist/locale/zh-CN.d.ts.map +1 -1
- package/dist/{locale-CYkJyRd1.js → locale-DxAvgqgB.js} +1 -1
- package/dist/mega-menu/index.js +47 -49
- package/dist/mega-menu/style.css +4 -5
- package/dist/menu/index.js +81 -76
- package/dist/menu/style.css +4 -5
- package/dist/menubar/index.js +75 -73
- package/dist/menubar/style.css +4 -5
- package/dist/message/index.js +3 -3
- package/dist/message/style.css +4 -5
- package/dist/meter-group/style.css +4 -5
- package/dist/order-list/index.js +2 -2
- package/dist/order-list/style.css +4 -5
- package/dist/overlayPlacement-CN1tuC95.js +51 -0
- package/dist/pagination/index.js +1 -1
- package/dist/pagination/style.css +43 -5
- package/dist/pagination/style.js +1 -0
- package/dist/panel/index.js +27 -23
- package/dist/panel/style.css +43 -5
- package/dist/panel/style.js +1 -0
- package/dist/pick-list/index.js +2 -2
- package/dist/pick-list/style.css +4 -5
- package/dist/popover/index.js +79 -100
- package/dist/popover/style.css +45 -5
- package/dist/progress-bar/style.css +4 -5
- package/dist/progress-spinner/index.js +1 -1
- package/dist/progress-spinner/style.css +4 -5
- package/dist/radio/index.js +1 -1
- package/dist/radio/style.css +4 -5
- package/dist/rating/index.js +54 -44
- package/dist/rating/style.css +71 -28
- package/dist/rating/style.js +1 -0
- package/dist/scroll-top/index.js +45 -41
- package/dist/scroll-top/style.css +43 -5
- package/dist/scroll-top/style.js +1 -0
- package/dist/scrollbar/index.js +382 -2
- package/dist/scrollbar/style.css +4 -5
- package/dist/select/index.js +149 -141
- package/dist/select/style.css +51 -113
- package/dist/select/style.js +1 -0
- package/dist/select-button/index.js +1 -1
- package/dist/select-button/style.css +4 -5
- package/dist/shared/componentDefaults.d.ts +5 -1
- package/dist/shared/componentDefaults.d.ts.map +1 -1
- package/dist/shared/menu/icon.d.ts +4 -0
- package/dist/shared/menu/icon.d.ts.map +1 -0
- package/dist/shared/menu/index.d.ts +4 -0
- package/dist/shared/menu/index.d.ts.map +1 -0
- package/dist/shared/menu/key.d.ts +4 -0
- package/dist/shared/menu/key.d.ts.map +1 -0
- package/dist/shared/menu/types.d.ts +11 -0
- package/dist/shared/menu/types.d.ts.map +1 -0
- package/dist/shared/overlayPlacement.d.ts +12 -0
- package/dist/shared/overlayPlacement.d.ts.map +1 -0
- package/dist/sidebar/index.js +1 -1
- package/dist/sidebar/style.css +4 -5
- package/dist/skeleton/style.css +4 -5
- package/dist/slider/index.js +6 -3
- package/dist/slider/style.css +4 -5
- package/dist/space/index.js +1 -1
- package/dist/space/style.css +4 -5
- package/dist/speed-dial/index.js +55 -66
- package/dist/speed-dial/style.css +43 -5
- package/dist/speed-dial/style.js +1 -0
- package/dist/split-button/index.js +66 -63
- package/dist/split-button/style.css +43 -5
- package/dist/split-button/style.js +1 -0
- package/dist/splitter/index.js +1 -1
- package/dist/splitter/style.css +4 -5
- package/dist/stepper/style.css +4 -5
- package/dist/styles/base.css +4 -5
- package/dist/styles.css +1 -1
- package/dist/switch/index.js +1 -1
- package/dist/switch/style.css +4 -5
- package/dist/table/index.js +41 -35
- package/dist/table/style.css +4 -5
- package/dist/tabs/index.js +78 -65
- package/dist/tabs/style.css +43 -5
- package/dist/tabs/style.js +1 -0
- package/dist/tag/index.js +31 -28
- package/dist/tag/style.css +4 -5
- package/dist/terminal/index.js +1 -1
- package/dist/terminal/style.css +12 -13
- package/dist/textarea/index.js +69 -75
- package/dist/textarea/style.css +44 -7
- package/dist/textarea/style.js +1 -0
- package/dist/tiered-menu/index.js +66 -59
- package/dist/tiered-menu/style.css +43 -5
- package/dist/tiered-menu/style.js +1 -0
- package/dist/timeline/index.js +1 -1
- package/dist/timeline/style.css +4 -5
- package/dist/toast/index.js +93 -89
- package/dist/toast/style.css +43 -5
- package/dist/toast/style.js +1 -0
- package/dist/toggle-button/index.js +1 -1
- package/dist/toggle-button/style.css +4 -5
- package/dist/toolbar/index.js +10 -13
- package/dist/toolbar/style.css +4 -5
- package/dist/tooltip/index.js +47 -71
- package/dist/tooltip/style.css +4 -5
- package/dist/tree/index.js +3 -3
- package/dist/tree/style.css +4 -5
- package/dist/tree-select/index.js +164 -155
- package/dist/tree-select/style.css +64 -17
- package/dist/tree-select/style.js +1 -0
- package/dist/tree-table/index.js +34 -30
- package/dist/tree-table/style.css +43 -5
- package/dist/tree-table/style.js +1 -0
- package/dist/virtual-scroller/style.css +4 -5
- package/package.json +4 -1
- package/dist/Pagination-BU-1IY0E.js +0 -148
- package/dist/Scrollbar-D-bR2noX.js +0 -382
package/dist/toast/index.js
CHANGED
|
@@ -1,63 +1,64 @@
|
|
|
1
1
|
import { t as e } from "../types-tV3SEv3Q.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
2
|
+
import { t } from "../Icon-DHGs8l-M.js";
|
|
3
|
+
import { n } from "../overlay-oR-5MDuE.js";
|
|
4
|
+
import { i as r, r as i, t as a } from "../Renderable-IhqISc5E.js";
|
|
5
|
+
import { c as o } from "../config-CTLkobga.js";
|
|
6
|
+
import { t as s } from "../overlayHost-Bdc0ZDhU.js";
|
|
7
|
+
import { n as c, t as l } from "../locale-DxAvgqgB.js";
|
|
7
8
|
import "./style.js";
|
|
8
|
-
import { Fragment as
|
|
9
|
+
import { Fragment as u, Teleport as d, TransitionGroup as f, computed as p, createBlock as m, createCommentVNode as h, createElementBlock as g, createElementVNode as _, createVNode as v, defineComponent as y, h as b, normalizeClass as x, onBeforeUnmount as S, onMounted as C, openBlock as w, reactive as T, renderList as E, unref as D, watch as O, withCtx as k } from "vue";
|
|
9
10
|
//#region src/components/Toast/toastState.ts
|
|
10
|
-
var
|
|
11
|
+
var A = T({
|
|
11
12
|
messages: [],
|
|
12
13
|
position: "top-right",
|
|
13
14
|
max: void 0
|
|
14
|
-
}),
|
|
15
|
-
function
|
|
16
|
-
|
|
17
|
-
}
|
|
18
|
-
function P() {
|
|
19
|
-
j += 1, A &&= (A.unmount(), null);
|
|
15
|
+
}), j = null, M = 0, N = /* @__PURE__ */ new Map();
|
|
16
|
+
function P(e) {
|
|
17
|
+
j = e;
|
|
20
18
|
}
|
|
21
19
|
function F() {
|
|
22
|
-
|
|
20
|
+
M += 1, j &&= (j.unmount(), null);
|
|
21
|
+
}
|
|
22
|
+
function I() {
|
|
23
|
+
M = Math.max(0, M - 1);
|
|
23
24
|
}
|
|
24
|
-
function
|
|
25
|
-
let t =
|
|
26
|
-
t != null && clearTimeout(t),
|
|
25
|
+
function L(e) {
|
|
26
|
+
let t = N.get(e);
|
|
27
|
+
t != null && clearTimeout(t), N.delete(e);
|
|
27
28
|
}
|
|
28
|
-
function
|
|
29
|
-
|
|
29
|
+
function R(e, t) {
|
|
30
|
+
L(e.id), !(e.life == null || e.life <= 0) && N.set(e.id, setTimeout(() => {
|
|
30
31
|
t(e.id);
|
|
31
32
|
}, e.life));
|
|
32
33
|
}
|
|
33
|
-
function
|
|
34
|
+
function z(e) {
|
|
34
35
|
if (e == null) {
|
|
35
|
-
|
|
36
|
+
B();
|
|
36
37
|
return;
|
|
37
38
|
}
|
|
38
|
-
|
|
39
|
+
L(e), A.messages = A.messages.filter((t) => t.id !== e);
|
|
39
40
|
}
|
|
40
|
-
function
|
|
41
|
-
for (let e of [...
|
|
42
|
-
|
|
41
|
+
function B() {
|
|
42
|
+
for (let e of [...N.keys()]) L(e);
|
|
43
|
+
A.messages = [];
|
|
43
44
|
}
|
|
44
|
-
function
|
|
45
|
-
if (!(e == null || e <= 0)) for (;
|
|
46
|
-
let e =
|
|
45
|
+
function V(e) {
|
|
46
|
+
if (!(e == null || e <= 0)) for (; A.messages.length >= e;) {
|
|
47
|
+
let e = A.messages[0];
|
|
47
48
|
if (!e) break;
|
|
48
|
-
|
|
49
|
+
z(e.id);
|
|
49
50
|
}
|
|
50
51
|
}
|
|
51
|
-
function
|
|
52
|
-
if (!(e == null || e <= 0)) for (;
|
|
53
|
-
let e =
|
|
52
|
+
function H(e) {
|
|
53
|
+
if (!(e == null || e <= 0)) for (; A.messages.length > e;) {
|
|
54
|
+
let e = A.messages[0];
|
|
54
55
|
if (!e) break;
|
|
55
|
-
|
|
56
|
+
z(e.id);
|
|
56
57
|
}
|
|
57
58
|
}
|
|
58
59
|
//#endregion
|
|
59
60
|
//#region src/components/Toast/Toast.vue?vue&type=script&setup=true&lang.ts
|
|
60
|
-
var
|
|
61
|
+
var U = { class: "wi-toast__content" }, W = { key: 0 }, G = ["aria-label", "onClick"], K = /* @__PURE__ */ y({
|
|
61
62
|
__name: "Toast",
|
|
62
63
|
props: {
|
|
63
64
|
messages: {},
|
|
@@ -74,92 +75,95 @@ var H = { class: "wi-toast__content" }, U = { key: 0 }, W = ["aria-label", "onCl
|
|
|
74
75
|
}
|
|
75
76
|
},
|
|
76
77
|
emits: ["close"],
|
|
77
|
-
setup(
|
|
78
|
-
let
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
}),
|
|
82
|
-
|
|
83
|
-
}),
|
|
84
|
-
!
|
|
78
|
+
setup(i, { emit: s }) {
|
|
79
|
+
let y = i, b = s, T = o(), j = c(), M = p(() => n(y, T.value.appendTo)), N = p(() => y.messages === void 0), P = p(() => y.messages ?? A.messages), L = p(() => y.position ?? (N.value ? A.position : "top-right"));
|
|
80
|
+
C(() => {
|
|
81
|
+
N.value && !y.auto && F();
|
|
82
|
+
}), S(() => {
|
|
83
|
+
N.value && !y.auto && I();
|
|
84
|
+
}), O(() => y.max, (e) => {
|
|
85
|
+
!N.value || e === void 0 || (A.max = e, H(e));
|
|
85
86
|
}, { immediate: !0 });
|
|
86
|
-
function
|
|
87
|
+
function R(t) {
|
|
87
88
|
return `wi-toast__message--${e(t) ?? "info"}`;
|
|
88
89
|
}
|
|
89
|
-
function z(e) {
|
|
90
|
-
return c(A.value.closeNamed, { summary: n(e.summary) || "toast" });
|
|
91
|
-
}
|
|
92
90
|
function B(e) {
|
|
93
|
-
|
|
91
|
+
return l(j.value.closeNamed, { summary: r(e.summary) || "toast" });
|
|
92
|
+
}
|
|
93
|
+
function V(e) {
|
|
94
|
+
N.value && z(e.id), b("close", e);
|
|
94
95
|
}
|
|
95
|
-
return (e,
|
|
96
|
-
to:
|
|
97
|
-
disabled:
|
|
98
|
-
}, [
|
|
99
|
-
class:
|
|
96
|
+
return (e, n) => (w(), m(d, {
|
|
97
|
+
to: M.value.to,
|
|
98
|
+
disabled: M.value.disabled
|
|
99
|
+
}, [_("div", {
|
|
100
|
+
class: x(["wi-toast", `wi-toast--${L.value}`]),
|
|
100
101
|
"aria-live": "polite",
|
|
101
102
|
"aria-atomic": "true"
|
|
102
|
-
}, [
|
|
103
|
-
default:
|
|
103
|
+
}, [v(f, { name: "wi-slide-fade" }, {
|
|
104
|
+
default: k(() => [(w(!0), g(u, null, E(P.value, (e) => (w(), g("article", {
|
|
104
105
|
key: e.id,
|
|
105
|
-
class:
|
|
106
|
+
class: x(["wi-toast__message", R(e.severity)]),
|
|
106
107
|
role: "status"
|
|
107
|
-
}, [
|
|
108
|
+
}, [_("div", U, [_("strong", null, [v(D(a), { value: e.summary }, null, 8, ["value"])]), e.detail != null && e.detail !== "" ? (w(), g("p", W, [v(D(a), { value: e.detail }, null, 8, ["value"])])) : h("", !0)]), e.closable === !1 ? h("", !0) : (w(), g("button", {
|
|
108
109
|
key: 0,
|
|
109
110
|
type: "button",
|
|
110
111
|
class: "wi-toast__close",
|
|
111
|
-
"aria-label":
|
|
112
|
-
onClick: (t) =>
|
|
113
|
-
},
|
|
112
|
+
"aria-label": B(e),
|
|
113
|
+
onClick: (t) => V(e)
|
|
114
|
+
}, [v(t, {
|
|
115
|
+
name: "close",
|
|
116
|
+
size: "sm"
|
|
117
|
+
})], 8, G))], 2))), 128))]),
|
|
114
118
|
_: 1
|
|
115
119
|
})], 2)], 8, ["to", "disabled"]));
|
|
116
120
|
}
|
|
117
|
-
}),
|
|
121
|
+
}), q = 3e3, J = 0, Y = y({
|
|
118
122
|
name: "WiToastAutoHost",
|
|
119
123
|
setup() {
|
|
120
|
-
return () =>
|
|
124
|
+
return () => b(K, { auto: !0 });
|
|
121
125
|
}
|
|
122
126
|
});
|
|
123
|
-
function
|
|
124
|
-
typeof document > "u" ||
|
|
127
|
+
function X() {
|
|
128
|
+
typeof document > "u" || M > 0 || j || P(s(Y, "wi-toast-host-root"));
|
|
125
129
|
}
|
|
126
|
-
function
|
|
127
|
-
let n =
|
|
128
|
-
return n.position && (
|
|
129
|
-
id: n.id ?? `wi-toast-${Date.now()}-${++
|
|
130
|
+
function Z(e, t) {
|
|
131
|
+
let n = i(e) ? e : { summary: e };
|
|
132
|
+
return n.position && (A.position = n.position), {
|
|
133
|
+
id: n.id ?? `wi-toast-${Date.now()}-${++J}`,
|
|
130
134
|
summary: n.summary,
|
|
131
135
|
detail: n.detail,
|
|
132
136
|
severity: t ?? n.severity ?? "info",
|
|
133
137
|
closable: n.closable ?? !0,
|
|
134
|
-
life: n.life === void 0 ?
|
|
138
|
+
life: n.life === void 0 ? q : n.life
|
|
135
139
|
};
|
|
136
140
|
}
|
|
137
|
-
function
|
|
138
|
-
|
|
139
|
-
let n =
|
|
140
|
-
return
|
|
141
|
+
function Q(e, t) {
|
|
142
|
+
X(), V(A.max);
|
|
143
|
+
let n = Z(e, t);
|
|
144
|
+
return A.messages = [...A.messages, n], R(n, z), {
|
|
141
145
|
id: n.id,
|
|
142
|
-
close: () =>
|
|
146
|
+
close: () => z(n.id)
|
|
143
147
|
};
|
|
144
148
|
}
|
|
145
|
-
var
|
|
146
|
-
add: (e) =>
|
|
147
|
-
success: (e) =>
|
|
148
|
-
info: (e) =>
|
|
149
|
-
warn: (e) =>
|
|
150
|
-
warning: (e) =>
|
|
151
|
-
error: (e) =>
|
|
152
|
-
remove:
|
|
153
|
-
clear:
|
|
154
|
-
close:
|
|
155
|
-
closeAll:
|
|
156
|
-
destroyAll:
|
|
149
|
+
var $ = {
|
|
150
|
+
add: (e) => Q(e),
|
|
151
|
+
success: (e) => Q(e, "success"),
|
|
152
|
+
info: (e) => Q(e, "info"),
|
|
153
|
+
warn: (e) => Q(e, "warn"),
|
|
154
|
+
warning: (e) => Q(e, "warn"),
|
|
155
|
+
error: (e) => Q(e, "error"),
|
|
156
|
+
remove: z,
|
|
157
|
+
clear: B,
|
|
158
|
+
close: z,
|
|
159
|
+
closeAll: B,
|
|
160
|
+
destroyAll: B,
|
|
157
161
|
setDefaults(e) {
|
|
158
|
-
e.position && (
|
|
162
|
+
e.position && (A.position = e.position), e.max !== void 0 && (A.max = e.max);
|
|
159
163
|
}
|
|
160
164
|
};
|
|
161
|
-
function
|
|
162
|
-
return
|
|
165
|
+
function ee() {
|
|
166
|
+
return $;
|
|
163
167
|
}
|
|
164
168
|
//#endregion
|
|
165
|
-
export {
|
|
169
|
+
export { K as WiToast, $ as toast, ee as useToast };
|
package/dist/toast/style.css
CHANGED
|
@@ -480,8 +480,8 @@
|
|
|
480
480
|
font-size: var(--wi-font-size-xs);
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
-
.wi-textarea-field__help--
|
|
484
|
-
.wi-select-field__help--
|
|
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-
|
|
504
|
-
.wi-select--
|
|
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
|
.wi-toast {
|
|
754
792
|
display: grid;
|
|
755
793
|
gap: var(--wi-space-3);
|
package/dist/toast/style.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as e } from "../config-
|
|
1
|
+
import { o as e } from "../config-CTLkobga.js";
|
|
2
2
|
import "./style.js";
|
|
3
3
|
import { computed as t, createCommentVNode as n, createElementBlock as r, createElementVNode as i, defineComponent as a, normalizeClass as o, openBlock as s, toDisplayString as c } from "vue";
|
|
4
4
|
//#region src/components/ToggleButton/ToggleButton.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--
|
|
484
|
-
.wi-select-field__help--
|
|
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-
|
|
504
|
-
.wi-select--
|
|
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
|
}
|
package/dist/toolbar/index.js
CHANGED
|
@@ -1,11 +1,8 @@
|
|
|
1
|
+
import { t as e } from "../_plugin-vue_export-helper-B3ysoDQm.js";
|
|
1
2
|
import "./style.js";
|
|
2
|
-
import { createCommentVNode as
|
|
3
|
-
//#region
|
|
4
|
-
var
|
|
5
|
-
let n = e.__vccOpts || e;
|
|
6
|
-
for (let [e, r] of t) n[e] = r;
|
|
7
|
-
return n;
|
|
8
|
-
}, a = {}, o = {
|
|
3
|
+
import { createCommentVNode as t, createElementBlock as n, openBlock as r, renderSlot as i } from "vue";
|
|
4
|
+
//#region src/components/Toolbar/Toolbar.vue
|
|
5
|
+
var a = {}, o = {
|
|
9
6
|
class: "wi-toolbar",
|
|
10
7
|
role: "toolbar"
|
|
11
8
|
}, s = {
|
|
@@ -18,13 +15,13 @@ var i = (e, t) => {
|
|
|
18
15
|
key: 2,
|
|
19
16
|
class: "wi-toolbar__end"
|
|
20
17
|
};
|
|
21
|
-
function u(
|
|
22
|
-
return
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
18
|
+
function u(e, a) {
|
|
19
|
+
return r(), n("div", o, [
|
|
20
|
+
e.$slots.start ? (r(), n("div", s, [i(e.$slots, "start")])) : t("", !0),
|
|
21
|
+
e.$slots.center ? (r(), n("div", c, [i(e.$slots, "center")])) : t("", !0),
|
|
22
|
+
e.$slots.end ? (r(), n("div", l, [i(e.$slots, "end")])) : t("", !0)
|
|
26
23
|
]);
|
|
27
24
|
}
|
|
28
|
-
var d = /*#__PURE__*/
|
|
25
|
+
var d = /*#__PURE__*/ e(a, [["render", u]]);
|
|
29
26
|
//#endregion
|
|
30
27
|
export { d as WiToolbar };
|
package/dist/toolbar/style.css
CHANGED
|
@@ -480,8 +480,8 @@
|
|
|
480
480
|
font-size: var(--wi-font-size-xs);
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
-
.wi-textarea-field__help--
|
|
484
|
-
.wi-select-field__help--
|
|
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-
|
|
504
|
-
.wi-select--
|
|
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
|
}
|
package/dist/tooltip/index.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { n as e, t } from "../overlay-oR-5MDuE.js";
|
|
2
|
-
import {
|
|
2
|
+
import { n, t as r } from "../overlayPlacement-CN1tuC95.js";
|
|
3
|
+
import { c as i } from "../config-CTLkobga.js";
|
|
3
4
|
import "./style.js";
|
|
4
|
-
import { Teleport as
|
|
5
|
+
import { Teleport as a, Transition as o, computed as s, createBlock as c, createCommentVNode as l, createElementBlock 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, renderSlot as y, toDisplayString as b, watch as x, withCtx as S } from "vue";
|
|
5
6
|
//#endregion
|
|
6
7
|
//#region src/components/Tooltip/Tooltip.vue
|
|
7
|
-
var
|
|
8
|
+
var C = /* @__PURE__ */ f({
|
|
8
9
|
__name: "Tooltip",
|
|
9
10
|
props: {
|
|
10
11
|
content: {},
|
|
@@ -22,95 +23,70 @@ var x = /* @__PURE__ */ u({
|
|
|
22
23
|
},
|
|
23
24
|
appendTo: {}
|
|
24
25
|
},
|
|
25
|
-
setup(
|
|
26
|
-
let
|
|
27
|
-
function A() {
|
|
28
|
-
O !== null && (clearTimeout(O), O = null), k !== null && (clearTimeout(k), k = null);
|
|
29
|
-
}
|
|
30
|
-
function j(e) {
|
|
31
|
-
if (e != null) return typeof e == "number" ? `${e}px` : e;
|
|
32
|
-
}
|
|
26
|
+
setup(f) {
|
|
27
|
+
let C = f, w = i(), T = v(null), E = v(!1), D = v({}), O = s(() => e(C, w.value.appendTo)), k = s(() => t(C, w.value.appendTo)), A = null, j = null;
|
|
33
28
|
function M() {
|
|
34
|
-
|
|
35
|
-
let e = C.value.getBoundingClientRect(), t = e.left + e.width / 2, n = e.top + e.height / 2, r = j(x.maxWidth);
|
|
36
|
-
x.placement === "top" ? T.value = {
|
|
37
|
-
left: `${t}px`,
|
|
38
|
-
top: `${e.top - 8}px`,
|
|
39
|
-
transform: "translate(-50%, -100%)",
|
|
40
|
-
...r ? { maxWidth: r } : {}
|
|
41
|
-
} : x.placement === "bottom" ? T.value = {
|
|
42
|
-
left: `${t}px`,
|
|
43
|
-
top: `${e.bottom + 8}px`,
|
|
44
|
-
transform: "translateX(-50%)",
|
|
45
|
-
...r ? { maxWidth: r } : {}
|
|
46
|
-
} : x.placement === "left" ? T.value = {
|
|
47
|
-
left: `${e.left - 8}px`,
|
|
48
|
-
top: `${n}px`,
|
|
49
|
-
transform: "translate(-100%, -50%)",
|
|
50
|
-
...r ? { maxWidth: r } : {}
|
|
51
|
-
} : T.value = {
|
|
52
|
-
left: `${e.right + 8}px`,
|
|
53
|
-
top: `${n}px`,
|
|
54
|
-
transform: "translateY(-50%)",
|
|
55
|
-
...r ? { maxWidth: r } : {}
|
|
56
|
-
};
|
|
29
|
+
A !== null && (clearTimeout(A), A = null), j !== null && (clearTimeout(j), j = null);
|
|
57
30
|
}
|
|
58
31
|
function N() {
|
|
59
|
-
|
|
32
|
+
!k.value || !T.value || (D.value = r(T.value.getBoundingClientRect(), C.placement, { maxWidth: n(C.maxWidth) }));
|
|
60
33
|
}
|
|
61
34
|
function P() {
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
35
|
+
E.value = !0, p(N);
|
|
36
|
+
}
|
|
37
|
+
function F() {
|
|
38
|
+
if (!C.disabled) {
|
|
39
|
+
if (M(), C.showDelay > 0) {
|
|
40
|
+
A = setTimeout(() => {
|
|
41
|
+
P(), A = null;
|
|
42
|
+
}, C.showDelay);
|
|
67
43
|
return;
|
|
68
44
|
}
|
|
69
|
-
|
|
45
|
+
P();
|
|
70
46
|
}
|
|
71
47
|
}
|
|
72
|
-
function
|
|
73
|
-
if (
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
},
|
|
48
|
+
function I() {
|
|
49
|
+
if (M(), C.hideDelay > 0) {
|
|
50
|
+
j = setTimeout(() => {
|
|
51
|
+
E.value = !1, j = null;
|
|
52
|
+
}, C.hideDelay);
|
|
77
53
|
return;
|
|
78
54
|
}
|
|
79
|
-
|
|
55
|
+
E.value = !1;
|
|
80
56
|
}
|
|
81
|
-
function
|
|
82
|
-
|
|
57
|
+
function L() {
|
|
58
|
+
E.value && N();
|
|
83
59
|
}
|
|
84
|
-
|
|
85
|
-
e &&
|
|
86
|
-
}),
|
|
87
|
-
|
|
60
|
+
x(E, (e) => {
|
|
61
|
+
e && k.value ? (window.addEventListener("resize", L), window.addEventListener("scroll", L, !0)) : (window.removeEventListener("resize", L), window.removeEventListener("scroll", L, !0));
|
|
62
|
+
}), g(() => {
|
|
63
|
+
M(), window.removeEventListener("resize", L), window.removeEventListener("scroll", L, !0);
|
|
88
64
|
});
|
|
89
|
-
let
|
|
90
|
-
let e =
|
|
91
|
-
return
|
|
65
|
+
let R = s(() => {
|
|
66
|
+
let e = n(C.maxWidth);
|
|
67
|
+
return k.value ? D.value : e ? { maxWidth: e } : void 0;
|
|
92
68
|
});
|
|
93
|
-
return (e, t) => (
|
|
69
|
+
return (e, t) => (_(), u("span", {
|
|
94
70
|
ref_key: "root",
|
|
95
|
-
ref:
|
|
71
|
+
ref: T,
|
|
96
72
|
class: "wi-tooltip",
|
|
97
|
-
onMouseenter:
|
|
98
|
-
onMouseleave:
|
|
99
|
-
onFocusin:
|
|
100
|
-
onFocusout:
|
|
101
|
-
}, [
|
|
102
|
-
to:
|
|
103
|
-
disabled:
|
|
104
|
-
}, [
|
|
105
|
-
default:
|
|
73
|
+
onMouseenter: F,
|
|
74
|
+
onMouseleave: I,
|
|
75
|
+
onFocusin: F,
|
|
76
|
+
onFocusout: I
|
|
77
|
+
}, [y(e.$slots, "default"), (_(), c(a, {
|
|
78
|
+
to: O.value.to,
|
|
79
|
+
disabled: O.value.disabled
|
|
80
|
+
}, [d(o, { name: "wi-fade" }, {
|
|
81
|
+
default: S(() => [E.value ? (_(), u("span", {
|
|
106
82
|
key: 0,
|
|
107
|
-
class:
|
|
108
|
-
style:
|
|
83
|
+
class: m(["wi-tooltip__content", [`wi-tooltip__content--${f.placement}`, { "wi-tooltip__content--teleported": k.value }]]),
|
|
84
|
+
style: h(R.value),
|
|
109
85
|
role: "tooltip"
|
|
110
|
-
},
|
|
86
|
+
}, b(f.content), 7)) : l("", !0)]),
|
|
111
87
|
_: 1
|
|
112
88
|
})], 8, ["to", "disabled"]))], 544));
|
|
113
89
|
}
|
|
114
90
|
});
|
|
115
91
|
//#endregion
|
|
116
|
-
export {
|
|
92
|
+
export { C as WiTooltip };
|
package/dist/tooltip/style.css
CHANGED
|
@@ -480,8 +480,8 @@
|
|
|
480
480
|
font-size: var(--wi-font-size-xs);
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
-
.wi-textarea-field__help--
|
|
484
|
-
.wi-select-field__help--
|
|
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-
|
|
504
|
-
.wi-select--
|
|
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
|
}
|
package/dist/tree/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as e, t } from "../Icon-
|
|
2
|
-
import { t as n } from "../Checkbox-
|
|
1
|
+
import { a as e, t } from "../Icon-DHGs8l-M.js";
|
|
2
|
+
import { t as n } from "../Checkbox-CoovLjt_.js";
|
|
3
3
|
import { a as r, c as i, n as a, o, s, t as c } from "../checkStrategy-CZzuUKDI.js";
|
|
4
|
-
import { n as l } from "../locale-
|
|
4
|
+
import { n as l } from "../locale-DxAvgqgB.js";
|
|
5
5
|
import "./style.js";
|
|
6
6
|
import { Fragment as u, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createTextVNode as g, defineComponent as _, inject as v, normalizeClass as y, openBlock as b, provide as x, reactive as S, ref as C, renderList as w, resolveDynamicComponent as T, toDisplayString as E, unref as D, useSlots as O, watch as k, withModifiers as A } from "vue";
|
|
7
7
|
//#region src/components/Tree/context.ts
|
package/dist/tree/style.css
CHANGED
|
@@ -480,8 +480,8 @@
|
|
|
480
480
|
font-size: var(--wi-font-size-xs);
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
-
.wi-textarea-field__help--
|
|
484
|
-
.wi-select-field__help--
|
|
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-
|
|
504
|
-
.wi-select--
|
|
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
|
}
|