vft 0.0.293 → 0.0.294
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/index.d.ts +18 -18
- package/es/components/cascader/cascader.d.ts +2 -2
- package/es/components/cascader/cascader.vue.d.ts +6 -6
- package/es/components/checkbox/index.d.ts +36 -36
- package/es/components/col/col.vue.d.ts +1 -1
- package/es/components/col/index.d.ts +9 -9
- package/es/components/collapse/collapse-item.vue.d.ts +1 -1
- package/es/components/color-picker/index.d.ts +6 -6
- package/es/components/date-picker/date-picker.d.ts +6 -6
- package/es/components/date-picker/index.d.ts +12 -12
- package/es/components/date-picker/props/date-picker.d.ts +2 -2
- 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 +1 -1
- package/es/components/form/index.d.ts +39 -39
- package/es/components/input/index.d.ts +3 -3
- package/es/components/input-number/index.d.ts +2 -2
- package/es/components/input-tag/input-tag.d.ts +1 -1
- package/es/components/input-tag/input-tag.vue.d.ts +3 -3
- package/es/components/md-code-demo/index.d.ts +1 -1
- package/es/components/md-code-demo/md-code-demo.d.ts +1 -1
- package/es/components/popconfirm/index.d.ts +15 -15
- package/es/components/popconfirm/popconfirm.vue.d.ts +1 -1
- package/es/components/popper/composables/use-content.d.ts +3 -3
- package/es/components/radio/index.d.ts +42 -42
- package/es/components/radio/radio.d.ts +1 -1
- package/es/components/radio/radio.vue.d.ts +5 -5
- package/es/components/roving-focus-group/roving-focus-group-impl.vue.d.ts +2 -2
- package/es/components/segmented/index.d.ts +6 -6
- package/es/components/segmented/segmented.d.ts +1 -1
- package/es/components/segmented/segmented.vue.d.ts +3 -3
- package/es/components/select/index.d.ts +9 -9
- package/es/components/select/select.vue.d.ts +9 -9
- package/es/components/select/useSelect.d.ts +8 -8
- package/es/components/side-menu/index.d.ts +0 -6
- package/es/components/side-menu/side-menu.vue.d.ts +0 -4
- package/es/components/side-menu/use-drag-line.js +28 -37
- 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 +13 -13
- package/es/components/switch/switch.vue.d.ts +1 -1
- package/es/components/tabs/index.d.ts +2 -2
- package/es/components/time-picker/common/picker-range-trigger.vue.d.ts +2 -2
- package/es/components/time-picker/common/picker.vue.d.ts +6 -6
- package/es/components/time-picker/common/props.d.ts +2 -2
- package/es/components/time-picker/index.d.ts +12 -12
- package/es/components/time-picker/time-picker.d.ts +6 -6
- 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 +27 -27
- package/es/components/upload/index.d.ts +9 -9
- package/es/components/watermark/watermark.vue.d.ts +1 -1
- 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/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/index.d.ts +18 -18
- package/lib/components/cascader/cascader.d.ts +2 -2
- package/lib/components/cascader/cascader.vue.d.ts +6 -6
- package/lib/components/checkbox/index.d.ts +36 -36
- package/lib/components/col/col.vue.d.ts +1 -1
- package/lib/components/col/index.d.ts +9 -9
- package/lib/components/collapse/collapse-item.vue.d.ts +1 -1
- package/lib/components/color-picker/index.d.ts +6 -6
- package/lib/components/date-picker/date-picker.d.ts +6 -6
- package/lib/components/date-picker/index.d.ts +12 -12
- package/lib/components/date-picker/props/date-picker.d.ts +2 -2
- 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 +1 -1
- package/lib/components/form/index.d.ts +39 -39
- package/lib/components/input/index.d.ts +3 -3
- package/lib/components/input-number/index.d.ts +2 -2
- package/lib/components/input-tag/input-tag.d.ts +1 -1
- package/lib/components/input-tag/input-tag.vue.d.ts +3 -3
- package/lib/components/md-code-demo/index.d.ts +1 -1
- package/lib/components/md-code-demo/md-code-demo.d.ts +1 -1
- package/lib/components/popconfirm/index.d.ts +15 -15
- package/lib/components/popconfirm/popconfirm.vue.d.ts +1 -1
- package/lib/components/popper/composables/use-content.d.ts +3 -3
- package/lib/components/radio/index.d.ts +42 -42
- package/lib/components/radio/radio.d.ts +1 -1
- package/lib/components/radio/radio.vue.d.ts +5 -5
- package/lib/components/roving-focus-group/roving-focus-group-impl.vue.d.ts +2 -2
- package/lib/components/segmented/index.d.ts +6 -6
- package/lib/components/segmented/segmented.d.ts +1 -1
- package/lib/components/segmented/segmented.vue.d.ts +3 -3
- package/lib/components/select/index.d.ts +9 -9
- package/lib/components/select/select.vue.d.ts +9 -9
- package/lib/components/select/useSelect.d.ts +8 -8
- package/lib/components/side-menu/index.d.ts +0 -6
- package/lib/components/side-menu/side-menu.vue.d.ts +0 -4
- package/lib/components/side-menu/use-drag-line.cjs +1 -1
- 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 +13 -13
- package/lib/components/switch/switch.vue.d.ts +1 -1
- package/lib/components/tabs/index.d.ts +2 -2
- package/lib/components/time-picker/common/picker-range-trigger.vue.d.ts +2 -2
- package/lib/components/time-picker/common/picker.vue.d.ts +6 -6
- package/lib/components/time-picker/common/props.d.ts +2 -2
- package/lib/components/time-picker/index.d.ts +12 -12
- package/lib/components/time-picker/time-picker.d.ts +6 -6
- 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 +27 -27
- package/lib/components/upload/index.d.ts +9 -9
- package/lib/components/watermark/watermark.vue.d.ts +1 -1
- 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/package.json +5 -5
- package/web-types.json +1 -1
|
@@ -84,13 +84,12 @@ declare const useSelect: (props: SelectV2Props, emit: any) => {
|
|
|
84
84
|
$data: {};
|
|
85
85
|
$props: Partial<{}> & Omit<{
|
|
86
86
|
readonly style?: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null | undefined;
|
|
87
|
-
readonly disabled?: boolean | undefined;
|
|
88
87
|
readonly content?: string | undefined;
|
|
89
88
|
readonly zIndex?: number | undefined;
|
|
90
89
|
readonly offset?: number | undefined;
|
|
91
90
|
readonly transition?: string | undefined;
|
|
92
|
-
readonly onClick?: Function | undefined;
|
|
93
91
|
readonly onBlur?: Function | undefined;
|
|
92
|
+
readonly onClick?: Function | undefined;
|
|
94
93
|
readonly onContextmenu?: Function | undefined;
|
|
95
94
|
readonly onFocus?: Function | undefined;
|
|
96
95
|
readonly onKeydown?: Function | undefined;
|
|
@@ -100,6 +99,7 @@ declare const useSelect: (props: SelectV2Props, emit: any) => {
|
|
|
100
99
|
readonly id?: string | undefined;
|
|
101
100
|
readonly ariaLabel?: string | undefined;
|
|
102
101
|
readonly role?: "dialog" | "grid" | "group" | "listbox" | "menu" | "navigation" | "tooltip" | "tree" | undefined;
|
|
102
|
+
readonly disabled?: boolean | undefined;
|
|
103
103
|
readonly placement?: import("@popperjs/core").Placement | undefined;
|
|
104
104
|
readonly strategy?: "fixed" | "absolute" | undefined;
|
|
105
105
|
readonly effect?: "light" | "dark" | undefined;
|
|
@@ -502,13 +502,12 @@ declare const useSelect: (props: SelectV2Props, emit: any) => {
|
|
|
502
502
|
$data: {};
|
|
503
503
|
$props: Partial<{}> & Omit<{
|
|
504
504
|
readonly style?: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null | undefined;
|
|
505
|
-
readonly disabled?: boolean | undefined;
|
|
506
505
|
readonly content?: string | undefined;
|
|
507
506
|
readonly zIndex?: number | undefined;
|
|
508
507
|
readonly offset?: number | undefined;
|
|
509
508
|
readonly transition?: string | undefined;
|
|
510
|
-
readonly onClick?: Function | undefined;
|
|
511
509
|
readonly onBlur?: Function | undefined;
|
|
510
|
+
readonly onClick?: Function | undefined;
|
|
512
511
|
readonly onContextmenu?: Function | undefined;
|
|
513
512
|
readonly onFocus?: Function | undefined;
|
|
514
513
|
readonly onKeydown?: Function | undefined;
|
|
@@ -518,6 +517,7 @@ declare const useSelect: (props: SelectV2Props, emit: any) => {
|
|
|
518
517
|
readonly id?: string | undefined;
|
|
519
518
|
readonly ariaLabel?: string | undefined;
|
|
520
519
|
readonly role?: "dialog" | "grid" | "group" | "listbox" | "menu" | "navigation" | "tooltip" | "tree" | undefined;
|
|
520
|
+
readonly disabled?: boolean | undefined;
|
|
521
521
|
readonly placement?: import("@popperjs/core").Placement | undefined;
|
|
522
522
|
readonly strategy?: "fixed" | "absolute" | undefined;
|
|
523
523
|
readonly effect?: "light" | "dark" | undefined;
|
|
@@ -921,13 +921,12 @@ declare const useSelect: (props: SelectV2Props, emit: any) => {
|
|
|
921
921
|
$data: {};
|
|
922
922
|
$props: Partial<{}> & Omit<{
|
|
923
923
|
readonly style?: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null | undefined;
|
|
924
|
-
readonly disabled?: boolean | undefined;
|
|
925
924
|
readonly content?: string | undefined;
|
|
926
925
|
readonly zIndex?: number | undefined;
|
|
927
926
|
readonly offset?: number | undefined;
|
|
928
927
|
readonly transition?: string | undefined;
|
|
929
|
-
readonly onClick?: Function | undefined;
|
|
930
928
|
readonly onBlur?: Function | undefined;
|
|
929
|
+
readonly onClick?: Function | undefined;
|
|
931
930
|
readonly onContextmenu?: Function | undefined;
|
|
932
931
|
readonly onFocus?: Function | undefined;
|
|
933
932
|
readonly onKeydown?: Function | undefined;
|
|
@@ -937,6 +936,7 @@ declare const useSelect: (props: SelectV2Props, emit: any) => {
|
|
|
937
936
|
readonly id?: string | undefined;
|
|
938
937
|
readonly ariaLabel?: string | undefined;
|
|
939
938
|
readonly role?: "dialog" | "grid" | "group" | "listbox" | "menu" | "navigation" | "tooltip" | "tree" | undefined;
|
|
939
|
+
readonly disabled?: boolean | undefined;
|
|
940
940
|
readonly placement?: import("@popperjs/core").Placement | undefined;
|
|
941
941
|
readonly strategy?: "fixed" | "absolute" | undefined;
|
|
942
942
|
readonly effect?: "light" | "dark" | undefined;
|
|
@@ -1339,13 +1339,12 @@ declare const useSelect: (props: SelectV2Props, emit: any) => {
|
|
|
1339
1339
|
$data: {};
|
|
1340
1340
|
$props: Partial<{}> & Omit<{
|
|
1341
1341
|
readonly style?: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null | undefined;
|
|
1342
|
-
readonly disabled?: boolean | undefined;
|
|
1343
1342
|
readonly content?: string | undefined;
|
|
1344
1343
|
readonly zIndex?: number | undefined;
|
|
1345
1344
|
readonly offset?: number | undefined;
|
|
1346
1345
|
readonly transition?: string | undefined;
|
|
1347
|
-
readonly onClick?: Function | undefined;
|
|
1348
1346
|
readonly onBlur?: Function | undefined;
|
|
1347
|
+
readonly onClick?: Function | undefined;
|
|
1349
1348
|
readonly onContextmenu?: Function | undefined;
|
|
1350
1349
|
readonly onFocus?: Function | undefined;
|
|
1351
1350
|
readonly onKeydown?: Function | undefined;
|
|
@@ -1355,6 +1354,7 @@ declare const useSelect: (props: SelectV2Props, emit: any) => {
|
|
|
1355
1354
|
readonly id?: string | undefined;
|
|
1356
1355
|
readonly ariaLabel?: string | undefined;
|
|
1357
1356
|
readonly role?: "dialog" | "grid" | "group" | "listbox" | "menu" | "navigation" | "tooltip" | "tree" | undefined;
|
|
1357
|
+
readonly disabled?: boolean | undefined;
|
|
1358
1358
|
readonly placement?: import("@popperjs/core").Placement | undefined;
|
|
1359
1359
|
readonly strategy?: "fixed" | "absolute" | undefined;
|
|
1360
1360
|
readonly effect?: "light" | "dark" | undefined;
|
|
@@ -53,8 +53,6 @@ export declare const VftSideMenu: import("vft/es/utils").SFCWithInstall<import("
|
|
|
53
53
|
type: import("vue").PropType<boolean | {
|
|
54
54
|
maxWidth?: number;
|
|
55
55
|
minWidth?: number;
|
|
56
|
-
unit?: string | boolean;
|
|
57
|
-
baseUnitValue?: number;
|
|
58
56
|
}>;
|
|
59
57
|
default: boolean;
|
|
60
58
|
};
|
|
@@ -146,8 +144,6 @@ export declare const VftSideMenu: import("vft/es/utils").SFCWithInstall<import("
|
|
|
146
144
|
type: import("vue").PropType<boolean | {
|
|
147
145
|
maxWidth?: number;
|
|
148
146
|
minWidth?: number;
|
|
149
|
-
unit?: string | boolean;
|
|
150
|
-
baseUnitValue?: number;
|
|
151
147
|
}>;
|
|
152
148
|
default: boolean;
|
|
153
149
|
};
|
|
@@ -194,8 +190,6 @@ export declare const VftSideMenu: import("vft/es/utils").SFCWithInstall<import("
|
|
|
194
190
|
dragWidthCfg: boolean | {
|
|
195
191
|
maxWidth?: number;
|
|
196
192
|
minWidth?: number;
|
|
197
|
-
unit?: string | boolean;
|
|
198
|
-
baseUnitValue?: number;
|
|
199
193
|
};
|
|
200
194
|
useRouterJump: boolean;
|
|
201
195
|
autoScrollActiveDom: boolean | number;
|
|
@@ -25,8 +25,6 @@ export interface MenuConProps {
|
|
|
25
25
|
dragWidthCfg?: boolean | {
|
|
26
26
|
maxWidth?: number;
|
|
27
27
|
minWidth?: number;
|
|
28
|
-
unit?: string | boolean;
|
|
29
|
-
baseUnitValue?: number;
|
|
30
28
|
};
|
|
31
29
|
/** 是否使用菜单组件内部的选中事件 */
|
|
32
30
|
useRouterJump?: boolean;
|
|
@@ -113,8 +111,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
113
111
|
dragWidthCfg: boolean | {
|
|
114
112
|
maxWidth?: number;
|
|
115
113
|
minWidth?: number;
|
|
116
|
-
unit?: string | boolean;
|
|
117
|
-
baseUnitValue?: number;
|
|
118
114
|
};
|
|
119
115
|
useRouterJump: boolean;
|
|
120
116
|
autoScrollActiveDom: boolean | number;
|
|
@@ -1,51 +1,42 @@
|
|
|
1
|
-
import { useDebounceFn as W, useThrottleFn as
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
W(h, 100)();
|
|
1
|
+
import { useDebounceFn as W, useThrottleFn as g } from "@vft/use";
|
|
2
|
+
import { onMounted as x, nextTick as w, unref as u } from "vue";
|
|
3
|
+
function M(f, d, r) {
|
|
4
|
+
const l = r.props?.dragWidthCfg?.minWidth || 200;
|
|
5
|
+
x(() => {
|
|
6
|
+
w(() => {
|
|
7
|
+
W(a, 100)();
|
|
9
8
|
});
|
|
10
9
|
});
|
|
11
|
-
function
|
|
12
|
-
const
|
|
13
|
-
return
|
|
10
|
+
function c(e) {
|
|
11
|
+
const n = u(e);
|
|
12
|
+
return n ? Reflect.has(n, "$el") ? u(e)?.$el : u(e) : null;
|
|
14
13
|
}
|
|
15
|
-
function
|
|
16
|
-
document.onmousemove = function(
|
|
17
|
-
let
|
|
18
|
-
|
|
19
|
-
const s =
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
const f = x(
|
|
24
|
-
n,
|
|
25
|
-
o.props?.dragWidthCfg?.unit,
|
|
26
|
-
o.props?.dragWidthCfg?.baseUnitValue
|
|
27
|
-
);
|
|
28
|
-
return t.style.left = f, w(() => {
|
|
29
|
-
o.emit("update:width", f);
|
|
30
|
-
}, 150)(), !1;
|
|
14
|
+
function m(e, n, i) {
|
|
15
|
+
document.onmousemove = function(o) {
|
|
16
|
+
let t = e.left + (o.clientX - i);
|
|
17
|
+
o = o || window.event;
|
|
18
|
+
const s = r.props?.dragWidthCfg?.maxWidth || 800, h = u(l);
|
|
19
|
+
return t <= h ? void 0 : (t < 0 && (t = 0), t > s && (t = s), e.style.left = t + "px", g(() => {
|
|
20
|
+
r.emit("update:width", t);
|
|
21
|
+
}, 150)(), !1);
|
|
31
22
|
};
|
|
32
23
|
}
|
|
33
|
-
function
|
|
24
|
+
function p(e) {
|
|
34
25
|
document.onmouseup = function() {
|
|
35
|
-
document.onmousemove = null, document.onmouseup = null,
|
|
26
|
+
document.onmousemove = null, document.onmouseup = null, e.releaseCapture?.();
|
|
36
27
|
};
|
|
37
28
|
}
|
|
38
|
-
function
|
|
39
|
-
const
|
|
40
|
-
if (!
|
|
41
|
-
const
|
|
42
|
-
|
|
43
|
-
const
|
|
44
|
-
return
|
|
29
|
+
function a() {
|
|
30
|
+
const e = c(d);
|
|
31
|
+
if (!e) return;
|
|
32
|
+
const n = c(f);
|
|
33
|
+
n && (e.onmousedown = (i) => {
|
|
34
|
+
const o = i?.clientX;
|
|
35
|
+
return e.left = e.offsetLeft, m(e, n, o), p(e), e.setCapture?.(), !1;
|
|
45
36
|
});
|
|
46
37
|
}
|
|
47
38
|
return {};
|
|
48
39
|
}
|
|
49
40
|
export {
|
|
50
|
-
|
|
41
|
+
M as useDragLine
|
|
51
42
|
};
|
|
@@ -16,7 +16,7 @@ export declare const VftSpace: import("vft/es/utils").SFCWithInstall<import("vue
|
|
|
16
16
|
readonly fill: BooleanConstructor;
|
|
17
17
|
readonly fillRatio: import("vft/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 100, boolean>;
|
|
18
18
|
readonly size: {
|
|
19
|
-
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<readonly [StringConstructor, ArrayConstructor, NumberConstructor], "" | "
|
|
19
|
+
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<readonly [StringConstructor, ArrayConstructor, NumberConstructor], "" | "default" | "small" | "large", number | [number, number]>>;
|
|
20
20
|
readonly required: false;
|
|
21
21
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
22
22
|
__epPropKey: true;
|
|
@@ -44,17 +44,17 @@ export declare const VftSpace: import("vft/es/utils").SFCWithInstall<import("vue
|
|
|
44
44
|
readonly fill: BooleanConstructor;
|
|
45
45
|
readonly fillRatio: import("vft/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 100, boolean>;
|
|
46
46
|
readonly size: {
|
|
47
|
-
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<readonly [StringConstructor, ArrayConstructor, NumberConstructor], "" | "
|
|
47
|
+
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<readonly [StringConstructor, ArrayConstructor, NumberConstructor], "" | "default" | "small" | "large", number | [number, number]>>;
|
|
48
48
|
readonly required: false;
|
|
49
49
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
50
50
|
__epPropKey: true;
|
|
51
51
|
};
|
|
52
52
|
}>> & Readonly<{}>, {
|
|
53
|
+
readonly fill: boolean;
|
|
53
54
|
readonly style: import("vue").StyleValue;
|
|
54
55
|
readonly spacer: import("vft/es/utils").EpPropMergeType<(new (...args: any[]) => import("vue").VNodeChild & {}) | (() => import("vue").VNodeChild) | (((new (...args: any[]) => import("vue").VNodeChild & {}) | (() => import("vue").VNodeChild)) | null)[], unknown, string | number | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
55
56
|
[key: string]: any;
|
|
56
57
|
}>>;
|
|
57
|
-
readonly fill: boolean;
|
|
58
58
|
readonly direction: import("vft/es/utils").EpPropMergeType<StringConstructor, "vertical" | "horizontal", unknown>;
|
|
59
59
|
readonly class: import("vft/es/utils").EpPropMergeType<(new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => import("vft/es/utils").Arrayable<string | Record<string, boolean>>) | (((new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => import("vft/es/utils").Arrayable<string | Record<string, boolean>>)) | null)[], unknown, unknown>;
|
|
60
60
|
readonly wrap: boolean;
|
|
@@ -18,7 +18,7 @@ export declare const spaceProps: {
|
|
|
18
18
|
readonly fill: BooleanConstructor;
|
|
19
19
|
readonly fillRatio: import("vft/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 100, boolean>;
|
|
20
20
|
readonly size: {
|
|
21
|
-
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<readonly [StringConstructor, ArrayConstructor, NumberConstructor], "" | "
|
|
21
|
+
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<readonly [StringConstructor, ArrayConstructor, NumberConstructor], "" | "default" | "small" | "large", number | [number, number]>>;
|
|
22
22
|
readonly required: false;
|
|
23
23
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
24
24
|
__epPropKey: true;
|
|
@@ -43,7 +43,7 @@ declare const Space: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
43
43
|
readonly fill: BooleanConstructor;
|
|
44
44
|
readonly fillRatio: import("vft/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 100, boolean>;
|
|
45
45
|
readonly size: {
|
|
46
|
-
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<readonly [StringConstructor, ArrayConstructor, NumberConstructor], "" | "
|
|
46
|
+
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<readonly [StringConstructor, ArrayConstructor, NumberConstructor], "" | "default" | "small" | "large", number | [number, number]>>;
|
|
47
47
|
readonly required: false;
|
|
48
48
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
49
49
|
__epPropKey: true;
|
|
@@ -71,17 +71,17 @@ declare const Space: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
71
71
|
readonly fill: BooleanConstructor;
|
|
72
72
|
readonly fillRatio: import("vft/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 100, boolean>;
|
|
73
73
|
readonly size: {
|
|
74
|
-
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<readonly [StringConstructor, ArrayConstructor, NumberConstructor], "" | "
|
|
74
|
+
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<readonly [StringConstructor, ArrayConstructor, NumberConstructor], "" | "default" | "small" | "large", number | [number, number]>>;
|
|
75
75
|
readonly required: false;
|
|
76
76
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
77
77
|
__epPropKey: true;
|
|
78
78
|
};
|
|
79
79
|
}>> & Readonly<{}>, {
|
|
80
|
+
readonly fill: boolean;
|
|
80
81
|
readonly style: StyleValue;
|
|
81
82
|
readonly spacer: import("vft/es/utils").EpPropMergeType<(new (...args: any[]) => VNodeChild & {}) | (() => VNodeChild) | (((new (...args: any[]) => VNodeChild & {}) | (() => VNodeChild)) | null)[], unknown, string | number | VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
82
83
|
[key: string]: any;
|
|
83
84
|
}>>;
|
|
84
|
-
readonly fill: boolean;
|
|
85
85
|
readonly direction: import("vft/es/utils").EpPropMergeType<StringConstructor, "vertical" | "horizontal", unknown>;
|
|
86
86
|
readonly class: import("vft/es/utils").EpPropMergeType<(new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => Arrayable<string | Record<string, boolean>>) | (((new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => Arrayable<string | Record<string, boolean>>)) | null)[], unknown, unknown>;
|
|
87
87
|
readonly wrap: boolean;
|
|
@@ -1,15 +1,11 @@
|
|
|
1
1
|
export declare const VftSwitch: import("vft/es/utils").SFCWithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
-
|
|
3
|
-
type: import("vue").PropType<boolean>;
|
|
2
|
+
value: {
|
|
3
|
+
type: import("vue").PropType<string | number | boolean>;
|
|
4
4
|
default: boolean;
|
|
5
5
|
};
|
|
6
6
|
width: {
|
|
7
7
|
type: import("vue").PropType<string | number>;
|
|
8
8
|
};
|
|
9
|
-
value: {
|
|
10
|
-
type: import("vue").PropType<string | number | boolean>;
|
|
11
|
-
default: boolean;
|
|
12
|
-
};
|
|
13
9
|
borderColor: {
|
|
14
10
|
type: import("vue").PropType<string>;
|
|
15
11
|
};
|
|
@@ -19,6 +15,10 @@ export declare const VftSwitch: import("vft/es/utils").SFCWithInstall<import("vu
|
|
|
19
15
|
id: {
|
|
20
16
|
type: import("vue").PropType<string>;
|
|
21
17
|
};
|
|
18
|
+
disabled: {
|
|
19
|
+
type: import("vue").PropType<boolean>;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
22
|
size: {
|
|
23
23
|
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
24
24
|
};
|
|
@@ -78,17 +78,13 @@ export declare const VftSwitch: import("vft/es/utils").SFCWithInstall<import("vu
|
|
|
78
78
|
change: (...args: any[]) => void;
|
|
79
79
|
"update:modelValue": (...args: any[]) => void;
|
|
80
80
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
81
|
-
|
|
82
|
-
type: import("vue").PropType<boolean>;
|
|
81
|
+
value: {
|
|
82
|
+
type: import("vue").PropType<string | number | boolean>;
|
|
83
83
|
default: boolean;
|
|
84
84
|
};
|
|
85
85
|
width: {
|
|
86
86
|
type: import("vue").PropType<string | number>;
|
|
87
87
|
};
|
|
88
|
-
value: {
|
|
89
|
-
type: import("vue").PropType<string | number | boolean>;
|
|
90
|
-
default: boolean;
|
|
91
|
-
};
|
|
92
88
|
borderColor: {
|
|
93
89
|
type: import("vue").PropType<string>;
|
|
94
90
|
};
|
|
@@ -98,6 +94,10 @@ export declare const VftSwitch: import("vft/es/utils").SFCWithInstall<import("vu
|
|
|
98
94
|
id: {
|
|
99
95
|
type: import("vue").PropType<string>;
|
|
100
96
|
};
|
|
97
|
+
disabled: {
|
|
98
|
+
type: import("vue").PropType<boolean>;
|
|
99
|
+
default: boolean;
|
|
100
|
+
};
|
|
101
101
|
size: {
|
|
102
102
|
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
103
103
|
};
|
|
@@ -154,8 +154,8 @@ export declare const VftSwitch: import("vft/es/utils").SFCWithInstall<import("vu
|
|
|
154
154
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
155
155
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
156
156
|
}>, {
|
|
157
|
-
disabled: boolean;
|
|
158
157
|
value: boolean | string | number;
|
|
158
|
+
disabled: boolean;
|
|
159
159
|
modelValue: boolean | string | number;
|
|
160
160
|
loading: boolean;
|
|
161
161
|
validateEvent: boolean;
|
|
@@ -59,8 +59,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
59
59
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
60
60
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
61
61
|
}>, {
|
|
62
|
-
disabled: boolean;
|
|
63
62
|
value: boolean | string | number;
|
|
63
|
+
disabled: boolean;
|
|
64
64
|
modelValue: boolean | string | number;
|
|
65
65
|
loading: boolean;
|
|
66
66
|
validateEvent: boolean;
|
|
@@ -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>;
|
|
@@ -101,7 +101,7 @@ export declare const VftTabs: import("vft/es/utils").SFCWithInstall<import("vue"
|
|
|
101
101
|
type: import("vue").PropType<boolean>;
|
|
102
102
|
};
|
|
103
103
|
tabPosition: {
|
|
104
|
-
type: import("vue").PropType<"
|
|
104
|
+
type: import("vue").PropType<"left" | "right" | "bottom" | "top">;
|
|
105
105
|
};
|
|
106
106
|
beforeLeave: {
|
|
107
107
|
type: import("vue").PropType<Function>;
|
|
@@ -29,8 +29,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
29
29
|
focus: () => void;
|
|
30
30
|
blur: () => void;
|
|
31
31
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
32
|
-
click: (...args: any[]) => void;
|
|
33
32
|
blur: (...args: any[]) => void;
|
|
33
|
+
click: (...args: any[]) => void;
|
|
34
34
|
focus: (...args: any[]) => void;
|
|
35
35
|
mouseenter: (...args: any[]) => void;
|
|
36
36
|
mouseleave: (...args: any[]) => void;
|
|
@@ -62,8 +62,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
62
62
|
readonly endPlaceholder: StringConstructor;
|
|
63
63
|
readonly disabled: BooleanConstructor;
|
|
64
64
|
}>> & Readonly<{
|
|
65
|
-
onClick?: ((...args: any[]) => any) | undefined;
|
|
66
65
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
66
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
67
67
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
68
68
|
onMouseenter?: ((...args: any[]) => any) | undefined;
|
|
69
69
|
onMouseleave?: ((...args: any[]) => any) | undefined;
|
|
@@ -40,7 +40,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
40
40
|
readonly tabindex: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number) | (((new (...args: any[]) => string | number) | (() => string | number)) | null)[], unknown, unknown, 0, boolean>;
|
|
41
41
|
readonly validateEvent: import("vft/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
42
42
|
readonly unlinkPanels: BooleanConstructor;
|
|
43
|
-
readonly placement: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => "
|
|
43
|
+
readonly placement: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("@popperjs/core").Placement) | (((new (...args: any[]) => "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("@popperjs/core").Placement)) | null)[], import("@popperjs/core").Placement, unknown, "bottom", boolean>;
|
|
44
44
|
readonly fallbackPlacements: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => import("@popperjs/core").Placement[]) | (() => import("@popperjs/core").Placement[]) | (((new (...args: any[]) => import("@popperjs/core").Placement[]) | (() => import("@popperjs/core").Placement[])) | null)[], unknown, unknown, readonly ["bottom", "top", "right", "left"], boolean>;
|
|
45
45
|
readonly emptyValues: ArrayConstructor;
|
|
46
46
|
readonly valueOnClear: import("vft/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor, BooleanConstructor, FunctionConstructor], unknown, unknown, undefined, boolean>;
|
|
@@ -88,7 +88,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
88
88
|
readonly editable: import("vft/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
89
89
|
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>;
|
|
90
90
|
readonly size: {
|
|
91
|
-
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
91
|
+
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
92
92
|
readonly required: false;
|
|
93
93
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
94
94
|
__epPropKey: true;
|
|
@@ -163,7 +163,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
163
163
|
readonly tabindex: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number) | (((new (...args: any[]) => string | number) | (() => string | number)) | null)[], unknown, unknown, 0, boolean>;
|
|
164
164
|
readonly validateEvent: import("vft/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
165
165
|
readonly unlinkPanels: BooleanConstructor;
|
|
166
|
-
readonly placement: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => "
|
|
166
|
+
readonly placement: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("@popperjs/core").Placement) | (((new (...args: any[]) => "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("@popperjs/core").Placement)) | null)[], import("@popperjs/core").Placement, unknown, "bottom", boolean>;
|
|
167
167
|
readonly fallbackPlacements: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => import("@popperjs/core").Placement[]) | (() => import("@popperjs/core").Placement[]) | (((new (...args: any[]) => import("@popperjs/core").Placement[]) | (() => import("@popperjs/core").Placement[])) | null)[], unknown, unknown, readonly ["bottom", "top", "right", "left"], boolean>;
|
|
168
168
|
readonly emptyValues: ArrayConstructor;
|
|
169
169
|
readonly valueOnClear: import("vft/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor, BooleanConstructor, FunctionConstructor], unknown, unknown, undefined, boolean>;
|
|
@@ -211,7 +211,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
211
211
|
readonly editable: import("vft/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
212
212
|
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>;
|
|
213
213
|
readonly size: {
|
|
214
|
-
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
214
|
+
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
215
215
|
readonly required: false;
|
|
216
216
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
217
217
|
__epPropKey: true;
|
|
@@ -248,10 +248,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
248
248
|
"onPanel-change"?: ((...args: any[]) => any) | undefined;
|
|
249
249
|
"onVisible-change"?: ((...args: any[]) => any) | undefined;
|
|
250
250
|
}>, {
|
|
251
|
-
readonly disabled: boolean;
|
|
252
251
|
readonly type: string;
|
|
252
|
+
readonly disabled: boolean;
|
|
253
253
|
readonly modelValue: import("vft/es/utils").EpPropMergeType<(new (...args: any[]) => string | number | string[] | Date | [DateModelType, DateModelType]) | (() => import("./props").ModelValueType) | (((new (...args: any[]) => string | number | string[] | Date | [DateModelType, DateModelType]) | (() => import("./props").ModelValueType)) | null)[], unknown, unknown>;
|
|
254
|
-
readonly placement: import("vft/es/utils").EpPropMergeType<(new (...args: any[]) => "
|
|
254
|
+
readonly placement: import("vft/es/utils").EpPropMergeType<(new (...args: any[]) => "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("@popperjs/core").Placement) | (((new (...args: any[]) => "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("@popperjs/core").Placement)) | null)[], import("@popperjs/core").Placement, unknown>;
|
|
255
255
|
readonly tabindex: import("vft/es/utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | (((new (...args: any[]) => string | number) | (() => string | number)) | null)[], unknown, unknown>;
|
|
256
256
|
readonly readonly: boolean;
|
|
257
257
|
readonly placeholder: string;
|
|
@@ -29,7 +29,7 @@ export declare const timePickerDefaultProps: {
|
|
|
29
29
|
readonly tabindex: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number) | (((new (...args: any[]) => string | number) | (() => string | number)) | null)[], unknown, unknown, 0, boolean>;
|
|
30
30
|
readonly validateEvent: import("vft/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
31
31
|
readonly unlinkPanels: BooleanConstructor;
|
|
32
|
-
readonly placement: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => "
|
|
32
|
+
readonly placement: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement) | (((new (...args: any[]) => "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement)) | null)[], Placement, unknown, "bottom", boolean>;
|
|
33
33
|
readonly fallbackPlacements: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => Placement[]) | (() => Placement[]) | (((new (...args: any[]) => Placement[]) | (() => Placement[])) | null)[], unknown, unknown, readonly ["bottom", "top", "right", "left"], boolean>;
|
|
34
34
|
readonly emptyValues: ArrayConstructor;
|
|
35
35
|
readonly valueOnClear: import("vft/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor, BooleanConstructor, FunctionConstructor], unknown, unknown, undefined, boolean>;
|
|
@@ -77,7 +77,7 @@ export declare const timePickerDefaultProps: {
|
|
|
77
77
|
readonly editable: import("vft/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
78
78
|
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>;
|
|
79
79
|
readonly size: {
|
|
80
|
-
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
80
|
+
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
81
81
|
readonly required: false;
|
|
82
82
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
83
83
|
__epPropKey: true;
|