vft 0.0.261 → 0.0.264
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 +1 -1
- package/es/components/button/index.d.ts +24 -24
- package/es/components/button/use-button.d.ts +1 -1
- package/es/components/carousel/use-carousel.js +1 -1
- 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 +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 +2 -2
- package/es/components/form/hooks/use-form-common-props.d.ts +2 -2
- package/es/components/form/index.d.ts +54 -54
- 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/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 +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/index.d.ts +10 -10
- package/es/components/select/select.vue.d.ts +10 -10
- package/es/components/select/useSelect.d.ts +9 -9
- 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/super-form/index.d.ts +15 -0
- package/es/components/super-form/super-form.vue.d.ts +1 -0
- package/es/components/super-form/super-form.vue2.js +4 -4
- package/es/components/super-form/types.d.ts +2 -0
- 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 +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 +36 -36
- package/es/components/upload/index.d.ts +9 -9
- package/es/constants/size.d.ts +1 -1
- 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/es/utils/vue/vnode.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 +1 -1
- package/lib/components/button/index.d.ts +24 -24
- package/lib/components/button/use-button.d.ts +1 -1
- 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 +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 +2 -2
- package/lib/components/form/hooks/use-form-common-props.d.ts +2 -2
- package/lib/components/form/index.d.ts +54 -54
- 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/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 +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/index.d.ts +10 -10
- package/lib/components/select/select.vue.d.ts +10 -10
- package/lib/components/select/useSelect.d.ts +9 -9
- 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/super-form/index.d.ts +15 -0
- package/lib/components/super-form/super-form.vue.d.ts +1 -0
- package/lib/components/super-form/super-form.vue2.cjs +1 -1
- package/lib/components/super-form/types.d.ts +2 -0
- 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 +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 +36 -36
- package/lib/components/upload/index.d.ts +9 -9
- package/lib/constants/size.d.ts +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 +5 -5
- package/web-types.json +1 -1
|
@@ -20,7 +20,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
20
20
|
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>;
|
|
21
21
|
validateEvent: import("vft/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
22
22
|
unlinkPanels: BooleanConstructor;
|
|
23
|
-
placement: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => "
|
|
23
|
+
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>;
|
|
24
24
|
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>;
|
|
25
25
|
emptyValues: ArrayConstructor;
|
|
26
26
|
valueOnClear: import("vft/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor, BooleanConstructor, FunctionConstructor], unknown, unknown, undefined, boolean>;
|
|
@@ -68,7 +68,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
68
68
|
editable: import("vft/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
69
69
|
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>;
|
|
70
70
|
size: {
|
|
71
|
-
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
71
|
+
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
72
72
|
readonly required: false;
|
|
73
73
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
74
74
|
__epPropKey: true;
|
|
@@ -115,7 +115,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
115
115
|
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>;
|
|
116
116
|
validateEvent: import("vft/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
117
117
|
unlinkPanels: BooleanConstructor;
|
|
118
|
-
placement: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => "
|
|
118
|
+
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>;
|
|
119
119
|
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>;
|
|
120
120
|
emptyValues: ArrayConstructor;
|
|
121
121
|
valueOnClear: import("vft/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor, BooleanConstructor, FunctionConstructor], unknown, unknown, undefined, boolean>;
|
|
@@ -163,7 +163,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
163
163
|
editable: import("vft/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
164
164
|
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>;
|
|
165
165
|
size: {
|
|
166
|
-
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
166
|
+
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
167
167
|
readonly required: false;
|
|
168
168
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
169
169
|
__epPropKey: true;
|
|
@@ -191,10 +191,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
191
191
|
}>> & Readonly<{
|
|
192
192
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
193
193
|
}>, {
|
|
194
|
-
disabled: boolean;
|
|
195
194
|
type: string;
|
|
195
|
+
disabled: boolean;
|
|
196
196
|
modelValue: import("vft/es/utils").EpPropMergeType<(new (...args: any[]) => string | number | string[] | Date | [import("./common/props").DateModelType, import("./common/props").DateModelType]) | (() => import("./common/props").ModelValueType) | (((new (...args: any[]) => string | number | string[] | Date | [import("./common/props").DateModelType, import("./common/props").DateModelType]) | (() => import("./common/props").ModelValueType)) | null)[], unknown, unknown>;
|
|
197
|
-
placement: import("vft/es/utils").EpPropMergeType<(new (...args: any[]) => "
|
|
197
|
+
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>;
|
|
198
198
|
tabindex: import("vft/es/utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | (((new (...args: any[]) => string | number) | (() => string | number)) | null)[], unknown, unknown>;
|
|
199
199
|
readonly: boolean;
|
|
200
200
|
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;
|
|
80
79
|
readonly start: string;
|
|
81
80
|
readonly end: string;
|
|
81
|
+
readonly disabled: boolean;
|
|
82
82
|
readonly effect: string;
|
|
83
83
|
readonly format: string;
|
|
84
84
|
readonly clearable: import("vft/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -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" | "warning" | "info" | "primary" | "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<"bottom" | "top">;
|
|
50
50
|
};
|
|
51
51
|
type: {
|
|
52
52
|
type: import("vue").PropType<"success" | "warning" | "info" | "primary" | "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<"bottom" | "top">;
|
|
82
82
|
};
|
|
83
83
|
type: {
|
|
84
84
|
type: import("vue").PropType<"success" | "warning" | "info" | "primary" | "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<"bottom" | "top">;
|
|
118
118
|
};
|
|
119
119
|
type: {
|
|
120
120
|
type: import("vue").PropType<"success" | "warning" | "info" | "primary" | "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<"bottom" | "top">;
|
|
153
153
|
};
|
|
154
154
|
type: {
|
|
155
155
|
type: import("vue").PropType<"success" | "warning" | "info" | "primary" | "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<"bottom" | "top">;
|
|
185
185
|
};
|
|
186
186
|
type: {
|
|
187
187
|
type: import("vue").PropType<"success" | "warning" | "info" | "primary" | "danger">;
|
|
@@ -99,15 +99,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
99
99
|
})>;
|
|
100
100
|
TreeCheckbox: import("vft/es/utils").SFCWithInstall<{
|
|
101
101
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
102
|
-
label: {
|
|
103
|
-
type: import("vue").PropType<string | number>;
|
|
104
|
-
};
|
|
105
|
-
disabled: {
|
|
106
|
-
type: import("vue").PropType<boolean>;
|
|
107
|
-
};
|
|
108
102
|
value: {
|
|
109
103
|
type: import("vue").PropType<string | number | boolean | object>;
|
|
110
104
|
};
|
|
105
|
+
label: {
|
|
106
|
+
type: import("vue").PropType<string | number>;
|
|
107
|
+
};
|
|
111
108
|
border: {
|
|
112
109
|
type: import("vue").PropType<boolean>;
|
|
113
110
|
};
|
|
@@ -117,8 +114,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
117
114
|
id: {
|
|
118
115
|
type: import("vue").PropType<string>;
|
|
119
116
|
};
|
|
117
|
+
disabled: {
|
|
118
|
+
type: import("vue").PropType<boolean>;
|
|
119
|
+
};
|
|
120
120
|
size: {
|
|
121
|
-
type: import("vue").PropType<""
|
|
121
|
+
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
122
122
|
};
|
|
123
123
|
modelValue: {
|
|
124
124
|
type: import("vue").PropType<string | number | boolean>;
|
|
@@ -161,15 +161,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
161
161
|
M: {};
|
|
162
162
|
Defaults: {};
|
|
163
163
|
}, Readonly<import("vue").ExtractPropTypes<{
|
|
164
|
-
label: {
|
|
165
|
-
type: import("vue").PropType<string | number>;
|
|
166
|
-
};
|
|
167
|
-
disabled: {
|
|
168
|
-
type: import("vue").PropType<boolean>;
|
|
169
|
-
};
|
|
170
164
|
value: {
|
|
171
165
|
type: import("vue").PropType<string | number | boolean | object>;
|
|
172
166
|
};
|
|
167
|
+
label: {
|
|
168
|
+
type: import("vue").PropType<string | number>;
|
|
169
|
+
};
|
|
173
170
|
border: {
|
|
174
171
|
type: import("vue").PropType<boolean>;
|
|
175
172
|
};
|
|
@@ -179,8 +176,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
179
176
|
id: {
|
|
180
177
|
type: import("vue").PropType<string>;
|
|
181
178
|
};
|
|
179
|
+
disabled: {
|
|
180
|
+
type: import("vue").PropType<boolean>;
|
|
181
|
+
};
|
|
182
182
|
size: {
|
|
183
|
-
type: import("vue").PropType<""
|
|
183
|
+
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
184
184
|
};
|
|
185
185
|
modelValue: {
|
|
186
186
|
type: import("vue").PropType<string | number | boolean>;
|
|
@@ -217,15 +217,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
217
217
|
__isTeleport?: never;
|
|
218
218
|
__isSuspense?: never;
|
|
219
219
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
220
|
-
label: {
|
|
221
|
-
type: import("vue").PropType<string | number>;
|
|
222
|
-
};
|
|
223
|
-
disabled: {
|
|
224
|
-
type: import("vue").PropType<boolean>;
|
|
225
|
-
};
|
|
226
220
|
value: {
|
|
227
221
|
type: import("vue").PropType<string | number | boolean | object>;
|
|
228
222
|
};
|
|
223
|
+
label: {
|
|
224
|
+
type: import("vue").PropType<string | number>;
|
|
225
|
+
};
|
|
229
226
|
border: {
|
|
230
227
|
type: import("vue").PropType<boolean>;
|
|
231
228
|
};
|
|
@@ -235,8 +232,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
235
232
|
id: {
|
|
236
233
|
type: import("vue").PropType<string>;
|
|
237
234
|
};
|
|
235
|
+
disabled: {
|
|
236
|
+
type: import("vue").PropType<boolean>;
|
|
237
|
+
};
|
|
238
238
|
size: {
|
|
239
|
-
type: import("vue").PropType<""
|
|
239
|
+
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
240
240
|
};
|
|
241
241
|
modelValue: {
|
|
242
242
|
type: import("vue").PropType<string | number | boolean>;
|
|
@@ -315,7 +315,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
315
315
|
type: import("vue").PropType<boolean>;
|
|
316
316
|
};
|
|
317
317
|
size: {
|
|
318
|
-
type: import("vue").PropType<""
|
|
318
|
+
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
319
319
|
};
|
|
320
320
|
tabindex: {
|
|
321
321
|
type: import("vue").PropType<string | number>;
|
|
@@ -374,7 +374,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
374
374
|
type: import("vue").PropType<boolean>;
|
|
375
375
|
};
|
|
376
376
|
size: {
|
|
377
|
-
type: import("vue").PropType<""
|
|
377
|
+
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
378
378
|
};
|
|
379
379
|
tabindex: {
|
|
380
380
|
type: import("vue").PropType<string | number>;
|
|
@@ -427,7 +427,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
427
427
|
type: import("vue").PropType<boolean>;
|
|
428
428
|
};
|
|
429
429
|
size: {
|
|
430
|
-
type: import("vue").PropType<""
|
|
430
|
+
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
431
431
|
};
|
|
432
432
|
tabindex: {
|
|
433
433
|
type: import("vue").PropType<string | number>;
|
|
@@ -448,17 +448,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
448
448
|
});
|
|
449
449
|
CheckboxGroup: {
|
|
450
450
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
451
|
+
fill: {
|
|
452
|
+
type: import("vue").PropType<string>;
|
|
453
|
+
};
|
|
451
454
|
label: {
|
|
452
455
|
type: import("vue").PropType<string>;
|
|
453
456
|
};
|
|
454
457
|
disabled: {
|
|
455
458
|
type: import("vue").PropType<boolean>;
|
|
456
459
|
};
|
|
457
|
-
fill: {
|
|
458
|
-
type: import("vue").PropType<string>;
|
|
459
|
-
};
|
|
460
460
|
size: {
|
|
461
|
-
type: import("vue").PropType<""
|
|
461
|
+
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
462
462
|
};
|
|
463
463
|
modelValue: {
|
|
464
464
|
type: import("vue").PropType<import("vft/es/components/checkbox").CheckboxGroupValueType>;
|
|
@@ -505,17 +505,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
505
505
|
M: {};
|
|
506
506
|
Defaults: {};
|
|
507
507
|
}, Readonly<import("vue").ExtractPropTypes<{
|
|
508
|
+
fill: {
|
|
509
|
+
type: import("vue").PropType<string>;
|
|
510
|
+
};
|
|
508
511
|
label: {
|
|
509
512
|
type: import("vue").PropType<string>;
|
|
510
513
|
};
|
|
511
514
|
disabled: {
|
|
512
515
|
type: import("vue").PropType<boolean>;
|
|
513
516
|
};
|
|
514
|
-
fill: {
|
|
515
|
-
type: import("vue").PropType<string>;
|
|
516
|
-
};
|
|
517
517
|
size: {
|
|
518
|
-
type: import("vue").PropType<""
|
|
518
|
+
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
519
519
|
};
|
|
520
520
|
modelValue: {
|
|
521
521
|
type: import("vue").PropType<import("vft/es/components/checkbox").CheckboxGroupValueType>;
|
|
@@ -556,17 +556,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
556
556
|
__isTeleport?: never;
|
|
557
557
|
__isSuspense?: never;
|
|
558
558
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
559
|
+
fill: {
|
|
560
|
+
type: import("vue").PropType<string>;
|
|
561
|
+
};
|
|
559
562
|
label: {
|
|
560
563
|
type: import("vue").PropType<string>;
|
|
561
564
|
};
|
|
562
565
|
disabled: {
|
|
563
566
|
type: import("vue").PropType<boolean>;
|
|
564
567
|
};
|
|
565
|
-
fill: {
|
|
566
|
-
type: import("vue").PropType<string>;
|
|
567
|
-
};
|
|
568
568
|
size: {
|
|
569
|
-
type: import("vue").PropType<""
|
|
569
|
+
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
570
570
|
};
|
|
571
571
|
modelValue: {
|
|
572
572
|
type: import("vue").PropType<import("vft/es/components/checkbox").CheckboxGroupValueType>;
|
|
@@ -3,9 +3,6 @@ export declare const VftUpload: import("vft/es/utils").SFCWithInstall<{
|
|
|
3
3
|
data: {
|
|
4
4
|
type: import("vue").PropType<Record<string, any>>;
|
|
5
5
|
};
|
|
6
|
-
disabled: {
|
|
7
|
-
type: import("vue").PropType<boolean>;
|
|
8
|
-
};
|
|
9
6
|
drag: {
|
|
10
7
|
type: import("vue").PropType<boolean>;
|
|
11
8
|
default: boolean;
|
|
@@ -27,6 +24,9 @@ export declare const VftUpload: import("vft/es/utils").SFCWithInstall<{
|
|
|
27
24
|
type: import("vue").PropType<string>;
|
|
28
25
|
default: string;
|
|
29
26
|
};
|
|
27
|
+
disabled: {
|
|
28
|
+
type: import("vue").PropType<boolean>;
|
|
29
|
+
};
|
|
30
30
|
method: {
|
|
31
31
|
type: import("vue").PropType<string>;
|
|
32
32
|
default: string;
|
|
@@ -120,9 +120,6 @@ export declare const VftUpload: import("vft/es/utils").SFCWithInstall<{
|
|
|
120
120
|
data: {
|
|
121
121
|
type: import("vue").PropType<Record<string, any>>;
|
|
122
122
|
};
|
|
123
|
-
disabled: {
|
|
124
|
-
type: import("vue").PropType<boolean>;
|
|
125
|
-
};
|
|
126
123
|
drag: {
|
|
127
124
|
type: import("vue").PropType<boolean>;
|
|
128
125
|
default: boolean;
|
|
@@ -144,6 +141,9 @@ export declare const VftUpload: import("vft/es/utils").SFCWithInstall<{
|
|
|
144
141
|
type: import("vue").PropType<string>;
|
|
145
142
|
default: string;
|
|
146
143
|
};
|
|
144
|
+
disabled: {
|
|
145
|
+
type: import("vue").PropType<boolean>;
|
|
146
|
+
};
|
|
147
147
|
method: {
|
|
148
148
|
type: import("vue").PropType<string>;
|
|
149
149
|
default: string;
|
|
@@ -234,9 +234,6 @@ export declare const VftUpload: import("vft/es/utils").SFCWithInstall<{
|
|
|
234
234
|
data: {
|
|
235
235
|
type: import("vue").PropType<Record<string, any>>;
|
|
236
236
|
};
|
|
237
|
-
disabled: {
|
|
238
|
-
type: import("vue").PropType<boolean>;
|
|
239
|
-
};
|
|
240
237
|
drag: {
|
|
241
238
|
type: import("vue").PropType<boolean>;
|
|
242
239
|
default: boolean;
|
|
@@ -258,6 +255,9 @@ export declare const VftUpload: import("vft/es/utils").SFCWithInstall<{
|
|
|
258
255
|
type: import("vue").PropType<string>;
|
|
259
256
|
default: string;
|
|
260
257
|
};
|
|
258
|
+
disabled: {
|
|
259
|
+
type: import("vue").PropType<boolean>;
|
|
260
|
+
};
|
|
261
261
|
method: {
|
|
262
262
|
type: import("vue").PropType<string>;
|
|
263
263
|
default: string;
|
package/es/constants/size.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const componentSizes: readonly ["", "default", "small", "large"];
|
|
2
|
-
export type ComponentSize =
|
|
2
|
+
export type ComponentSize = '' | 'default' | 'small' | 'large';
|
|
3
3
|
export declare const componentSizeMap: {
|
|
4
4
|
readonly large: 40;
|
|
5
5
|
readonly default: 32;
|
|
@@ -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;
|
|
@@ -4,4 +4,4 @@ export interface SizeContext {
|
|
|
4
4
|
size: Ref<ComponentSize>;
|
|
5
5
|
}
|
|
6
6
|
export declare const SIZE_INJECTION_KEY: InjectionKey<SizeContext>;
|
|
7
|
-
export declare const useGlobalSize: () => import("vue").ComputedRef<
|
|
7
|
+
export declare const useGlobalSize: () => import("vue").ComputedRef<ComponentSize>;
|
package/es/package.json.d.ts
CHANGED
package/es/package.json.js
CHANGED
package/es/utils/vue/vnode.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { hasOwn as m, camelize as N, isArray as E } from "@vft/utils";
|
|
2
2
|
import { isVNode as o, Fragment as S, Comment as A, Text as s, createCommentVNode as L, createBlock as _, openBlock as C } from "vue";
|
|
3
3
|
import { debugWarn as O } from "../error.js";
|
|
4
4
|
const R = "utils/vue/vnode";
|
|
@@ -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: {
|
|
@@ -5,7 +5,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
5
5
|
readonly zIndex: import("vft/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 100, boolean>;
|
|
6
6
|
readonly target: import("vft/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
7
7
|
readonly offset: import("vft/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
8
|
-
readonly position: import("vft/es/utils").EpPropFinalized<StringConstructor, "
|
|
8
|
+
readonly position: import("vft/es/utils").EpPropFinalized<StringConstructor, "bottom" | "top", unknown, "top", boolean>;
|
|
9
9
|
}>, {
|
|
10
10
|
/** @description update affix status */
|
|
11
11
|
update: () => void;
|
|
@@ -21,7 +21,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
21
21
|
readonly zIndex: import("vft/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 100, boolean>;
|
|
22
22
|
readonly target: import("vft/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
23
23
|
readonly offset: import("vft/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
24
|
-
readonly position: import("vft/es/utils").EpPropFinalized<StringConstructor, "
|
|
24
|
+
readonly position: import("vft/es/utils").EpPropFinalized<StringConstructor, "bottom" | "top", unknown, "top", boolean>;
|
|
25
25
|
}>> & Readonly<{
|
|
26
26
|
onChange?: ((fixed: boolean) => any) | undefined;
|
|
27
27
|
onScroll?: ((args_0: {
|
|
@@ -30,7 +30,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
30
30
|
}) => any) | undefined;
|
|
31
31
|
}>, {
|
|
32
32
|
readonly target: string;
|
|
33
|
-
readonly position: import("vft/es/utils").EpPropMergeType<StringConstructor, "
|
|
33
|
+
readonly position: import("vft/es/utils").EpPropMergeType<StringConstructor, "bottom" | "top", unknown>;
|
|
34
34
|
readonly zIndex: number;
|
|
35
35
|
readonly offset: number;
|
|
36
36
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -3,7 +3,7 @@ export declare const VftAffix: import("vft/es/utils").SFCWithInstall<{
|
|
|
3
3
|
readonly zIndex: import("vft/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 100, boolean>;
|
|
4
4
|
readonly target: import("vft/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
5
5
|
readonly offset: import("vft/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
6
|
-
readonly position: import("vft/es/utils").EpPropFinalized<StringConstructor, "
|
|
6
|
+
readonly position: import("vft/es/utils").EpPropFinalized<StringConstructor, "bottom" | "top", unknown, "top", boolean>;
|
|
7
7
|
}>> & Readonly<{
|
|
8
8
|
onChange?: ((fixed: boolean) => any) | undefined;
|
|
9
9
|
onScroll?: ((args_0: {
|
|
@@ -21,7 +21,7 @@ export declare const VftAffix: import("vft/es/utils").SFCWithInstall<{
|
|
|
21
21
|
change: (fixed: boolean) => void;
|
|
22
22
|
}, import("vue").PublicProps, {
|
|
23
23
|
readonly target: string;
|
|
24
|
-
readonly position: import("vft/es/utils").EpPropMergeType<StringConstructor, "
|
|
24
|
+
readonly position: import("vft/es/utils").EpPropMergeType<StringConstructor, "bottom" | "top", unknown>;
|
|
25
25
|
readonly zIndex: number;
|
|
26
26
|
readonly offset: number;
|
|
27
27
|
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
@@ -35,7 +35,7 @@ export declare const VftAffix: import("vft/es/utils").SFCWithInstall<{
|
|
|
35
35
|
readonly zIndex: import("vft/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 100, boolean>;
|
|
36
36
|
readonly target: import("vft/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
37
37
|
readonly offset: import("vft/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
38
|
-
readonly position: import("vft/es/utils").EpPropFinalized<StringConstructor, "
|
|
38
|
+
readonly position: import("vft/es/utils").EpPropFinalized<StringConstructor, "bottom" | "top", unknown, "top", boolean>;
|
|
39
39
|
}>> & Readonly<{
|
|
40
40
|
onChange?: ((fixed: boolean) => any) | undefined;
|
|
41
41
|
onScroll?: ((args_0: {
|
|
@@ -47,7 +47,7 @@ export declare const VftAffix: import("vft/es/utils").SFCWithInstall<{
|
|
|
47
47
|
updateRoot: () => void;
|
|
48
48
|
}, {}, {}, {}, {
|
|
49
49
|
readonly target: string;
|
|
50
|
-
readonly position: import("vft/es/utils").EpPropMergeType<StringConstructor, "
|
|
50
|
+
readonly position: import("vft/es/utils").EpPropMergeType<StringConstructor, "bottom" | "top", unknown>;
|
|
51
51
|
readonly zIndex: number;
|
|
52
52
|
readonly offset: number;
|
|
53
53
|
}>;
|
|
@@ -58,7 +58,7 @@ export declare const VftAffix: import("vft/es/utils").SFCWithInstall<{
|
|
|
58
58
|
readonly zIndex: import("vft/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 100, boolean>;
|
|
59
59
|
readonly target: import("vft/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
60
60
|
readonly offset: import("vft/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
61
|
-
readonly position: import("vft/es/utils").EpPropFinalized<StringConstructor, "
|
|
61
|
+
readonly position: import("vft/es/utils").EpPropFinalized<StringConstructor, "bottom" | "top", unknown, "top", boolean>;
|
|
62
62
|
}>> & Readonly<{
|
|
63
63
|
onChange?: ((fixed: boolean) => any) | undefined;
|
|
64
64
|
onScroll?: ((args_0: {
|
|
@@ -76,7 +76,7 @@ export declare const VftAffix: import("vft/es/utils").SFCWithInstall<{
|
|
|
76
76
|
change: (fixed: boolean) => void;
|
|
77
77
|
}, string, {
|
|
78
78
|
readonly target: string;
|
|
79
|
-
readonly position: import("vft/es/utils").EpPropMergeType<StringConstructor, "
|
|
79
|
+
readonly position: import("vft/es/utils").EpPropMergeType<StringConstructor, "bottom" | "top", unknown>;
|
|
80
80
|
readonly zIndex: number;
|
|
81
81
|
readonly offset: number;
|
|
82
82
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
@@ -42,13 +42,12 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
42
42
|
$data: {};
|
|
43
43
|
$props: Partial<{}> & Omit<{
|
|
44
44
|
readonly style?: string | false | import("vue").CSSProperties | StyleValue[] | null | undefined;
|
|
45
|
-
readonly disabled?: boolean | undefined;
|
|
46
45
|
readonly content?: string | undefined;
|
|
47
46
|
readonly zIndex?: number | undefined;
|
|
48
47
|
readonly offset?: number | undefined;
|
|
49
48
|
readonly transition?: string | undefined;
|
|
50
|
-
readonly onClick?: Function | undefined;
|
|
51
49
|
readonly onBlur?: Function | undefined;
|
|
50
|
+
readonly onClick?: Function | undefined;
|
|
52
51
|
readonly onContextmenu?: Function | undefined;
|
|
53
52
|
readonly onFocus?: Function | undefined;
|
|
54
53
|
readonly onKeydown?: Function | undefined;
|
|
@@ -58,6 +57,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
58
57
|
readonly id?: string | undefined;
|
|
59
58
|
readonly ariaLabel?: string | undefined;
|
|
60
59
|
readonly role?: "dialog" | "grid" | "group" | "listbox" | "menu" | "navigation" | "tooltip" | "tree" | undefined;
|
|
60
|
+
readonly disabled?: boolean | undefined;
|
|
61
61
|
readonly placement?: import("@popperjs/core").Placement | undefined;
|
|
62
62
|
readonly strategy?: "fixed" | "absolute" | undefined;
|
|
63
63
|
readonly effect?: "light" | "dark" | undefined;
|
|
@@ -460,13 +460,12 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
460
460
|
$data: {};
|
|
461
461
|
$props: Partial<{}> & Omit<{
|
|
462
462
|
readonly style?: string | false | import("vue").CSSProperties | StyleValue[] | null | undefined;
|
|
463
|
-
readonly disabled?: boolean | undefined;
|
|
464
463
|
readonly content?: string | undefined;
|
|
465
464
|
readonly zIndex?: number | undefined;
|
|
466
465
|
readonly offset?: number | undefined;
|
|
467
466
|
readonly transition?: string | undefined;
|
|
468
|
-
readonly onClick?: Function | undefined;
|
|
469
467
|
readonly onBlur?: Function | undefined;
|
|
468
|
+
readonly onClick?: Function | undefined;
|
|
470
469
|
readonly onContextmenu?: Function | undefined;
|
|
471
470
|
readonly onFocus?: Function | undefined;
|
|
472
471
|
readonly onKeydown?: Function | undefined;
|
|
@@ -476,6 +475,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
476
475
|
readonly id?: string | undefined;
|
|
477
476
|
readonly ariaLabel?: string | undefined;
|
|
478
477
|
readonly role?: "dialog" | "grid" | "group" | "listbox" | "menu" | "navigation" | "tooltip" | "tree" | undefined;
|
|
478
|
+
readonly disabled?: boolean | undefined;
|
|
479
479
|
readonly placement?: import("@popperjs/core").Placement | undefined;
|
|
480
480
|
readonly strategy?: "fixed" | "absolute" | undefined;
|
|
481
481
|
readonly effect?: "light" | "dark" | undefined;
|