vft 0.0.149 → 0.0.150
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/app-components/button/button-custom.d.ts +1 -1
- package/es/app-components/button/use-button.d.ts +6 -6
- package/es/app-components/form/form-label-wrap.d.ts +2 -2
- package/es/app-components/form/utils.d.ts +1 -1
- package/es/components/affix/affix.d.ts +1 -1
- package/es/components/affix/affix.vue.d.ts +3 -3
- package/es/components/affix/index.d.ts +6 -6
- package/es/components/avatar/index.d.ts +3 -3
- package/es/components/backtop/index.d.ts +2 -2
- package/es/components/button/button.vue.d.ts +6 -6
- package/es/components/button/index.d.ts +10 -10
- package/es/components/button/use-button.js +3 -3
- package/es/components/carousel/carousel.vue.d.ts +9 -9
- package/es/components/carousel/index.d.ts +15 -15
- package/es/components/container/index.d.ts +6 -6
- package/es/components/date-picker/composables/use-range-picker.d.ts +1 -1
- package/es/components/date-picker/date-picker-com/panel-date-pick.vue.d.ts +1 -1
- package/es/components/date-picker/date-picker-com/panel-date-range.vue.d.ts +1 -1
- package/es/components/date-picker/panel-utils.d.ts +8 -8
- package/es/components/descriptions/index.d.ts +2 -2
- package/es/components/dialog/index.d.ts +2 -2
- package/es/components/drawer/index.d.ts +2 -2
- package/es/components/focus-trap/utils.d.ts +1 -1
- package/es/components/form/form-item.vue.d.ts +9 -9
- package/es/components/form/form.vue.d.ts +2 -2
- package/es/components/form/index.d.ts +34 -34
- package/es/components/image/index.d.ts +1 -1
- package/es/components/index.js +113 -113
- package/es/components/link/index.d.ts +1 -1
- package/es/components/modal/index.d.ts +19 -19
- package/es/components/modal/modal.vue.d.ts +12 -12
- package/es/components/multiple-tabs/tab-content.vue.d.ts +2 -1
- package/es/components/popconfirm/index.d.ts +9 -9
- package/es/components/popconfirm/popconfirm.vue.d.ts +6 -6
- package/es/components/popover/index.d.ts +1 -1
- package/es/components/popper/composables/use-content.d.ts +3 -3
- package/es/components/progress/index.d.ts +1 -1
- package/es/components/scrollbar/index.d.ts +1 -1
- package/es/components/search/index.d.ts +1 -1
- package/es/components/super-form/index.d.ts +6 -6
- package/es/components/super-form/super-form.vue.d.ts +3 -3
- package/es/components/switch/index.d.ts +6 -6
- package/es/components/switch/switch.vue.d.ts +6 -6
- package/es/components/table/index.d.ts +10 -10
- package/es/components/table/table.vue.d.ts +6 -6
- package/es/components/tabs/index.d.ts +2 -2
- package/es/components/tabs/tabs.vue.d.ts +2 -2
- package/es/components/time-picker/composables/use-time-picker.d.ts +2 -2
- package/es/components/tree/index.d.ts +2 -2
- package/es/hooks/use-popper/index.d.ts +3 -3
- package/es/index.js +113 -113
- package/es/package.json.d.ts +1 -1
- package/es/package.json.js +1 -1
- package/lib/app-components/button/button-custom.d.ts +1 -1
- package/lib/app-components/button/use-button.d.ts +6 -6
- package/lib/app-components/form/form-label-wrap.d.ts +2 -2
- package/lib/app-components/form/utils.d.ts +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/avatar/index.d.ts +3 -3
- package/lib/components/backtop/index.d.ts +2 -2
- package/lib/components/button/button.vue.d.ts +6 -6
- package/lib/components/button/index.d.ts +10 -10
- package/lib/components/button/use-button.cjs +1 -1
- package/lib/components/carousel/carousel.vue.d.ts +9 -9
- package/lib/components/carousel/index.d.ts +15 -15
- package/lib/components/container/index.d.ts +6 -6
- package/lib/components/date-picker/composables/use-range-picker.d.ts +1 -1
- package/lib/components/date-picker/date-picker-com/panel-date-pick.vue.d.ts +1 -1
- package/lib/components/date-picker/date-picker-com/panel-date-range.vue.d.ts +1 -1
- package/lib/components/date-picker/panel-utils.d.ts +8 -8
- package/lib/components/descriptions/index.d.ts +2 -2
- package/lib/components/dialog/index.d.ts +2 -2
- package/lib/components/drawer/index.d.ts +2 -2
- package/lib/components/focus-trap/utils.d.ts +1 -1
- package/lib/components/form/form-item.vue.d.ts +9 -9
- package/lib/components/form/form.vue.d.ts +2 -2
- package/lib/components/form/index.d.ts +34 -34
- package/lib/components/image/index.d.ts +1 -1
- package/lib/components/index.cjs +1 -1
- package/lib/components/link/index.d.ts +1 -1
- package/lib/components/modal/index.d.ts +19 -19
- package/lib/components/modal/modal.vue.d.ts +12 -12
- package/lib/components/multiple-tabs/tab-content.vue.d.ts +2 -1
- package/lib/components/popconfirm/index.d.ts +9 -9
- package/lib/components/popconfirm/popconfirm.vue.d.ts +6 -6
- package/lib/components/popover/index.d.ts +1 -1
- package/lib/components/popper/composables/use-content.d.ts +3 -3
- package/lib/components/progress/index.d.ts +1 -1
- package/lib/components/scrollbar/index.d.ts +1 -1
- package/lib/components/search/index.d.ts +1 -1
- package/lib/components/super-form/index.d.ts +6 -6
- package/lib/components/super-form/super-form.vue.d.ts +3 -3
- package/lib/components/switch/index.d.ts +6 -6
- package/lib/components/switch/switch.vue.d.ts +6 -6
- package/lib/components/table/index.d.ts +10 -10
- package/lib/components/table/table.vue.d.ts +6 -6
- package/lib/components/tabs/index.d.ts +2 -2
- package/lib/components/tabs/tabs.vue.d.ts +2 -2
- package/lib/components/time-picker/composables/use-time-picker.d.ts +2 -2
- package/lib/components/tree/index.d.ts +2 -2
- package/lib/hooks/use-popper/index.d.ts +3 -3
- package/lib/index.cjs +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
|
@@ -68,6 +68,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
68
68
|
size: {
|
|
69
69
|
type: globalThis.PropType<ComponentSize>;
|
|
70
70
|
};
|
|
71
|
+
icon: {
|
|
72
|
+
type: globalThis.PropType<string | IconProps>;
|
|
73
|
+
};
|
|
71
74
|
bg: {
|
|
72
75
|
type: globalThis.PropType<boolean>;
|
|
73
76
|
};
|
|
@@ -78,9 +81,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
78
81
|
type: globalThis.PropType<string | Component>;
|
|
79
82
|
default: string;
|
|
80
83
|
};
|
|
81
|
-
icon: {
|
|
82
|
-
type: globalThis.PropType<string | IconProps>;
|
|
83
|
-
};
|
|
84
84
|
nativeType: {
|
|
85
85
|
type: globalThis.PropType<"button" | "reset" | "submit">;
|
|
86
86
|
default: string;
|
|
@@ -144,6 +144,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
144
144
|
size: {
|
|
145
145
|
type: globalThis.PropType<ComponentSize>;
|
|
146
146
|
};
|
|
147
|
+
icon: {
|
|
148
|
+
type: globalThis.PropType<string | IconProps>;
|
|
149
|
+
};
|
|
147
150
|
bg: {
|
|
148
151
|
type: globalThis.PropType<boolean>;
|
|
149
152
|
};
|
|
@@ -154,9 +157,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
154
157
|
type: globalThis.PropType<string | Component>;
|
|
155
158
|
default: string;
|
|
156
159
|
};
|
|
157
|
-
icon: {
|
|
158
|
-
type: globalThis.PropType<string | IconProps>;
|
|
159
|
-
};
|
|
160
160
|
nativeType: {
|
|
161
161
|
type: globalThis.PropType<"button" | "reset" | "submit">;
|
|
162
162
|
default: string;
|
|
@@ -19,6 +19,7 @@ export declare const VftButton: import("vft/es/utils").SFCWithInstall<{
|
|
|
19
19
|
class?: unknown;
|
|
20
20
|
readonly dark?: boolean | undefined;
|
|
21
21
|
readonly size?: import("../types").ComponentSize | undefined;
|
|
22
|
+
readonly icon?: string | import("..").IconProps | undefined;
|
|
22
23
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
23
24
|
readonly bg?: boolean | undefined;
|
|
24
25
|
readonly disabled?: boolean | undefined;
|
|
@@ -62,7 +63,6 @@ export declare const VftButton: import("vft/es/utils").SFCWithInstall<{
|
|
|
62
63
|
}>) => void) | ((vnode: globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
63
64
|
[key: string]: any;
|
|
64
65
|
}>) => void)[] | undefined;
|
|
65
|
-
readonly icon?: string | import("..").IconProps | undefined;
|
|
66
66
|
readonly loading?: boolean | undefined;
|
|
67
67
|
readonly loadingIcon?: import("..").IconProps | undefined;
|
|
68
68
|
readonly plain?: boolean | undefined;
|
|
@@ -106,6 +106,9 @@ export declare const VftButton: import("vft/es/utils").SFCWithInstall<{
|
|
|
106
106
|
size: {
|
|
107
107
|
type: globalThis.PropType<import("../types").ComponentSize>;
|
|
108
108
|
};
|
|
109
|
+
icon: {
|
|
110
|
+
type: globalThis.PropType<string | import("..").IconProps>;
|
|
111
|
+
};
|
|
109
112
|
bg: {
|
|
110
113
|
type: globalThis.PropType<boolean>;
|
|
111
114
|
};
|
|
@@ -116,9 +119,6 @@ export declare const VftButton: import("vft/es/utils").SFCWithInstall<{
|
|
|
116
119
|
type: globalThis.PropType<string | globalThis.Component>;
|
|
117
120
|
default: string;
|
|
118
121
|
};
|
|
119
|
-
icon: {
|
|
120
|
-
type: globalThis.PropType<string | import("..").IconProps>;
|
|
121
|
-
};
|
|
122
122
|
nativeType: {
|
|
123
123
|
type: globalThis.PropType<"button" | "reset" | "submit">;
|
|
124
124
|
default: string;
|
|
@@ -209,6 +209,9 @@ export declare const VftButton: import("vft/es/utils").SFCWithInstall<{
|
|
|
209
209
|
size: {
|
|
210
210
|
type: globalThis.PropType<import("../types").ComponentSize>;
|
|
211
211
|
};
|
|
212
|
+
icon: {
|
|
213
|
+
type: globalThis.PropType<string | import("..").IconProps>;
|
|
214
|
+
};
|
|
212
215
|
bg: {
|
|
213
216
|
type: globalThis.PropType<boolean>;
|
|
214
217
|
};
|
|
@@ -219,9 +222,6 @@ export declare const VftButton: import("vft/es/utils").SFCWithInstall<{
|
|
|
219
222
|
type: globalThis.PropType<string | globalThis.Component>;
|
|
220
223
|
default: string;
|
|
221
224
|
};
|
|
222
|
-
icon: {
|
|
223
|
-
type: globalThis.PropType<string | import("..").IconProps>;
|
|
224
|
-
};
|
|
225
225
|
nativeType: {
|
|
226
226
|
type: globalThis.PropType<"button" | "reset" | "submit">;
|
|
227
227
|
default: string;
|
|
@@ -289,6 +289,9 @@ export declare const VftButton: import("vft/es/utils").SFCWithInstall<{
|
|
|
289
289
|
size: {
|
|
290
290
|
type: globalThis.PropType<import("../types").ComponentSize>;
|
|
291
291
|
};
|
|
292
|
+
icon: {
|
|
293
|
+
type: globalThis.PropType<string | import("..").IconProps>;
|
|
294
|
+
};
|
|
292
295
|
bg: {
|
|
293
296
|
type: globalThis.PropType<boolean>;
|
|
294
297
|
};
|
|
@@ -299,9 +302,6 @@ export declare const VftButton: import("vft/es/utils").SFCWithInstall<{
|
|
|
299
302
|
type: globalThis.PropType<string | globalThis.Component>;
|
|
300
303
|
default: string;
|
|
301
304
|
};
|
|
302
|
-
icon: {
|
|
303
|
-
type: globalThis.PropType<string | import("..").IconProps>;
|
|
304
|
-
};
|
|
305
305
|
nativeType: {
|
|
306
306
|
type: globalThis.PropType<"button" | "reset" | "submit">;
|
|
307
307
|
default: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../config-provider/index.cjs");require("../form/index.cjs");const S=require("@vueuse/core"),n=require("vue"),T=require("./constants.cjs"),I=require("../
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../config-provider/index.cjs");require("../form/index.cjs");const S=require("@vueuse/core"),n=require("vue"),T=require("./constants.cjs"),I=require("../form/hooks/use-form-item.cjs"),_=require("../config-provider/hooks/use-global-config.cjs"),l=require("../form/hooks/use-form-common-props.cjs"),k=(t,d)=>{const o=n.inject(T.buttonGroupContextKey,void 0),m=_.useGlobalConfig("button"),{form:c}=I.useFormItem(),f=l.useFormSize(n.computed(()=>o==null?void 0:o.size)),u=l.useFormDisabled(),g=n.ref(),i=n.useSlots(),h=n.computed(()=>t.type||(o==null?void 0:o.type)||""),y=n.computed(()=>{var e;return t.autoInsertSpace??((e=m.value)==null?void 0:e.autoInsertSpace)??!1}),b=n.computed(()=>{var a;const e=(a=i.default)==null?void 0:a.call(i);if(y.value&&(e==null?void 0:e.length)===1){const s=e[0];if((s==null?void 0:s.type)===n.Text){const F=s.children;return/^\p{Unified_Ideograph}{2}$/u.test(F.trim())}}return!1}),q=n.computed(()=>t.tag==="button"?{ariaDisabled:u.value||t.loading,disabled:u.value||t.loading,autofocus:t.autofocus,type:t.nativeType}:{}),r=e=>{t.nativeType==="reset"&&(c==null||c.resetFields()),d("click",e)},v=S.useThrottleFn(e=>{r(e)},t.throttleTime);return{_props:q,_disabled:u,_size:f,_type:h,_ref:g,shouldAddSpace:b,handleClick:e=>{t.useThrottle?v(e):r(e)}}};exports.useButton=k;
|
|
@@ -12,14 +12,14 @@ export interface CarouselProps {
|
|
|
12
12
|
pauseOnHover?: boolean;
|
|
13
13
|
}
|
|
14
14
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
15
|
-
height: {
|
|
16
|
-
type: globalThis.PropType<string>;
|
|
17
|
-
default: string;
|
|
18
|
-
};
|
|
19
15
|
direction: {
|
|
20
16
|
type: globalThis.PropType<"vertical" | "horizontal">;
|
|
21
17
|
default: string;
|
|
22
18
|
};
|
|
19
|
+
height: {
|
|
20
|
+
type: globalThis.PropType<string>;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
23
|
type: {
|
|
24
24
|
type: globalThis.PropType<"" | "card">;
|
|
25
25
|
default: string;
|
|
@@ -66,14 +66,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
66
66
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
67
67
|
change: (current: number, prev: number) => void;
|
|
68
68
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<globalThis.ExtractPropTypes<{
|
|
69
|
-
height: {
|
|
70
|
-
type: globalThis.PropType<string>;
|
|
71
|
-
default: string;
|
|
72
|
-
};
|
|
73
69
|
direction: {
|
|
74
70
|
type: globalThis.PropType<"vertical" | "horizontal">;
|
|
75
71
|
default: string;
|
|
76
72
|
};
|
|
73
|
+
height: {
|
|
74
|
+
type: globalThis.PropType<string>;
|
|
75
|
+
default: string;
|
|
76
|
+
};
|
|
77
77
|
type: {
|
|
78
78
|
type: globalThis.PropType<"" | "card">;
|
|
79
79
|
default: string;
|
|
@@ -113,8 +113,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
113
113
|
}>> & {
|
|
114
114
|
onChange?: ((current: number, prev: number) => any) | undefined;
|
|
115
115
|
}, {
|
|
116
|
-
height: string;
|
|
117
116
|
direction: "vertical" | "horizontal";
|
|
117
|
+
height: string;
|
|
118
118
|
type: "" | "card";
|
|
119
119
|
arrow: "always" | "never" | "hover";
|
|
120
120
|
loop: boolean;
|
|
@@ -3,8 +3,8 @@ export declare const VftCarousel: import("vft/es/utils").SFCWithInstall<{
|
|
|
3
3
|
$: import("vue").ComponentInternalInstance;
|
|
4
4
|
$data: {};
|
|
5
5
|
$props: {
|
|
6
|
-
height?: string | undefined;
|
|
7
6
|
direction?: "vertical" | "horizontal" | undefined;
|
|
7
|
+
height?: string | undefined;
|
|
8
8
|
type?: "" | "card" | undefined;
|
|
9
9
|
arrow?: "always" | "never" | "hover" | undefined;
|
|
10
10
|
loop?: boolean | undefined;
|
|
@@ -74,14 +74,14 @@ export declare const VftCarousel: import("vft/es/utils").SFCWithInstall<{
|
|
|
74
74
|
$emit: (event: "change", current: number, prev: number) => void;
|
|
75
75
|
$el: any;
|
|
76
76
|
$options: import("vue").ComponentOptionsBase<Readonly<globalThis.ExtractPropTypes<{
|
|
77
|
-
height: {
|
|
78
|
-
type: globalThis.PropType<string>;
|
|
79
|
-
default: string;
|
|
80
|
-
};
|
|
81
77
|
direction: {
|
|
82
78
|
type: globalThis.PropType<"vertical" | "horizontal">;
|
|
83
79
|
default: string;
|
|
84
80
|
};
|
|
81
|
+
height: {
|
|
82
|
+
type: globalThis.PropType<string>;
|
|
83
|
+
default: string;
|
|
84
|
+
};
|
|
85
85
|
type: {
|
|
86
86
|
type: globalThis.PropType<"" | "card">;
|
|
87
87
|
default: string;
|
|
@@ -127,8 +127,8 @@ export declare const VftCarousel: import("vft/es/utils").SFCWithInstall<{
|
|
|
127
127
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
128
128
|
change: (current: number, prev: number) => void;
|
|
129
129
|
}, string, {
|
|
130
|
-
height: string;
|
|
131
130
|
direction: "vertical" | "horizontal";
|
|
131
|
+
height: string;
|
|
132
132
|
type: "" | "card";
|
|
133
133
|
arrow: "always" | "never" | "hover";
|
|
134
134
|
loop: boolean;
|
|
@@ -159,14 +159,14 @@ export declare const VftCarousel: import("vft/es/utils").SFCWithInstall<{
|
|
|
159
159
|
$nextTick: typeof import("vue").nextTick;
|
|
160
160
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
161
161
|
} & Readonly<globalThis.ExtractPropTypes<{
|
|
162
|
-
height: {
|
|
163
|
-
type: globalThis.PropType<string>;
|
|
164
|
-
default: string;
|
|
165
|
-
};
|
|
166
162
|
direction: {
|
|
167
163
|
type: globalThis.PropType<"vertical" | "horizontal">;
|
|
168
164
|
default: string;
|
|
169
165
|
};
|
|
166
|
+
height: {
|
|
167
|
+
type: globalThis.PropType<string>;
|
|
168
|
+
default: string;
|
|
169
|
+
};
|
|
170
170
|
type: {
|
|
171
171
|
type: globalThis.PropType<"" | "card">;
|
|
172
172
|
default: string;
|
|
@@ -214,14 +214,14 @@ export declare const VftCarousel: import("vft/es/utils").SFCWithInstall<{
|
|
|
214
214
|
__isTeleport?: undefined;
|
|
215
215
|
__isSuspense?: undefined;
|
|
216
216
|
} & import("vue").ComponentOptionsBase<Readonly<globalThis.ExtractPropTypes<{
|
|
217
|
-
height: {
|
|
218
|
-
type: globalThis.PropType<string>;
|
|
219
|
-
default: string;
|
|
220
|
-
};
|
|
221
217
|
direction: {
|
|
222
218
|
type: globalThis.PropType<"vertical" | "horizontal">;
|
|
223
219
|
default: string;
|
|
224
220
|
};
|
|
221
|
+
height: {
|
|
222
|
+
type: globalThis.PropType<string>;
|
|
223
|
+
default: string;
|
|
224
|
+
};
|
|
225
225
|
type: {
|
|
226
226
|
type: globalThis.PropType<"" | "card">;
|
|
227
227
|
default: string;
|
|
@@ -267,8 +267,8 @@ export declare const VftCarousel: import("vft/es/utils").SFCWithInstall<{
|
|
|
267
267
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
268
268
|
change: (current: number, prev: number) => void;
|
|
269
269
|
}, string, {
|
|
270
|
-
height: string;
|
|
271
270
|
direction: "vertical" | "horizontal";
|
|
271
|
+
height: string;
|
|
272
272
|
type: "" | "card";
|
|
273
273
|
arrow: "always" | "never" | "hover";
|
|
274
274
|
loop: boolean;
|
|
@@ -113,8 +113,8 @@ export declare const VftContainer: import("vft/es/utils").SFCWithInstall<{
|
|
|
113
113
|
$: import("vue").ComponentInternalInstance;
|
|
114
114
|
$data: {};
|
|
115
115
|
$props: {
|
|
116
|
-
readonly width?: string | number | undefined;
|
|
117
116
|
style?: unknown;
|
|
117
|
+
readonly width?: string | number | undefined;
|
|
118
118
|
key?: string | number | symbol | undefined;
|
|
119
119
|
ref?: import("vue").VNodeRef | undefined;
|
|
120
120
|
class?: unknown;
|
|
@@ -218,8 +218,8 @@ export declare const VftContainer: import("vft/es/utils").SFCWithInstall<{
|
|
|
218
218
|
$: import("vue").ComponentInternalInstance;
|
|
219
219
|
$data: {};
|
|
220
220
|
$props: {
|
|
221
|
-
readonly height?: string | number | undefined;
|
|
222
221
|
style?: unknown;
|
|
222
|
+
readonly height?: string | number | undefined;
|
|
223
223
|
key?: string | number | symbol | undefined;
|
|
224
224
|
ref?: import("vue").VNodeRef | undefined;
|
|
225
225
|
class?: unknown;
|
|
@@ -323,8 +323,8 @@ export declare const VftContainer: import("vft/es/utils").SFCWithInstall<{
|
|
|
323
323
|
$: import("vue").ComponentInternalInstance;
|
|
324
324
|
$data: {};
|
|
325
325
|
$props: {
|
|
326
|
-
readonly height?: string | number | undefined;
|
|
327
326
|
style?: unknown;
|
|
327
|
+
readonly height?: string | number | undefined;
|
|
328
328
|
key?: string | number | symbol | undefined;
|
|
329
329
|
ref?: import("vue").VNodeRef | undefined;
|
|
330
330
|
class?: unknown;
|
|
@@ -522,8 +522,8 @@ export declare const VftAside: import("vft/es/utils").SFCWithInstall<{
|
|
|
522
522
|
$: import("vue").ComponentInternalInstance;
|
|
523
523
|
$data: {};
|
|
524
524
|
$props: {
|
|
525
|
-
readonly width?: string | number | undefined;
|
|
526
525
|
style?: unknown;
|
|
526
|
+
readonly width?: string | number | undefined;
|
|
527
527
|
key?: string | number | symbol | undefined;
|
|
528
528
|
ref?: import("vue").VNodeRef | undefined;
|
|
529
529
|
class?: unknown;
|
|
@@ -627,8 +627,8 @@ export declare const VftFooter: import("vft/es/utils").SFCWithInstall<{
|
|
|
627
627
|
$: import("vue").ComponentInternalInstance;
|
|
628
628
|
$data: {};
|
|
629
629
|
$props: {
|
|
630
|
-
readonly height?: string | number | undefined;
|
|
631
630
|
style?: unknown;
|
|
631
|
+
readonly height?: string | number | undefined;
|
|
632
632
|
key?: string | number | symbol | undefined;
|
|
633
633
|
ref?: import("vue").VNodeRef | undefined;
|
|
634
634
|
class?: unknown;
|
|
@@ -732,8 +732,8 @@ export declare const VftHeader: import("vft/es/utils").SFCWithInstall<{
|
|
|
732
732
|
$: import("vue").ComponentInternalInstance;
|
|
733
733
|
$data: {};
|
|
734
734
|
$props: {
|
|
735
|
-
readonly height?: string | number | undefined;
|
|
736
735
|
style?: unknown;
|
|
736
|
+
readonly height?: string | number | undefined;
|
|
737
737
|
key?: string | number | symbol | undefined;
|
|
738
738
|
ref?: import("vue").VNodeRef | undefined;
|
|
739
739
|
class?: unknown;
|
|
@@ -55,7 +55,7 @@ export declare const useRangePicker: (props: PanelRangeSharedProps, { defaultVal
|
|
|
55
55
|
startOf: (unit: import("dayjs").OpUnitType) => Dayjs;
|
|
56
56
|
endOf: (unit: import("dayjs").OpUnitType) => Dayjs;
|
|
57
57
|
format: (template?: string | undefined) => string;
|
|
58
|
-
diff: (date?: string | number | Date | Dayjs | null | undefined, unit?: "
|
|
58
|
+
diff: (date?: string | number | Date | Dayjs | null | undefined, unit?: "s" | "ms" | "y" | "year" | "month" | "date" | "dates" | "week" | "D" | "M" | "h" | "hours" | "minutes" | "seconds" | "hour" | "minute" | "second" | "day" | "millisecond" | "milliseconds" | "days" | "months" | "years" | "d" | "m" | "weeks" | "w" | "quarter" | "quarters" | "Q" | undefined, float?: boolean | undefined) => number;
|
|
59
59
|
valueOf: () => number;
|
|
60
60
|
unix: () => number;
|
|
61
61
|
daysInMonth: () => number;
|
|
@@ -44,8 +44,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
44
44
|
__epPropKey: true;
|
|
45
45
|
};
|
|
46
46
|
}>> & {
|
|
47
|
-
onPick?: ((...args: any[]) => any) | undefined;
|
|
48
47
|
"onPanel-change"?: ((...args: any[]) => any) | undefined;
|
|
48
|
+
onPick?: ((...args: any[]) => any) | undefined;
|
|
49
49
|
"onSet-picker-option"?: ((...args: any[]) => any) | undefined;
|
|
50
50
|
}, {
|
|
51
51
|
format: string;
|
|
@@ -33,9 +33,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
33
33
|
__epPropKey: true;
|
|
34
34
|
};
|
|
35
35
|
}>> & {
|
|
36
|
-
onPick?: ((...args: any[]) => any) | undefined;
|
|
37
36
|
"onCalendar-change"?: ((...args: any[]) => any) | undefined;
|
|
38
37
|
"onPanel-change"?: ((...args: any[]) => any) | undefined;
|
|
38
|
+
onPick?: ((...args: any[]) => any) | undefined;
|
|
39
39
|
"onSet-picker-option"?: ((...args: any[]) => any) | undefined;
|
|
40
40
|
}, {
|
|
41
41
|
unlinkPanels: boolean;
|
|
@@ -51,8 +51,8 @@ export declare const getPanel: (type: IDatePickerType) => ({
|
|
|
51
51
|
[key: string]: any;
|
|
52
52
|
}>) => void)[] | undefined;
|
|
53
53
|
readonly visible?: import("../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
54
|
-
onPick?: ((...args: any[]) => any) | undefined;
|
|
55
54
|
"onPanel-change"?: ((...args: any[]) => any) | undefined;
|
|
55
|
+
onPick?: ((...args: any[]) => any) | undefined;
|
|
56
56
|
readonly parsedValue?: import("../../utils").EpPropMergeType<(new (...args: any[]) => import("dayjs").Dayjs | import("dayjs").Dayjs[]) | (() => import("dayjs").Dayjs | import("dayjs").Dayjs[]) | ((new (...args: any[]) => import("dayjs").Dayjs | import("dayjs").Dayjs[]) | (() => import("dayjs").Dayjs | import("dayjs").Dayjs[]))[], unknown, unknown> | undefined;
|
|
57
57
|
"onSet-picker-option"?: ((...args: any[]) => any) | undefined;
|
|
58
58
|
};
|
|
@@ -90,8 +90,8 @@ export declare const getPanel: (type: IDatePickerType) => ({
|
|
|
90
90
|
__epPropKey: true;
|
|
91
91
|
};
|
|
92
92
|
}>> & {
|
|
93
|
-
onPick?: ((...args: any[]) => any) | undefined;
|
|
94
93
|
"onPanel-change"?: ((...args: any[]) => any) | undefined;
|
|
94
|
+
onPick?: ((...args: any[]) => any) | undefined;
|
|
95
95
|
"onSet-picker-option"?: ((...args: any[]) => any) | undefined;
|
|
96
96
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
97
97
|
"panel-change": (...args: any[]) => void;
|
|
@@ -140,8 +140,8 @@ export declare const getPanel: (type: IDatePickerType) => ({
|
|
|
140
140
|
__epPropKey: true;
|
|
141
141
|
};
|
|
142
142
|
}>> & {
|
|
143
|
-
onPick?: ((...args: any[]) => any) | undefined;
|
|
144
143
|
"onPanel-change"?: ((...args: any[]) => any) | undefined;
|
|
144
|
+
onPick?: ((...args: any[]) => any) | undefined;
|
|
145
145
|
"onSet-picker-option"?: ((...args: any[]) => any) | undefined;
|
|
146
146
|
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
147
147
|
__isFragment?: undefined;
|
|
@@ -168,8 +168,8 @@ export declare const getPanel: (type: IDatePickerType) => ({
|
|
|
168
168
|
__epPropKey: true;
|
|
169
169
|
};
|
|
170
170
|
}>> & {
|
|
171
|
-
onPick?: ((...args: any[]) => any) | undefined;
|
|
172
171
|
"onPanel-change"?: ((...args: any[]) => any) | undefined;
|
|
172
|
+
onPick?: ((...args: any[]) => any) | undefined;
|
|
173
173
|
"onSet-picker-option"?: ((...args: any[]) => any) | undefined;
|
|
174
174
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
175
175
|
"panel-change": (...args: any[]) => void;
|
|
@@ -234,9 +234,9 @@ export declare const getPanel: (type: IDatePickerType) => ({
|
|
|
234
234
|
}>) => void) | ((vnode: globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
235
235
|
[key: string]: any;
|
|
236
236
|
}>) => void)[] | undefined;
|
|
237
|
-
onPick?: ((...args: any[]) => any) | undefined;
|
|
238
237
|
"onCalendar-change"?: ((...args: any[]) => any) | undefined;
|
|
239
238
|
"onPanel-change"?: ((...args: any[]) => any) | undefined;
|
|
239
|
+
onPick?: ((...args: any[]) => any) | undefined;
|
|
240
240
|
readonly parsedValue?: import("dayjs").Dayjs[] | undefined;
|
|
241
241
|
"onSet-picker-option"?: ((...args: any[]) => any) | undefined;
|
|
242
242
|
};
|
|
@@ -268,9 +268,9 @@ export declare const getPanel: (type: IDatePickerType) => ({
|
|
|
268
268
|
__epPropKey: true;
|
|
269
269
|
};
|
|
270
270
|
}>> & {
|
|
271
|
-
onPick?: ((...args: any[]) => any) | undefined;
|
|
272
271
|
"onCalendar-change"?: ((...args: any[]) => any) | undefined;
|
|
273
272
|
"onPanel-change"?: ((...args: any[]) => any) | undefined;
|
|
273
|
+
onPick?: ((...args: any[]) => any) | undefined;
|
|
274
274
|
"onSet-picker-option"?: ((...args: any[]) => any) | undefined;
|
|
275
275
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
276
276
|
"calendar-change": (...args: any[]) => void;
|
|
@@ -314,9 +314,9 @@ export declare const getPanel: (type: IDatePickerType) => ({
|
|
|
314
314
|
__epPropKey: true;
|
|
315
315
|
};
|
|
316
316
|
}>> & {
|
|
317
|
-
onPick?: ((...args: any[]) => any) | undefined;
|
|
318
317
|
"onCalendar-change"?: ((...args: any[]) => any) | undefined;
|
|
319
318
|
"onPanel-change"?: ((...args: any[]) => any) | undefined;
|
|
319
|
+
onPick?: ((...args: any[]) => any) | undefined;
|
|
320
320
|
"onSet-picker-option"?: ((...args: any[]) => any) | undefined;
|
|
321
321
|
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
322
322
|
__isFragment?: undefined;
|
|
@@ -337,9 +337,9 @@ export declare const getPanel: (type: IDatePickerType) => ({
|
|
|
337
337
|
__epPropKey: true;
|
|
338
338
|
};
|
|
339
339
|
}>> & {
|
|
340
|
-
onPick?: ((...args: any[]) => any) | undefined;
|
|
341
340
|
"onCalendar-change"?: ((...args: any[]) => any) | undefined;
|
|
342
341
|
"onPanel-change"?: ((...args: any[]) => any) | undefined;
|
|
342
|
+
onPick?: ((...args: any[]) => any) | undefined;
|
|
343
343
|
"onSet-picker-option"?: ((...args: any[]) => any) | undefined;
|
|
344
344
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
345
345
|
"calendar-change": (...args: any[]) => void;
|
|
@@ -159,11 +159,11 @@ export declare const VftDescriptions: import("vft/es/utils").SFCWithInstall<{
|
|
|
159
159
|
$: import("vue").ComponentInternalInstance;
|
|
160
160
|
$data: {};
|
|
161
161
|
$props: {
|
|
162
|
-
readonly width?: string | number | undefined;
|
|
163
162
|
readonly label?: string | undefined;
|
|
164
163
|
readonly span?: number | undefined;
|
|
165
164
|
style?: unknown;
|
|
166
165
|
readonly minWidth?: string | number | undefined;
|
|
166
|
+
readonly width?: string | number | undefined;
|
|
167
167
|
key?: string | number | symbol | undefined;
|
|
168
168
|
ref?: import("vue").VNodeRef | undefined;
|
|
169
169
|
class?: unknown;
|
|
@@ -335,11 +335,11 @@ export declare const VftDescriptionsItem: import("vft/es/utils").SFCWithInstall<
|
|
|
335
335
|
$: import("vue").ComponentInternalInstance;
|
|
336
336
|
$data: {};
|
|
337
337
|
$props: {
|
|
338
|
-
readonly width?: string | number | undefined;
|
|
339
338
|
readonly label?: string | undefined;
|
|
340
339
|
readonly span?: number | undefined;
|
|
341
340
|
style?: unknown;
|
|
342
341
|
readonly minWidth?: string | number | undefined;
|
|
342
|
+
readonly width?: string | number | undefined;
|
|
343
343
|
key?: string | number | symbol | undefined;
|
|
344
344
|
ref?: import("vue").VNodeRef | undefined;
|
|
345
345
|
class?: unknown;
|
|
@@ -8,11 +8,11 @@ export declare const VftDialog: import("vft/es/utils").SFCWithInstall<{
|
|
|
8
8
|
$: import("vue").ComponentInternalInstance;
|
|
9
9
|
$data: {};
|
|
10
10
|
$props: {
|
|
11
|
-
readonly top?: string | undefined;
|
|
12
|
-
readonly width?: string | number | undefined;
|
|
13
11
|
style?: unknown;
|
|
14
12
|
readonly title?: string | undefined;
|
|
15
13
|
readonly center?: boolean | undefined;
|
|
14
|
+
readonly top?: string | undefined;
|
|
15
|
+
readonly width?: string | number | undefined;
|
|
16
16
|
readonly zIndex?: number | undefined;
|
|
17
17
|
key?: string | number | symbol | undefined;
|
|
18
18
|
readonly fullscreen?: boolean | undefined;
|
|
@@ -4,12 +4,12 @@ export declare const VftDrawer: import("vft/es/utils").SFCWithInstall<{
|
|
|
4
4
|
$: import("vue").ComponentInternalInstance;
|
|
5
5
|
$data: {};
|
|
6
6
|
$props: {
|
|
7
|
-
readonly top?: string | undefined;
|
|
8
|
-
readonly width?: string | number | undefined;
|
|
9
7
|
style?: unknown;
|
|
10
8
|
readonly title?: string | undefined;
|
|
11
9
|
readonly center?: boolean | undefined;
|
|
12
10
|
readonly direction?: "ltr" | "rtl" | "ttb" | "btt" | undefined;
|
|
11
|
+
readonly top?: string | undefined;
|
|
12
|
+
readonly width?: string | number | undefined;
|
|
13
13
|
readonly zIndex?: number | undefined;
|
|
14
14
|
key?: string | number | symbol | undefined;
|
|
15
15
|
readonly fullscreen?: boolean | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const focusReason: globalThis.Ref<"
|
|
1
|
+
declare const focusReason: globalThis.Ref<"pointer" | "keyboard" | undefined>;
|
|
2
2
|
declare const lastUserFocusTimestamp: globalThis.Ref<number>;
|
|
3
3
|
declare const lastAutomatedFocusTimestamp: globalThis.Ref<number>;
|
|
4
4
|
export type FocusLayer = {
|
|
@@ -27,14 +27,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
27
27
|
size: {
|
|
28
28
|
type: globalThis.PropType<"" | "default" | "small" | "large">;
|
|
29
29
|
};
|
|
30
|
-
labelWidth: {
|
|
31
|
-
type: globalThis.PropType<string | number>;
|
|
32
|
-
default: string;
|
|
33
|
-
};
|
|
34
30
|
required: {
|
|
35
31
|
type: globalThis.PropType<boolean>;
|
|
36
32
|
default: undefined;
|
|
37
33
|
};
|
|
34
|
+
labelWidth: {
|
|
35
|
+
type: globalThis.PropType<string | number>;
|
|
36
|
+
default: string;
|
|
37
|
+
};
|
|
38
38
|
rules: {
|
|
39
39
|
type: globalThis.PropType<Arrayable<FormItemRule>>;
|
|
40
40
|
};
|
|
@@ -92,14 +92,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
92
92
|
size: {
|
|
93
93
|
type: globalThis.PropType<"" | "default" | "small" | "large">;
|
|
94
94
|
};
|
|
95
|
-
labelWidth: {
|
|
96
|
-
type: globalThis.PropType<string | number>;
|
|
97
|
-
default: string;
|
|
98
|
-
};
|
|
99
95
|
required: {
|
|
100
96
|
type: globalThis.PropType<boolean>;
|
|
101
97
|
default: undefined;
|
|
102
98
|
};
|
|
99
|
+
labelWidth: {
|
|
100
|
+
type: globalThis.PropType<string | number>;
|
|
101
|
+
default: string;
|
|
102
|
+
};
|
|
103
103
|
rules: {
|
|
104
104
|
type: globalThis.PropType<Arrayable<FormItemRule>>;
|
|
105
105
|
};
|
|
@@ -120,8 +120,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
120
120
|
}>> & {
|
|
121
121
|
"onUpdate:error"?: ((val: string) => any) | undefined;
|
|
122
122
|
}, {
|
|
123
|
-
labelWidth: string | number;
|
|
124
123
|
required: boolean;
|
|
124
|
+
labelWidth: string | number;
|
|
125
125
|
inlineMessage: string | boolean;
|
|
126
126
|
showMessage: boolean;
|
|
127
127
|
}, {}>, {
|
|
@@ -32,7 +32,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
32
32
|
type: globalThis.PropType<Partial<Record<string, Arrayable<import("./types").FormItemRule>>>>;
|
|
33
33
|
};
|
|
34
34
|
labelPosition: {
|
|
35
|
-
type: globalThis.PropType<"
|
|
35
|
+
type: globalThis.PropType<"left" | "right" | "top">;
|
|
36
36
|
};
|
|
37
37
|
requireAsteriskPosition: {
|
|
38
38
|
type: globalThis.PropType<"left" | "right">;
|
|
@@ -101,7 +101,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
101
101
|
type: globalThis.PropType<Partial<Record<string, Arrayable<import("./types").FormItemRule>>>>;
|
|
102
102
|
};
|
|
103
103
|
labelPosition: {
|
|
104
|
-
type: globalThis.PropType<"
|
|
104
|
+
type: globalThis.PropType<"left" | "right" | "top">;
|
|
105
105
|
};
|
|
106
106
|
requireAsteriskPosition: {
|
|
107
107
|
type: globalThis.PropType<"left" | "right">;
|