vft 0.0.81 → 0.0.84
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/attributes.json +1 -1
- package/dist/index.css +1 -1
- package/es/component.js +28 -26
- package/es/components/alert/index.js +1 -1
- package/es/components/backtop/backtop.vue.js +4 -0
- package/es/components/{back-top/back-top.vue2.js → backtop/backtop.vue2.js} +5 -4
- package/es/components/{back-top → backtop}/index.js +2 -2
- package/es/components/backtop/style/css.js +2 -0
- package/es/components/backtop/style/index.js +2 -0
- package/es/components/button/button.vue2.js +14 -13
- package/es/components/container/aside.vue2.js +13 -19
- package/es/components/container/footer.vue2.js +15 -21
- package/es/components/container/header.vue2.js +10 -16
- package/es/components/context-menu/context-menu.vue2.js +4 -3
- package/es/components/footer-layout/footer-layout.vue2.js +4 -3
- package/es/components/footer-layout/style/css.js +1 -0
- package/es/components/footer-layout/style/index.js +1 -0
- package/es/components/header-layout/header-layout.vue2.js +4 -3
- package/es/components/header-layout/style/css.js +5 -0
- package/es/components/header-layout/style/index.js +5 -0
- package/es/components/horizontal-menu/horizontal-menu.vue2.js +37 -37
- package/es/components/index.js +151 -149
- package/es/components/md-container/md-container.vue2.js +4 -3
- package/es/components/menu/menu-item.vue2.js +4 -3
- package/es/components/menu/sub-menu.vue2.js +4 -3
- package/es/components/multiple-tabs/multiple-tabs.vue2.js +4 -3
- package/es/components/result/result.vue2.js +4 -3
- package/es/components/side-menu/side-menu.vue2.js +4 -3
- package/es/components/tabs/tab-nav.vue2.js +4 -3
- package/es/index.js +280 -278
- package/es/package.json.js +1 -1
- package/lib/component.cjs +1 -1
- package/lib/components/alert/index.cjs +1 -1
- package/lib/components/{back-top/back-top.vue.cjs → backtop/backtop.vue.cjs} +1 -1
- package/lib/components/{back-top/back-top.vue2.cjs → backtop/backtop.vue2.cjs} +1 -1
- package/lib/components/{back-top → backtop}/index.cjs +1 -1
- package/lib/components/{back-top → backtop}/style/css.cjs +1 -1
- package/lib/components/{back-top → backtop}/style/index.cjs +1 -1
- package/lib/components/button/button.vue2.cjs +1 -1
- package/lib/components/container/aside.vue2.cjs +1 -1
- package/lib/components/container/footer.vue2.cjs +1 -1
- package/lib/components/container/header.vue2.cjs +1 -1
- package/lib/components/context-menu/context-menu.vue2.cjs +1 -1
- package/lib/components/footer-layout/footer-layout.vue2.cjs +1 -1
- package/lib/components/footer-layout/style/css.cjs +1 -1
- package/lib/components/footer-layout/style/index.cjs +1 -1
- package/lib/components/header-layout/header-layout.vue2.cjs +1 -1
- package/lib/components/header-layout/style/css.cjs +1 -1
- package/lib/components/header-layout/style/index.cjs +1 -1
- package/lib/components/horizontal-menu/horizontal-menu.vue2.cjs +1 -1
- package/lib/components/index.cjs +1 -1
- package/lib/components/md-container/md-container.vue2.cjs +1 -1
- package/lib/components/menu/menu-item.vue2.cjs +1 -1
- package/lib/components/menu/sub-menu.vue2.cjs +1 -1
- package/lib/components/multiple-tabs/multiple-tabs.vue2.cjs +1 -1
- package/lib/components/result/result.vue2.cjs +1 -1
- package/lib/components/side-menu/side-menu.vue2.cjs +1 -1
- package/lib/components/tabs/tab-nav.vue2.cjs +1 -1
- package/lib/index.cjs +1 -1
- package/lib/package.json.cjs +1 -1
- package/package.json +7 -7
- package/tags.json +1 -1
- package/theme-style/base.css +1 -1
- package/theme-style/index.css +1 -1
- package/theme-style/src/{back-top.scss → backtop.scss} +3 -3
- package/theme-style/src/common/var.scss +9 -8
- package/theme-style/src/horizontal-menu.scss +1 -0
- package/theme-style/src/index.scss +1 -1
- package/theme-style/src/side-menu.scss +1 -1
- package/theme-style/vft-backtop.css +1 -0
- package/theme-style/vft-horizontal-menu.css +1 -1
- package/theme-style/vft-menu.css +1 -1
- package/theme-style/vft-side-menu.css +1 -1
- package/theme-style/vft-tabs.css +1 -1
- package/theme-style/vft-var.css +1 -1
- package/web-types.json +1 -1
- package/es/components/back-top/back-top.vue.js +0 -4
- package/es/components/back-top/style/css.js +0 -2
- package/es/components/back-top/style/index.js +0 -2
- /package/es/components/{back-top/use-back-top.js → backtop/use-backtop.js} +0 -0
- /package/lib/components/{back-top/use-back-top.cjs → backtop/use-backtop.cjs} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as L, computed as
|
|
1
|
+
import { defineComponent as L, computed as w, getCurrentInstance as Q, useSlots as W, ref as X, createVNode as v, mergeProps as J } from "vue";
|
|
2
2
|
import { VftMenu as Y, VftSubMenu as Z, VftMenuItem as m } from "../menu/index.js";
|
|
3
3
|
import { useNamespace as _ } from "../../hooks/use-namespace/index.js";
|
|
4
4
|
import "@popperjs/core";
|
|
@@ -42,36 +42,36 @@ const y = (
|
|
|
42
42
|
defaultOpeneds: null
|
|
43
43
|
},
|
|
44
44
|
emits: ["open", "close"],
|
|
45
|
-
setup(
|
|
45
|
+
setup(o, {
|
|
46
46
|
expose: z,
|
|
47
|
-
emit:
|
|
47
|
+
emit: k
|
|
48
48
|
}) {
|
|
49
|
-
const D =
|
|
49
|
+
const D = w(() => (e, t) => {
|
|
50
50
|
var a, d, r, n;
|
|
51
51
|
return {
|
|
52
|
-
"grid-template-rows": `repeat(${Math.min(((d = (a = e == null ? void 0 : e[
|
|
52
|
+
"grid-template-rows": `repeat(${Math.min(((d = (a = e == null ? void 0 : e[t]) == null ? void 0 : a[l.value.children]) == null ? void 0 : d.length) || 0, Number(o.maxRowLength ? o.maxRowLength : (n = (r = e == null ? void 0 : e[t]) == null ? void 0 : r[l.value.children]) == null ? void 0 : n.length))}, auto)`
|
|
53
53
|
};
|
|
54
|
-
}), l =
|
|
54
|
+
}), l = w(() => ({
|
|
55
55
|
path: "path",
|
|
56
56
|
children: "children",
|
|
57
57
|
title: "title",
|
|
58
58
|
index: "path",
|
|
59
59
|
icon: "icon",
|
|
60
60
|
disabled: "disabled",
|
|
61
|
-
...
|
|
61
|
+
...o.attrMapping
|
|
62
62
|
})), P = Q(), p = W(), I = X(), x = P.appContext.config.globalProperties.$router, {
|
|
63
63
|
go: E
|
|
64
64
|
} = B(x), $ = (e) => {
|
|
65
|
-
const
|
|
66
|
-
E(e[
|
|
67
|
-
}, T = (e,
|
|
68
|
-
const d = e[l.value.path], r = e[l.value.title], n = e == null ? void 0 : e[l.value.index], b = e == null ? void 0 : e[l.value.icon], f = !!(e != null && e[l.value.disabled]), s =
|
|
69
|
-
return v(m,
|
|
65
|
+
const t = l.value.path;
|
|
66
|
+
E(e[t]);
|
|
67
|
+
}, T = (e, t, a) => {
|
|
68
|
+
const d = e[l.value.path], r = e[l.value.title], n = e == null ? void 0 : e[l.value.index], b = e == null ? void 0 : e[l.value.icon], f = !!(e != null && e[l.value.disabled]), s = o.disabledJudgeTurnOver ? !f : f, i = n || d || t + r;
|
|
69
|
+
return v(m, J(e, {
|
|
70
70
|
key: i,
|
|
71
71
|
index: i,
|
|
72
72
|
icon: b,
|
|
73
73
|
title: r,
|
|
74
|
-
disabled:
|
|
74
|
+
disabled: o.openDisabled && s,
|
|
75
75
|
className: a ? "vft-menu-popup-item" : "vft-menu-no-popup-item",
|
|
76
76
|
onClick: () => $(e)
|
|
77
77
|
}), {
|
|
@@ -88,14 +88,14 @@ const y = (
|
|
|
88
88
|
} : null
|
|
89
89
|
});
|
|
90
90
|
}, j = () => {
|
|
91
|
-
|
|
91
|
+
k("open");
|
|
92
92
|
}, H = () => {
|
|
93
|
-
|
|
94
|
-
}, S = (e,
|
|
93
|
+
k("close");
|
|
94
|
+
}, S = (e, t, a) => {
|
|
95
95
|
var N;
|
|
96
|
-
const d = e[l.value.path], r = e[l.value.title], n = e == null ? void 0 : e[l.value.children], b = e == null ? void 0 : e[l.value.index], f = e == null ? void 0 : e[l.value.icon], s = e == null ? void 0 : e.menuOrder, i = !!(e != null && e[l.value.disabled]), g =
|
|
97
|
-
let
|
|
98
|
-
if (
|
|
96
|
+
const d = e[l.value.path], r = e[l.value.title], n = e == null ? void 0 : e[l.value.children], b = e == null ? void 0 : e[l.value.index], f = e == null ? void 0 : e[l.value.icon], s = e == null ? void 0 : e.menuOrder, i = !!(e != null && e[l.value.disabled]), g = o.disabledJudgeTurnOver ? !i : i, R = b || d || t + r, C = e.type === ne.TILE;
|
|
97
|
+
let O = [];
|
|
98
|
+
if (C)
|
|
99
99
|
if (s) {
|
|
100
100
|
const u = s.flat();
|
|
101
101
|
if ((u == null ? void 0 : u.length) < n.length) {
|
|
@@ -103,35 +103,35 @@ const y = (
|
|
|
103
103
|
for (let c = M + 1; c < n.length; c++)
|
|
104
104
|
s.push([c]);
|
|
105
105
|
}
|
|
106
|
-
|
|
106
|
+
O = s;
|
|
107
107
|
} else
|
|
108
108
|
for (let u = 0; u < n.length; u++)
|
|
109
|
-
|
|
110
|
-
return n != null && n.length || e != null && e.render ? v(Z,
|
|
109
|
+
O.push([u]);
|
|
110
|
+
return n != null && n.length || e != null && e.render ? v(Z, J(o.subMenuCfg, e, {
|
|
111
111
|
index: R,
|
|
112
112
|
key: R,
|
|
113
113
|
icon: f,
|
|
114
|
-
showArrow: e.showArrow ??
|
|
115
|
-
disabled:
|
|
114
|
+
showArrow: e.showArrow ?? o.subMenuCfg.showArrow,
|
|
115
|
+
disabled: o.openDisabled && g,
|
|
116
116
|
toolTipCfg: {
|
|
117
|
-
...
|
|
117
|
+
...o.subMenuCfg.toolTipCfg || {},
|
|
118
118
|
...((N = e.subMenuCfg) == null ? void 0 : N.toolTipCfg) || {}
|
|
119
119
|
},
|
|
120
120
|
teleported: !1,
|
|
121
|
-
"popper-class": [
|
|
121
|
+
"popper-class": [C ? y.e("tile") : "", y.e("normal")]
|
|
122
122
|
}), {
|
|
123
|
-
default: () => [e != null && e.render ? e == null ? void 0 : e.render :
|
|
123
|
+
default: () => [e != null && e.render ? e == null ? void 0 : e.render : C ? O.map((u, M) => v("div", {
|
|
124
124
|
class: "content-main",
|
|
125
125
|
key: M
|
|
126
126
|
}, [u.map((c, F) => {
|
|
127
|
-
var V,
|
|
127
|
+
var V, A;
|
|
128
128
|
const h = (V = n == null ? void 0 : n[c]) == null ? void 0 : V[l.value.children];
|
|
129
129
|
return n != null && n.length ? v("div", {
|
|
130
130
|
class: "content-col",
|
|
131
131
|
key: F
|
|
132
132
|
}, [v("span", {
|
|
133
133
|
class: h != null && h.length ? "title" : ""
|
|
134
|
-
}, [(
|
|
134
|
+
}, [(A = n == null ? void 0 : n[c]) == null ? void 0 : A[l.value.title]]), h != null && h.length ? v("div", {
|
|
135
135
|
class: "content",
|
|
136
136
|
style: D.value(n, c)
|
|
137
137
|
}, [h.map((G, K) => T(G, K, !0))]) : null]) : null;
|
|
@@ -140,17 +140,17 @@ const y = (
|
|
|
140
140
|
return (c = u[l.value.children]) != null && c.length ? S(u, M, !0) : T(u, M, !0);
|
|
141
141
|
})],
|
|
142
142
|
title: () => r
|
|
143
|
-
}) : T(e,
|
|
143
|
+
}) : T(e, t, a);
|
|
144
144
|
};
|
|
145
145
|
async function U(e) {
|
|
146
|
-
var
|
|
147
|
-
if (
|
|
146
|
+
var t, a, d;
|
|
147
|
+
if (o.useRouterJump) {
|
|
148
148
|
const {
|
|
149
149
|
go: r
|
|
150
150
|
} = B(x), n = e.route;
|
|
151
151
|
let b = e.route;
|
|
152
152
|
e.indexPath.some((s) => ee(s)) && (b = e.indexPath.slice(-2).join("/"));
|
|
153
|
-
const f = (d = (a = (
|
|
153
|
+
const f = (d = (a = (t = x.getRoutes().filter((s) => s.path === b)) == null ? void 0 : t[0]) == null ? void 0 : a.meta) == null ? void 0 : d.linkTarget;
|
|
154
154
|
r(f ? {
|
|
155
155
|
url: n,
|
|
156
156
|
winOpenOpt: {
|
|
@@ -159,7 +159,7 @@ const y = (
|
|
|
159
159
|
} : n);
|
|
160
160
|
}
|
|
161
161
|
}
|
|
162
|
-
const q =
|
|
162
|
+
const q = w(() => {
|
|
163
163
|
var e;
|
|
164
164
|
return (e = I.value) == null ? void 0 : e.inSubMenu;
|
|
165
165
|
});
|
|
@@ -172,12 +172,12 @@ const y = (
|
|
|
172
172
|
onClose: H,
|
|
173
173
|
mode: "horizontal",
|
|
174
174
|
class: y.b(),
|
|
175
|
-
defaultActive:
|
|
176
|
-
defaultOpeneds:
|
|
175
|
+
defaultActive: o.defaultActive,
|
|
176
|
+
defaultOpeneds: o.defaultOpeneds
|
|
177
177
|
}, {
|
|
178
178
|
default: () => {
|
|
179
179
|
var e;
|
|
180
|
-
return [(e =
|
|
180
|
+
return [(e = o.menus) != null && e.length ? o.menus.map((t, a) => S(t, a, !1)) : null];
|
|
181
181
|
}
|
|
182
182
|
});
|
|
183
183
|
}
|
package/es/components/index.js
CHANGED
|
@@ -5,19 +5,19 @@ import { VftEmpty as i } from "./empty/index.js";
|
|
|
5
5
|
import { VftResult as n } from "./result/index.js";
|
|
6
6
|
import { VftTabPane as l, VftTabs as u } from "./tabs/index.js";
|
|
7
7
|
import { VftPopper as c } from "./popper/index.js";
|
|
8
|
-
import { VftCollapseTransition as
|
|
8
|
+
import { VftCollapseTransition as g } from "./collapse-transition/index.js";
|
|
9
9
|
import { VftTooltip as I } from "./tooltip/index.js";
|
|
10
10
|
import { VftPopover as D } from "./popover/index.js";
|
|
11
11
|
import { VftMenu as S, VftMenuItem as M, VftMenuItemGroup as b, VftSubMenu as E } from "./menu/index.js";
|
|
12
12
|
import { createContextMenu as K, destroyContextMenu as v } from "./context-menu/createContextMenu.js";
|
|
13
13
|
import { useContextMenu as k } from "./context-menu/useContextMenu.js";
|
|
14
|
-
import { VftMultipleTabs as
|
|
14
|
+
import { VftMultipleTabs as O } from "./multiple-tabs/index.js";
|
|
15
15
|
import { VftHeaderLayout as R } from "./header-layout/index.js";
|
|
16
16
|
import { VftFooterLayout as w } from "./footer-layout/index.js";
|
|
17
17
|
import { VftIframeLayout as z } from "./iframe-layout/index.js";
|
|
18
18
|
import { VftRouterViewContent as B } from "./router-view-content/index.js";
|
|
19
19
|
import { VftLogo as U } from "./logo/index.js";
|
|
20
|
-
import {
|
|
20
|
+
import { VftBacktop as Y } from "./backtop/index.js";
|
|
21
21
|
import { VftAside as q, VftContainer as W, VftFooter as Q, VftHeader as X, VftMain as Z } from "./container/index.js";
|
|
22
22
|
import { VftConfigProvider as oo } from "./config-provider/index.js";
|
|
23
23
|
import { VftDescriptions as eo, VftDescriptionsItem as ro } from "./descriptions/index.js";
|
|
@@ -27,7 +27,7 @@ import { VftImage as io } from "./image/index.js";
|
|
|
27
27
|
import { VftInput as no } from "./input/index.js";
|
|
28
28
|
import { VftLink as lo } from "./link/index.js";
|
|
29
29
|
import { VftPagination as co } from "./pagination/index.js";
|
|
30
|
-
import { VftTag as
|
|
30
|
+
import { VftTag as go } from "./tag/index.js";
|
|
31
31
|
import { VftSideMenu as Io } from "./side-menu/index.js";
|
|
32
32
|
import { VftQrcode as Do } from "./qrcode/index.js";
|
|
33
33
|
import { VftOverlay as So } from "./overlay/index.js";
|
|
@@ -35,7 +35,7 @@ import { VftClamp as bo } from "./clamp/index.js";
|
|
|
35
35
|
import { VftClampToggle as Lo } from "./clamp-toggle/index.js";
|
|
36
36
|
import { VftPageWrapper as vo } from "./page-wrapper/index.js";
|
|
37
37
|
import { VftException as ko } from "./exception/index.js";
|
|
38
|
-
import { VftSearch as
|
|
38
|
+
import { VftSearch as Oo } from "./search/index.js";
|
|
39
39
|
import { VftForm as Ro, VftFormItem as _o } from "./form/index.js";
|
|
40
40
|
import { VftButton as ho, VftButtonGroup as zo } from "./button/index.js";
|
|
41
41
|
import { VftCheckbox as Bo, VftCheckboxButton as Ho, VftCheckboxGroup as Uo } from "./checkbox/index.js";
|
|
@@ -49,13 +49,13 @@ import { default as at } from "./virtual-list/components/dynamic-size-list.js";
|
|
|
49
49
|
import { default as Vt } from "./virtual-list/components/fixed-size-grid.js";
|
|
50
50
|
import { default as st } from "./virtual-list/components/dynamic-size-grid.js";
|
|
51
51
|
import { virtualizedGridProps as ut, virtualizedListProps as dt, virtualizedProps as ct, virtualizedScrollbarProps as Ct } from "./virtual-list/props.js";
|
|
52
|
-
import { VftSelectV2 as
|
|
52
|
+
import { VftSelectV2 as Tt } from "./select-v2/index.js";
|
|
53
53
|
import { VftOption as Pt, VftOptionGroup as Dt, VftSelect as yt } from "./select/index.js";
|
|
54
54
|
import { VftTreeSelect as Mt } from "./tree-select/index.js";
|
|
55
55
|
import { VftVerifyCode as Et } from "./verify-code/index.js";
|
|
56
56
|
import { VftTable as Kt } from "./table/index.js";
|
|
57
57
|
import { VftImageViewer as Ft } from "./image-viewer/index.js";
|
|
58
|
-
import { VftListCell as
|
|
58
|
+
import { VftListCell as At } from "./list-cell/index.js";
|
|
59
59
|
import { VftDialog as Gt } from "./dialog/index.js";
|
|
60
60
|
import { VftDateTimeSelect as _t } from "./date-time-select/index.js";
|
|
61
61
|
import { VftCol as ht } from "./col/index.js";
|
|
@@ -69,81 +69,83 @@ import { VftSkeleton as $t, VftSkeletonItem as oe } from "./skeleton/index.js";
|
|
|
69
69
|
import { VftSpace as ee } from "./space/index.js";
|
|
70
70
|
import { VftCard as fe } from "./card/index.js";
|
|
71
71
|
import { VftPopconfirm as me } from "./popconfirm/index.js";
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
80
|
-
import {
|
|
81
|
-
import { default as Ee } from "./time-picker/
|
|
82
|
-
import {
|
|
83
|
-
import {
|
|
84
|
-
import {
|
|
85
|
-
import { default as Ge } from "./popper/
|
|
86
|
-
import { default as _e } from "./popper/
|
|
87
|
-
import {
|
|
88
|
-
import {
|
|
89
|
-
import {
|
|
90
|
-
import {
|
|
91
|
-
import {
|
|
92
|
-
import {
|
|
93
|
-
import {
|
|
94
|
-
import {
|
|
95
|
-
import {
|
|
96
|
-
import {
|
|
97
|
-
import {
|
|
98
|
-
import {
|
|
99
|
-
import {
|
|
100
|
-
import {
|
|
101
|
-
import {
|
|
102
|
-
import {
|
|
103
|
-
import {
|
|
104
|
-
import {
|
|
105
|
-
import {
|
|
106
|
-
import {
|
|
107
|
-
import {
|
|
108
|
-
import {
|
|
109
|
-
import {
|
|
110
|
-
import {
|
|
111
|
-
import {
|
|
112
|
-
import {
|
|
113
|
-
import {
|
|
114
|
-
import {
|
|
115
|
-
import {
|
|
116
|
-
import {
|
|
117
|
-
import {
|
|
118
|
-
import {
|
|
119
|
-
import {
|
|
120
|
-
import {
|
|
121
|
-
import {
|
|
122
|
-
import {
|
|
123
|
-
import {
|
|
72
|
+
import { VftAlert as ae } from "./alert/index.js";
|
|
73
|
+
import { VftMdContainer as Ve } from "./md-container/index.js";
|
|
74
|
+
import { VftMdComment as se } from "./md-comment/index.js";
|
|
75
|
+
import { VftMdTabs as ue } from "./md-tabs/index.js";
|
|
76
|
+
import { VftMdVuePlayground as ce } from "./md-vue-playground/index.js";
|
|
77
|
+
import { VftMdCodeDemo as ge } from "./md-code-demo/index.js";
|
|
78
|
+
import { VftMdCodeTabs as Ie } from "./md-code-tabs/index.js";
|
|
79
|
+
import { VftMessage as De, VftMessage as ye } from "./message/index.js";
|
|
80
|
+
import { VftLoading as Me } from "./loading/index.js";
|
|
81
|
+
import { default as Ee } from "./time-picker/common/picker.vue2.js";
|
|
82
|
+
import { default as Ke } from "./time-picker/time-picker-com/panel-time-pick.vue2.js";
|
|
83
|
+
import { EmptyEnum as Fe } from "./empty/constants.js";
|
|
84
|
+
import { TabsRootContextKey as Ae } from "./tabs/types.js";
|
|
85
|
+
import { default as Ge } from "./popper/arrow.vue2.js";
|
|
86
|
+
import { default as _e } from "./popper/trigger.vue2.js";
|
|
87
|
+
import { default as he } from "./popper/content.vue2.js";
|
|
88
|
+
import { TOOLTIP_INJECTION_KEY as Ne } from "./tooltip/constants.js";
|
|
89
|
+
import { useTabDropdown as He } from "./multiple-tabs/use/use-tab-dropdown.js";
|
|
90
|
+
import { initAffixTabs as Je, useTabsDrag as Ye } from "./multiple-tabs/use/use-multiple-tabs.js";
|
|
91
|
+
import { configProviderContextKey as qe, messageConfig as We } from "./config-provider/constants.js";
|
|
92
|
+
import { provideGlobalConfig as Xe, useGlobalComponentSettings as Ze, useGlobalConfig as $e } from "./config-provider/hooks/use-global-config.js";
|
|
93
|
+
import { usePagination as tr, vftPaginationKey as er } from "./pagination/usePagination.js";
|
|
94
|
+
import { formItemValidateStates as fr } from "./form/types.js";
|
|
95
|
+
import { formContextKey as mr, formItemContextKey as xr } from "./form/constants.js";
|
|
96
|
+
import { useDisabled as ir, useFormDisabled as Vr, useFormSize as nr, useSize as sr } from "./form/hooks/use-form-common-props.js";
|
|
97
|
+
import { useFormItem as ur, useFormItemInputId as dr } from "./form/hooks/use-form-item.js";
|
|
98
|
+
import { buttonGroupContextKey as Cr } from "./button/constants.js";
|
|
99
|
+
import { checkboxGroupContextKey as Tr } from "./checkbox/constants.js";
|
|
100
|
+
import { radioGroupKey as Pr } from "./radio/constants.js";
|
|
101
|
+
import { BAR_MAP as yr, GAP as Sr, renderThumbStyle as Mr } from "./scrollbar/util.js";
|
|
102
|
+
import { scrollbarContextKey as Er } from "./scrollbar/constants.js";
|
|
103
|
+
import { DROPDOWN_INJECTION_KEY as Kr } from "./dropdown/tokens.js";
|
|
104
|
+
import { VftCollection as Fr, VftCollectionItem as kr } from "./dropdown/types.js";
|
|
105
|
+
import { OnlyChild as Or } from "./slot/only-child.js";
|
|
106
|
+
import { default as Rr } from "./dropdown/dropdown-item-impl.vue.js";
|
|
107
|
+
import { selectV2InjectionKey as wr } from "./select-v2/token.js";
|
|
108
|
+
import { selectGroupKey as zr, selectKey as Nr } from "./select/token.js";
|
|
109
|
+
import { useDialog as Hr } from "./dialog/hooks/use-dialog.js";
|
|
110
|
+
import { dialogInjectionKey as Jr } from "./dialog/constants.js";
|
|
111
|
+
import { rowContextKey as jr } from "./row/constants.js";
|
|
112
|
+
import { MenuTypeEnum as Wr } from "./horizontal-menu/constants.js";
|
|
113
|
+
import { buildTimeList as Xr, dateEquals as Zr, extractDateFormat as $r, extractTimeFormat as of, formatter as tf, makeList as ef, parseDate as rf, rangeArr as ff, valueEquals as pf } from "./time-picker/utils.js";
|
|
114
|
+
import { DEFAULT_FORMATS_DATE as xf, DEFAULT_FORMATS_DATEPICKER as af, DEFAULT_FORMATS_TIME as Vf, timeUnits as nf } from "./time-picker/constants.js";
|
|
115
|
+
import { timePickerDefaultProps as lf } from "./time-picker/common/props.js";
|
|
116
|
+
import { ROOT_PICKER_INJECTION_KEY as df, datePickerConfig as cf } from "./date-picker/constants.js";
|
|
117
|
+
import { datePickerProps as gf } from "./date-picker/props/date-picker.js";
|
|
118
|
+
import { dragEventsKey as If, useDragNodeHandler as Pf } from "./tree/model/useDragNode.js";
|
|
119
|
+
import { getChildState as yf } from "./tree/model/node.js";
|
|
120
|
+
import { spaceProps as Mf } from "./space/space.js";
|
|
121
|
+
import { useSpace as Ef } from "./space/use-space.js";
|
|
122
|
+
import { messageDefaults as Kf, messageTypes as vf } from "./message/types.js";
|
|
123
|
+
import { vLoading as kf, createLoadingDirective as Af, vLoading as Of } from "./loading/directive.js";
|
|
124
|
+
import { Loading as Rf } from "./loading/service.js";
|
|
124
125
|
export {
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
126
|
+
yr as BAR_MAP,
|
|
127
|
+
Ee as CommonPicker,
|
|
128
|
+
xf as DEFAULT_FORMATS_DATE,
|
|
129
|
+
af as DEFAULT_FORMATS_DATEPICKER,
|
|
130
|
+
Vf as DEFAULT_FORMATS_TIME,
|
|
131
|
+
Kr as DROPDOWN_INJECTION_KEY,
|
|
131
132
|
st as DynamicSizeGrid,
|
|
132
133
|
at as DynamicSizeList,
|
|
133
|
-
|
|
134
|
+
Fe as EmptyEnum,
|
|
134
135
|
Vt as FixedSizeGrid,
|
|
135
136
|
mt as FixedSizeList,
|
|
136
|
-
|
|
137
|
+
Sr as GAP,
|
|
137
138
|
f as Icon,
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
139
|
+
Wr as MenuTypeEnum,
|
|
140
|
+
De as Message,
|
|
141
|
+
df as ROOT_PICKER_INJECTION_KEY,
|
|
142
|
+
Ne as TOOLTIP_INJECTION_KEY,
|
|
143
|
+
Ae as TabsRootContextKey,
|
|
144
|
+
Ke as TimePickPanel,
|
|
145
|
+
ae as VftAlert,
|
|
144
146
|
q as VftAside,
|
|
145
147
|
x as VftAvatar,
|
|
146
|
-
Y as
|
|
148
|
+
Y as VftBacktop,
|
|
147
149
|
ho as VftButton,
|
|
148
150
|
zo as VftButtonGroup,
|
|
149
151
|
fe as VftCard,
|
|
@@ -154,7 +156,7 @@ export {
|
|
|
154
156
|
bo as VftClamp,
|
|
155
157
|
Lo as VftClampToggle,
|
|
156
158
|
ht as VftCol,
|
|
157
|
-
|
|
159
|
+
g as VftCollapseTransition,
|
|
158
160
|
Zo as VftColorPicker,
|
|
159
161
|
oo as VftConfigProvider,
|
|
160
162
|
W as VftContainer,
|
|
@@ -165,10 +167,10 @@ export {
|
|
|
165
167
|
Gt as VftDialog,
|
|
166
168
|
e as VftDivider,
|
|
167
169
|
et as VftDropdown,
|
|
168
|
-
|
|
169
|
-
|
|
170
|
+
Fr as VftDropdownCollection,
|
|
171
|
+
kr as VftDropdownCollectionItem,
|
|
170
172
|
rt as VftDropdownItem,
|
|
171
|
-
|
|
173
|
+
Rr as VftDropdownItemImpl,
|
|
172
174
|
ft as VftDropdownMenu,
|
|
173
175
|
i as VftEmpty,
|
|
174
176
|
ko as VftException,
|
|
@@ -187,24 +189,24 @@ export {
|
|
|
187
189
|
Ft as VftImageViewer,
|
|
188
190
|
no as VftInput,
|
|
189
191
|
lo as VftLink,
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
192
|
+
At as VftListCell,
|
|
193
|
+
Me as VftLoading,
|
|
194
|
+
kf as VftLoadingDirective,
|
|
195
|
+
Rf as VftLoadingService,
|
|
194
196
|
U as VftLogo,
|
|
195
197
|
Z as VftMain,
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
198
|
+
ge as VftMdCodeDemo,
|
|
199
|
+
Ie as VftMdCodeTabs,
|
|
200
|
+
se as VftMdComment,
|
|
201
|
+
Ve as VftMdContainer,
|
|
202
|
+
ue as VftMdTabs,
|
|
203
|
+
ce as VftMdVuePlayground,
|
|
202
204
|
S as VftMenu,
|
|
203
205
|
M as VftMenuItem,
|
|
204
206
|
b as VftMenuItemGroup,
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
207
|
+
ye as VftMessage,
|
|
208
|
+
O as VftMultipleTabs,
|
|
209
|
+
Or as VftOnlyChild,
|
|
208
210
|
Pt as VftOption,
|
|
209
211
|
Dt as VftOptionGroup,
|
|
210
212
|
So as VftOverlay,
|
|
@@ -213,9 +215,9 @@ export {
|
|
|
213
215
|
me as VftPopconfirm,
|
|
214
216
|
D as VftPopover,
|
|
215
217
|
c as VftPopper,
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
218
|
+
Ge as VftPopperArrow,
|
|
219
|
+
he as VftPopperContent,
|
|
220
|
+
_e as VftPopperTrigger,
|
|
219
221
|
Do as VftQrcode,
|
|
220
222
|
Yo as VftRadio,
|
|
221
223
|
jo as VftRadioButton,
|
|
@@ -224,9 +226,9 @@ export {
|
|
|
224
226
|
B as VftRouterViewContent,
|
|
225
227
|
Nt as VftRow,
|
|
226
228
|
ot as VftScrollbar,
|
|
227
|
-
|
|
229
|
+
Oo as VftSearch,
|
|
228
230
|
yt as VftSelect,
|
|
229
|
-
|
|
231
|
+
Tt as VftSelectV2,
|
|
230
232
|
Io as VftSideMenu,
|
|
231
233
|
$t as VftSkeleton,
|
|
232
234
|
oe as VftSkeletonItem,
|
|
@@ -236,67 +238,67 @@ export {
|
|
|
236
238
|
l as VftTabPane,
|
|
237
239
|
Kt as VftTable,
|
|
238
240
|
u as VftTabs,
|
|
239
|
-
|
|
241
|
+
go as VftTag,
|
|
240
242
|
Jt as VftTimePicker,
|
|
241
243
|
I as VftTooltip,
|
|
242
244
|
Xt as VftTree,
|
|
243
245
|
Mt as VftTreeSelect,
|
|
244
246
|
Et as VftVerifyCode,
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
247
|
+
Xr as buildTimeList,
|
|
248
|
+
Cr as buttonGroupContextKey,
|
|
249
|
+
Tr as checkboxGroupContextKey,
|
|
250
|
+
qe as configProviderContextKey,
|
|
249
251
|
K as createContextMenu,
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
252
|
+
Af as createLoadingDirective,
|
|
253
|
+
Zr as dateEquals,
|
|
254
|
+
cf as datePickerConfig,
|
|
255
|
+
gf as datePickerProps,
|
|
254
256
|
v as destroyContextMenu,
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
257
|
+
Jr as dialogInjectionKey,
|
|
258
|
+
If as dragEventsKey,
|
|
259
|
+
$r as extractDateFormat,
|
|
260
|
+
of as extractTimeFormat,
|
|
261
|
+
mr as formContextKey,
|
|
262
|
+
xr as formItemContextKey,
|
|
263
|
+
fr as formItemValidateStates,
|
|
264
|
+
tf as formatter,
|
|
265
|
+
yf as getChildState,
|
|
266
|
+
Je as initAffixTabs,
|
|
267
|
+
ef as makeList,
|
|
268
|
+
We as messageConfig,
|
|
269
|
+
Kf as messageDefaults,
|
|
270
|
+
vf as messageTypes,
|
|
271
|
+
rf as parseDate,
|
|
272
|
+
Xe as provideGlobalConfig,
|
|
273
|
+
Pr as radioGroupKey,
|
|
274
|
+
ff as rangeArr,
|
|
275
|
+
Mr as renderThumbStyle,
|
|
276
|
+
jr as rowContextKey,
|
|
277
|
+
Er as scrollbarContextKey,
|
|
278
|
+
zr as selectGroupKey,
|
|
279
|
+
Nr as selectKey,
|
|
280
|
+
wr as selectV2InjectionKey,
|
|
281
|
+
Mf as spaceProps,
|
|
282
|
+
lf as timePickerDefaultProps,
|
|
283
|
+
nf as timeUnits,
|
|
282
284
|
k as useContextMenu,
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
285
|
+
Hr as useDialog,
|
|
286
|
+
ir as useDisabled,
|
|
287
|
+
Pf as useDragNodeHandler,
|
|
288
|
+
Vr as useFormDisabled,
|
|
289
|
+
ur as useFormItem,
|
|
290
|
+
dr as useFormItemInputId,
|
|
291
|
+
nr as useFormSize,
|
|
292
|
+
Ze as useGlobalComponentSettings,
|
|
293
|
+
$e as useGlobalConfig,
|
|
294
|
+
tr as usePagination,
|
|
295
|
+
sr as useSize,
|
|
296
|
+
Ef as useSpace,
|
|
297
|
+
He as useTabDropdown,
|
|
298
|
+
Ye as useTabsDrag,
|
|
299
|
+
Of as vLoading,
|
|
300
|
+
pf as valueEquals,
|
|
301
|
+
er as vftPaginationKey,
|
|
300
302
|
ut as virtualizedGridProps,
|
|
301
303
|
dt as virtualizedListProps,
|
|
302
304
|
ct as virtualizedProps,
|
|
@@ -18,7 +18,7 @@ import "../footer-layout/index.js";
|
|
|
18
18
|
import "../iframe-layout/index.js";
|
|
19
19
|
import "../router-view-content/index.js";
|
|
20
20
|
import "../logo/index.js";
|
|
21
|
-
import "../
|
|
21
|
+
import "../backtop/index.js";
|
|
22
22
|
import "../container/index.js";
|
|
23
23
|
import "../config-provider/index.js";
|
|
24
24
|
import "../descriptions/index.js";
|
|
@@ -70,6 +70,7 @@ import "../skeleton/index.js";
|
|
|
70
70
|
import "../space/index.js";
|
|
71
71
|
import "../card/index.js";
|
|
72
72
|
import "../popconfirm/index.js";
|
|
73
|
+
import "../alert/index.js";
|
|
73
74
|
import "./index.js";
|
|
74
75
|
import { VftMdComment as Q } from "../md-comment/index.js";
|
|
75
76
|
import "../md-tabs/index.js";
|
|
@@ -101,7 +102,7 @@ const pt = { class: "info-container" }, st = {
|
|
|
101
102
|
U("md-container")
|
|
102
103
|
), lt = V({
|
|
103
104
|
name: r.b()
|
|
104
|
-
}),
|
|
105
|
+
}), te = /* @__PURE__ */ V({
|
|
105
106
|
...lt,
|
|
106
107
|
setup(ut, { expose: w }) {
|
|
107
108
|
const u = $(), { initPhotoSwipe: D } = Z(`.${r.e("content")} img`);
|
|
@@ -199,5 +200,5 @@ const pt = { class: "info-container" }, st = {
|
|
|
199
200
|
}
|
|
200
201
|
});
|
|
201
202
|
export {
|
|
202
|
-
|
|
203
|
+
te as default
|
|
203
204
|
};
|
|
@@ -26,7 +26,7 @@ import "../footer-layout/index.js";
|
|
|
26
26
|
import "../iframe-layout/index.js";
|
|
27
27
|
import "../router-view-content/index.js";
|
|
28
28
|
import "../logo/index.js";
|
|
29
|
-
import "../
|
|
29
|
+
import "../backtop/index.js";
|
|
30
30
|
import "../container/index.js";
|
|
31
31
|
import "../config-provider/index.js";
|
|
32
32
|
import "../descriptions/index.js";
|
|
@@ -78,6 +78,7 @@ import "../skeleton/index.js";
|
|
|
78
78
|
import "../space/index.js";
|
|
79
79
|
import "../card/index.js";
|
|
80
80
|
import "../popconfirm/index.js";
|
|
81
|
+
import "../alert/index.js";
|
|
81
82
|
import "../md-container/index.js";
|
|
82
83
|
import "../md-comment/index.js";
|
|
83
84
|
import "../md-tabs/index.js";
|
|
@@ -91,7 +92,7 @@ const tt = ["title"], d = (
|
|
|
91
92
|
), et = Y({
|
|
92
93
|
name: d.b(),
|
|
93
94
|
inheritAttrs: !1
|
|
94
|
-
}),
|
|
95
|
+
}), we = /* @__PURE__ */ Y({
|
|
95
96
|
...et,
|
|
96
97
|
props: {
|
|
97
98
|
index: null,
|
|
@@ -188,5 +189,5 @@ const tt = ["title"], d = (
|
|
|
188
189
|
}
|
|
189
190
|
});
|
|
190
191
|
export {
|
|
191
|
-
|
|
192
|
+
we as default
|
|
192
193
|
};
|