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
package/es/component.js
CHANGED
|
@@ -5,7 +5,7 @@ import { VftAvatar as f } from "./components/avatar/index.js";
|
|
|
5
5
|
import { VftEmpty as m } from "./components/empty/index.js";
|
|
6
6
|
import { VftResult as i } from "./components/result/index.js";
|
|
7
7
|
import { VftTooltip as p } from "./components/tooltip/index.js";
|
|
8
|
-
import {
|
|
8
|
+
import { VftBacktop as V } from "./components/backtop/index.js";
|
|
9
9
|
import { VftPopover as e } from "./components/popover/index.js";
|
|
10
10
|
import { VftPopper as a } from "./components/popper/index.js";
|
|
11
11
|
import { VftLogo as n } from "./components/logo/index.js";
|
|
@@ -14,8 +14,8 @@ import { VftImage as u } from "./components/image/index.js";
|
|
|
14
14
|
import { VftFullScreen as c } from "./components/full-screen/index.js";
|
|
15
15
|
import { VftInput as d } from "./components/input/index.js";
|
|
16
16
|
import { VftLink as C } from "./components/link/index.js";
|
|
17
|
-
import { VftTag as
|
|
18
|
-
import { VftQrcode as
|
|
17
|
+
import { VftTag as s } from "./components/tag/index.js";
|
|
18
|
+
import { VftQrcode as T } from "./components/qrcode/index.js";
|
|
19
19
|
import { VftOverlay as M } from "./components/overlay/index.js";
|
|
20
20
|
import { VftSideMenu as S } from "./components/side-menu/index.js";
|
|
21
21
|
import { VftClamp as g } from "./components/clamp/index.js";
|
|
@@ -31,7 +31,7 @@ import { VftForm as L, VftFormItem as R } from "./components/form/index.js";
|
|
|
31
31
|
import { VftDescriptions as v, VftDescriptionsItem as B } from "./components/descriptions/index.js";
|
|
32
32
|
import { VftMultipleTabs as F } from "./components/multiple-tabs/index.js";
|
|
33
33
|
import { VftCollapseTransition as G } from "./components/collapse-transition/index.js";
|
|
34
|
-
import { VftMenu as
|
|
34
|
+
import { VftMenu as A, VftMenuItem as H, VftMenuItemGroup as O, VftSubMenu as E } from "./components/menu/index.js";
|
|
35
35
|
import { VftException as z } from "./components/exception/index.js";
|
|
36
36
|
import { VftSearch as Q } from "./components/search/index.js";
|
|
37
37
|
import { VftButton as W, VftButtonGroup as j } from "./components/button/index.js";
|
|
@@ -54,44 +54,46 @@ import { VftRow as lo } from "./components/row/index.js";
|
|
|
54
54
|
import { VftTimePicker as uo } from "./components/time-picker/index.js";
|
|
55
55
|
import { VftDatePicker as co } from "./components/date-picker/index.js";
|
|
56
56
|
import { VftCheckTag as Co } from "./components/check-tag/index.js";
|
|
57
|
-
import { VftTree as
|
|
58
|
-
import { VftSpace as
|
|
57
|
+
import { VftTree as so } from "./components/tree/index.js";
|
|
58
|
+
import { VftSpace as To } from "./components/space/index.js";
|
|
59
59
|
import { VftCard as Mo } from "./components/card/index.js";
|
|
60
60
|
import { VftPopconfirm as So } from "./components/popconfirm/index.js";
|
|
61
61
|
import { VftTreeSelect as go } from "./components/tree-select/index.js";
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
62
|
+
import { VftAlert as Io } from "./components/alert/index.js";
|
|
63
|
+
import { VftSkeleton as bo, VftSkeletonItem as ko } from "./components/skeleton/index.js";
|
|
64
|
+
import { VftAside as Po, VftContainer as Do, VftFooter as wo, VftHeader as yo, VftMain as ho } from "./components/container/index.js";
|
|
65
|
+
import { VftOption as xo, VftOptionGroup as Lo, VftSelect as Ro } from "./components/select/index.js";
|
|
66
|
+
import { VftMdComment as vo } from "./components/md-comment/index.js";
|
|
67
|
+
import { VftMdTabs as Bo } from "./components/md-tabs/index.js";
|
|
68
|
+
import { VftMdVuePlayground as Fo } from "./components/md-vue-playground/index.js";
|
|
69
|
+
import { VftMdCodeDemo as Go } from "./components/md-code-demo/index.js";
|
|
70
|
+
import { VftMdCodeTabs as Ao } from "./components/md-code-tabs/index.js";
|
|
70
71
|
import { VftMdContainer as Ho } from "./components/md-container/index.js";
|
|
71
|
-
const
|
|
72
|
+
const tr = [
|
|
73
|
+
Io,
|
|
72
74
|
go,
|
|
73
|
-
ho,
|
|
74
75
|
xo,
|
|
75
76
|
Lo,
|
|
77
|
+
Ro,
|
|
76
78
|
So,
|
|
77
79
|
Mo,
|
|
78
|
-
so,
|
|
79
|
-
Io,
|
|
80
|
-
bo,
|
|
81
80
|
To,
|
|
81
|
+
bo,
|
|
82
|
+
ko,
|
|
83
|
+
so,
|
|
82
84
|
Co,
|
|
83
85
|
Ho,
|
|
86
|
+
Ao,
|
|
84
87
|
Go,
|
|
85
88
|
Fo,
|
|
86
89
|
Bo,
|
|
87
|
-
vo,
|
|
88
90
|
co,
|
|
89
|
-
|
|
90
|
-
ko,
|
|
91
|
+
vo,
|
|
91
92
|
Po,
|
|
92
93
|
Do,
|
|
93
94
|
wo,
|
|
94
95
|
yo,
|
|
96
|
+
ho,
|
|
95
97
|
ao,
|
|
96
98
|
no,
|
|
97
99
|
uo,
|
|
@@ -123,9 +125,9 @@ const $t = [
|
|
|
123
125
|
I,
|
|
124
126
|
g,
|
|
125
127
|
b,
|
|
126
|
-
s,
|
|
127
|
-
M,
|
|
128
128
|
T,
|
|
129
|
+
M,
|
|
130
|
+
s,
|
|
129
131
|
S,
|
|
130
132
|
y,
|
|
131
133
|
C,
|
|
@@ -143,9 +145,9 @@ const $t = [
|
|
|
143
145
|
w,
|
|
144
146
|
n,
|
|
145
147
|
F,
|
|
148
|
+
A,
|
|
146
149
|
H,
|
|
147
150
|
O,
|
|
148
|
-
A,
|
|
149
151
|
E,
|
|
150
152
|
G,
|
|
151
153
|
o,
|
|
@@ -161,5 +163,5 @@ const $t = [
|
|
|
161
163
|
z
|
|
162
164
|
];
|
|
163
165
|
export {
|
|
164
|
-
|
|
166
|
+
tr as default
|
|
165
167
|
};
|
|
@@ -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 "../md-container/index.js";
|
|
74
75
|
import "../md-comment/index.js";
|
|
75
76
|
import "../md-tabs/index.js";
|
|
@@ -83,13 +84,13 @@ import "lodash";
|
|
|
83
84
|
import "../../hooks/use-z-index/index.js";
|
|
84
85
|
import "@vueuse/core";
|
|
85
86
|
import "../../utils/ns-cover.js";
|
|
86
|
-
import { useBackTop as I } from "./use-
|
|
87
|
+
import { useBackTop as I } from "./use-backtop.js";
|
|
87
88
|
const r = (
|
|
88
89
|
/* hoist-static*/
|
|
89
|
-
_("
|
|
90
|
+
_("backtop")
|
|
90
91
|
), N = c({
|
|
91
92
|
name: r.b()
|
|
92
|
-
}),
|
|
93
|
+
}), co = /* @__PURE__ */ c({
|
|
93
94
|
...N,
|
|
94
95
|
props: {
|
|
95
96
|
visibilityHeight: { default: 200 },
|
|
@@ -132,5 +133,5 @@ const r = (
|
|
|
132
133
|
}
|
|
133
134
|
});
|
|
134
135
|
export {
|
|
135
|
-
|
|
136
|
+
co as default
|
|
136
137
|
};
|
|
@@ -4,9 +4,9 @@ import "@vft/utils";
|
|
|
4
4
|
import "lodash";
|
|
5
5
|
import "@vueuse/core";
|
|
6
6
|
import "../../utils/ns-cover.js";
|
|
7
|
-
import o from "./
|
|
7
|
+
import o from "./backtop.vue2.js";
|
|
8
8
|
const c = t(o);
|
|
9
9
|
export {
|
|
10
|
-
c as
|
|
10
|
+
c as VftBacktop,
|
|
11
11
|
c as default
|
|
12
12
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as C, computed as I, openBlock as l, createBlock as i, resolveDynamicComponent as v, mergeProps as y, unref as e, withCtx as A, createElementBlock as f, Fragment as N, renderSlot as k, normalizeClass as
|
|
2
|
-
import { VftIcon as
|
|
1
|
+
import { defineComponent as C, computed as I, openBlock as l, createBlock as i, resolveDynamicComponent as v, mergeProps as y, unref as e, withCtx as A, createElementBlock as f, Fragment as N, renderSlot as k, normalizeClass as b, normalizeProps as P, createCommentVNode as g } from "vue";
|
|
2
|
+
import { VftIcon as B } from "../icon/index.js";
|
|
3
3
|
import { useNamespace as T } from "../../hooks/use-namespace/index.js";
|
|
4
4
|
import "@popperjs/core";
|
|
5
5
|
import "lodash";
|
|
@@ -39,12 +39,12 @@ const o = (
|
|
|
39
39
|
},
|
|
40
40
|
emits: ["click"],
|
|
41
41
|
setup(t, { expose: h, emit: z }) {
|
|
42
|
-
const a = t, s = I(() => V(a.icon, "icon")), S = w(a), { _ref:
|
|
42
|
+
const a = t, s = I(() => V(a.icon, "icon")), S = w(a), { _ref: c, _size: r, _type: u, _disabled: d, _props: x, shouldAddSpace: m, handleClick: $ } = j(a, z);
|
|
43
43
|
return h({
|
|
44
44
|
/** @description button html element */
|
|
45
|
-
ref:
|
|
45
|
+
ref: c,
|
|
46
46
|
/** @description button size */
|
|
47
|
-
size:
|
|
47
|
+
size: r,
|
|
48
48
|
/** @description button type */
|
|
49
49
|
type: u,
|
|
50
50
|
/** @description button disabled */
|
|
@@ -53,12 +53,12 @@ const o = (
|
|
|
53
53
|
shouldAddSpace: m
|
|
54
54
|
}), (n, E) => (l(), i(v(t.tag), y({
|
|
55
55
|
ref_key: "_ref",
|
|
56
|
-
ref:
|
|
56
|
+
ref: c
|
|
57
57
|
}, e(x), {
|
|
58
58
|
class: [
|
|
59
59
|
e(o).b(),
|
|
60
60
|
e(o).m(e(u)),
|
|
61
|
-
e(o).m(e(
|
|
61
|
+
e(o).m(e(r)),
|
|
62
62
|
e(o).is("disabled", e(d)),
|
|
63
63
|
e(o).is("loading", t.loading),
|
|
64
64
|
e(o).is("plain", t.plain),
|
|
@@ -66,7 +66,8 @@ const o = (
|
|
|
66
66
|
e(o).is("circle", t.circle),
|
|
67
67
|
e(o).is("text", t.text),
|
|
68
68
|
e(o).is("link", t.link),
|
|
69
|
-
e(o).is("has-bg", t.bg)
|
|
69
|
+
e(o).is("has-bg", t.bg),
|
|
70
|
+
e(o).is("block", t.block)
|
|
70
71
|
],
|
|
71
72
|
style: e(S),
|
|
72
73
|
onClick: e($)
|
|
@@ -75,19 +76,19 @@ const o = (
|
|
|
75
76
|
var p;
|
|
76
77
|
return [
|
|
77
78
|
t.loading ? (l(), f(N, { key: 0 }, [
|
|
78
|
-
n.$slots.loading ? k(n.$slots, "loading", { key: 0 }) : (l(), i(e(
|
|
79
|
+
n.$slots.loading ? k(n.$slots, "loading", { key: 0 }) : (l(), i(e(B), {
|
|
79
80
|
key: 1,
|
|
80
81
|
rotate: "",
|
|
81
|
-
class:
|
|
82
|
+
class: b(e(o).is("loading")),
|
|
82
83
|
icon: "ico-ep:loading"
|
|
83
84
|
}, null, 8, ["class"]))
|
|
84
|
-
], 64)) : (p = e(s)) != null && p.icon ? (l(), i(e(
|
|
85
|
+
], 64)) : (p = e(s)) != null && p.icon ? (l(), i(e(B), P(y({ key: 1 }, e(s))), null, 16)) : g("", !0),
|
|
85
86
|
n.$slots.default ? (l(), f("span", {
|
|
86
87
|
key: 2,
|
|
87
|
-
class:
|
|
88
|
+
class: b({ [e(o).em("text", "expand")]: e(m) })
|
|
88
89
|
}, [
|
|
89
90
|
k(n.$slots, "default")
|
|
90
|
-
], 2)) :
|
|
91
|
+
], 2)) : g("", !0)
|
|
91
92
|
];
|
|
92
93
|
}),
|
|
93
94
|
_: 3
|
|
@@ -1,37 +1,31 @@
|
|
|
1
|
-
import { defineComponent as r, computed as
|
|
2
|
-
import { useNamespace as
|
|
1
|
+
import { defineComponent as r, computed as i, openBlock as m, createElementBlock as a, normalizeClass as l, unref as o, normalizeStyle as c, renderSlot as d } from "vue";
|
|
2
|
+
import { useNamespace as p } from "../../hooks/use-namespace/index.js";
|
|
3
3
|
import "@popperjs/core";
|
|
4
4
|
import "lodash";
|
|
5
5
|
import "../../hooks/use-z-index/index.js";
|
|
6
6
|
import "@vueuse/core";
|
|
7
|
-
import "@vft/utils";
|
|
7
|
+
import { addUnit as u } from "@vft/utils";
|
|
8
8
|
import "../../utils/ns-cover.js";
|
|
9
9
|
const t = (
|
|
10
10
|
/* hoist-static*/
|
|
11
|
-
|
|
11
|
+
p("aside")
|
|
12
12
|
), f = r({
|
|
13
13
|
name: t.b()
|
|
14
|
-
}),
|
|
14
|
+
}), S = /* @__PURE__ */ r({
|
|
15
15
|
...f,
|
|
16
16
|
props: {
|
|
17
|
-
|
|
18
|
-
* @description width of the side section
|
|
19
|
-
*/
|
|
20
|
-
width: {
|
|
21
|
-
type: String,
|
|
22
|
-
default: null
|
|
23
|
-
}
|
|
17
|
+
width: null
|
|
24
18
|
},
|
|
25
|
-
setup(
|
|
26
|
-
const
|
|
27
|
-
return (
|
|
28
|
-
class:
|
|
29
|
-
style: c(o(
|
|
19
|
+
setup(e) {
|
|
20
|
+
const s = i(() => e.width ? t.cssVarBlock({ width: u(e.width) }) : {});
|
|
21
|
+
return (n, h) => (m(), a("aside", {
|
|
22
|
+
class: l(o(t).b()),
|
|
23
|
+
style: c(o(s))
|
|
30
24
|
}, [
|
|
31
|
-
d(
|
|
25
|
+
d(n.$slots, "default")
|
|
32
26
|
], 6));
|
|
33
27
|
}
|
|
34
28
|
});
|
|
35
29
|
export {
|
|
36
|
-
|
|
30
|
+
S as default
|
|
37
31
|
};
|
|
@@ -1,39 +1,33 @@
|
|
|
1
|
-
import { defineComponent as r, computed as
|
|
2
|
-
import { useNamespace as
|
|
1
|
+
import { defineComponent as r, computed as m, openBlock as l, createElementBlock as i, normalizeClass as a, unref as o, normalizeStyle as c, renderSlot as p } from "vue";
|
|
2
|
+
import { useNamespace as f } from "../../hooks/use-namespace/index.js";
|
|
3
3
|
import "@popperjs/core";
|
|
4
4
|
import "lodash";
|
|
5
5
|
import "../../hooks/use-z-index/index.js";
|
|
6
6
|
import "@vueuse/core";
|
|
7
|
-
import "@vft/utils";
|
|
7
|
+
import { addUnit as u } from "@vft/utils";
|
|
8
8
|
import "../../utils/ns-cover.js";
|
|
9
|
-
const
|
|
9
|
+
const e = (
|
|
10
10
|
/* hoist-static*/
|
|
11
|
-
|
|
11
|
+
f("footer")
|
|
12
12
|
), h = r({
|
|
13
|
-
name:
|
|
14
|
-
}),
|
|
13
|
+
name: e.b()
|
|
14
|
+
}), S = /* @__PURE__ */ r({
|
|
15
15
|
...h,
|
|
16
16
|
props: {
|
|
17
|
-
|
|
18
|
-
* @description height of the footer
|
|
19
|
-
*/
|
|
20
|
-
height: {
|
|
21
|
-
type: String,
|
|
22
|
-
default: null
|
|
23
|
-
}
|
|
17
|
+
height: null
|
|
24
18
|
},
|
|
25
|
-
setup(
|
|
26
|
-
const
|
|
27
|
-
() =>
|
|
19
|
+
setup(t) {
|
|
20
|
+
const n = m(
|
|
21
|
+
() => t.height ? e.cssVarBlock({ height: u(t.height) }) : {}
|
|
28
22
|
);
|
|
29
|
-
return (
|
|
30
|
-
class: a(o(
|
|
23
|
+
return (s, d) => (l(), i("footer", {
|
|
24
|
+
class: a(o(e).b()),
|
|
31
25
|
style: c(o(n))
|
|
32
26
|
}, [
|
|
33
|
-
|
|
27
|
+
p(s.$slots, "default")
|
|
34
28
|
], 6));
|
|
35
29
|
}
|
|
36
30
|
});
|
|
37
31
|
export {
|
|
38
|
-
|
|
32
|
+
S as default
|
|
39
33
|
};
|
|
@@ -1,39 +1,33 @@
|
|
|
1
|
-
import { defineComponent as r, computed as
|
|
1
|
+
import { defineComponent as r, computed as m, openBlock as a, createElementBlock as l, normalizeClass as i, unref as o, normalizeStyle as c, renderSlot as p } from "vue";
|
|
2
2
|
import { useNamespace as h } from "../../hooks/use-namespace/index.js";
|
|
3
3
|
import "@popperjs/core";
|
|
4
4
|
import "lodash";
|
|
5
5
|
import "../../hooks/use-z-index/index.js";
|
|
6
6
|
import "@vueuse/core";
|
|
7
|
-
import "@vft/utils";
|
|
7
|
+
import { addUnit as u } from "@vft/utils";
|
|
8
8
|
import "../../utils/ns-cover.js";
|
|
9
9
|
const e = (
|
|
10
10
|
/* hoist-static*/
|
|
11
11
|
h("header")
|
|
12
12
|
), d = r({
|
|
13
13
|
name: e.b()
|
|
14
|
-
}),
|
|
14
|
+
}), S = /* @__PURE__ */ r({
|
|
15
15
|
...d,
|
|
16
16
|
props: {
|
|
17
|
-
|
|
18
|
-
* @description height of the header
|
|
19
|
-
*/
|
|
20
|
-
height: {
|
|
21
|
-
type: String,
|
|
22
|
-
default: null
|
|
23
|
-
}
|
|
17
|
+
height: null
|
|
24
18
|
},
|
|
25
|
-
setup(
|
|
26
|
-
const
|
|
27
|
-
height: t.height
|
|
19
|
+
setup(t) {
|
|
20
|
+
const n = m(() => t.height ? e.cssVarBlock({
|
|
21
|
+
height: u(t.height)
|
|
28
22
|
}) : {});
|
|
29
|
-
return (
|
|
23
|
+
return (s, f) => (a(), l("header", {
|
|
30
24
|
class: i(o(e).b()),
|
|
31
25
|
style: c(o(n))
|
|
32
26
|
}, [
|
|
33
|
-
|
|
27
|
+
p(s.$slots, "default")
|
|
34
28
|
], 6));
|
|
35
29
|
}
|
|
36
30
|
});
|
|
37
31
|
export {
|
|
38
|
-
|
|
32
|
+
S as default
|
|
39
33
|
};
|
|
@@ -24,7 +24,7 @@ import "../footer-layout/index.js";
|
|
|
24
24
|
import "../iframe-layout/index.js";
|
|
25
25
|
import "../router-view-content/index.js";
|
|
26
26
|
import "../logo/index.js";
|
|
27
|
-
import "../
|
|
27
|
+
import "../backtop/index.js";
|
|
28
28
|
import "../container/index.js";
|
|
29
29
|
import "../config-provider/index.js";
|
|
30
30
|
import "../descriptions/index.js";
|
|
@@ -76,6 +76,7 @@ import "../skeleton/index.js";
|
|
|
76
76
|
import "../space/index.js";
|
|
77
77
|
import "../card/index.js";
|
|
78
78
|
import "../popconfirm/index.js";
|
|
79
|
+
import "../alert/index.js";
|
|
79
80
|
import "../md-container/index.js";
|
|
80
81
|
import "../md-comment/index.js";
|
|
81
82
|
import "../md-tabs/index.js";
|
|
@@ -88,7 +89,7 @@ const N = { class: "vft-sub-menu" }, x = (
|
|
|
88
89
|
F("context-menu")
|
|
89
90
|
), R = f({
|
|
90
91
|
name: x.b()
|
|
91
|
-
}),
|
|
92
|
+
}), vo = /* @__PURE__ */ f({
|
|
92
93
|
...R,
|
|
93
94
|
props: {
|
|
94
95
|
axis: null,
|
|
@@ -162,5 +163,5 @@ const N = { class: "vft-sub-menu" }, x = (
|
|
|
162
163
|
}
|
|
163
164
|
});
|
|
164
165
|
export {
|
|
165
|
-
|
|
166
|
+
vo as default
|
|
166
167
|
};
|
|
@@ -24,7 +24,7 @@ import "./index.js";
|
|
|
24
24
|
import "../iframe-layout/index.js";
|
|
25
25
|
import "../router-view-content/index.js";
|
|
26
26
|
import "../logo/index.js";
|
|
27
|
-
import "../
|
|
27
|
+
import "../backtop/index.js";
|
|
28
28
|
import { VftFooter as C } from "../container/index.js";
|
|
29
29
|
import "../config-provider/index.js";
|
|
30
30
|
import "../descriptions/index.js";
|
|
@@ -76,6 +76,7 @@ import "../skeleton/index.js";
|
|
|
76
76
|
import "../space/index.js";
|
|
77
77
|
import "../card/index.js";
|
|
78
78
|
import "../popconfirm/index.js";
|
|
79
|
+
import "../alert/index.js";
|
|
79
80
|
import "../md-container/index.js";
|
|
80
81
|
import "../md-comment/index.js";
|
|
81
82
|
import "../md-tabs/index.js";
|
|
@@ -88,7 +89,7 @@ const o = (
|
|
|
88
89
|
h("footer-layout")
|
|
89
90
|
), _ = s({
|
|
90
91
|
name: o.b()
|
|
91
|
-
}),
|
|
92
|
+
}), Xt = /* @__PURE__ */ s({
|
|
92
93
|
..._,
|
|
93
94
|
props: {
|
|
94
95
|
leftDistance: null
|
|
@@ -124,5 +125,5 @@ const o = (
|
|
|
124
125
|
}
|
|
125
126
|
});
|
|
126
127
|
export {
|
|
127
|
-
|
|
128
|
+
Xt as default
|
|
128
129
|
};
|
|
@@ -24,7 +24,7 @@ import "./index.js";
|
|
|
24
24
|
import "../footer-layout/index.js";
|
|
25
25
|
import "../iframe-layout/index.js";
|
|
26
26
|
import "../router-view-content/index.js";
|
|
27
|
-
import "../
|
|
27
|
+
import "../backtop/index.js";
|
|
28
28
|
import { VftHeader as V, VftContainer as _, VftMain as k, VftFooter as $ } from "../container/index.js";
|
|
29
29
|
import "../config-provider/index.js";
|
|
30
30
|
import "../descriptions/index.js";
|
|
@@ -76,6 +76,7 @@ import "../skeleton/index.js";
|
|
|
76
76
|
import "../space/index.js";
|
|
77
77
|
import "../card/index.js";
|
|
78
78
|
import "../popconfirm/index.js";
|
|
79
|
+
import "../alert/index.js";
|
|
79
80
|
import "../md-container/index.js";
|
|
80
81
|
import "../md-comment/index.js";
|
|
81
82
|
import "../md-tabs/index.js";
|
|
@@ -94,7 +95,7 @@ const y = { class: "content" }, b = {
|
|
|
94
95
|
h("header-layout")
|
|
95
96
|
), v = c({
|
|
96
97
|
name: p.b()
|
|
97
|
-
}),
|
|
98
|
+
}), po = /* @__PURE__ */ c({
|
|
98
99
|
...v,
|
|
99
100
|
props: {
|
|
100
101
|
logoCfg: null
|
|
@@ -140,5 +141,5 @@ const y = { class: "content" }, b = {
|
|
|
140
141
|
}
|
|
141
142
|
});
|
|
142
143
|
export {
|
|
143
|
-
|
|
144
|
+
po as default
|
|
144
145
|
};
|
|
@@ -1,3 +1,8 @@
|
|
|
1
1
|
import "vft/theme-style/base.css";
|
|
2
2
|
import "vft/theme-style/vft-logo.css";
|
|
3
|
+
import "vft/theme-style/vft-container.css";
|
|
4
|
+
import "vft/theme-style/vft-aside.css";
|
|
5
|
+
import "vft/theme-style/vft-footer.css";
|
|
6
|
+
import "vft/theme-style/vft-header.css";
|
|
7
|
+
import "vft/theme-style/vft-main.css";
|
|
3
8
|
import "vft/theme-style/vft-header-layout.css";
|
|
@@ -1,3 +1,8 @@
|
|
|
1
1
|
import "vft/theme-style/src/base.scss";
|
|
2
|
+
import "vft/theme-style/src/container.scss";
|
|
3
|
+
import "vft/theme-style/src/aside.scss";
|
|
4
|
+
import "vft/theme-style/src/footer.scss";
|
|
5
|
+
import "vft/theme-style/src/header.scss";
|
|
6
|
+
import "vft/theme-style/src/main.scss";
|
|
2
7
|
import "vft/theme-style/src/logo.scss";
|
|
3
8
|
import "vft/theme-style/src/header-layout.scss";
|