@vunk/form 0.0.1-alpha.16 → 0.0.1-alpha.19
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/components/checkbox/index.js +9 -0
- package/components/checkbox/src/ctx.d.ts +5 -1
- package/components/checkbox/src/ctx.js +8 -0
- package/components/checkbox/src/index.vue.d.ts +12 -3
- package/components/color-picker/index.d.ts +4 -0
- package/components/color-picker/index.js +72 -0
- package/components/color-picker/src/ctx.d.ts +66 -0
- package/components/color-picker/src/ctx.js +23 -0
- package/components/color-picker/src/index.vue.d.ts +176 -0
- package/components/color-picker/src/types.d.ts +1 -0
- package/components/color-picker/src/types.js +1 -0
- package/components/date-picker/src/index.vue.d.ts +4 -4
- package/components/form/src/ctx.d.ts +13 -13
- package/components/form/src/index.vue.d.ts +36 -36
- package/components/form-item-renderer/src/index.vue.d.ts +1 -1
- package/components/form-item-renderer-template-default/index.js +18 -2
- package/components/input/src/ctx.d.ts +3 -3
- package/components/input/src/index.vue.d.ts +17 -17
- package/components/input-number/src/index.vue.d.ts +5 -5
- package/components/select/src/index.vue.d.ts +3 -3
- package/components/switch/src/index.vue.d.ts +3 -3
- package/components/upload/src/ctx.d.ts +1 -1
- package/components/upload/src/file.vue.d.ts +3 -3
- package/components/upload/src/index.vue.d.ts +7 -6
- package/index.d.ts +1 -0
- package/index.esm.js +1 -0
- package/package.json +2 -2
- package/shared/element-plus/ctx.d.ts +23 -17
- package/shared/element-plus/index.js +42 -2
- package/shared/element-plus/instances.d.ts +30 -0
- package/shared/types/index.d.ts +1 -0
- package/shared/types/renderer-source/color-picker.d.ts +7 -0
- package/shared/types/renderer-source/index.d.ts +3 -1
|
@@ -104,6 +104,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
104
104
|
tabindex: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
105
105
|
validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
106
106
|
width: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
107
|
+
borderColor: string;
|
|
107
108
|
inlinePrompt: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
108
109
|
activeIcon: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>;
|
|
109
110
|
inactiveIcon: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>;
|
|
@@ -111,7 +112,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
111
112
|
inactiveText: string;
|
|
112
113
|
activeColor: string;
|
|
113
114
|
inactiveColor: string;
|
|
114
|
-
borderColor: string;
|
|
115
115
|
activeValue: import("element-plus/es/utils").EpPropMergeType<readonly [BooleanConstructor, StringConstructor, NumberConstructor], unknown, unknown>;
|
|
116
116
|
inactiveValue: import("element-plus/es/utils").EpPropMergeType<readonly [BooleanConstructor, StringConstructor, NumberConstructor], unknown, unknown>;
|
|
117
117
|
loading: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -223,7 +223,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
223
223
|
modelValue: boolean;
|
|
224
224
|
disabled: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
225
225
|
validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
226
|
+
defaultModelValue: boolean;
|
|
226
227
|
width: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
228
|
+
borderColor: string;
|
|
227
229
|
inlinePrompt: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
228
230
|
activeIcon: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>;
|
|
229
231
|
inactiveIcon: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>;
|
|
@@ -231,10 +233,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
231
233
|
inactiveText: string;
|
|
232
234
|
activeColor: string;
|
|
233
235
|
inactiveColor: string;
|
|
234
|
-
borderColor: string;
|
|
235
236
|
activeValue: import("element-plus/es/utils").EpPropMergeType<readonly [BooleanConstructor, StringConstructor, NumberConstructor], unknown, unknown>;
|
|
236
237
|
inactiveValue: import("element-plus/es/utils").EpPropMergeType<readonly [BooleanConstructor, StringConstructor, NumberConstructor], unknown, unknown>;
|
|
237
238
|
loading: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
238
|
-
defaultModelValue: boolean;
|
|
239
239
|
}>;
|
|
240
240
|
export default _default;
|
|
@@ -104,7 +104,7 @@ export declare const props: {
|
|
|
104
104
|
type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "select", boolean>;
|
|
105
105
|
fileList: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").UploadUserFile[]) | (() => import("element-plus").UploadUserFile[]) | ((new (...args: any[]) => import("element-plus").UploadUserFile[]) | (() => import("element-plus").UploadUserFile[]))[], unknown, unknown, () => [], boolean>;
|
|
106
106
|
autoUpload: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
107
|
-
listType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "
|
|
107
|
+
listType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "picture" | "text" | "picture-card", unknown, "text", boolean>;
|
|
108
108
|
httpRequest: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").UploadRequestHandler) | (() => import("element-plus").UploadRequestHandler) | {
|
|
109
109
|
(): import("element-plus").UploadRequestHandler;
|
|
110
110
|
new (): any;
|
|
@@ -2,7 +2,7 @@ import { UploadFile } from 'element-plus';
|
|
|
2
2
|
import { PropType } from 'vue';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<{
|
|
4
4
|
listType: {
|
|
5
|
-
type: PropType<"
|
|
5
|
+
type: PropType<"picture" | "text" | "picture-card">;
|
|
6
6
|
default: string;
|
|
7
7
|
};
|
|
8
8
|
file: {
|
|
@@ -65,7 +65,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
65
65
|
remove: (e: UploadFile) => UploadFile;
|
|
66
66
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
67
67
|
listType: {
|
|
68
|
-
type: PropType<"
|
|
68
|
+
type: PropType<"picture" | "text" | "picture-card">;
|
|
69
69
|
default: string;
|
|
70
70
|
};
|
|
71
71
|
file: {
|
|
@@ -89,7 +89,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
89
89
|
}, {
|
|
90
90
|
disabled: boolean;
|
|
91
91
|
file: UploadFile;
|
|
92
|
-
listType: "
|
|
92
|
+
listType: "picture" | "text" | "picture-card";
|
|
93
93
|
onPreview: (arg: UploadFile) => any;
|
|
94
94
|
preview: boolean;
|
|
95
95
|
}>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { UploadFile } from 'element-plus';
|
|
2
|
+
import type { AnyFunc } from '@vunk/core';
|
|
2
3
|
declare const _default: import("vue").DefineComponent<{
|
|
3
4
|
tip: {
|
|
4
5
|
type: StringConstructor;
|
|
@@ -104,7 +105,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
104
105
|
type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "select", boolean>;
|
|
105
106
|
fileList: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").UploadUserFile[]) | (() => import("element-plus").UploadUserFile[]) | ((new (...args: any[]) => import("element-plus").UploadUserFile[]) | (() => import("element-plus").UploadUserFile[]))[], unknown, unknown, () => [], boolean>;
|
|
106
107
|
autoUpload: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
107
|
-
listType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "
|
|
108
|
+
listType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "picture" | "text" | "picture-card", unknown, "text", boolean>;
|
|
108
109
|
httpRequest: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").UploadRequestHandler) | (() => import("element-plus").UploadRequestHandler) | {
|
|
109
110
|
(): import("element-plus").UploadRequestHandler;
|
|
110
111
|
new (): any;
|
|
@@ -179,9 +180,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
179
180
|
data: Record<string, any>;
|
|
180
181
|
disabled: boolean;
|
|
181
182
|
onChange: (uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
183
|
+
drag: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
182
184
|
multiple: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
183
185
|
onRemove: ((uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) & ((e: UploadFile) => any);
|
|
184
|
-
listType: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "
|
|
186
|
+
listType: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "picture" | "text" | "picture-card", unknown>;
|
|
185
187
|
onPreview: (uploadFile: UploadFile) => void;
|
|
186
188
|
method: string;
|
|
187
189
|
beforeUpload: (rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>;
|
|
@@ -192,7 +194,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
192
194
|
onExceed: (files: File[], uploadFiles: import("element-plus").UploadUserFile[]) => void;
|
|
193
195
|
action: string;
|
|
194
196
|
headers: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers) | ((new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers))[], unknown, unknown> | undefined;
|
|
195
|
-
drag: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
196
197
|
withCredentials: boolean;
|
|
197
198
|
showFileList: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
198
199
|
accept: string;
|
|
@@ -313,7 +314,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
313
314
|
type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "select", boolean>;
|
|
314
315
|
fileList: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").UploadUserFile[]) | (() => import("element-plus").UploadUserFile[]) | ((new (...args: any[]) => import("element-plus").UploadUserFile[]) | (() => import("element-plus").UploadUserFile[]))[], unknown, unknown, () => [], boolean>;
|
|
315
316
|
autoUpload: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
316
|
-
listType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "
|
|
317
|
+
listType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "picture" | "text" | "picture-card", unknown, "text", boolean>;
|
|
317
318
|
httpRequest: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").UploadRequestHandler) | (() => import("element-plus").UploadRequestHandler) | {
|
|
318
319
|
(): import("element-plus").UploadRequestHandler;
|
|
319
320
|
new (): any;
|
|
@@ -377,9 +378,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
377
378
|
data: Record<string, any>;
|
|
378
379
|
disabled: boolean;
|
|
379
380
|
onChange: (uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
381
|
+
drag: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
380
382
|
multiple: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
381
383
|
onRemove: (uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
382
|
-
listType: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "
|
|
384
|
+
listType: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "picture" | "text" | "picture-card", unknown>;
|
|
383
385
|
onPreview: (uploadFile: UploadFile) => void;
|
|
384
386
|
preview: string;
|
|
385
387
|
method: string;
|
|
@@ -389,7 +391,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
389
391
|
onError: (error: Error, uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
390
392
|
onExceed: (files: File[], uploadFiles: import("element-plus").UploadUserFile[]) => void;
|
|
391
393
|
action: string;
|
|
392
|
-
drag: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
393
394
|
withCredentials: boolean;
|
|
394
395
|
showFileList: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
395
396
|
accept: string;
|
package/index.d.ts
CHANGED
|
@@ -6,4 +6,5 @@ export * from '@vunk/form/composables';
|
|
|
6
6
|
export * from '@vunk/form/components/form-item-renderer';
|
|
7
7
|
export * from '@vunk/form/components/form-item-renderer-template';
|
|
8
8
|
export * from '@vunk/form/components/form-item-renderer-template-layout';
|
|
9
|
+
export * from '@vunk/form/components/form-item-renderer-template-default';
|
|
9
10
|
export * from '@vunk/form/components/form';
|
package/index.esm.js
CHANGED
|
@@ -7,6 +7,7 @@ export * from '@vunk/form/components/form-item-renderer-template';
|
|
|
7
7
|
import { VkfFormItemRendererTemplateLayout } from '@vunk/form/components/form-item-renderer-template-layout';
|
|
8
8
|
export * from '@vunk/form/components/form-item-renderer-template-layout';
|
|
9
9
|
import { VkfFormItemRendererTemplateDefault } from '@vunk/form/components/form-item-renderer-template-default';
|
|
10
|
+
export * from '@vunk/form/components/form-item-renderer-template-default';
|
|
10
11
|
export * from '@vunk/form/shared';
|
|
11
12
|
export * from '@vunk/form/composables';
|
|
12
13
|
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vunk/form",
|
|
3
|
-
"version": "0.0.1-alpha.
|
|
3
|
+
"version": "0.0.1-alpha.19",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.esm.js",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"build": "gulp -f gulpfile.ts"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@vunk/core": "
|
|
10
|
+
"@vunk/core": "npm:@vunk/core@alpha"
|
|
11
11
|
},
|
|
12
12
|
"keywords": [],
|
|
13
13
|
"author": "",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare const createInputBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"type", keyof T2> | Extract<"size", keyof T2> | Extract<"label", keyof T2> | Extract<"
|
|
2
|
-
export declare const createInputOnEmits: <T2 extends AnyFunc, EX extends ("
|
|
1
|
+
export declare const createInputBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"type", keyof T2> | Extract<"size", keyof T2> | Extract<"label", keyof T2> | Extract<"form", keyof T2> | Extract<"resize", keyof T2> | Extract<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"clearable", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"readonly", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"formatter", keyof T2> | Extract<"parser", keyof T2> | Extract<"showPassword", keyof T2> | Extract<"showWordLimit", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"containerRole", keyof T2> | Extract<"inputStyle", keyof T2>)[] | undefined>(propsArg: T2, excludes?: EX | undefined) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"type", keyof T2>, KE> | Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"label", keyof T2>, KE> | Exclude<Extract<"form", keyof T2>, KE> | Exclude<Extract<"resize", keyof T2>, KE> | Exclude<Extract<"disabled", keyof T2>, KE> | Exclude<Extract<"id", keyof T2>, KE> | Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"tabindex", keyof T2>, KE> | Exclude<Extract<"validateEvent", keyof T2>, KE> | Exclude<Extract<"clearable", keyof T2>, KE> | Exclude<Extract<"prefixIcon", keyof T2>, KE> | Exclude<Extract<"readonly", keyof T2>, KE> | Exclude<Extract<"placeholder", keyof T2>, KE> | Exclude<Extract<"autosize", keyof T2>, KE> | Exclude<Extract<"autocomplete", keyof T2>, KE> | Exclude<Extract<"formatter", keyof T2>, KE> | Exclude<Extract<"parser", keyof T2>, KE> | Exclude<Extract<"showPassword", keyof T2>, KE> | Exclude<Extract<"showWordLimit", keyof T2>, KE> | Exclude<Extract<"suffixIcon", keyof T2>, KE> | Exclude<Extract<"containerRole", keyof T2>, KE> | Exclude<Extract<"inputStyle", keyof T2>, KE> : Extract<"type", keyof T2> | Extract<"size", keyof T2> | Extract<"label", keyof T2> | Extract<"form", keyof T2> | Extract<"resize", keyof T2> | Extract<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"clearable", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"readonly", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"formatter", keyof T2> | Extract<"parser", keyof T2> | Extract<"showPassword", keyof T2> | Extract<"showWordLimit", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"containerRole", keyof T2> | Extract<"inputStyle", keyof T2>]: { [k in Extract<"type", keyof T2> | Extract<"size", keyof T2> | Extract<"label", keyof T2> | Extract<"form", keyof T2> | Extract<"resize", keyof T2> | Extract<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"clearable", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"readonly", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"formatter", keyof T2> | Extract<"parser", keyof T2> | Extract<"showPassword", keyof T2> | Extract<"showWordLimit", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"containerRole", keyof T2> | Extract<"inputStyle", keyof T2>]: T2[k]; }[P]; }>;
|
|
2
|
+
export declare const createInputOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("input" | "blur" | "change" | "compositionend" | "compositionstart" | "compositionupdate" | "focus" | "keydown" | "mouseenter" | "mouseleave" | "clear" | "update:modelValue")[] | undefined>(emit: T2, excludes?: EX | undefined) => { [P in EX extends (infer KE)[] ? Exclude<"input", KE> | Exclude<"blur", KE> | Exclude<"change", KE> | Exclude<"compositionend", KE> | Exclude<"compositionstart", KE> | Exclude<"compositionupdate", KE> | Exclude<"focus", KE> | Exclude<"keydown", KE> | Exclude<"mouseenter", KE> | Exclude<"mouseleave", KE> | Exclude<"clear", KE> | Exclude<"update:modelValue", KE> : "input" | "blur" | "change" | "compositionend" | "compositionstart" | "compositionupdate" | "focus" | "keydown" | "mouseenter" | "mouseleave" | "clear" | "update:modelValue"]: {
|
|
3
3
|
"update:modelValue": (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
4
4
|
input: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
5
5
|
change: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
@@ -13,19 +13,19 @@ export declare const createInputOnEmits: <T2 extends AnyFunc, EX extends ("updat
|
|
|
13
13
|
compositionupdate: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
14
14
|
compositionend: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
15
15
|
}[P]; };
|
|
16
|
-
export declare const createFormBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"size", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"rules", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"
|
|
17
|
-
export declare const createFormOnEmits: <T2 extends AnyFunc, EX extends "validate"[] | undefined>(emit: T2, excludes?: EX | undefined) => { [P in EX extends (infer KE)[] ? Exclude<"validate", KE> : "validate"]: {
|
|
16
|
+
export declare const createFormBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"size", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"rules", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"inline", keyof T2> | Extract<"disabled", keyof T2> | Extract<"model", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"labelSuffix", keyof T2> | Extract<"statusIcon", keyof T2> | Extract<"validateOnRuleChange", keyof T2> | Extract<"hideRequiredAsterisk", keyof T2> | Extract<"scrollToError", keyof T2>)[] | undefined>(propsArg: T2, excludes?: EX | undefined) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"labelWidth", keyof T2>, KE> | Exclude<Extract<"rules", keyof T2>, KE> | Exclude<Extract<"inlineMessage", keyof T2>, KE> | Exclude<Extract<"showMessage", keyof T2>, KE> | Exclude<Extract<"inline", keyof T2>, KE> | Exclude<Extract<"disabled", keyof T2>, KE> | Exclude<Extract<"model", keyof T2>, KE> | Exclude<Extract<"labelPosition", keyof T2>, KE> | Exclude<Extract<"labelSuffix", keyof T2>, KE> | Exclude<Extract<"statusIcon", keyof T2>, KE> | Exclude<Extract<"validateOnRuleChange", keyof T2>, KE> | Exclude<Extract<"hideRequiredAsterisk", keyof T2>, KE> | Exclude<Extract<"scrollToError", keyof T2>, KE> : Extract<"size", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"rules", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"inline", keyof T2> | Extract<"disabled", keyof T2> | Extract<"model", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"labelSuffix", keyof T2> | Extract<"statusIcon", keyof T2> | Extract<"validateOnRuleChange", keyof T2> | Extract<"hideRequiredAsterisk", keyof T2> | Extract<"scrollToError", keyof T2>]: { [k in Extract<"size", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"rules", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"inline", keyof T2> | Extract<"disabled", keyof T2> | Extract<"model", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"labelSuffix", keyof T2> | Extract<"statusIcon", keyof T2> | Extract<"validateOnRuleChange", keyof T2> | Extract<"hideRequiredAsterisk", keyof T2> | Extract<"scrollToError", keyof T2>]: T2[k]; }[P]; }>;
|
|
17
|
+
export declare const createFormOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends "validate"[] | undefined>(emit: T2, excludes?: EX | undefined) => { [P in EX extends (infer KE)[] ? Exclude<"validate", KE> : "validate"]: {
|
|
18
18
|
validate: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
19
19
|
}[P]; };
|
|
20
20
|
export declare const createFormItemBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"required", keyof T2> | Extract<"size", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2>)[] | undefined>(propsArg: T2, excludes?: EX | undefined) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"required", keyof T2>, KE> | Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"label", keyof T2>, KE> | Exclude<Extract<"labelWidth", keyof T2>, KE> | Exclude<Extract<"prop", keyof T2>, KE> | Exclude<Extract<"rules", keyof T2>, KE> | Exclude<Extract<"error", keyof T2>, KE> | Exclude<Extract<"validateStatus", keyof T2>, KE> | Exclude<Extract<"for", keyof T2>, KE> | Exclude<Extract<"inlineMessage", keyof T2>, KE> | Exclude<Extract<"showMessage", keyof T2>, KE> : Extract<"required", keyof T2> | Extract<"size", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2>]: { [k in Extract<"required", keyof T2> | Extract<"size", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2>]: T2[k]; }[P]; }>;
|
|
21
|
-
export declare const createSwitchBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"size", keyof T2> | Extract<"
|
|
22
|
-
export declare const createSwitchOnEmits: <T2 extends AnyFunc, EX extends ("
|
|
21
|
+
export declare const createSwitchBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"size", keyof T2> | Extract<"width", keyof T2> | Extract<"borderColor", keyof T2> | Extract<"disabled", keyof T2> | Extract<"value", keyof T2> | Extract<"id", keyof T2> | Extract<"name", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"inlinePrompt", keyof T2> | Extract<"activeIcon", keyof T2> | Extract<"inactiveIcon", keyof T2> | Extract<"activeText", keyof T2> | Extract<"inactiveText", keyof T2> | Extract<"activeColor", keyof T2> | Extract<"inactiveColor", keyof T2> | Extract<"activeValue", keyof T2> | Extract<"inactiveValue", keyof T2> | Extract<"loading", keyof T2> | Extract<"beforeChange", keyof T2>)[] | undefined>(propsArg: T2, excludes?: EX | undefined) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"width", keyof T2>, KE> | Exclude<Extract<"borderColor", keyof T2>, KE> | Exclude<Extract<"disabled", keyof T2>, KE> | Exclude<Extract<"value", keyof T2>, KE> | Exclude<Extract<"id", keyof T2>, KE> | Exclude<Extract<"name", keyof T2>, KE> | Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"tabindex", keyof T2>, KE> | Exclude<Extract<"validateEvent", keyof T2>, KE> | Exclude<Extract<"inlinePrompt", keyof T2>, KE> | Exclude<Extract<"activeIcon", keyof T2>, KE> | Exclude<Extract<"inactiveIcon", keyof T2>, KE> | Exclude<Extract<"activeText", keyof T2>, KE> | Exclude<Extract<"inactiveText", keyof T2>, KE> | Exclude<Extract<"activeColor", keyof T2>, KE> | Exclude<Extract<"inactiveColor", keyof T2>, KE> | Exclude<Extract<"activeValue", keyof T2>, KE> | Exclude<Extract<"inactiveValue", keyof T2>, KE> | Exclude<Extract<"loading", keyof T2>, KE> | Exclude<Extract<"beforeChange", keyof T2>, KE> : Extract<"size", keyof T2> | Extract<"width", keyof T2> | Extract<"borderColor", keyof T2> | Extract<"disabled", keyof T2> | Extract<"value", keyof T2> | Extract<"id", keyof T2> | Extract<"name", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"inlinePrompt", keyof T2> | Extract<"activeIcon", keyof T2> | Extract<"inactiveIcon", keyof T2> | Extract<"activeText", keyof T2> | Extract<"inactiveText", keyof T2> | Extract<"activeColor", keyof T2> | Extract<"inactiveColor", keyof T2> | Extract<"activeValue", keyof T2> | Extract<"inactiveValue", keyof T2> | Extract<"loading", keyof T2> | Extract<"beforeChange", keyof T2>]: { [k in Extract<"size", keyof T2> | Extract<"width", keyof T2> | Extract<"borderColor", keyof T2> | Extract<"disabled", keyof T2> | Extract<"value", keyof T2> | Extract<"id", keyof T2> | Extract<"name", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"inlinePrompt", keyof T2> | Extract<"activeIcon", keyof T2> | Extract<"inactiveIcon", keyof T2> | Extract<"activeText", keyof T2> | Extract<"inactiveText", keyof T2> | Extract<"activeColor", keyof T2> | Extract<"inactiveColor", keyof T2> | Extract<"activeValue", keyof T2> | Extract<"inactiveValue", keyof T2> | Extract<"loading", keyof T2> | Extract<"beforeChange", keyof T2>]: T2[k]; }[P]; }>;
|
|
22
|
+
export declare const createSwitchOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("input" | "change" | "update:modelValue")[] | undefined>(emit: T2, excludes?: EX | undefined) => { [P in EX extends (infer KE)[] ? Exclude<"input", KE> | Exclude<"change", KE> | Exclude<"update:modelValue", KE> : "input" | "change" | "update:modelValue"]: {
|
|
23
23
|
"update:modelValue": (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
24
24
|
change: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
25
25
|
input: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
26
26
|
}[P]; };
|
|
27
|
-
export declare const createSelectBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"size", keyof T2> | Extract<"
|
|
28
|
-
export declare const createSelectOnEmits: <T2 extends AnyFunc, EX extends ("
|
|
27
|
+
export declare const createSelectBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"size", keyof T2> | Extract<"multiple", keyof T2> | Extract<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"name", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"clearable", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"loading", keyof T2> | Extract<"automaticDropdown", keyof T2> | Extract<"effect", keyof T2> | Extract<"filterable", keyof T2> | Extract<"allowCreate", keyof T2> | Extract<"remote", keyof T2> | Extract<"loadingText", keyof T2> | Extract<"noMatchText", keyof T2> | Extract<"noDataText", keyof T2> | Extract<"remoteMethod", keyof T2> | Extract<"filterMethod", keyof T2> | Extract<"multipleLimit", keyof T2> | Extract<"defaultFirstOption", keyof T2> | Extract<"reserveKeyword", keyof T2> | Extract<"valueKey", keyof T2> | Extract<"collapseTags", keyof T2> | Extract<"collapseTagsTooltip", keyof T2> | Extract<"teleported", keyof T2> | Extract<"persistent", keyof T2> | Extract<"fitInputWidth", keyof T2> | Extract<"tagType", keyof T2>)[] | undefined>(propsArg: T2, excludes?: EX | undefined) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"multiple", keyof T2>, KE> | Exclude<Extract<"disabled", keyof T2>, KE> | Exclude<Extract<"id", keyof T2>, KE> | Exclude<Extract<"name", keyof T2>, KE> | Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"popperClass", keyof T2>, KE> | Exclude<Extract<"clearable", keyof T2>, KE> | Exclude<Extract<"clearIcon", keyof T2>, KE> | Exclude<Extract<"placeholder", keyof T2>, KE> | Exclude<Extract<"autocomplete", keyof T2>, KE> | Exclude<Extract<"suffixIcon", keyof T2>, KE> | Exclude<Extract<"loading", keyof T2>, KE> | Exclude<Extract<"automaticDropdown", keyof T2>, KE> | Exclude<Extract<"effect", keyof T2>, KE> | Exclude<Extract<"filterable", keyof T2>, KE> | Exclude<Extract<"allowCreate", keyof T2>, KE> | Exclude<Extract<"remote", keyof T2>, KE> | Exclude<Extract<"loadingText", keyof T2>, KE> | Exclude<Extract<"noMatchText", keyof T2>, KE> | Exclude<Extract<"noDataText", keyof T2>, KE> | Exclude<Extract<"remoteMethod", keyof T2>, KE> | Exclude<Extract<"filterMethod", keyof T2>, KE> | Exclude<Extract<"multipleLimit", keyof T2>, KE> | Exclude<Extract<"defaultFirstOption", keyof T2>, KE> | Exclude<Extract<"reserveKeyword", keyof T2>, KE> | Exclude<Extract<"valueKey", keyof T2>, KE> | Exclude<Extract<"collapseTags", keyof T2>, KE> | Exclude<Extract<"collapseTagsTooltip", keyof T2>, KE> | Exclude<Extract<"teleported", keyof T2>, KE> | Exclude<Extract<"persistent", keyof T2>, KE> | Exclude<Extract<"fitInputWidth", keyof T2>, KE> | Exclude<Extract<"tagType", keyof T2>, KE> : Extract<"size", keyof T2> | Extract<"multiple", keyof T2> | Extract<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"name", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"clearable", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"loading", keyof T2> | Extract<"automaticDropdown", keyof T2> | Extract<"effect", keyof T2> | Extract<"filterable", keyof T2> | Extract<"allowCreate", keyof T2> | Extract<"remote", keyof T2> | Extract<"loadingText", keyof T2> | Extract<"noMatchText", keyof T2> | Extract<"noDataText", keyof T2> | Extract<"remoteMethod", keyof T2> | Extract<"filterMethod", keyof T2> | Extract<"multipleLimit", keyof T2> | Extract<"defaultFirstOption", keyof T2> | Extract<"reserveKeyword", keyof T2> | Extract<"valueKey", keyof T2> | Extract<"collapseTags", keyof T2> | Extract<"collapseTagsTooltip", keyof T2> | Extract<"teleported", keyof T2> | Extract<"persistent", keyof T2> | Extract<"fitInputWidth", keyof T2> | Extract<"tagType", keyof T2>]: { [k in Extract<"size", keyof T2> | Extract<"multiple", keyof T2> | Extract<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"name", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"clearable", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"loading", keyof T2> | Extract<"automaticDropdown", keyof T2> | Extract<"effect", keyof T2> | Extract<"filterable", keyof T2> | Extract<"allowCreate", keyof T2> | Extract<"remote", keyof T2> | Extract<"loadingText", keyof T2> | Extract<"noMatchText", keyof T2> | Extract<"noDataText", keyof T2> | Extract<"remoteMethod", keyof T2> | Extract<"filterMethod", keyof T2> | Extract<"multipleLimit", keyof T2> | Extract<"defaultFirstOption", keyof T2> | Extract<"reserveKeyword", keyof T2> | Extract<"valueKey", keyof T2> | Extract<"collapseTags", keyof T2> | Extract<"collapseTagsTooltip", keyof T2> | Extract<"teleported", keyof T2> | Extract<"persistent", keyof T2> | Extract<"fitInputWidth", keyof T2> | Extract<"tagType", keyof T2>]: T2[k]; }[P]; }>;
|
|
28
|
+
export declare const createSelectOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("blur" | "change" | "focus" | "clear" | "update:modelValue" | "visible-change" | "remove-tag")[] | undefined>(emit: T2, excludes?: EX | undefined) => { [P in EX extends (infer KE)[] ? Exclude<"blur", KE> | Exclude<"change", KE> | Exclude<"focus", KE> | Exclude<"clear", KE> | Exclude<"update:modelValue", KE> | Exclude<"visible-change", KE> | Exclude<"remove-tag", KE> : "blur" | "change" | "focus" | "clear" | "update:modelValue" | "visible-change" | "remove-tag"]: {
|
|
29
29
|
'update:modelValue': (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
30
30
|
change: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
31
31
|
'remove-tag': (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
@@ -34,8 +34,8 @@ export declare const createSelectOnEmits: <T2 extends AnyFunc, EX extends ("upda
|
|
|
34
34
|
focus: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
35
35
|
blur: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
36
36
|
}[P]; };
|
|
37
|
-
export declare const createDatePickerBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"type", keyof T2> | Extract<"size", keyof T2> | Extract<"label", keyof T2> | Extract<"
|
|
38
|
-
export declare const createDatePickerOnEmits: <T2 extends AnyFunc, EX extends ("
|
|
37
|
+
export declare const createDatePickerBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"type", keyof T2> | Extract<"size", keyof T2> | Extract<"label", keyof T2> | Extract<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"name", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"disabledDate", keyof T2> | Extract<"cellClassName", keyof T2> | Extract<"shortcuts", keyof T2> | Extract<"arrowControl", keyof T2> | Extract<"unlinkPanels", keyof T2> | Extract<"disabledHours", keyof T2> | Extract<"disabledMinutes", keyof T2> | Extract<"disabledSeconds", keyof T2> | Extract<"format", keyof T2> | Extract<"valueFormat", keyof T2> | Extract<"clearable", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"editable", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"readonly", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"popperOptions", keyof T2> | Extract<"rangeSeparator", keyof T2> | Extract<"startPlaceholder", keyof T2> | Extract<"endPlaceholder", keyof T2> | Extract<"defaultValue", keyof T2> | Extract<"defaultTime", keyof T2> | Extract<"isRange", keyof T2>)[] | undefined>(propsArg: T2, excludes?: EX | undefined) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"type", keyof T2>, KE> | Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"label", keyof T2>, KE> | Exclude<Extract<"disabled", keyof T2>, KE> | Exclude<Extract<"id", keyof T2>, KE> | Exclude<Extract<"name", keyof T2>, KE> | Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"tabindex", keyof T2>, KE> | Exclude<Extract<"validateEvent", keyof T2>, KE> | Exclude<Extract<"popperClass", keyof T2>, KE> | Exclude<Extract<"disabledDate", keyof T2>, KE> | Exclude<Extract<"cellClassName", keyof T2>, KE> | Exclude<Extract<"shortcuts", keyof T2>, KE> | Exclude<Extract<"arrowControl", keyof T2>, KE> | Exclude<Extract<"unlinkPanels", keyof T2>, KE> | Exclude<Extract<"disabledHours", keyof T2>, KE> | Exclude<Extract<"disabledMinutes", keyof T2>, KE> | Exclude<Extract<"disabledSeconds", keyof T2>, KE> | Exclude<Extract<"format", keyof T2>, KE> | Exclude<Extract<"valueFormat", keyof T2>, KE> | Exclude<Extract<"clearable", keyof T2>, KE> | Exclude<Extract<"clearIcon", keyof T2>, KE> | Exclude<Extract<"editable", keyof T2>, KE> | Exclude<Extract<"prefixIcon", keyof T2>, KE> | Exclude<Extract<"readonly", keyof T2>, KE> | Exclude<Extract<"placeholder", keyof T2>, KE> | Exclude<Extract<"popperOptions", keyof T2>, KE> | Exclude<Extract<"rangeSeparator", keyof T2>, KE> | Exclude<Extract<"startPlaceholder", keyof T2>, KE> | Exclude<Extract<"endPlaceholder", keyof T2>, KE> | Exclude<Extract<"defaultValue", keyof T2>, KE> | Exclude<Extract<"defaultTime", keyof T2>, KE> | Exclude<Extract<"isRange", keyof T2>, KE> : Extract<"type", keyof T2> | Extract<"size", keyof T2> | Extract<"label", keyof T2> | Extract<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"name", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"disabledDate", keyof T2> | Extract<"cellClassName", keyof T2> | Extract<"shortcuts", keyof T2> | Extract<"arrowControl", keyof T2> | Extract<"unlinkPanels", keyof T2> | Extract<"disabledHours", keyof T2> | Extract<"disabledMinutes", keyof T2> | Extract<"disabledSeconds", keyof T2> | Extract<"format", keyof T2> | Extract<"valueFormat", keyof T2> | Extract<"clearable", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"editable", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"readonly", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"popperOptions", keyof T2> | Extract<"rangeSeparator", keyof T2> | Extract<"startPlaceholder", keyof T2> | Extract<"endPlaceholder", keyof T2> | Extract<"defaultValue", keyof T2> | Extract<"defaultTime", keyof T2> | Extract<"isRange", keyof T2>]: { [k in Extract<"type", keyof T2> | Extract<"size", keyof T2> | Extract<"label", keyof T2> | Extract<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"name", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"disabledDate", keyof T2> | Extract<"cellClassName", keyof T2> | Extract<"shortcuts", keyof T2> | Extract<"arrowControl", keyof T2> | Extract<"unlinkPanels", keyof T2> | Extract<"disabledHours", keyof T2> | Extract<"disabledMinutes", keyof T2> | Extract<"disabledSeconds", keyof T2> | Extract<"format", keyof T2> | Extract<"valueFormat", keyof T2> | Extract<"clearable", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"editable", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"readonly", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"popperOptions", keyof T2> | Extract<"rangeSeparator", keyof T2> | Extract<"startPlaceholder", keyof T2> | Extract<"endPlaceholder", keyof T2> | Extract<"defaultValue", keyof T2> | Extract<"defaultTime", keyof T2> | Extract<"isRange", keyof T2>]: T2[k]; }[P]; }>;
|
|
38
|
+
export declare const createDatePickerOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("blur" | "change" | "focus" | "keydown" | "update:modelValue" | "calendar-change" | "panel-change" | "visible-change")[] | undefined>(emit: T2, excludes?: EX | undefined) => { [P in EX extends (infer KE)[] ? Exclude<"blur", KE> | Exclude<"change", KE> | Exclude<"focus", KE> | Exclude<"keydown", KE> | Exclude<"update:modelValue", KE> | Exclude<"calendar-change", KE> | Exclude<"panel-change", KE> | Exclude<"visible-change", KE> : "blur" | "change" | "focus" | "keydown" | "update:modelValue" | "calendar-change" | "panel-change" | "visible-change"]: {
|
|
39
39
|
'update:modelValue': (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
40
40
|
change: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
41
41
|
focus: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
@@ -45,22 +45,28 @@ export declare const createDatePickerOnEmits: <T2 extends AnyFunc, EX extends ("
|
|
|
45
45
|
'visible-change': (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
46
46
|
keydown: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
47
47
|
}[P]; };
|
|
48
|
-
export declare const createInputNumberBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"size", keyof T2> | Extract<"label", keyof T2> | Extract<"
|
|
49
|
-
export declare const createInputNumberOnEmits: <T2 extends AnyFunc, EX extends ("
|
|
48
|
+
export declare const createInputNumberBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"size", keyof T2> | Extract<"label", keyof T2> | Extract<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"name", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"controls", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"min", keyof T2> | Extract<"max", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"step", keyof T2> | Extract<"stepStrictly", keyof T2> | Extract<"controlsPosition", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"precision", keyof T2>)[] | undefined>(propsArg: T2, excludes?: EX | undefined) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"label", keyof T2>, KE> | Exclude<Extract<"disabled", keyof T2>, KE> | Exclude<Extract<"id", keyof T2>, KE> | Exclude<Extract<"name", keyof T2>, KE> | Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"controls", keyof T2>, KE> | Exclude<Extract<"validateEvent", keyof T2>, KE> | Exclude<Extract<"min", keyof T2>, KE> | Exclude<Extract<"max", keyof T2>, KE> | Exclude<Extract<"placeholder", keyof T2>, KE> | Exclude<Extract<"step", keyof T2>, KE> | Exclude<Extract<"stepStrictly", keyof T2>, KE> | Exclude<Extract<"controlsPosition", keyof T2>, KE> | Exclude<Extract<"valueOnClear", keyof T2>, KE> | Exclude<Extract<"precision", keyof T2>, KE> : Extract<"size", keyof T2> | Extract<"label", keyof T2> | Extract<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"name", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"controls", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"min", keyof T2> | Extract<"max", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"step", keyof T2> | Extract<"stepStrictly", keyof T2> | Extract<"controlsPosition", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"precision", keyof T2>]: { [k in Extract<"size", keyof T2> | Extract<"label", keyof T2> | Extract<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"name", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"controls", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"min", keyof T2> | Extract<"max", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"step", keyof T2> | Extract<"stepStrictly", keyof T2> | Extract<"controlsPosition", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"precision", keyof T2>]: T2[k]; }[P]; }>;
|
|
49
|
+
export declare const createInputNumberOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("input" | "blur" | "change" | "focus" | "update:modelValue")[] | undefined>(emit: T2, excludes?: EX | undefined) => { [P in EX extends (infer KE)[] ? Exclude<"input", KE> | Exclude<"blur", KE> | Exclude<"change", KE> | Exclude<"focus", KE> | Exclude<"update:modelValue", KE> : "input" | "blur" | "change" | "focus" | "update:modelValue"]: {
|
|
50
50
|
change: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
51
51
|
blur: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
52
52
|
focus: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
53
53
|
input: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
54
54
|
"update:modelValue": (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
55
55
|
}[P]; };
|
|
56
|
-
export declare const createRadioGroupBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"size", keyof T2> | Extract<"label", keyof T2> | Extract<"fill", keyof T2> | Extract<"
|
|
57
|
-
export declare const createRadioGroupOnEmits: <T2 extends AnyFunc, EX extends ("
|
|
56
|
+
export declare const createRadioGroupBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"size", keyof T2> | Extract<"label", keyof T2> | Extract<"fill", keyof T2> | Extract<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"name", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"textColor", keyof T2>)[] | undefined>(propsArg: T2, excludes?: EX | undefined) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"label", keyof T2>, KE> | Exclude<Extract<"fill", keyof T2>, KE> | Exclude<Extract<"disabled", keyof T2>, KE> | Exclude<Extract<"id", keyof T2>, KE> | Exclude<Extract<"name", keyof T2>, KE> | Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"validateEvent", keyof T2>, KE> | Exclude<Extract<"textColor", keyof T2>, KE> : Extract<"size", keyof T2> | Extract<"label", keyof T2> | Extract<"fill", keyof T2> | Extract<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"name", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"textColor", keyof T2>]: { [k in Extract<"size", keyof T2> | Extract<"label", keyof T2> | Extract<"fill", keyof T2> | Extract<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"name", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"textColor", keyof T2>]: T2[k]; }[P]; }>;
|
|
57
|
+
export declare const createRadioGroupOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("change" | "update:modelValue")[] | undefined>(emit: T2, excludes?: EX | undefined) => { [P in EX extends (infer KE)[] ? Exclude<"change", KE> | Exclude<"update:modelValue", KE> : "change" | "update:modelValue"]: {
|
|
58
58
|
"update:modelValue": (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
59
59
|
change: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
60
60
|
}[P]; };
|
|
61
|
-
export declare const createCheckboxGroupBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"size", keyof T2> | Extract<"label", keyof T2> | Extract<"fill", keyof T2> | Extract<"
|
|
62
|
-
export declare const createCheckboxGroupOnEmits: <T2 extends AnyFunc, EX extends ("
|
|
61
|
+
export declare const createCheckboxGroupBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"size", keyof T2> | Extract<"label", keyof T2> | Extract<"fill", keyof T2> | Extract<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"min", keyof T2> | Extract<"max", keyof T2> | Extract<"textColor", keyof T2> | Extract<"tag", keyof T2>)[] | undefined>(propsArg: T2, excludes?: EX | undefined) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"label", keyof T2>, KE> | Exclude<Extract<"fill", keyof T2>, KE> | Exclude<Extract<"disabled", keyof T2>, KE> | Exclude<Extract<"id", keyof T2>, KE> | Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"validateEvent", keyof T2>, KE> | Exclude<Extract<"min", keyof T2>, KE> | Exclude<Extract<"max", keyof T2>, KE> | Exclude<Extract<"textColor", keyof T2>, KE> | Exclude<Extract<"tag", keyof T2>, KE> : Extract<"size", keyof T2> | Extract<"label", keyof T2> | Extract<"fill", keyof T2> | Extract<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"min", keyof T2> | Extract<"max", keyof T2> | Extract<"textColor", keyof T2> | Extract<"tag", keyof T2>]: { [k in Extract<"size", keyof T2> | Extract<"label", keyof T2> | Extract<"fill", keyof T2> | Extract<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"min", keyof T2> | Extract<"max", keyof T2> | Extract<"textColor", keyof T2> | Extract<"tag", keyof T2>]: T2[k]; }[P]; }>;
|
|
62
|
+
export declare const createCheckboxGroupOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("change" | "update:modelValue")[] | undefined>(emit: T2, excludes?: EX | undefined) => { [P in EX extends (infer KE)[] ? Exclude<"change", KE> | Exclude<"update:modelValue", KE> : "change" | "update:modelValue"]: {
|
|
63
63
|
"update:modelValue": (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
64
64
|
change: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
65
65
|
}[P]; };
|
|
66
|
-
export declare const createUploadBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"type", keyof T2> | Extract<"
|
|
66
|
+
export declare const createUploadBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"type", keyof T2> | Extract<"data", keyof T2> | Extract<"drag", keyof T2> | Extract<"multiple", keyof T2> | Extract<"disabled", keyof T2> | Extract<"name", keyof T2> | Extract<"onChange", keyof T2> | Extract<"onRemove", keyof T2> | Extract<"listType", keyof T2> | Extract<"onPreview", keyof T2> | Extract<"method", keyof T2> | Extract<"beforeUpload", keyof T2> | Extract<"beforeRemove", keyof T2> | Extract<"onSuccess", keyof T2> | Extract<"onProgress", keyof T2> | Extract<"onError", keyof T2> | Extract<"onExceed", keyof T2> | Extract<"action", keyof T2> | Extract<"headers", keyof T2> | Extract<"withCredentials", keyof T2> | Extract<"showFileList", keyof T2> | Extract<"accept", keyof T2> | Extract<"fileList", keyof T2> | Extract<"autoUpload", keyof T2> | Extract<"httpRequest", keyof T2> | Extract<"limit", keyof T2>)[] | undefined>(propsArg: T2, excludes?: EX | undefined) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"type", keyof T2>, KE> | Exclude<Extract<"data", keyof T2>, KE> | Exclude<Extract<"drag", keyof T2>, KE> | Exclude<Extract<"multiple", keyof T2>, KE> | Exclude<Extract<"disabled", keyof T2>, KE> | Exclude<Extract<"name", keyof T2>, KE> | Exclude<Extract<"onChange", keyof T2>, KE> | Exclude<Extract<"onRemove", keyof T2>, KE> | Exclude<Extract<"listType", keyof T2>, KE> | Exclude<Extract<"onPreview", keyof T2>, KE> | Exclude<Extract<"method", keyof T2>, KE> | Exclude<Extract<"beforeUpload", keyof T2>, KE> | Exclude<Extract<"beforeRemove", keyof T2>, KE> | Exclude<Extract<"onSuccess", keyof T2>, KE> | Exclude<Extract<"onProgress", keyof T2>, KE> | Exclude<Extract<"onError", keyof T2>, KE> | Exclude<Extract<"onExceed", keyof T2>, KE> | Exclude<Extract<"action", keyof T2>, KE> | Exclude<Extract<"headers", keyof T2>, KE> | Exclude<Extract<"withCredentials", keyof T2>, KE> | Exclude<Extract<"showFileList", keyof T2>, KE> | Exclude<Extract<"accept", keyof T2>, KE> | Exclude<Extract<"fileList", keyof T2>, KE> | Exclude<Extract<"autoUpload", keyof T2>, KE> | Exclude<Extract<"httpRequest", keyof T2>, KE> | Exclude<Extract<"limit", keyof T2>, KE> : Extract<"type", keyof T2> | Extract<"data", keyof T2> | Extract<"drag", keyof T2> | Extract<"multiple", keyof T2> | Extract<"disabled", keyof T2> | Extract<"name", keyof T2> | Extract<"onChange", keyof T2> | Extract<"onRemove", keyof T2> | Extract<"listType", keyof T2> | Extract<"onPreview", keyof T2> | Extract<"method", keyof T2> | Extract<"beforeUpload", keyof T2> | Extract<"beforeRemove", keyof T2> | Extract<"onSuccess", keyof T2> | Extract<"onProgress", keyof T2> | Extract<"onError", keyof T2> | Extract<"onExceed", keyof T2> | Extract<"action", keyof T2> | Extract<"headers", keyof T2> | Extract<"withCredentials", keyof T2> | Extract<"showFileList", keyof T2> | Extract<"accept", keyof T2> | Extract<"fileList", keyof T2> | Extract<"autoUpload", keyof T2> | Extract<"httpRequest", keyof T2> | Extract<"limit", keyof T2>]: { [k in Extract<"type", keyof T2> | Extract<"data", keyof T2> | Extract<"drag", keyof T2> | Extract<"multiple", keyof T2> | Extract<"disabled", keyof T2> | Extract<"name", keyof T2> | Extract<"onChange", keyof T2> | Extract<"onRemove", keyof T2> | Extract<"listType", keyof T2> | Extract<"onPreview", keyof T2> | Extract<"method", keyof T2> | Extract<"beforeUpload", keyof T2> | Extract<"beforeRemove", keyof T2> | Extract<"onSuccess", keyof T2> | Extract<"onProgress", keyof T2> | Extract<"onError", keyof T2> | Extract<"onExceed", keyof T2> | Extract<"action", keyof T2> | Extract<"headers", keyof T2> | Extract<"withCredentials", keyof T2> | Extract<"showFileList", keyof T2> | Extract<"accept", keyof T2> | Extract<"fileList", keyof T2> | Extract<"autoUpload", keyof T2> | Extract<"httpRequest", keyof T2> | Extract<"limit", keyof T2>]: T2[k]; }[P]; }>;
|
|
67
|
+
export declare const createColorPickerBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"size", keyof T2> | Extract<"label", keyof T2> | Extract<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"showAlpha", keyof T2> | Extract<"colorFormat", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"predefine", keyof T2>)[] | undefined>(propsArg: T2, excludes?: EX | undefined) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"label", keyof T2>, KE> | Exclude<Extract<"disabled", keyof T2>, KE> | Exclude<Extract<"id", keyof T2>, KE> | Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"tabindex", keyof T2>, KE> | Exclude<Extract<"validateEvent", keyof T2>, KE> | Exclude<Extract<"showAlpha", keyof T2>, KE> | Exclude<Extract<"colorFormat", keyof T2>, KE> | Exclude<Extract<"popperClass", keyof T2>, KE> | Exclude<Extract<"predefine", keyof T2>, KE> : Extract<"size", keyof T2> | Extract<"label", keyof T2> | Extract<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"showAlpha", keyof T2> | Extract<"colorFormat", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"predefine", keyof T2>]: { [k in Extract<"size", keyof T2> | Extract<"label", keyof T2> | Extract<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"showAlpha", keyof T2> | Extract<"colorFormat", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"predefine", keyof T2>]: T2[k]; }[P]; }>;
|
|
68
|
+
export declare const createColorPickerOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("change" | "update:modelValue" | "active-change")[] | undefined>(emit: T2, excludes?: EX | undefined) => { [P in EX extends (infer KE)[] ? Exclude<"change", KE> | Exclude<"update:modelValue", KE> | Exclude<"active-change", KE> : "change" | "update:modelValue" | "active-change"]: {
|
|
69
|
+
change: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
70
|
+
'active-change': (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
71
|
+
'update:modelValue': (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
72
|
+
}[P]; };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useTooltipContentProps, tagProps, timePickerDefaultProps, inputProps, inputEmits, formProps, formEmits, formItemProps, switchProps, switchEmits, inputNumberProps, inputNumberEmits, radioGroupProps, radioGroupEmits, useCheckboxGroupProps, checkboxGroupEmits, uploadProps } from 'element-plus';
|
|
1
|
+
import { componentSizes, useTooltipContentProps, tagProps, timePickerDefaultProps, inputProps, inputEmits, formProps, formEmits, formItemProps, switchProps, switchEmits, inputNumberProps, inputNumberEmits, radioGroupProps, radioGroupEmits, useCheckboxGroupProps, checkboxGroupEmits, uploadProps } from 'element-plus';
|
|
2
2
|
import { bindPropsFactory, onEmitsFactory } from '@vunk/core/shared/utils-vue';
|
|
3
3
|
import { openBlock, createElementBlock, createElementVNode } from 'vue';
|
|
4
4
|
|
|
@@ -46,6 +46,14 @@ function _sfc_render50(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
46
46
|
}
|
|
47
47
|
var circle_close_default = /* @__PURE__ */ export_helper_default(_sfc_main50, [["render", _sfc_render50], ["__file", "circle-close.vue"]]);
|
|
48
48
|
|
|
49
|
+
var _a;
|
|
50
|
+
const isClient = typeof window !== "undefined";
|
|
51
|
+
isClient && ((_a = window == null ? void 0 : window.navigator) == null ? void 0 : _a.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
|
|
52
|
+
|
|
53
|
+
!isClient ? void 0 : document.body;
|
|
54
|
+
|
|
55
|
+
const isValidComponentSize = (val) => ["", ...componentSizes].includes(val);
|
|
56
|
+
|
|
49
57
|
var __defProp = Object.defineProperty;
|
|
50
58
|
var __defProps = Object.defineProperties;
|
|
51
59
|
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
@@ -165,6 +173,36 @@ const selectEmits = {
|
|
|
165
173
|
"focus": null,
|
|
166
174
|
"blur": null
|
|
167
175
|
};
|
|
176
|
+
const colorPickerProps = {
|
|
177
|
+
modelValue: String,
|
|
178
|
+
id: String,
|
|
179
|
+
showAlpha: Boolean,
|
|
180
|
+
colorFormat: String,
|
|
181
|
+
disabled: Boolean,
|
|
182
|
+
size: {
|
|
183
|
+
type: String,
|
|
184
|
+
validator: isValidComponentSize
|
|
185
|
+
},
|
|
186
|
+
popperClass: String,
|
|
187
|
+
label: {
|
|
188
|
+
type: String,
|
|
189
|
+
default: void 0
|
|
190
|
+
},
|
|
191
|
+
tabindex: {
|
|
192
|
+
type: [String, Number],
|
|
193
|
+
default: 0
|
|
194
|
+
},
|
|
195
|
+
predefine: Array,
|
|
196
|
+
validateEvent: {
|
|
197
|
+
type: Boolean,
|
|
198
|
+
default: true
|
|
199
|
+
}
|
|
200
|
+
};
|
|
201
|
+
const colorPickerEmits = {
|
|
202
|
+
change: null,
|
|
203
|
+
"active-change": null,
|
|
204
|
+
"update:modelValue": null
|
|
205
|
+
};
|
|
168
206
|
|
|
169
207
|
const createInputBindProps = bindPropsFactory(inputProps);
|
|
170
208
|
const createInputOnEmits = onEmitsFactory(inputEmits);
|
|
@@ -184,5 +222,7 @@ const createRadioGroupOnEmits = onEmitsFactory(radioGroupEmits);
|
|
|
184
222
|
const createCheckboxGroupBindProps = bindPropsFactory(useCheckboxGroupProps);
|
|
185
223
|
const createCheckboxGroupOnEmits = onEmitsFactory(checkboxGroupEmits);
|
|
186
224
|
const createUploadBindProps = bindPropsFactory(uploadProps);
|
|
225
|
+
const createColorPickerBindProps = bindPropsFactory(colorPickerProps);
|
|
226
|
+
const createColorPickerOnEmits = onEmitsFactory(colorPickerEmits);
|
|
187
227
|
|
|
188
|
-
export { createCheckboxGroupBindProps, createCheckboxGroupOnEmits, createDatePickerBindProps, createDatePickerOnEmits, createFormBindProps, createFormItemBindProps, createFormOnEmits, createInputBindProps, createInputNumberBindProps, createInputNumberOnEmits, createInputOnEmits, createRadioGroupBindProps, createRadioGroupOnEmits, createSelectBindProps, createSelectOnEmits, createSwitchBindProps, createSwitchOnEmits, createUploadBindProps, datePickerEmits, datePickerProps, selectEmits, selectProps };
|
|
228
|
+
export { colorPickerEmits, colorPickerProps, createCheckboxGroupBindProps, createCheckboxGroupOnEmits, createColorPickerBindProps, createColorPickerOnEmits, createDatePickerBindProps, createDatePickerOnEmits, createFormBindProps, createFormItemBindProps, createFormOnEmits, createInputBindProps, createInputNumberBindProps, createInputNumberOnEmits, createInputOnEmits, createRadioGroupBindProps, createRadioGroupOnEmits, createSelectBindProps, createSelectOnEmits, createSwitchBindProps, createSwitchOnEmits, createUploadBindProps, datePickerEmits, datePickerProps, selectEmits, selectProps };
|
|
@@ -182,3 +182,33 @@ export declare const selectEmits: {
|
|
|
182
182
|
focus: null;
|
|
183
183
|
blur: null;
|
|
184
184
|
};
|
|
185
|
+
export declare const colorPickerProps: {
|
|
186
|
+
modelValue: StringConstructor;
|
|
187
|
+
id: StringConstructor;
|
|
188
|
+
showAlpha: BooleanConstructor;
|
|
189
|
+
colorFormat: StringConstructor;
|
|
190
|
+
disabled: BooleanConstructor;
|
|
191
|
+
size: {
|
|
192
|
+
type: PropType<"" | "default" | "small" | "large">;
|
|
193
|
+
validator: (val: string) => val is "" | "default" | "small" | "large";
|
|
194
|
+
};
|
|
195
|
+
popperClass: StringConstructor;
|
|
196
|
+
label: {
|
|
197
|
+
type: StringConstructor;
|
|
198
|
+
default: undefined;
|
|
199
|
+
};
|
|
200
|
+
tabindex: {
|
|
201
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
202
|
+
default: number;
|
|
203
|
+
};
|
|
204
|
+
predefine: ArrayConstructor;
|
|
205
|
+
validateEvent: {
|
|
206
|
+
type: BooleanConstructor;
|
|
207
|
+
default: boolean;
|
|
208
|
+
};
|
|
209
|
+
};
|
|
210
|
+
export declare const colorPickerEmits: {
|
|
211
|
+
change: null;
|
|
212
|
+
'active-change': null;
|
|
213
|
+
'update:modelValue': null;
|
|
214
|
+
};
|
package/shared/types/index.d.ts
CHANGED