vft 0.0.198 → 0.0.201
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/dist/index.css +1 -1
- package/es/components/affix/affix.d.ts +1 -1
- package/es/components/affix/affix.vue.d.ts +3 -3
- package/es/components/affix/index.d.ts +7 -7
- package/es/components/button/index.d.ts +12 -12
- package/es/components/carousel/carousel.vue.d.ts +1 -1
- package/es/components/carousel/index.d.ts +19 -19
- package/es/components/focus-trap/utils.d.ts +1 -1
- package/es/components/form/form-item.vue.d.ts +1 -1
- package/es/components/form/index.d.ts +42 -42
- package/es/components/md-container/md-container.vue2.js +27 -27
- package/es/components/modal/index.d.ts +24 -24
- package/es/components/popconfirm/index.d.ts +12 -12
- package/es/components/popper/composables/use-content.d.ts +3 -3
- package/es/components/row/index.d.ts +0 -2
- package/es/components/row/row.vue.d.ts +1 -11
- package/es/components/row/types.d.ts +10 -0
- package/es/components/switch/index.d.ts +6 -6
- package/es/components/table/index.d.ts +12 -12
- package/es/components/tabs/index.d.ts +2 -2
- package/es/components/timeline/index.d.ts +8 -8
- package/es/hooks/use-popper/index.d.ts +3 -3
- package/es/package.json.d.ts +1 -1
- package/es/package.json.js +1 -1
- package/es/utils/ns-cover.js +14 -13
- package/lib/components/affix/affix.d.ts +1 -1
- package/lib/components/affix/affix.vue.d.ts +3 -3
- package/lib/components/affix/index.d.ts +7 -7
- package/lib/components/button/index.d.ts +12 -12
- package/lib/components/carousel/carousel.vue.d.ts +1 -1
- package/lib/components/carousel/index.d.ts +19 -19
- package/lib/components/focus-trap/utils.d.ts +1 -1
- package/lib/components/form/form-item.vue.d.ts +1 -1
- package/lib/components/form/index.d.ts +42 -42
- package/lib/components/md-container/md-container.vue2.cjs +1 -1
- package/lib/components/modal/index.d.ts +24 -24
- package/lib/components/popconfirm/index.d.ts +12 -12
- package/lib/components/popper/composables/use-content.d.ts +3 -3
- package/lib/components/row/index.d.ts +0 -2
- package/lib/components/row/row.vue.d.ts +1 -11
- package/lib/components/row/types.d.ts +10 -0
- package/lib/components/switch/index.d.ts +6 -6
- package/lib/components/table/index.d.ts +12 -12
- package/lib/components/tabs/index.d.ts +2 -2
- package/lib/components/timeline/index.d.ts +8 -8
- package/lib/hooks/use-popper/index.d.ts +3 -3
- package/lib/package.json.cjs +1 -1
- package/lib/package.json.d.ts +1 -1
- package/lib/utils/ns-cover.cjs +1 -1
- package/package.json +5 -5
- package/theme-style/index.css +1 -1
- package/theme-style/src/button.scss +43 -43
- package/theme-style/src/common/var.scss +2 -1
- package/theme-style/src/mixins/_button.scss +3 -3
- package/theme-style/src/super-form.scss +2 -2
- package/theme-style/vft-button.css +1 -1
- package/theme-style/vft-checkbox-button.css +1 -1
- package/theme-style/vft-radio-button.css +1 -1
- package/theme-style/vft-super-form.css +1 -1
- package/web-types.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as V, getCurrentInstance as A, computed as _, onMounted as P, nextTick as
|
|
1
|
+
import { defineComponent as V, getCurrentInstance as A, computed as _, onMounted as P, nextTick as I, openBlock as n, createElementBlock as l, normalizeClass as a, unref as t, createBlock as C, createCommentVNode as x, createElementVNode as r, toDisplayString as k, createVNode as s, Fragment as R, renderList as $, withCtx as B, createTextVNode as H, renderSlot as M } from "vue";
|
|
2
2
|
import "../alert/index.js";
|
|
3
3
|
import "../avatar/index.js";
|
|
4
4
|
import "../backtop/index.js";
|
|
@@ -63,7 +63,7 @@ import "../space/index.js";
|
|
|
63
63
|
import "../switch/index.js";
|
|
64
64
|
import "../table/index.js";
|
|
65
65
|
import "../tabs/index.js";
|
|
66
|
-
import { VftTag as
|
|
66
|
+
import { VftTag as U } from "../tag/index.js";
|
|
67
67
|
import "../time-picker/index.js";
|
|
68
68
|
import "../tooltip/index.js";
|
|
69
69
|
import "../tree/index.js";
|
|
@@ -83,20 +83,20 @@ import "../carousel/index.js";
|
|
|
83
83
|
import "../timeline/index.js";
|
|
84
84
|
import "../md-code-demo/index.js";
|
|
85
85
|
import "../md-code-tabs/index.js";
|
|
86
|
-
import { VftMdComment as
|
|
86
|
+
import { VftMdComment as Y } from "../md-comment/index.js";
|
|
87
87
|
import "./index.js";
|
|
88
88
|
import "../md-tabs/index.js";
|
|
89
89
|
import "../md-vue-playground/index.js";
|
|
90
90
|
import "@vueuse/core";
|
|
91
|
-
import { primaryColor as
|
|
91
|
+
import { primaryColor as G } from "../../utils/ns-cover.js";
|
|
92
92
|
import "lodash";
|
|
93
|
-
import { useNamespace as
|
|
93
|
+
import { useNamespace as K } from "../../hooks/use-namespace/index.js";
|
|
94
94
|
import "@popperjs/core";
|
|
95
95
|
import "../../hooks/use-z-index/index.js";
|
|
96
96
|
import "../message/index.js";
|
|
97
97
|
import "../infinite-scroll/index.js";
|
|
98
98
|
import "../progress-i/index.js";
|
|
99
|
-
import { useRouterHelper as
|
|
99
|
+
import { useRouterHelper as Q } from "@vft/router";
|
|
100
100
|
import { usePhotoSwipe as W, useEventListener as X } from "@vft/use";
|
|
101
101
|
import Z from "./toc.js";
|
|
102
102
|
import { useCopyCode as tt } from "./use/useCopyCode.js";
|
|
@@ -108,7 +108,7 @@ const et = { class: "info-container" }, rt = {
|
|
|
108
108
|
}, mt = { class: "infos" }, pt = {
|
|
109
109
|
class: "reading",
|
|
110
110
|
title: "阅读量"
|
|
111
|
-
},
|
|
111
|
+
}, nt = ["data-path"], at = /* @__PURE__ */ r("ins", {
|
|
112
112
|
class: "adsbygoogle",
|
|
113
113
|
style: { display: "block", "text-align": "center" },
|
|
114
114
|
"data-ad-layout": "in-article",
|
|
@@ -117,19 +117,19 @@ const et = { class: "info-container" }, rt = {
|
|
|
117
117
|
"data-ad-slot": "6525439078"
|
|
118
118
|
}, null, -1), st = V({
|
|
119
119
|
name: "vft-md-container"
|
|
120
|
-
}),
|
|
120
|
+
}), ai = /* @__PURE__ */ V({
|
|
121
121
|
...st,
|
|
122
122
|
props: {
|
|
123
123
|
tocList: {}
|
|
124
124
|
},
|
|
125
125
|
setup(c) {
|
|
126
|
-
const m =
|
|
126
|
+
const m = K("md-container"), b = A(), d = _(() => c.tocList && c.tocList !== "undefined" ? JSON.parse(c.tocList) : ""), { initPhotoSwipe: w } = W(`.${m.e("content")} img`);
|
|
127
127
|
w(), ot({}), tt();
|
|
128
128
|
const u = b.appContext.config.globalProperties.$router, e = u.currentRoute.value;
|
|
129
129
|
P(() => {
|
|
130
|
-
|
|
130
|
+
I(() => {
|
|
131
131
|
setTimeout(() => {
|
|
132
|
-
q(e.hash);
|
|
132
|
+
q(encodeURI(e.hash));
|
|
133
133
|
});
|
|
134
134
|
const i = document.querySelectorAll(".item.expand"), p = document.querySelectorAll(
|
|
135
135
|
"div.language-vue"
|
|
@@ -140,7 +140,7 @@ const et = { class: "info-container" }, rt = {
|
|
|
140
140
|
});
|
|
141
141
|
});
|
|
142
142
|
});
|
|
143
|
-
const L =
|
|
143
|
+
const L = G(), D = location.pathname, { go: S } = Q(u);
|
|
144
144
|
function E(i) {
|
|
145
145
|
S("/?classify=" + i);
|
|
146
146
|
}
|
|
@@ -150,36 +150,36 @@ const et = { class: "info-container" }, rt = {
|
|
|
150
150
|
});
|
|
151
151
|
return (i, p) => {
|
|
152
152
|
var o, f, g, h, y;
|
|
153
|
-
return
|
|
154
|
-
class:
|
|
153
|
+
return n(), l("div", {
|
|
154
|
+
class: a([t(m).b(), t(m).is("api", N.value)])
|
|
155
155
|
}, [
|
|
156
|
-
d.value ? (
|
|
156
|
+
d.value ? (n(), C(t(Z), {
|
|
157
157
|
key: 0,
|
|
158
158
|
items: d.value,
|
|
159
159
|
route: t(e)
|
|
160
160
|
}, null, 8, ["items", "route"])) : x("", !0),
|
|
161
161
|
r("div", {
|
|
162
|
-
class:
|
|
162
|
+
class: a(t(m).e("header"))
|
|
163
163
|
}, [
|
|
164
164
|
r("h1", {
|
|
165
|
-
class:
|
|
165
|
+
class: a(t(m).e("title"))
|
|
166
166
|
}, k((o = t(e).meta) == null ? void 0 : o.title), 3),
|
|
167
167
|
r("div", et, [
|
|
168
|
-
(g = (f = t(e).meta) == null ? void 0 : f.category) != null && g.length ? (
|
|
168
|
+
(g = (f = t(e).meta) == null ? void 0 : f.category) != null && g.length ? (n(), l("div", rt, [
|
|
169
169
|
s(t(T), {
|
|
170
170
|
size: 14,
|
|
171
171
|
color: t(L),
|
|
172
172
|
icon: "icon-category"
|
|
173
173
|
}, null, 8, ["color"]),
|
|
174
|
-
(
|
|
174
|
+
(n(!0), l(R, null, $((h = t(e).meta) == null ? void 0 : h.category, (v, z) => (n(), C(t(U), {
|
|
175
175
|
size: "small",
|
|
176
176
|
class: "tag",
|
|
177
177
|
type: t(F)(t(it), 1)[0],
|
|
178
178
|
key: z,
|
|
179
179
|
onClick: (ct) => E(v)
|
|
180
180
|
}, {
|
|
181
|
-
default:
|
|
182
|
-
|
|
181
|
+
default: B(() => [
|
|
182
|
+
H(k(v), 1)
|
|
183
183
|
]),
|
|
184
184
|
_: 2
|
|
185
185
|
}, 1032, ["type", "onClick"]))), 128))
|
|
@@ -204,22 +204,22 @@ const et = { class: "info-container" }, rt = {
|
|
|
204
204
|
r("div", {
|
|
205
205
|
class: "waline-pageview-count lh-1",
|
|
206
206
|
"data-path": t(D)
|
|
207
|
-
}, "0", 8,
|
|
207
|
+
}, "0", 8, nt)
|
|
208
208
|
])
|
|
209
209
|
])
|
|
210
210
|
])
|
|
211
211
|
], 2),
|
|
212
212
|
r("div", {
|
|
213
|
-
class:
|
|
213
|
+
class: a(t(m).e("content"))
|
|
214
214
|
}, [
|
|
215
|
-
|
|
215
|
+
M(i.$slots, "default")
|
|
216
216
|
], 2),
|
|
217
|
-
s(t(
|
|
218
|
-
|
|
217
|
+
s(t(Y)),
|
|
218
|
+
at
|
|
219
219
|
], 2);
|
|
220
220
|
};
|
|
221
221
|
}
|
|
222
222
|
});
|
|
223
223
|
export {
|
|
224
|
-
|
|
224
|
+
ai as default
|
|
225
225
|
};
|
|
@@ -1,12 +1,6 @@
|
|
|
1
1
|
import { type ModalProps } from './modal.vue';
|
|
2
2
|
export declare const VftModal: import("vft/es/utils").SFCWithInstall<{
|
|
3
3
|
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
4
|
-
top: {
|
|
5
|
-
type: import("vue").PropType<string>;
|
|
6
|
-
};
|
|
7
|
-
width: {
|
|
8
|
-
type: import("vue").PropType<string | number>;
|
|
9
|
-
};
|
|
10
4
|
title: {
|
|
11
5
|
type: import("vue").PropType<string>;
|
|
12
6
|
default: string;
|
|
@@ -15,6 +9,12 @@ export declare const VftModal: import("vft/es/utils").SFCWithInstall<{
|
|
|
15
9
|
type: import("vue").PropType<boolean>;
|
|
16
10
|
default: boolean;
|
|
17
11
|
};
|
|
12
|
+
top: {
|
|
13
|
+
type: import("vue").PropType<string>;
|
|
14
|
+
};
|
|
15
|
+
width: {
|
|
16
|
+
type: import("vue").PropType<string | number>;
|
|
17
|
+
};
|
|
18
18
|
zIndex: {
|
|
19
19
|
type: import("vue").PropType<number>;
|
|
20
20
|
};
|
|
@@ -120,12 +120,6 @@ export declare const VftModal: import("vft/es/utils").SFCWithInstall<{
|
|
|
120
120
|
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
121
121
|
[x: string]: (...args: any[]) => void;
|
|
122
122
|
}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
123
|
-
top: {
|
|
124
|
-
type: import("vue").PropType<string>;
|
|
125
|
-
};
|
|
126
|
-
width: {
|
|
127
|
-
type: import("vue").PropType<string | number>;
|
|
128
|
-
};
|
|
129
123
|
title: {
|
|
130
124
|
type: import("vue").PropType<string>;
|
|
131
125
|
default: string;
|
|
@@ -134,6 +128,12 @@ export declare const VftModal: import("vft/es/utils").SFCWithInstall<{
|
|
|
134
128
|
type: import("vue").PropType<boolean>;
|
|
135
129
|
default: boolean;
|
|
136
130
|
};
|
|
131
|
+
top: {
|
|
132
|
+
type: import("vue").PropType<string>;
|
|
133
|
+
};
|
|
134
|
+
width: {
|
|
135
|
+
type: import("vue").PropType<string | number>;
|
|
136
|
+
};
|
|
137
137
|
zIndex: {
|
|
138
138
|
type: import("vue").PropType<number>;
|
|
139
139
|
};
|
|
@@ -265,12 +265,6 @@ export declare const VftModal: import("vft/es/utils").SFCWithInstall<{
|
|
|
265
265
|
M: {};
|
|
266
266
|
Defaults: {};
|
|
267
267
|
}, Readonly<import("vue").ExtractPropTypes<{
|
|
268
|
-
top: {
|
|
269
|
-
type: import("vue").PropType<string>;
|
|
270
|
-
};
|
|
271
|
-
width: {
|
|
272
|
-
type: import("vue").PropType<string | number>;
|
|
273
|
-
};
|
|
274
268
|
title: {
|
|
275
269
|
type: import("vue").PropType<string>;
|
|
276
270
|
default: string;
|
|
@@ -279,6 +273,12 @@ export declare const VftModal: import("vft/es/utils").SFCWithInstall<{
|
|
|
279
273
|
type: import("vue").PropType<boolean>;
|
|
280
274
|
default: boolean;
|
|
281
275
|
};
|
|
276
|
+
top: {
|
|
277
|
+
type: import("vue").PropType<string>;
|
|
278
|
+
};
|
|
279
|
+
width: {
|
|
280
|
+
type: import("vue").PropType<string | number>;
|
|
281
|
+
};
|
|
282
282
|
zIndex: {
|
|
283
283
|
type: import("vue").PropType<number>;
|
|
284
284
|
};
|
|
@@ -407,12 +407,6 @@ export declare const VftModal: import("vft/es/utils").SFCWithInstall<{
|
|
|
407
407
|
__isTeleport?: never;
|
|
408
408
|
__isSuspense?: never;
|
|
409
409
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
410
|
-
top: {
|
|
411
|
-
type: import("vue").PropType<string>;
|
|
412
|
-
};
|
|
413
|
-
width: {
|
|
414
|
-
type: import("vue").PropType<string | number>;
|
|
415
|
-
};
|
|
416
410
|
title: {
|
|
417
411
|
type: import("vue").PropType<string>;
|
|
418
412
|
default: string;
|
|
@@ -421,6 +415,12 @@ export declare const VftModal: import("vft/es/utils").SFCWithInstall<{
|
|
|
421
415
|
type: import("vue").PropType<boolean>;
|
|
422
416
|
default: boolean;
|
|
423
417
|
};
|
|
418
|
+
top: {
|
|
419
|
+
type: import("vue").PropType<string>;
|
|
420
|
+
};
|
|
421
|
+
width: {
|
|
422
|
+
type: import("vue").PropType<string | number>;
|
|
423
|
+
};
|
|
424
424
|
zIndex: {
|
|
425
425
|
type: import("vue").PropType<number>;
|
|
426
426
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export declare const VftPopconfirm: import("vft/es/utils").SFCWithInstall<{
|
|
2
2
|
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
3
|
+
title: {
|
|
4
|
+
type: import("vue").PropType<string>;
|
|
5
|
+
};
|
|
3
6
|
width: {
|
|
4
7
|
type: import("vue").PropType<string | number>;
|
|
5
8
|
default: number;
|
|
6
9
|
};
|
|
7
|
-
title: {
|
|
8
|
-
type: import("vue").PropType<string>;
|
|
9
|
-
};
|
|
10
10
|
hideAfter: {
|
|
11
11
|
type: import("vue").PropType<number>;
|
|
12
12
|
default: number;
|
|
@@ -51,13 +51,13 @@ export declare const VftPopconfirm: import("vft/es/utils").SFCWithInstall<{
|
|
|
51
51
|
confirm: (val: MouseEvent) => void;
|
|
52
52
|
cancel: (val: MouseEvent) => void;
|
|
53
53
|
}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
54
|
+
title: {
|
|
55
|
+
type: import("vue").PropType<string>;
|
|
56
|
+
};
|
|
54
57
|
width: {
|
|
55
58
|
type: import("vue").PropType<string | number>;
|
|
56
59
|
default: number;
|
|
57
60
|
};
|
|
58
|
-
title: {
|
|
59
|
-
type: import("vue").PropType<string>;
|
|
60
|
-
};
|
|
61
61
|
hideAfter: {
|
|
62
62
|
type: import("vue").PropType<number>;
|
|
63
63
|
default: number;
|
|
@@ -115,13 +115,13 @@ export declare const VftPopconfirm: import("vft/es/utils").SFCWithInstall<{
|
|
|
115
115
|
M: {};
|
|
116
116
|
Defaults: {};
|
|
117
117
|
}, Readonly<import("vue").ExtractPropTypes<{
|
|
118
|
+
title: {
|
|
119
|
+
type: import("vue").PropType<string>;
|
|
120
|
+
};
|
|
118
121
|
width: {
|
|
119
122
|
type: import("vue").PropType<string | number>;
|
|
120
123
|
default: number;
|
|
121
124
|
};
|
|
122
|
-
title: {
|
|
123
|
-
type: import("vue").PropType<string>;
|
|
124
|
-
};
|
|
125
125
|
hideAfter: {
|
|
126
126
|
type: import("vue").PropType<number>;
|
|
127
127
|
default: number;
|
|
@@ -176,13 +176,13 @@ export declare const VftPopconfirm: import("vft/es/utils").SFCWithInstall<{
|
|
|
176
176
|
__isTeleport?: never;
|
|
177
177
|
__isSuspense?: never;
|
|
178
178
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
179
|
+
title: {
|
|
180
|
+
type: import("vue").PropType<string>;
|
|
181
|
+
};
|
|
179
182
|
width: {
|
|
180
183
|
type: import("vue").PropType<string | number>;
|
|
181
184
|
default: number;
|
|
182
185
|
};
|
|
183
|
-
title: {
|
|
184
|
-
type: import("vue").PropType<string>;
|
|
185
|
-
};
|
|
186
186
|
hideAfter: {
|
|
187
187
|
type: import("vue").PropType<number>;
|
|
188
188
|
default: number;
|
|
@@ -46,11 +46,11 @@ export declare const usePopperContent: (props: PopperContentProps) => {
|
|
|
46
46
|
popperEscapeOffsets: import("@popperjs/core").SideObject;
|
|
47
47
|
};
|
|
48
48
|
offset?: {
|
|
49
|
-
|
|
50
|
-
bottom?: import("@popperjs/core").Offsets | undefined;
|
|
49
|
+
auto?: import("@popperjs/core").Offsets | undefined;
|
|
51
50
|
left?: import("@popperjs/core").Offsets | undefined;
|
|
52
51
|
right?: import("@popperjs/core").Offsets | undefined;
|
|
53
|
-
|
|
52
|
+
bottom?: import("@popperjs/core").Offsets | undefined;
|
|
53
|
+
top?: import("@popperjs/core").Offsets | undefined;
|
|
54
54
|
"auto-start"?: import("@popperjs/core").Offsets | undefined;
|
|
55
55
|
"auto-end"?: import("@popperjs/core").Offsets | undefined;
|
|
56
56
|
"top-start"?: import("@popperjs/core").Offsets | undefined;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { type RowProps } from './row.vue';
|
|
2
1
|
export declare const VftRow: import("vft/es/utils").SFCWithInstall<{
|
|
3
2
|
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
4
3
|
tag: {
|
|
@@ -70,5 +69,4 @@ export declare const VftRow: import("vft/es/utils").SFCWithInstall<{
|
|
|
70
69
|
})> & Record<string, any>;
|
|
71
70
|
export * from './constants';
|
|
72
71
|
export * from './types';
|
|
73
|
-
export { type RowProps };
|
|
74
72
|
export default VftRow;
|
|
@@ -1,14 +1,4 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export interface RowProps {
|
|
3
|
-
/** 自定义元素标签 */
|
|
4
|
-
tag?: string;
|
|
5
|
-
/** 栅格间隔 */
|
|
6
|
-
gutter?: number;
|
|
7
|
-
/** flex 布局下的水平排列方式 */
|
|
8
|
-
justify?: RowJustify;
|
|
9
|
-
/** flex 布局下的垂直排列方式 */
|
|
10
|
-
align?: RowAlign;
|
|
11
|
-
}
|
|
1
|
+
import type { RowProps } from './types';
|
|
12
2
|
declare function __VLS_template(): {
|
|
13
3
|
default?(_: {}): any;
|
|
14
4
|
};
|
|
@@ -1,2 +1,12 @@
|
|
|
1
1
|
export type RowJustify = 'start' | 'center' | 'end' | 'space-around' | 'space-between' | 'space-evenly';
|
|
2
2
|
export type RowAlign = 'top' | 'middle' | 'bottom';
|
|
3
|
+
export interface RowProps {
|
|
4
|
+
/** 自定义元素标签 */
|
|
5
|
+
tag?: string;
|
|
6
|
+
/** 栅格间隔 */
|
|
7
|
+
gutter?: number;
|
|
8
|
+
/** flex 布局下的水平排列方式 */
|
|
9
|
+
justify?: RowJustify;
|
|
10
|
+
/** flex 布局下的垂直排列方式 */
|
|
11
|
+
align?: RowAlign;
|
|
12
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export declare const VftSwitch: import("vft/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
2
|
-
width: {
|
|
3
|
-
type: import("vue").PropType<string | number>;
|
|
4
|
-
};
|
|
5
2
|
value: {
|
|
6
3
|
type: import("vue").PropType<string | number | boolean>;
|
|
7
4
|
default: boolean;
|
|
8
5
|
};
|
|
6
|
+
width: {
|
|
7
|
+
type: import("vue").PropType<string | number>;
|
|
8
|
+
};
|
|
9
9
|
borderColor: {
|
|
10
10
|
type: import("vue").PropType<string>;
|
|
11
11
|
};
|
|
@@ -78,13 +78,13 @@ export declare const VftSwitch: import("vft/es/utils").SFCWithInstall<import("vu
|
|
|
78
78
|
change: (...args: any[]) => void;
|
|
79
79
|
input: (...args: any[]) => void;
|
|
80
80
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
81
|
-
width: {
|
|
82
|
-
type: import("vue").PropType<string | number>;
|
|
83
|
-
};
|
|
84
81
|
value: {
|
|
85
82
|
type: import("vue").PropType<string | number | boolean>;
|
|
86
83
|
default: boolean;
|
|
87
84
|
};
|
|
85
|
+
width: {
|
|
86
|
+
type: import("vue").PropType<string | number>;
|
|
87
|
+
};
|
|
88
88
|
borderColor: {
|
|
89
89
|
type: import("vue").PropType<string>;
|
|
90
90
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export declare const VftTable: import("vft/es/utils").SFCWithInstall<{
|
|
2
2
|
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
3
|
-
height: {
|
|
4
|
-
type: import("vue").PropType<import("vxe-table").VxeTablePropTypes.Height>;
|
|
5
|
-
};
|
|
6
3
|
data: {
|
|
7
4
|
type: import("vue").PropType<import("vxe-table").VxeTablePropTypes.Data<import("vxe-table").VxeTableDataRow>>;
|
|
8
5
|
};
|
|
6
|
+
height: {
|
|
7
|
+
type: import("vue").PropType<import("vxe-table").VxeTablePropTypes.Height>;
|
|
8
|
+
};
|
|
9
9
|
maxHeight: {
|
|
10
10
|
type: import("vue").PropType<import("vxe-table").VxeTablePropTypes.MaxHeight>;
|
|
11
11
|
};
|
|
@@ -532,12 +532,12 @@ export declare const VftTable: import("vft/es/utils").SFCWithInstall<{
|
|
|
532
532
|
"toolbar-button-click": (...args: any[]) => void;
|
|
533
533
|
"toolbar-tool-click": (...args: any[]) => void;
|
|
534
534
|
}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
535
|
-
height: {
|
|
536
|
-
type: import("vue").PropType<import("vxe-table").VxeTablePropTypes.Height>;
|
|
537
|
-
};
|
|
538
535
|
data: {
|
|
539
536
|
type: import("vue").PropType<import("vxe-table").VxeTablePropTypes.Data<import("vxe-table").VxeTableDataRow>>;
|
|
540
537
|
};
|
|
538
|
+
height: {
|
|
539
|
+
type: import("vue").PropType<import("vxe-table").VxeTablePropTypes.Height>;
|
|
540
|
+
};
|
|
541
541
|
maxHeight: {
|
|
542
542
|
type: import("vue").PropType<import("vxe-table").VxeTablePropTypes.MaxHeight>;
|
|
543
543
|
};
|
|
@@ -988,12 +988,12 @@ export declare const VftTable: import("vft/es/utils").SFCWithInstall<{
|
|
|
988
988
|
M: {};
|
|
989
989
|
Defaults: {};
|
|
990
990
|
}, Readonly<import("vue").ExtractPropTypes<{
|
|
991
|
-
height: {
|
|
992
|
-
type: import("vue").PropType<import("vxe-table").VxeTablePropTypes.Height>;
|
|
993
|
-
};
|
|
994
991
|
data: {
|
|
995
992
|
type: import("vue").PropType<import("vxe-table").VxeTablePropTypes.Data<import("vxe-table").VxeTableDataRow>>;
|
|
996
993
|
};
|
|
994
|
+
height: {
|
|
995
|
+
type: import("vue").PropType<import("vxe-table").VxeTablePropTypes.Height>;
|
|
996
|
+
};
|
|
997
997
|
maxHeight: {
|
|
998
998
|
type: import("vue").PropType<import("vxe-table").VxeTablePropTypes.MaxHeight>;
|
|
999
999
|
};
|
|
@@ -1458,12 +1458,12 @@ export declare const VftTable: import("vft/es/utils").SFCWithInstall<{
|
|
|
1458
1458
|
__isTeleport?: never;
|
|
1459
1459
|
__isSuspense?: never;
|
|
1460
1460
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
1461
|
-
height: {
|
|
1462
|
-
type: import("vue").PropType<import("vxe-table").VxeTablePropTypes.Height>;
|
|
1463
|
-
};
|
|
1464
1461
|
data: {
|
|
1465
1462
|
type: import("vue").PropType<import("vxe-table").VxeTablePropTypes.Data<import("vxe-table").VxeTableDataRow>>;
|
|
1466
1463
|
};
|
|
1464
|
+
height: {
|
|
1465
|
+
type: import("vue").PropType<import("vxe-table").VxeTablePropTypes.Height>;
|
|
1466
|
+
};
|
|
1467
1467
|
maxHeight: {
|
|
1468
1468
|
type: import("vue").PropType<import("vxe-table").VxeTablePropTypes.MaxHeight>;
|
|
1469
1469
|
};
|
|
@@ -13,7 +13,7 @@ export declare const VftTabs: import("vft/es/utils").SFCWithInstall<import("vue"
|
|
|
13
13
|
type: import("vue").PropType<boolean>;
|
|
14
14
|
};
|
|
15
15
|
tabPosition: {
|
|
16
|
-
type: import("vue").PropType<"
|
|
16
|
+
type: import("vue").PropType<"left" | "right" | "bottom" | "top">;
|
|
17
17
|
};
|
|
18
18
|
beforeLeave: {
|
|
19
19
|
type: import("vue").PropType<Function>;
|
|
@@ -99,7 +99,7 @@ export declare const VftTabs: import("vft/es/utils").SFCWithInstall<import("vue"
|
|
|
99
99
|
type: import("vue").PropType<boolean>;
|
|
100
100
|
};
|
|
101
101
|
tabPosition: {
|
|
102
|
-
type: import("vue").PropType<"
|
|
102
|
+
type: import("vue").PropType<"left" | "right" | "bottom" | "top">;
|
|
103
103
|
};
|
|
104
104
|
beforeLeave: {
|
|
105
105
|
type: import("vue").PropType<Function>;
|
|
@@ -11,7 +11,7 @@ export declare const VftTimeline: import("vft/es/utils").SFCWithInstall<import("
|
|
|
11
11
|
type: import("vue").PropType<boolean>;
|
|
12
12
|
};
|
|
13
13
|
placement: {
|
|
14
|
-
type: import("vue").PropType<"
|
|
14
|
+
type: import("vue").PropType<"bottom" | "top">;
|
|
15
15
|
};
|
|
16
16
|
type: {
|
|
17
17
|
type: import("vue").PropType<"success" | "primary" | "warning" | "info" | "danger">;
|
|
@@ -39,7 +39,7 @@ export declare const VftTimeline: import("vft/es/utils").SFCWithInstall<import("
|
|
|
39
39
|
type: import("vue").PropType<boolean>;
|
|
40
40
|
};
|
|
41
41
|
placement: {
|
|
42
|
-
type: import("vue").PropType<"
|
|
42
|
+
type: import("vue").PropType<"bottom" | "top">;
|
|
43
43
|
};
|
|
44
44
|
type: {
|
|
45
45
|
type: import("vue").PropType<"success" | "primary" | "warning" | "info" | "danger">;
|
|
@@ -74,7 +74,7 @@ export declare const VftTimeline: import("vft/es/utils").SFCWithInstall<import("
|
|
|
74
74
|
type: import("vue").PropType<boolean>;
|
|
75
75
|
};
|
|
76
76
|
placement: {
|
|
77
|
-
type: import("vue").PropType<"
|
|
77
|
+
type: import("vue").PropType<"bottom" | "top">;
|
|
78
78
|
};
|
|
79
79
|
type: {
|
|
80
80
|
type: import("vue").PropType<"success" | "primary" | "warning" | "info" | "danger">;
|
|
@@ -106,7 +106,7 @@ export declare const VftTimeline: import("vft/es/utils").SFCWithInstall<import("
|
|
|
106
106
|
type: import("vue").PropType<boolean>;
|
|
107
107
|
};
|
|
108
108
|
placement: {
|
|
109
|
-
type: import("vue").PropType<"
|
|
109
|
+
type: import("vue").PropType<"bottom" | "top">;
|
|
110
110
|
};
|
|
111
111
|
type: {
|
|
112
112
|
type: import("vue").PropType<"success" | "primary" | "warning" | "info" | "danger">;
|
|
@@ -142,7 +142,7 @@ export declare const VftTimelineItem: import("vft/es/utils").SFCWithInstall<{
|
|
|
142
142
|
type: import("vue").PropType<boolean>;
|
|
143
143
|
};
|
|
144
144
|
placement: {
|
|
145
|
-
type: import("vue").PropType<"
|
|
145
|
+
type: import("vue").PropType<"bottom" | "top">;
|
|
146
146
|
};
|
|
147
147
|
type: {
|
|
148
148
|
type: import("vue").PropType<"success" | "primary" | "warning" | "info" | "danger">;
|
|
@@ -170,7 +170,7 @@ export declare const VftTimelineItem: import("vft/es/utils").SFCWithInstall<{
|
|
|
170
170
|
type: import("vue").PropType<boolean>;
|
|
171
171
|
};
|
|
172
172
|
placement: {
|
|
173
|
-
type: import("vue").PropType<"
|
|
173
|
+
type: import("vue").PropType<"bottom" | "top">;
|
|
174
174
|
};
|
|
175
175
|
type: {
|
|
176
176
|
type: import("vue").PropType<"success" | "primary" | "warning" | "info" | "danger">;
|
|
@@ -205,7 +205,7 @@ export declare const VftTimelineItem: import("vft/es/utils").SFCWithInstall<{
|
|
|
205
205
|
type: import("vue").PropType<boolean>;
|
|
206
206
|
};
|
|
207
207
|
placement: {
|
|
208
|
-
type: import("vue").PropType<"
|
|
208
|
+
type: import("vue").PropType<"bottom" | "top">;
|
|
209
209
|
};
|
|
210
210
|
type: {
|
|
211
211
|
type: import("vue").PropType<"success" | "primary" | "warning" | "info" | "danger">;
|
|
@@ -237,7 +237,7 @@ export declare const VftTimelineItem: import("vft/es/utils").SFCWithInstall<{
|
|
|
237
237
|
type: import("vue").PropType<boolean>;
|
|
238
238
|
};
|
|
239
239
|
placement: {
|
|
240
|
-
type: import("vue").PropType<"
|
|
240
|
+
type: import("vue").PropType<"bottom" | "top">;
|
|
241
241
|
};
|
|
242
242
|
type: {
|
|
243
243
|
type: import("vue").PropType<"success" | "primary" | "warning" | "info" | "danger">;
|
|
@@ -41,11 +41,11 @@ export declare const usePopper: (referenceElementRef: Ref<ReferenceElement>, pop
|
|
|
41
41
|
popperEscapeOffsets: import("@popperjs/core").SideObject;
|
|
42
42
|
};
|
|
43
43
|
offset?: {
|
|
44
|
-
|
|
45
|
-
bottom?: import("@popperjs/core").Offsets | undefined;
|
|
44
|
+
auto?: import("@popperjs/core").Offsets | undefined;
|
|
46
45
|
left?: import("@popperjs/core").Offsets | undefined;
|
|
47
46
|
right?: import("@popperjs/core").Offsets | undefined;
|
|
48
|
-
|
|
47
|
+
bottom?: import("@popperjs/core").Offsets | undefined;
|
|
48
|
+
top?: import("@popperjs/core").Offsets | undefined;
|
|
49
49
|
"auto-start"?: import("@popperjs/core").Offsets | undefined;
|
|
50
50
|
"auto-end"?: import("@popperjs/core").Offsets | undefined;
|
|
51
51
|
"top-start"?: import("@popperjs/core").Offsets | undefined;
|
package/es/package.json.d.ts
CHANGED
package/es/package.json.js
CHANGED
package/es/utils/ns-cover.js
CHANGED
|
@@ -1,25 +1,26 @@
|
|
|
1
|
-
import { useGlobalConfig as
|
|
2
|
-
import { cssVarValue as i, generateCssVars as r, isObject as m, setStyle as o, mixColor as
|
|
1
|
+
import { useGlobalConfig as l } from "../components/config-provider/hooks/use-global-config.js";
|
|
2
|
+
import { cssVarValue as i, generateCssVars as r, isObject as m, setStyle as o, mixColor as t } from "@vft/utils";
|
|
3
3
|
import { unref as a } from "vue";
|
|
4
|
-
const c =
|
|
5
|
-
function g(e,
|
|
6
|
-
return r(e,
|
|
4
|
+
const c = l("namespace"), V = (e, s = document.documentElement, f = !0) => i(e, s, a(c), f), p = () => V("primary-color");
|
|
5
|
+
function g(e, s) {
|
|
6
|
+
return r(e, s, a(c));
|
|
7
7
|
}
|
|
8
|
-
function v(e,
|
|
8
|
+
function v(e, s, f = "", u = document.documentElement) {
|
|
9
9
|
let n;
|
|
10
10
|
m(e) ? n = e : n = {
|
|
11
|
-
[e]:
|
|
12
|
-
}, o(g(n, f), "",
|
|
11
|
+
[e]: s
|
|
12
|
+
}, o(g(n, f), "", u, !1);
|
|
13
13
|
}
|
|
14
14
|
function E(e) {
|
|
15
15
|
o(
|
|
16
16
|
r(
|
|
17
17
|
{
|
|
18
|
-
"light-3":
|
|
19
|
-
"light-5":
|
|
20
|
-
"light-7":
|
|
21
|
-
"light-8":
|
|
22
|
-
"light-9":
|
|
18
|
+
"light-3": t(e, "#fff", 0.7),
|
|
19
|
+
"light-5": t(e, "#fff", 0.5),
|
|
20
|
+
"light-7": t(e, "#fff", 0.3),
|
|
21
|
+
"light-8": t(e, "#fff", 0.2),
|
|
22
|
+
"light-9": t(e, "#fff", 0.1),
|
|
23
|
+
"dark-2": t(e, "#fff", 0.8)
|
|
23
24
|
},
|
|
24
25
|
"primary-color",
|
|
25
26
|
"vft"
|
|
@@ -4,7 +4,7 @@ export declare const affixProps: {
|
|
|
4
4
|
readonly zIndex: import("vft/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 100, boolean>;
|
|
5
5
|
readonly target: import("vft/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
6
6
|
readonly offset: import("vft/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
7
|
-
readonly position: import("vft/es/utils").EpPropFinalized<StringConstructor, "
|
|
7
|
+
readonly position: import("vft/es/utils").EpPropFinalized<StringConstructor, "bottom" | "top", unknown, "top", boolean>;
|
|
8
8
|
};
|
|
9
9
|
export type AffixProps = ExtractPropTypes<typeof affixProps>;
|
|
10
10
|
export declare const affixEmits: {
|