vft 0.0.243 → 0.0.244
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/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 +6 -6
- package/es/components/autocomplete/autocomplete.vue.d.ts +4 -4
- package/es/components/autocomplete/index.d.ts +12 -12
- package/es/components/avatar/index.d.ts +3 -3
- package/es/components/button/button.vue.d.ts +2 -2
- package/es/components/button/index.d.ts +24 -24
- package/es/components/button/use-button.d.ts +2 -2
- package/es/components/carousel/carousel.vue.d.ts +1 -1
- package/es/components/carousel/index.d.ts +15 -15
- package/es/components/checkbox/composables/use-checkbox-status.d.ts +2 -2
- package/es/components/checkbox/composables/use-checkbox.d.ts +2 -2
- package/es/components/checkbox/index.d.ts +51 -51
- package/es/components/col/col.vue.d.ts +1 -1
- package/es/components/col/index.d.ts +9 -9
- package/es/components/color-picker/index.d.ts +8 -8
- package/es/components/date-picker/date-picker.d.ts +3 -3
- package/es/components/date-picker/index.d.ts +6 -6
- package/es/components/date-picker/props/date-picker.d.ts +1 -1
- package/es/components/divider/index.d.ts +3 -3
- package/es/components/dropdown/dropdown.vue.d.ts +1 -1
- package/es/components/focus-trap/utils.d.ts +1 -1
- package/es/components/form/form-item.vue.d.ts +2 -2
- package/es/components/form/hooks/use-form-common-props.d.ts +2 -2
- package/es/components/form/index.d.ts +48 -48
- package/es/components/input/index.d.ts +3 -3
- package/es/components/input/input.vue2.js +4 -4
- package/es/components/input-number/index.d.ts +2 -2
- package/es/components/popper/composables/use-content.d.ts +3 -3
- package/es/components/radio/index.d.ts +48 -48
- package/es/components/radio/radio.vue.d.ts +1 -1
- package/es/components/radio/use-radio.d.ts +1 -1
- package/es/components/roving-focus-group/roving-focus-group-impl.vue.d.ts +2 -2
- package/es/components/select/useSelect.d.ts +5 -5
- package/es/components/slider/index.d.ts +4 -4
- package/es/components/space/index.d.ts +3 -3
- package/es/components/space/space.d.ts +4 -4
- package/es/components/switch/index.d.ts +15 -15
- package/es/components/switch/switch.vue.d.ts +1 -1
- package/es/components/tabs/index.d.ts +3 -3
- package/es/components/tabs/tab-pane.vue2.js +37 -35
- package/es/components/tabs/tabs.vue.d.ts +1 -1
- package/es/components/tabs/tabs.vue2.js +61 -61
- package/es/components/time-picker/common/picker.vue.d.ts +3 -3
- package/es/components/time-picker/common/props.d.ts +1 -1
- package/es/components/time-picker/index.d.ts +6 -6
- package/es/components/time-picker/time-picker.d.ts +3 -3
- package/es/components/time-select/time-select.vue.d.ts +1 -1
- package/es/components/timeline/index.d.ts +6 -6
- package/es/components/tree/tree-node.vue.d.ts +36 -36
- package/es/components/upload/index.d.ts +9 -9
- package/es/hooks/use-ordered-children/index.js +25 -25
- package/es/hooks/use-popper/index.d.ts +3 -3
- package/es/hooks/use-size/index.d.ts +1 -1
- package/es/package.json.d.ts +1 -1
- package/es/package.json.js +1 -1
- 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 +6 -6
- package/lib/components/autocomplete/autocomplete.vue.d.ts +4 -4
- package/lib/components/autocomplete/index.d.ts +12 -12
- package/lib/components/avatar/index.d.ts +3 -3
- package/lib/components/button/button.vue.d.ts +2 -2
- package/lib/components/button/index.d.ts +24 -24
- package/lib/components/button/use-button.d.ts +2 -2
- package/lib/components/carousel/carousel.vue.d.ts +1 -1
- package/lib/components/carousel/index.d.ts +15 -15
- package/lib/components/checkbox/composables/use-checkbox-status.d.ts +2 -2
- package/lib/components/checkbox/composables/use-checkbox.d.ts +2 -2
- package/lib/components/checkbox/index.d.ts +51 -51
- package/lib/components/col/col.vue.d.ts +1 -1
- package/lib/components/col/index.d.ts +9 -9
- package/lib/components/color-picker/index.d.ts +8 -8
- package/lib/components/date-picker/date-picker.d.ts +3 -3
- package/lib/components/date-picker/index.d.ts +6 -6
- package/lib/components/date-picker/props/date-picker.d.ts +1 -1
- package/lib/components/divider/index.d.ts +3 -3
- package/lib/components/dropdown/dropdown.vue.d.ts +1 -1
- package/lib/components/focus-trap/utils.d.ts +1 -1
- package/lib/components/form/form-item.vue.d.ts +2 -2
- package/lib/components/form/hooks/use-form-common-props.d.ts +2 -2
- package/lib/components/form/index.d.ts +48 -48
- package/lib/components/input/index.d.ts +3 -3
- package/lib/components/input/input.vue2.cjs +1 -1
- package/lib/components/input-number/index.d.ts +2 -2
- package/lib/components/popper/composables/use-content.d.ts +3 -3
- package/lib/components/radio/index.d.ts +48 -48
- package/lib/components/radio/radio.vue.d.ts +1 -1
- package/lib/components/radio/use-radio.d.ts +1 -1
- package/lib/components/roving-focus-group/roving-focus-group-impl.vue.d.ts +2 -2
- package/lib/components/select/useSelect.d.ts +5 -5
- package/lib/components/slider/index.d.ts +4 -4
- package/lib/components/space/index.d.ts +3 -3
- package/lib/components/space/space.d.ts +4 -4
- package/lib/components/switch/index.d.ts +15 -15
- package/lib/components/switch/switch.vue.d.ts +1 -1
- package/lib/components/tabs/index.d.ts +3 -3
- package/lib/components/tabs/tab-pane.vue2.cjs +1 -1
- package/lib/components/tabs/tabs.vue.d.ts +1 -1
- package/lib/components/tabs/tabs.vue2.cjs +1 -1
- package/lib/components/time-picker/common/picker.vue.d.ts +3 -3
- package/lib/components/time-picker/common/props.d.ts +1 -1
- package/lib/components/time-picker/index.d.ts +6 -6
- package/lib/components/time-picker/time-picker.d.ts +3 -3
- package/lib/components/time-select/time-select.vue.d.ts +1 -1
- package/lib/components/timeline/index.d.ts +6 -6
- package/lib/components/tree/tree-node.vue.d.ts +36 -36
- package/lib/components/upload/index.d.ts +9 -9
- package/lib/hooks/use-ordered-children/index.cjs +1 -1
- package/lib/hooks/use-popper/index.d.ts +3 -3
- package/lib/hooks/use-size/index.d.ts +1 -1
- package/lib/package.json.cjs +1 -1
- package/lib/package.json.d.ts +1 -1
- package/package.json +3 -3
- package/web-types.json +1 -1
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { eagerComputed as
|
|
1
|
+
import { defineComponent as b, getCurrentInstance as C, useSlots as g, inject as R, ref as i, computed as f, watch as k, reactive as w, onBeforeUnmount as N, onBeforeUpdate as _, withDirectives as $, createCommentVNode as x, unref as n, createElementBlock as z, openBlock as E, normalizeClass as P, renderSlot as S, vShow as I } from "vue";
|
|
2
|
+
import { eagerComputed as v } from "@vueuse/core";
|
|
3
3
|
import "@vft/utils";
|
|
4
|
-
import { throwError as
|
|
4
|
+
import { throwError as U } from "../../utils/error.js";
|
|
5
5
|
import "../../utils/ns-cover.js";
|
|
6
6
|
import "lodash-es";
|
|
7
|
-
import { useNamespace as
|
|
7
|
+
import { useNamespace as V } from "../../hooks/use-namespace/index.js";
|
|
8
8
|
import "../../hooks/use-model-toggle/index.js";
|
|
9
9
|
import "@popperjs/core";
|
|
10
10
|
import "../../hooks/use-z-index/index.js";
|
|
11
|
-
import { TabsRootContextKey as
|
|
12
|
-
const
|
|
11
|
+
import { TabsRootContextKey as j } from "./types.js";
|
|
12
|
+
const D = ["id", "aria-hidden", "aria-labelledby"], F = b({
|
|
13
13
|
name: "vft-tab-pane"
|
|
14
|
-
}),
|
|
15
|
-
...
|
|
14
|
+
}), X = /* @__PURE__ */ b({
|
|
15
|
+
...F,
|
|
16
16
|
props: {
|
|
17
17
|
label: {},
|
|
18
18
|
name: {},
|
|
@@ -21,46 +21,48 @@ const K = ["id", "aria-hidden", "aria-labelledby"], M = f({
|
|
|
21
21
|
lazy: { type: Boolean }
|
|
22
22
|
},
|
|
23
23
|
setup(a) {
|
|
24
|
-
const c =
|
|
25
|
-
|
|
26
|
-
const
|
|
27
|
-
() =>
|
|
28
|
-
), m = i(
|
|
29
|
-
() => !a.lazy || m.value ||
|
|
30
|
-
);
|
|
31
|
-
|
|
24
|
+
const c = V("tab-pane"), o = C(), u = g(), e = R(j);
|
|
25
|
+
e || U(c.b(), "usage: <vft-tabs><vft-tab-pane /></vft-tabs/>");
|
|
26
|
+
const d = i(), r = i(), h = f(() => a.closable || e.props.closable), t = v(
|
|
27
|
+
() => e.currentName.value === (a.name ?? r.value)
|
|
28
|
+
), m = i(t.value), s = f(() => a.name ?? r.value), y = v(
|
|
29
|
+
() => !a.lazy || m.value || t.value
|
|
30
|
+
), B = () => d.value?.contains(document.activeElement);
|
|
31
|
+
k(t, (l) => {
|
|
32
32
|
l && (m.value = !0);
|
|
33
33
|
});
|
|
34
|
-
const p =
|
|
35
|
-
uid:
|
|
36
|
-
|
|
37
|
-
|
|
34
|
+
const p = w({
|
|
35
|
+
uid: o.uid,
|
|
36
|
+
getVnode: () => o.vnode,
|
|
37
|
+
slots: u,
|
|
38
|
+
props: o.props,
|
|
38
39
|
paneName: s,
|
|
39
|
-
active:
|
|
40
|
+
active: t,
|
|
40
41
|
index: r,
|
|
41
|
-
isClosable:
|
|
42
|
-
|
|
42
|
+
isClosable: h,
|
|
43
|
+
isFocusInsidePane: B,
|
|
44
|
+
attrs: o.attrs
|
|
43
45
|
});
|
|
44
|
-
return
|
|
45
|
-
|
|
46
|
-
}),
|
|
47
|
-
|
|
48
|
-
}), (l,
|
|
46
|
+
return e.registerPane(p), N(() => {
|
|
47
|
+
e.unregisterPane(p.uid);
|
|
48
|
+
}), _(() => {
|
|
49
|
+
u.label && e.nav$.value?.scheduleRender();
|
|
50
|
+
}), (l, K) => n(y) ? $((E(), z("div", {
|
|
49
51
|
key: 0,
|
|
50
52
|
id: `pane-${s.value}`,
|
|
51
53
|
ref_key: "paneRef",
|
|
52
|
-
ref:
|
|
53
|
-
class:
|
|
54
|
+
ref: d,
|
|
55
|
+
class: P(n(c).b()),
|
|
54
56
|
role: "tabpanel",
|
|
55
|
-
"aria-hidden": !
|
|
57
|
+
"aria-hidden": !n(t),
|
|
56
58
|
"aria-labelledby": `tab-${s.value}`
|
|
57
59
|
}, [
|
|
58
|
-
|
|
59
|
-
], 10,
|
|
60
|
-
[
|
|
60
|
+
S(l.$slots, "default")
|
|
61
|
+
], 10, D)), [
|
|
62
|
+
[I, n(t)]
|
|
61
63
|
]) : x("", !0);
|
|
62
64
|
}
|
|
63
65
|
});
|
|
64
66
|
export {
|
|
65
|
-
|
|
67
|
+
X as default
|
|
66
68
|
};
|
|
@@ -27,7 +27,7 @@ export interface TabsProps {
|
|
|
27
27
|
trigger?: 'click' | 'hover';
|
|
28
28
|
}
|
|
29
29
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<TabsProps>>, {
|
|
30
|
-
currentName: import("vue").Ref<
|
|
30
|
+
currentName: import("vue").Ref<string | number, string | number>;
|
|
31
31
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
32
32
|
"update:modelValue": (name: string | number) => void;
|
|
33
33
|
tabClick: (pane: {
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { defineComponent as I, getCurrentInstance as
|
|
1
|
+
import { defineComponent as I, getCurrentInstance as h, useSlots as M, computed as l, ref as C, watch as g, nextTick as U, createVNode as c, provide as W } from "vue";
|
|
2
2
|
import "@vueuse/core";
|
|
3
3
|
import { isUndefined as v } from "@vft/utils";
|
|
4
4
|
import "../../utils/ns-cover.js";
|
|
5
5
|
import "lodash-es";
|
|
6
|
-
import { useNamespace as
|
|
6
|
+
import { useNamespace as $ } from "../../hooks/use-namespace/index.js";
|
|
7
7
|
import "../../hooks/use-model-toggle/index.js";
|
|
8
|
-
import { useOrderedChildren as
|
|
8
|
+
import { useOrderedChildren as D } from "../../hooks/use-ordered-children/index.js";
|
|
9
9
|
import "@popperjs/core";
|
|
10
10
|
import "../../hooks/use-z-index/index.js";
|
|
11
|
-
import { UPDATE_MODEL_EVENT as
|
|
12
|
-
import
|
|
13
|
-
import { TabsRootContextKey as
|
|
14
|
-
const
|
|
11
|
+
import { UPDATE_MODEL_EVENT as O } from "@vft/constants";
|
|
12
|
+
import K from "./tab-nav.vue2.js";
|
|
13
|
+
import { TabsRootContextKey as j } from "./types.js";
|
|
14
|
+
const q = I({
|
|
15
15
|
name: "vft-tabs"
|
|
16
|
-
}),
|
|
17
|
-
...
|
|
16
|
+
}), ie = /* @__PURE__ */ I({
|
|
17
|
+
...q,
|
|
18
18
|
props: {
|
|
19
19
|
closable: {
|
|
20
20
|
type: Boolean
|
|
@@ -57,106 +57,106 @@ const j = I({
|
|
|
57
57
|
expose: w,
|
|
58
58
|
emit: x
|
|
59
59
|
}) {
|
|
60
|
-
const n = x, r =
|
|
61
|
-
children:
|
|
62
|
-
addChild:
|
|
63
|
-
removeChild:
|
|
64
|
-
ChildrenSorter:
|
|
65
|
-
} =
|
|
60
|
+
const n = x, r = $("tabs"), T = h(), f = M(), p = l(() => ["left", "right"].includes(t.tabPosition)), {
|
|
61
|
+
children: u,
|
|
62
|
+
addChild: P,
|
|
63
|
+
removeChild: R,
|
|
64
|
+
ChildrenSorter: y
|
|
65
|
+
} = D(h(), "vft-tab-pane"), s = C(), i = C(t.modelValue ?? "0"), m = async (e, a = !1) => {
|
|
66
66
|
if (!(i.value === e || v(e)))
|
|
67
67
|
try {
|
|
68
68
|
let o;
|
|
69
69
|
if (t.beforeLeave) {
|
|
70
|
-
const
|
|
71
|
-
o =
|
|
70
|
+
const d = t.beforeLeave(e, i.value);
|
|
71
|
+
o = d instanceof Promise ? await d : d;
|
|
72
72
|
} else
|
|
73
73
|
o = !0;
|
|
74
74
|
if (o !== !1) {
|
|
75
|
-
const
|
|
76
|
-
i.value = e, a && (n(
|
|
75
|
+
const d = u.value.find((F) => F.paneName === i.value)?.isFocusInsidePane();
|
|
76
|
+
i.value = e, a && (n(O, e), n("tabChange", e)), s.value?.removeFocus?.(), d && s.value?.focusActiveTab();
|
|
77
77
|
}
|
|
78
78
|
} catch {
|
|
79
79
|
}
|
|
80
|
-
},
|
|
81
|
-
e.props.disabled || (n("tabClick", e, o),
|
|
82
|
-
},
|
|
80
|
+
}, L = (e, a, o) => {
|
|
81
|
+
e.props.disabled || (n("tabClick", e, o), m(a, !0));
|
|
82
|
+
}, V = (e, a) => {
|
|
83
83
|
e.props.disabled || v(e.props.name) || (a.stopPropagation(), n("edit", e.props.name, "remove"), n("tabRemove", e.props.name));
|
|
84
|
-
},
|
|
84
|
+
}, B = () => {
|
|
85
85
|
n("edit", void 0, "add"), n("tabAdd");
|
|
86
|
-
},
|
|
86
|
+
}, b = (e) => {
|
|
87
87
|
const a = e.el.firstChild, o = ["bottom", "right"].includes(t.tabPosition) ? e.children[0].el : e.children[1].el;
|
|
88
88
|
a !== o && a.before(o);
|
|
89
89
|
};
|
|
90
|
-
g(() => t.modelValue, (e) =>
|
|
91
|
-
await
|
|
90
|
+
g(() => t.modelValue, (e) => m(e)), g(i, async () => {
|
|
91
|
+
await U(), s.value?.scrollToActiveTab();
|
|
92
92
|
});
|
|
93
|
-
const
|
|
93
|
+
const N = (e, a, o) => {
|
|
94
94
|
n("tabContextMenu", e, a, o);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
|
|
95
|
+
}, A = l(() => c("div", {
|
|
96
|
+
class: r.e("content")
|
|
97
|
+
}, [f.default?.()]));
|
|
98
|
+
W(j, {
|
|
99
|
+
props: T.props,
|
|
98
100
|
currentName: i,
|
|
99
|
-
registerPane:
|
|
100
|
-
unregisterPane:
|
|
101
|
-
nav$:
|
|
101
|
+
registerPane: P,
|
|
102
|
+
unregisterPane: R,
|
|
103
|
+
nav$: s
|
|
102
104
|
}), w({
|
|
103
105
|
currentName: i
|
|
104
106
|
});
|
|
105
|
-
const
|
|
107
|
+
const E = l(() => ({
|
|
106
108
|
icon: "icon-plus",
|
|
107
109
|
size: 12,
|
|
108
110
|
...t.addIconCfg
|
|
109
|
-
})),
|
|
111
|
+
})), k = l(() => ({
|
|
110
112
|
icon: "icon-close",
|
|
111
113
|
size: 14,
|
|
112
114
|
...t.closeIconCfg
|
|
113
|
-
})),
|
|
115
|
+
})), S = l(() => ({
|
|
114
116
|
icon: "icon-arrow-left",
|
|
115
117
|
size: 18,
|
|
116
118
|
...t.arrowLeftIconCfg
|
|
117
|
-
})),
|
|
119
|
+
})), z = l(() => ({
|
|
118
120
|
icon: "icon-arrow-right",
|
|
119
121
|
size: 18,
|
|
120
122
|
...t.arrowRightIconCfg
|
|
121
123
|
}));
|
|
122
124
|
return () => {
|
|
123
|
-
const e = () =>
|
|
124
|
-
ref:
|
|
125
|
+
const e = () => c(K, {
|
|
126
|
+
ref: s,
|
|
125
127
|
currentName: i.value,
|
|
126
128
|
editable: t.editable,
|
|
127
|
-
panes:
|
|
129
|
+
panes: u.value,
|
|
128
130
|
stretch: t.stretch,
|
|
129
131
|
showBar: t.showBar,
|
|
130
|
-
closeIconCfg:
|
|
131
|
-
addIconCfg:
|
|
132
|
-
arrowRightIconCfg:
|
|
133
|
-
arrowLeftIconCfg:
|
|
132
|
+
closeIconCfg: k.value,
|
|
133
|
+
addIconCfg: E.value,
|
|
134
|
+
arrowRightIconCfg: z.value,
|
|
135
|
+
arrowLeftIconCfg: S.value,
|
|
134
136
|
fixTabCount: t.fixTabCount,
|
|
135
137
|
fixExtraScrollWidth: t.fixExtraScrollWidth,
|
|
136
138
|
addable: t.addable,
|
|
137
139
|
trigger: t.trigger,
|
|
138
|
-
onTabClick:
|
|
139
|
-
onTabRemove:
|
|
140
|
-
onTabAdd:
|
|
141
|
-
onTabContextmenu:
|
|
142
|
-
}, null)
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
onVnodeMounted: C,
|
|
146
|
-
onVnodeUpdated: C
|
|
147
|
-
}, [l("div", {
|
|
148
|
-
className: r.e("content")
|
|
149
|
-
}, [f.default?.()]), l("div", {
|
|
150
|
-
class: [r.e("header"), T.value && r.e("header-vertical"), r.is(t.tabPosition)]
|
|
151
|
-
}, [l(R, null, {
|
|
140
|
+
onTabClick: L,
|
|
141
|
+
onTabRemove: V,
|
|
142
|
+
onTabAdd: B,
|
|
143
|
+
onTabContextmenu: N
|
|
144
|
+
}, null), a = c("div", {
|
|
145
|
+
class: [r.e("header"), p.value && r.e("header-vertical"), r.is(t.tabPosition)]
|
|
146
|
+
}, [c(y, null, {
|
|
152
147
|
default: e,
|
|
153
148
|
$stable: !0
|
|
154
|
-
}), f.navRight ?
|
|
149
|
+
}), f.navRight ? c("div", {
|
|
155
150
|
class: "nav-right"
|
|
156
|
-
}, [f.navRight?.()]) : null])
|
|
151
|
+
}, [f.navRight?.()]) : null]);
|
|
152
|
+
return c("div", {
|
|
153
|
+
class: [r.b(), r.m(t.tabPosition)],
|
|
154
|
+
onVnodeMounted: b,
|
|
155
|
+
onVnodeUpdated: b
|
|
156
|
+
}, [A.value, a]);
|
|
157
157
|
};
|
|
158
158
|
}
|
|
159
159
|
});
|
|
160
160
|
export {
|
|
161
|
-
|
|
161
|
+
ie as default
|
|
162
162
|
};
|
|
@@ -72,7 +72,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
72
72
|
readonly editable: import("vft/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
73
73
|
readonly prefixIcon: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | (((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component)) | null)[], unknown, unknown, "", boolean>;
|
|
74
74
|
readonly size: {
|
|
75
|
-
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
75
|
+
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
|
76
76
|
readonly required: false;
|
|
77
77
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
78
78
|
__epPropKey: true;
|
|
@@ -185,7 +185,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
185
185
|
readonly editable: import("vft/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
186
186
|
readonly prefixIcon: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | (((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component)) | null)[], unknown, unknown, "", boolean>;
|
|
187
187
|
readonly size: {
|
|
188
|
-
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
188
|
+
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
|
189
189
|
readonly required: false;
|
|
190
190
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
191
191
|
__epPropKey: true;
|
|
@@ -222,9 +222,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
222
222
|
"onVisible-change"?: ((...args: any[]) => any) | undefined;
|
|
223
223
|
}>, {
|
|
224
224
|
readonly label: string;
|
|
225
|
+
readonly disabled: import("vft/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
225
226
|
readonly name: import("vft/es/utils").EpPropMergeType<(new (...args: any[]) => string | [string, string]) | (() => SingleOrRange<string>) | (((new (...args: any[]) => string | [string, string]) | (() => SingleOrRange<string>)) | null)[], unknown, unknown>;
|
|
226
227
|
readonly type: string;
|
|
227
|
-
readonly disabled: import("vft/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
228
228
|
readonly modelValue: import("vft/es/utils").EpPropMergeType<(new (...args: any[]) => string | number | Date | [DateModelType, DateModelType]) | (() => import("./props").ModelValueType) | (((new (...args: any[]) => string | number | Date | [DateModelType, DateModelType]) | (() => import("./props").ModelValueType)) | null)[], unknown, unknown>;
|
|
229
229
|
readonly readonly: import("vft/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
230
230
|
readonly placeholder: string;
|
|
@@ -63,7 +63,7 @@ export declare const timePickerDefaultProps: {
|
|
|
63
63
|
readonly editable: import("vft/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
64
64
|
readonly prefixIcon: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | (((new (...args: any[]) => (string | Component) & {}) | (() => string | Component)) | null)[], unknown, unknown, "", boolean>;
|
|
65
65
|
readonly size: {
|
|
66
|
-
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
66
|
+
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
|
67
67
|
readonly required: false;
|
|
68
68
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
69
69
|
__epPropKey: true;
|
|
@@ -60,7 +60,7 @@ declare const _TimePicker: import("vue").DefineComponent<import("vue").ExtractPr
|
|
|
60
60
|
editable: import("vft/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
61
61
|
prefixIcon: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | (((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component)) | null)[], unknown, unknown, "", boolean>;
|
|
62
62
|
size: {
|
|
63
|
-
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
63
|
+
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
|
64
64
|
readonly required: false;
|
|
65
65
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
66
66
|
__epPropKey: true;
|
|
@@ -142,7 +142,7 @@ declare const _TimePicker: import("vue").DefineComponent<import("vue").ExtractPr
|
|
|
142
142
|
editable: import("vft/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
143
143
|
prefixIcon: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | (((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component)) | null)[], unknown, unknown, "", boolean>;
|
|
144
144
|
size: {
|
|
145
|
-
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
145
|
+
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
|
146
146
|
readonly required: false;
|
|
147
147
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
148
148
|
__epPropKey: true;
|
|
@@ -171,9 +171,9 @@ declare const _TimePicker: import("vue").DefineComponent<import("vue").ExtractPr
|
|
|
171
171
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
172
172
|
}>, {
|
|
173
173
|
label: string;
|
|
174
|
+
disabled: import("vft/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
174
175
|
name: import("vft/es/utils").EpPropMergeType<(new (...args: any[]) => string | [string, string]) | (() => import("./common/props").SingleOrRange<string>) | (((new (...args: any[]) => string | [string, string]) | (() => import("./common/props").SingleOrRange<string>)) | null)[], unknown, unknown>;
|
|
175
176
|
type: string;
|
|
176
|
-
disabled: import("vft/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
177
177
|
modelValue: import("vft/es/utils").EpPropMergeType<(new (...args: any[]) => string | number | Date | [import("./common/props").DateModelType, import("./common/props").DateModelType]) | (() => import("./common/props").ModelValueType) | (((new (...args: any[]) => string | number | Date | [import("./common/props").DateModelType, import("./common/props").DateModelType]) | (() => import("./common/props").ModelValueType)) | null)[], unknown, unknown>;
|
|
178
178
|
readonly: import("vft/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
179
179
|
placeholder: string;
|
|
@@ -250,7 +250,7 @@ export declare const VftTimePicker: import("vue").DefineComponent<import("vue").
|
|
|
250
250
|
editable: import("vft/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
251
251
|
prefixIcon: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | (((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component)) | null)[], unknown, unknown, "", boolean>;
|
|
252
252
|
size: {
|
|
253
|
-
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
253
|
+
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
|
254
254
|
readonly required: false;
|
|
255
255
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
256
256
|
__epPropKey: true;
|
|
@@ -332,7 +332,7 @@ export declare const VftTimePicker: import("vue").DefineComponent<import("vue").
|
|
|
332
332
|
editable: import("vft/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
333
333
|
prefixIcon: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | (((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component)) | null)[], unknown, unknown, "", boolean>;
|
|
334
334
|
size: {
|
|
335
|
-
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
335
|
+
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
|
336
336
|
readonly required: false;
|
|
337
337
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
338
338
|
__epPropKey: true;
|
|
@@ -361,9 +361,9 @@ export declare const VftTimePicker: import("vue").DefineComponent<import("vue").
|
|
|
361
361
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
362
362
|
}>, {
|
|
363
363
|
label: string;
|
|
364
|
+
disabled: import("vft/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
364
365
|
name: import("vft/es/utils").EpPropMergeType<(new (...args: any[]) => string | [string, string]) | (() => import("./common/props").SingleOrRange<string>) | (((new (...args: any[]) => string | [string, string]) | (() => import("./common/props").SingleOrRange<string>)) | null)[], unknown, unknown>;
|
|
365
366
|
type: string;
|
|
366
|
-
disabled: import("vft/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
367
367
|
modelValue: import("vft/es/utils").EpPropMergeType<(new (...args: any[]) => string | number | Date | [import("./common/props").DateModelType, import("./common/props").DateModelType]) | (() => import("./common/props").ModelValueType) | (((new (...args: any[]) => string | number | Date | [import("./common/props").DateModelType, import("./common/props").DateModelType]) | (() => import("./common/props").ModelValueType)) | null)[], unknown, unknown>;
|
|
368
368
|
readonly: import("vft/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
369
369
|
placeholder: string;
|
|
@@ -58,7 +58,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
58
58
|
editable: import("vft/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
59
59
|
prefixIcon: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | (((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component)) | null)[], unknown, unknown, "", boolean>;
|
|
60
60
|
size: {
|
|
61
|
-
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
61
|
+
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
|
62
62
|
readonly required: false;
|
|
63
63
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
64
64
|
__epPropKey: true;
|
|
@@ -143,7 +143,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
143
143
|
editable: import("vft/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
144
144
|
prefixIcon: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | (((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component)) | null)[], unknown, unknown, "", boolean>;
|
|
145
145
|
size: {
|
|
146
|
-
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
146
|
+
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
|
147
147
|
readonly required: false;
|
|
148
148
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
149
149
|
__epPropKey: true;
|
|
@@ -172,9 +172,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
172
172
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
173
173
|
}>, {
|
|
174
174
|
label: string;
|
|
175
|
+
disabled: import("vft/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
175
176
|
name: import("vft/es/utils").EpPropMergeType<(new (...args: any[]) => string | [string, string]) | (() => import("./common/props").SingleOrRange<string>) | (((new (...args: any[]) => string | [string, string]) | (() => import("./common/props").SingleOrRange<string>)) | null)[], unknown, unknown>;
|
|
176
177
|
type: string;
|
|
177
|
-
disabled: import("vft/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
178
178
|
modelValue: import("vft/es/utils").EpPropMergeType<(new (...args: any[]) => string | number | Date | [import("./common/props").DateModelType, import("./common/props").DateModelType]) | (() => import("./common/props").ModelValueType) | (((new (...args: any[]) => string | number | Date | [import("./common/props").DateModelType, import("./common/props").DateModelType]) | (() => import("./common/props").ModelValueType)) | null)[], unknown, unknown>;
|
|
179
179
|
readonly: import("vft/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
180
180
|
placeholder: string;
|
|
@@ -76,9 +76,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
76
76
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
77
77
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
78
78
|
}>, {
|
|
79
|
+
readonly disabled: boolean;
|
|
79
80
|
readonly start: string;
|
|
80
81
|
readonly end: string;
|
|
81
|
-
readonly disabled: boolean;
|
|
82
82
|
readonly effect: string;
|
|
83
83
|
readonly clearable: import("vft/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
84
84
|
readonly format: string;
|
|
@@ -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<"top" | "bottom">;
|
|
15
15
|
};
|
|
16
16
|
type: {
|
|
17
17
|
type: import("vue").PropType<"success" | "primary" | "warning" | "info" | "danger">;
|
|
@@ -46,7 +46,7 @@ export declare const VftTimeline: import("vft/es/utils").SFCWithInstall<import("
|
|
|
46
46
|
type: import("vue").PropType<boolean>;
|
|
47
47
|
};
|
|
48
48
|
placement: {
|
|
49
|
-
type: import("vue").PropType<"
|
|
49
|
+
type: import("vue").PropType<"top" | "bottom">;
|
|
50
50
|
};
|
|
51
51
|
type: {
|
|
52
52
|
type: import("vue").PropType<"success" | "primary" | "warning" | "info" | "danger">;
|
|
@@ -78,7 +78,7 @@ export declare const VftTimeline: import("vft/es/utils").SFCWithInstall<import("
|
|
|
78
78
|
type: import("vue").PropType<boolean>;
|
|
79
79
|
};
|
|
80
80
|
placement: {
|
|
81
|
-
type: import("vue").PropType<"
|
|
81
|
+
type: import("vue").PropType<"top" | "bottom">;
|
|
82
82
|
};
|
|
83
83
|
type: {
|
|
84
84
|
type: import("vue").PropType<"success" | "primary" | "warning" | "info" | "danger">;
|
|
@@ -114,7 +114,7 @@ export declare const VftTimelineItem: import("vft/es/utils").SFCWithInstall<{
|
|
|
114
114
|
type: import("vue").PropType<boolean>;
|
|
115
115
|
};
|
|
116
116
|
placement: {
|
|
117
|
-
type: import("vue").PropType<"
|
|
117
|
+
type: import("vue").PropType<"top" | "bottom">;
|
|
118
118
|
};
|
|
119
119
|
type: {
|
|
120
120
|
type: import("vue").PropType<"success" | "primary" | "warning" | "info" | "danger">;
|
|
@@ -149,7 +149,7 @@ export declare const VftTimelineItem: import("vft/es/utils").SFCWithInstall<{
|
|
|
149
149
|
type: import("vue").PropType<boolean>;
|
|
150
150
|
};
|
|
151
151
|
placement: {
|
|
152
|
-
type: import("vue").PropType<"
|
|
152
|
+
type: import("vue").PropType<"top" | "bottom">;
|
|
153
153
|
};
|
|
154
154
|
type: {
|
|
155
155
|
type: import("vue").PropType<"success" | "primary" | "warning" | "info" | "danger">;
|
|
@@ -181,7 +181,7 @@ export declare const VftTimelineItem: import("vft/es/utils").SFCWithInstall<{
|
|
|
181
181
|
type: import("vue").PropType<boolean>;
|
|
182
182
|
};
|
|
183
183
|
placement: {
|
|
184
|
-
type: import("vue").PropType<"
|
|
184
|
+
type: import("vue").PropType<"top" | "bottom">;
|
|
185
185
|
};
|
|
186
186
|
type: {
|
|
187
187
|
type: import("vue").PropType<"success" | "primary" | "warning" | "info" | "danger">;
|