@vunk/form 2.16.6 → 2.16.8
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/api-tables-select/index.d.ts +4 -0
- package/components/api-tables-select/src/ctx.d.ts +375 -0
- package/components/api-tables-select/src/index.vue.d.ts +1340 -0
- package/components/api-tables-select/src/types.d.ts +19 -0
- package/components/button/index.d.ts +4 -0
- package/components/button/src/ctx.d.ts +193 -0
- package/components/button/src/index.vue.d.ts +851 -0
- package/components/button/src/types.d.ts +13 -0
- package/components/card-input-collection/index.d.ts +4 -0
- package/components/card-input-collection/src/core.vue.d.ts +1125 -0
- package/components/card-input-collection/src/ctx.d.ts +154 -0
- package/components/card-input-collection/src/index.vue.d.ts +287 -0
- package/components/card-input-collection/src/types.d.ts +17 -0
- package/components/cascader/index.d.ts +6 -0
- package/components/cascader/src/ctx.d.ts +343 -0
- package/components/cascader/src/index.vue.d.ts +775 -0
- package/components/cascader/src/types.d.ts +19 -0
- package/components/cascader/src/use.d.ts +5 -0
- package/components/checkbox/index.d.ts +5 -0
- package/components/checkbox/src/ctx.d.ts +146 -0
- package/components/checkbox/src/index.vue.d.ts +1353 -0
- package/components/checkbox/src/types.d.ts +8 -0
- package/components/color-picker/index.d.ts +4 -0
- package/components/color-picker/src/ctx.d.ts +179 -0
- package/components/color-picker/src/index.vue.d.ts +398 -0
- package/components/color-picker/src/types.d.ts +7 -0
- package/components/date-picker/index.d.ts +5 -0
- package/components/date-picker/src/ctx.d.ts +364 -0
- package/components/date-picker/src/index.vue.d.ts +1665 -0
- package/components/date-picker/src/types.d.ts +20 -0
- package/components/date-picker-range/index.d.ts +4 -0
- package/components/date-picker-range/src/ctx.d.ts +372 -0
- package/components/date-picker-range/src/index.vue.d.ts +808 -0
- package/components/date-picker-range/src/types.d.ts +12 -0
- package/components/dialog/index.d.ts +4 -0
- package/components/dialog/src/ctx.d.ts +174 -0
- package/components/dialog/src/index.vue.d.ts +1180 -0
- package/components/dialog/src/types.d.ts +1 -0
- package/components/dialog-input-collection/index.d.ts +4 -0
- package/components/dialog-input-collection/src/ctx.d.ts +141 -0
- package/components/dialog-input-collection/src/dialog-form.vue.d.ts +6430 -0
- package/components/dialog-input-collection/src/index.vue.d.ts +7773 -0
- package/components/dialog-input-collection/src/layout.vue.d.ts +85 -0
- package/components/dialog-input-collection/src/types.d.ts +28 -0
- package/components/download-plus/index.d.ts +4 -0
- package/components/download-plus/src/api.d.ts +13 -0
- package/components/download-plus/src/const.d.ts +9 -0
- package/components/download-plus/src/ctx.d.ts +125 -0
- package/components/download-plus/src/index.vue.d.ts +1495 -0
- package/components/download-plus/src/types.d.ts +17 -0
- package/components/editable-text/index.d.ts +4 -0
- package/components/editable-text/src/ctx.d.ts +128 -0
- package/components/editable-text/src/index.vue.d.ts +3389 -0
- package/components/editable-text/src/types.d.ts +1 -0
- package/components/esri-input-geojson/index.d.ts +6 -0
- package/components/esri-input-geojson/src/append.vue.d.ts +1200 -0
- package/components/esri-input-geojson/src/const.d.ts +12 -0
- package/components/esri-input-geojson/src/ctx.d.ts +351 -0
- package/components/esri-input-geojson/src/default-view.vue.d.ts +133 -0
- package/components/esri-input-geojson/src/index.vue.d.ts +1488 -0
- package/components/esri-input-geojson/src/types.d.ts +22 -0
- package/components/esri-input-geojson/src/viewer.vue.d.ts +427 -0
- package/components/fieldset/index.d.ts +4 -0
- package/components/fieldset/src/ctx.d.ts +16 -0
- package/components/fieldset/src/index.vue.d.ts +32 -0
- package/components/fieldset/src/types.d.ts +1 -0
- package/components/fieldset/src/use.d.ts +5 -0
- package/components/form/index.d.ts +5 -0
- package/components/form/src/ctx.d.ts +139 -0
- package/components/form/src/index.vue.d.ts +2613 -0
- package/components/form/src/types.d.ts +25 -0
- package/components/form/src/utils.d.ts +15 -0
- package/components/form-item/index.d.ts +5 -0
- package/components/form-item/src/core.vue.d.ts +1874 -0
- package/components/form-item/src/ctx.d.ts +103 -0
- package/components/form-item/src/index.vue.d.ts +214 -0
- package/components/form-item/src/types.d.ts +10 -0
- package/components/form-item-renderer/index.d.ts +4 -0
- package/components/form-item-renderer/src/core.vue.d.ts +38 -0
- package/components/form-item-renderer/src/ctx.d.ts +16 -0
- package/components/form-item-renderer/src/index.vue.d.ts +93 -0
- package/components/form-item-renderer/src/types.d.ts +5 -0
- package/components/form-item-renderer/src/utils.d.ts +5 -0
- package/components/form-item-renderer-template/index.d.ts +4 -0
- package/components/form-item-renderer-template/src/ctx.d.ts +7 -0
- package/components/form-item-renderer-template/src/index.vue.d.ts +16 -0
- package/components/form-item-renderer-template/src/types.d.ts +55 -0
- package/components/forms-provider/index.d.ts +6 -0
- package/components/forms-provider/src/core.d.ts +6 -0
- package/components/forms-provider/src/index.vue.d.ts +2 -0
- package/components/forms-provider/src/segment.vue.d.ts +9 -0
- package/components/forms-provider/src/types.d.ts +10 -0
- package/components/forms-provider/src/view.vue.d.ts +7 -0
- package/components/information/index.d.ts +4 -0
- package/components/information/src/ctx.d.ts +16 -0
- package/components/information/src/index.vue.d.ts +27 -0
- package/components/information/src/types.d.ts +3 -0
- package/components/information-collection/index.d.ts +4 -0
- package/components/information-collection/src/ctx.d.ts +143 -0
- package/components/information-collection/src/index.vue.d.ts +296 -0
- package/components/information-collection/src/types.d.ts +6 -0
- package/components/information-renderer/index.d.ts +73 -0
- package/components/information-tag/index.d.ts +4 -0
- package/components/information-tag/src/ctx.d.ts +64 -0
- package/components/information-tag/src/index.vue.d.ts +134 -0
- package/components/information-tag/src/types.d.ts +1 -0
- package/components/information-templates-default/index.d.ts +4 -0
- package/components/information-templates-default/src/ctx.d.ts +2 -0
- package/components/information-templates-default/src/index.vue.d.ts +2 -0
- package/components/information-templates-default/src/types.d.ts +1 -0
- package/components/input/index.d.ts +5 -0
- package/components/input/src/ctx.d.ts +280 -0
- package/components/input/src/index.vue.d.ts +1268 -0
- package/components/input/src/types.d.ts +13 -0
- package/components/input-array/index.d.ts +5 -0
- package/components/input-array/src/ctx.d.ts +136 -0
- package/components/input-array/src/form-template.vue.d.ts +901 -0
- package/components/input-array/src/index.vue.d.ts +889 -0
- package/components/input-array/src/types.d.ts +7 -0
- package/components/input-collection/index.d.ts +4 -0
- package/components/input-collection/src/core.vue.d.ts +1203 -0
- package/components/input-collection/src/ctx.d.ts +154 -0
- package/components/input-collection/src/index.vue.d.ts +296 -0
- package/components/input-collection/src/types.d.ts +29 -0
- package/components/input-file/index.d.ts +5 -0
- package/components/input-file/src/ctx.d.ts +46 -0
- package/components/input-file/src/index.vue.d.ts +112 -0
- package/components/input-file/src/template.vue.d.ts +125 -0
- package/components/input-file/src/types.d.ts +8 -0
- package/components/input-link/index.d.ts +4 -0
- package/components/input-link/src/ctx.d.ts +284 -0
- package/components/input-link/src/index.vue.d.ts +602 -0
- package/components/input-link/src/types.d.ts +7 -0
- package/components/input-number/index.d.ts +4 -0
- package/components/input-number/src/ctx.d.ts +221 -0
- package/components/input-number/src/index.vue.d.ts +910 -0
- package/components/input-number/src/types.d.ts +12 -0
- package/components/input-tag/index.d.ts +5 -0
- package/components/input-tag/src/ctx.d.ts +244 -0
- package/components/input-tag/src/index.vue.d.ts +1050 -0
- package/components/input-tag/src/types.d.ts +22 -0
- package/components/monaco-editor/index.d.ts +4 -0
- package/components/monaco-editor/src/ctx.d.ts +111 -0
- package/components/monaco-editor/src/index.vue.d.ts +297 -0
- package/components/monaco-editor/src/types.d.ts +7 -0
- package/components/radio/index.d.ts +4 -0
- package/components/radio/src/ctx.d.ts +165 -0
- package/components/radio/src/index.vue.d.ts +1488 -0
- package/components/radio/src/option.vue.d.ts +901 -0
- package/components/radio/src/types.d.ts +8 -0
- package/components/radio/src/wraper.vue.d.ts +337 -0
- package/components/renderer-data/index.d.ts +4 -0
- package/components/renderer-data/src/ctx.d.ts +12 -0
- package/components/renderer-data/src/index.vue.d.ts +20 -0
- package/components/renderer-data/src/types.d.ts +1 -0
- package/components/select/index.cjs +29 -11
- package/components/select/index.d.ts +5 -0
- package/components/select/index.mjs +29 -11
- package/components/select/src/core.vue.d.ts +1601 -0
- package/components/select/src/ctx.d.ts +386 -0
- package/components/select/src/index.vue.d.ts +946 -0
- package/components/select/src/options.vue.d.ts +51 -0
- package/components/select/src/types.d.ts +19 -0
- package/components/slider/index.d.ts +4 -0
- package/components/slider/src/ctx.d.ts +248 -0
- package/components/slider/src/index.vue.d.ts +579 -0
- package/components/slider/src/types.d.ts +7 -0
- package/components/switch/index.d.ts +4 -0
- package/components/switch/src/ctx.d.ts +201 -0
- package/components/switch/src/index.vue.d.ts +882 -0
- package/components/switch/src/types.d.ts +7 -0
- package/components/tables-select/index.d.ts +5 -0
- package/components/tables-select/src/ctx.d.ts +421 -0
- package/components/tables-select/src/index.vue.d.ts +5510 -0
- package/components/tables-select/src/types.d.ts +9 -0
- package/components/template-instances-provider/index.d.ts +3 -0
- package/components/template-instances-provider/src/index.vue.d.ts +6 -0
- package/components/templates-default/index.d.ts +4 -0
- package/components/templates-default/src/ctx.d.ts +19 -0
- package/components/templates-default/src/index.vue.d.ts +187 -0
- package/components/templates-default/src/types.d.ts +55 -0
- package/components/templates-element-plus/index.d.ts +4 -0
- package/components/templates-element-plus/src/ctx.d.ts +9 -0
- package/components/templates-element-plus/src/index.vue.d.ts +301 -0
- package/components/templates-element-plus/src/types.d.ts +13 -0
- package/components/templates-esri/index.d.ts +4 -0
- package/components/templates-esri/src/ctx.d.ts +11 -0
- package/components/templates-esri/src/index.vue.d.ts +43 -0
- package/components/templates-esri/src/types.d.ts +2 -0
- package/components/templates-layout/index.d.ts +4 -0
- package/components/templates-layout/src/ctx.d.ts +9 -0
- package/components/templates-layout/src/index.vue.d.ts +446 -0
- package/components/templates-layout/src/types.d.ts +32 -0
- package/components/templates-variant/index.d.ts +4 -0
- package/components/templates-variant/src/ctx.d.ts +11 -0
- package/components/templates-variant/src/index.vue.d.ts +43 -0
- package/components/templates-variant/src/types.d.ts +2 -0
- package/components/upload/index.d.ts +5 -0
- package/components/upload/src/ctx.d.ts +291 -0
- package/components/upload/src/file.vue.d.ts +913 -0
- package/components/upload/src/index.vue.d.ts +2347 -0
- package/components/upload/src/types.d.ts +13 -0
- package/components/upload/src/wraper.vue.d.ts +590 -0
- package/components/upload-plus/index.d.ts +6 -0
- package/components/upload-plus/src/api.d.ts +38 -0
- package/components/upload-plus/src/const.d.ts +9 -0
- package/components/upload-plus/src/ctx.d.ts +144 -0
- package/components/upload-plus/src/index.vue.d.ts +1813 -0
- package/components/upload-plus/src/types.d.ts +32 -0
- package/components/van-cascader/index.d.ts +4 -0
- package/components/van-cascader/src/ctx.d.ts +330 -0
- package/components/van-cascader/src/index.vue.d.ts +1241 -0
- package/components/van-cascader/src/types.d.ts +1 -0
- package/components/var-datetime-picker/index.d.ts +4 -0
- package/components/var-datetime-picker/src/const.d.ts +10 -0
- package/components/var-datetime-picker/src/ctx.d.ts +108 -0
- package/components/var-datetime-picker/src/index.vue.d.ts +1622 -0
- package/components/var-datetime-picker/src/types.d.ts +22 -0
- package/components/vditor/index.d.ts +4 -0
- package/components/vditor/src/ctx.d.ts +118 -0
- package/components/vditor/src/index.vue.d.ts +412 -0
- package/components/vditor/src/types.d.ts +7 -0
- package/package.json +1 -1
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { VkfCheckbox } from '@vunk/form/components/checkbox';
|
|
2
|
+
import { VueComponentPropsType } from '@vunk/core';
|
|
3
|
+
import { BasicSource } from '@vunk/form/shared';
|
|
4
|
+
export interface Source<P = string> extends VueComponentPropsType<typeof VkfCheckbox>, BasicSource {
|
|
5
|
+
prop: P;
|
|
6
|
+
templateType: 'VkfCheckbox';
|
|
7
|
+
}
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
export declare const props: {
|
|
2
|
+
ariaLabel: StringConstructor;
|
|
3
|
+
emptyValues: ArrayConstructor;
|
|
4
|
+
valueOnClear: {
|
|
5
|
+
readonly type: import("vue").PropType<string | number | boolean | Function>;
|
|
6
|
+
readonly required: false;
|
|
7
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
8
|
+
__epPropKey: true;
|
|
9
|
+
} & {
|
|
10
|
+
readonly default: undefined;
|
|
11
|
+
};
|
|
12
|
+
persistent: {
|
|
13
|
+
readonly type: import("vue").PropType<boolean>;
|
|
14
|
+
readonly required: false;
|
|
15
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
16
|
+
__epPropKey: true;
|
|
17
|
+
} & {
|
|
18
|
+
readonly default: true;
|
|
19
|
+
};
|
|
20
|
+
modelValue: {
|
|
21
|
+
readonly type: import("vue").PropType<string>;
|
|
22
|
+
readonly required: false;
|
|
23
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
24
|
+
__epPropKey: true;
|
|
25
|
+
} & {
|
|
26
|
+
readonly default: undefined;
|
|
27
|
+
};
|
|
28
|
+
id: StringConstructor;
|
|
29
|
+
showAlpha: BooleanConstructor;
|
|
30
|
+
colorFormat: StringConstructor;
|
|
31
|
+
disabled: BooleanConstructor;
|
|
32
|
+
size: {
|
|
33
|
+
readonly type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
34
|
+
readonly required: false;
|
|
35
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
36
|
+
__epPropKey: true;
|
|
37
|
+
};
|
|
38
|
+
popperClass: {
|
|
39
|
+
readonly type: import("vue").PropType<string>;
|
|
40
|
+
readonly required: false;
|
|
41
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
42
|
+
__epPropKey: true;
|
|
43
|
+
} & {
|
|
44
|
+
readonly default: "";
|
|
45
|
+
};
|
|
46
|
+
tabindex: {
|
|
47
|
+
readonly type: import("vue").PropType<string | number>;
|
|
48
|
+
readonly required: false;
|
|
49
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
50
|
+
__epPropKey: true;
|
|
51
|
+
} & {
|
|
52
|
+
readonly default: 0;
|
|
53
|
+
};
|
|
54
|
+
teleported: {
|
|
55
|
+
readonly type: import("vue").PropType<boolean>;
|
|
56
|
+
readonly required: false;
|
|
57
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
58
|
+
__epPropKey: true;
|
|
59
|
+
} & {
|
|
60
|
+
readonly default: true;
|
|
61
|
+
};
|
|
62
|
+
appendTo: {
|
|
63
|
+
readonly type: import("vue").PropType<string | HTMLElement>;
|
|
64
|
+
readonly required: false;
|
|
65
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
66
|
+
__epPropKey: true;
|
|
67
|
+
};
|
|
68
|
+
predefine: {
|
|
69
|
+
readonly type: import("vue").PropType<string[]>;
|
|
70
|
+
readonly required: false;
|
|
71
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
72
|
+
__epPropKey: true;
|
|
73
|
+
};
|
|
74
|
+
validateEvent: {
|
|
75
|
+
readonly type: import("vue").PropType<boolean>;
|
|
76
|
+
readonly required: false;
|
|
77
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
78
|
+
__epPropKey: true;
|
|
79
|
+
} & {
|
|
80
|
+
readonly default: true;
|
|
81
|
+
};
|
|
82
|
+
required: {
|
|
83
|
+
readonly type: import("vue").PropType<boolean>;
|
|
84
|
+
readonly required: false;
|
|
85
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
86
|
+
__epPropKey: true;
|
|
87
|
+
} & {
|
|
88
|
+
readonly default: undefined;
|
|
89
|
+
};
|
|
90
|
+
formItemSize: {
|
|
91
|
+
type: import("vue").PropType<"default" | "small" | "large">;
|
|
92
|
+
default: "default" | "small" | "large";
|
|
93
|
+
};
|
|
94
|
+
formItemSlots: {
|
|
95
|
+
type: import("vue").PropType<import("@vunk/form/components/form-item/src/types").FormItemSlots>;
|
|
96
|
+
default: any;
|
|
97
|
+
};
|
|
98
|
+
elRef: {
|
|
99
|
+
type: import("vue").PropType<any>;
|
|
100
|
+
required: boolean;
|
|
101
|
+
};
|
|
102
|
+
inline: {
|
|
103
|
+
type: BooleanConstructor;
|
|
104
|
+
default: boolean;
|
|
105
|
+
};
|
|
106
|
+
readonly: {
|
|
107
|
+
type: BooleanConstructor;
|
|
108
|
+
default: any;
|
|
109
|
+
};
|
|
110
|
+
formItemTip: {
|
|
111
|
+
type: StringConstructor;
|
|
112
|
+
default: any;
|
|
113
|
+
};
|
|
114
|
+
formItemTipClass: any;
|
|
115
|
+
labelTip: {
|
|
116
|
+
type: StringConstructor;
|
|
117
|
+
default: any;
|
|
118
|
+
};
|
|
119
|
+
information: {
|
|
120
|
+
type: BooleanConstructor;
|
|
121
|
+
default: boolean;
|
|
122
|
+
};
|
|
123
|
+
prop: any;
|
|
124
|
+
defaultModelValue: any;
|
|
125
|
+
label: StringConstructor;
|
|
126
|
+
labelWidth: {
|
|
127
|
+
readonly type: import("vue").PropType<string | number>;
|
|
128
|
+
readonly required: false;
|
|
129
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
130
|
+
__epPropKey: true;
|
|
131
|
+
} & {
|
|
132
|
+
readonly default: "";
|
|
133
|
+
};
|
|
134
|
+
labelPosition: {
|
|
135
|
+
readonly type: import("vue").PropType<"" | "top" | "left" | "right">;
|
|
136
|
+
readonly required: false;
|
|
137
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
138
|
+
__epPropKey: true;
|
|
139
|
+
} & {
|
|
140
|
+
readonly default: "";
|
|
141
|
+
};
|
|
142
|
+
rules: {
|
|
143
|
+
readonly type: import("vue").PropType<unknown>;
|
|
144
|
+
readonly required: false;
|
|
145
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
146
|
+
__epPropKey: true;
|
|
147
|
+
};
|
|
148
|
+
error: StringConstructor;
|
|
149
|
+
validateStatus: {
|
|
150
|
+
readonly type: import("vue").PropType<"" | "error" | "success" | "validating">;
|
|
151
|
+
readonly required: false;
|
|
152
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
153
|
+
__epPropKey: true;
|
|
154
|
+
};
|
|
155
|
+
for: StringConstructor;
|
|
156
|
+
inlineMessage: {
|
|
157
|
+
readonly type: import("vue").PropType<string | boolean>;
|
|
158
|
+
readonly required: false;
|
|
159
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
160
|
+
__epPropKey: true;
|
|
161
|
+
} & {
|
|
162
|
+
readonly default: "";
|
|
163
|
+
};
|
|
164
|
+
showMessage: {
|
|
165
|
+
readonly type: import("vue").PropType<boolean>;
|
|
166
|
+
readonly required: false;
|
|
167
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
168
|
+
__epPropKey: true;
|
|
169
|
+
} & {
|
|
170
|
+
readonly default: true;
|
|
171
|
+
};
|
|
172
|
+
};
|
|
173
|
+
export declare const emits: {
|
|
174
|
+
"update:modelValue": (val: string | null) => boolean;
|
|
175
|
+
change: (val: string | null) => boolean;
|
|
176
|
+
activeChange: (val: string | null) => boolean;
|
|
177
|
+
focus: (evt: FocusEvent) => boolean;
|
|
178
|
+
blur: (evt: FocusEvent) => boolean;
|
|
179
|
+
};
|
|
@@ -0,0 +1,398 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
ariaLabel: StringConstructor;
|
|
3
|
+
emptyValues: ArrayConstructor;
|
|
4
|
+
valueOnClear: {
|
|
5
|
+
readonly type: import("vue").PropType<string | number | boolean | Function>;
|
|
6
|
+
readonly required: false;
|
|
7
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
8
|
+
__epPropKey: true;
|
|
9
|
+
} & {
|
|
10
|
+
readonly default: undefined;
|
|
11
|
+
};
|
|
12
|
+
persistent: {
|
|
13
|
+
readonly type: import("vue").PropType<boolean>;
|
|
14
|
+
readonly required: false;
|
|
15
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
16
|
+
__epPropKey: true;
|
|
17
|
+
} & {
|
|
18
|
+
readonly default: true;
|
|
19
|
+
};
|
|
20
|
+
modelValue: {
|
|
21
|
+
readonly type: import("vue").PropType<string>;
|
|
22
|
+
readonly required: false;
|
|
23
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
24
|
+
__epPropKey: true;
|
|
25
|
+
} & {
|
|
26
|
+
readonly default: undefined;
|
|
27
|
+
};
|
|
28
|
+
id: StringConstructor;
|
|
29
|
+
showAlpha: BooleanConstructor;
|
|
30
|
+
colorFormat: StringConstructor;
|
|
31
|
+
disabled: BooleanConstructor;
|
|
32
|
+
size: {
|
|
33
|
+
readonly type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
34
|
+
readonly required: false;
|
|
35
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
36
|
+
__epPropKey: true;
|
|
37
|
+
};
|
|
38
|
+
popperClass: {
|
|
39
|
+
readonly type: import("vue").PropType<string>;
|
|
40
|
+
readonly required: false;
|
|
41
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
42
|
+
__epPropKey: true;
|
|
43
|
+
} & {
|
|
44
|
+
readonly default: "";
|
|
45
|
+
};
|
|
46
|
+
tabindex: {
|
|
47
|
+
readonly type: import("vue").PropType<string | number>;
|
|
48
|
+
readonly required: false;
|
|
49
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
50
|
+
__epPropKey: true;
|
|
51
|
+
} & {
|
|
52
|
+
readonly default: 0;
|
|
53
|
+
};
|
|
54
|
+
teleported: {
|
|
55
|
+
readonly type: import("vue").PropType<boolean>;
|
|
56
|
+
readonly required: false;
|
|
57
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
58
|
+
__epPropKey: true;
|
|
59
|
+
} & {
|
|
60
|
+
readonly default: true;
|
|
61
|
+
};
|
|
62
|
+
appendTo: {
|
|
63
|
+
readonly type: import("vue").PropType<string | HTMLElement>;
|
|
64
|
+
readonly required: false;
|
|
65
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
66
|
+
__epPropKey: true;
|
|
67
|
+
};
|
|
68
|
+
predefine: {
|
|
69
|
+
readonly type: import("vue").PropType<string[]>;
|
|
70
|
+
readonly required: false;
|
|
71
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
72
|
+
__epPropKey: true;
|
|
73
|
+
};
|
|
74
|
+
validateEvent: {
|
|
75
|
+
readonly type: import("vue").PropType<boolean>;
|
|
76
|
+
readonly required: false;
|
|
77
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
78
|
+
__epPropKey: true;
|
|
79
|
+
} & {
|
|
80
|
+
readonly default: true;
|
|
81
|
+
};
|
|
82
|
+
required: {
|
|
83
|
+
readonly type: import("vue").PropType<boolean>;
|
|
84
|
+
readonly required: false;
|
|
85
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
86
|
+
__epPropKey: true;
|
|
87
|
+
} & {
|
|
88
|
+
readonly default: undefined;
|
|
89
|
+
};
|
|
90
|
+
formItemSize: {
|
|
91
|
+
type: import("vue").PropType<"default" | "small" | "large">;
|
|
92
|
+
default: "default" | "small" | "large";
|
|
93
|
+
};
|
|
94
|
+
formItemSlots: {
|
|
95
|
+
type: import("vue").PropType<import("@vunk/form/components/form-item/src/types").FormItemSlots>;
|
|
96
|
+
default: any;
|
|
97
|
+
};
|
|
98
|
+
elRef: {
|
|
99
|
+
type: import("vue").PropType<any>;
|
|
100
|
+
required: boolean;
|
|
101
|
+
};
|
|
102
|
+
inline: {
|
|
103
|
+
type: BooleanConstructor;
|
|
104
|
+
default: boolean;
|
|
105
|
+
};
|
|
106
|
+
readonly: {
|
|
107
|
+
type: BooleanConstructor;
|
|
108
|
+
default: any;
|
|
109
|
+
};
|
|
110
|
+
formItemTip: {
|
|
111
|
+
type: StringConstructor;
|
|
112
|
+
default: any;
|
|
113
|
+
};
|
|
114
|
+
formItemTipClass: any;
|
|
115
|
+
labelTip: {
|
|
116
|
+
type: StringConstructor;
|
|
117
|
+
default: any;
|
|
118
|
+
};
|
|
119
|
+
information: {
|
|
120
|
+
type: BooleanConstructor;
|
|
121
|
+
default: boolean;
|
|
122
|
+
};
|
|
123
|
+
prop: any;
|
|
124
|
+
defaultModelValue: any;
|
|
125
|
+
label: StringConstructor;
|
|
126
|
+
labelWidth: {
|
|
127
|
+
readonly type: import("vue").PropType<string | number>;
|
|
128
|
+
readonly required: false;
|
|
129
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
130
|
+
__epPropKey: true;
|
|
131
|
+
} & {
|
|
132
|
+
readonly default: "";
|
|
133
|
+
};
|
|
134
|
+
labelPosition: {
|
|
135
|
+
readonly type: import("vue").PropType<"" | "top" | "left" | "right">;
|
|
136
|
+
readonly required: false;
|
|
137
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
138
|
+
__epPropKey: true;
|
|
139
|
+
} & {
|
|
140
|
+
readonly default: "";
|
|
141
|
+
};
|
|
142
|
+
rules: {
|
|
143
|
+
readonly type: import("vue").PropType<unknown>;
|
|
144
|
+
readonly required: false;
|
|
145
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
146
|
+
__epPropKey: true;
|
|
147
|
+
};
|
|
148
|
+
error: StringConstructor;
|
|
149
|
+
validateStatus: {
|
|
150
|
+
readonly type: import("vue").PropType<"" | "error" | "success" | "validating">;
|
|
151
|
+
readonly required: false;
|
|
152
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
153
|
+
__epPropKey: true;
|
|
154
|
+
};
|
|
155
|
+
for: StringConstructor;
|
|
156
|
+
inlineMessage: {
|
|
157
|
+
readonly type: import("vue").PropType<string | boolean>;
|
|
158
|
+
readonly required: false;
|
|
159
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
160
|
+
__epPropKey: true;
|
|
161
|
+
} & {
|
|
162
|
+
readonly default: "";
|
|
163
|
+
};
|
|
164
|
+
showMessage: {
|
|
165
|
+
readonly type: import("vue").PropType<boolean>;
|
|
166
|
+
readonly required: false;
|
|
167
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
168
|
+
__epPropKey: true;
|
|
169
|
+
} & {
|
|
170
|
+
readonly default: true;
|
|
171
|
+
};
|
|
172
|
+
}>, {
|
|
173
|
+
formItemBindProps: import("vue").ComputedRef<{}>;
|
|
174
|
+
coreBindProps: import("vue").ComputedRef<{}>;
|
|
175
|
+
coreOnEmits: {};
|
|
176
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
177
|
+
"update:modelValue": (val: string | null) => boolean;
|
|
178
|
+
change: (val: string | null) => boolean;
|
|
179
|
+
activeChange: (val: string | null) => boolean;
|
|
180
|
+
focus: (evt: FocusEvent) => boolean;
|
|
181
|
+
blur: (evt: FocusEvent) => boolean;
|
|
182
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
183
|
+
ariaLabel: StringConstructor;
|
|
184
|
+
emptyValues: ArrayConstructor;
|
|
185
|
+
valueOnClear: {
|
|
186
|
+
readonly type: import("vue").PropType<string | number | boolean | Function>;
|
|
187
|
+
readonly required: false;
|
|
188
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
189
|
+
__epPropKey: true;
|
|
190
|
+
} & {
|
|
191
|
+
readonly default: undefined;
|
|
192
|
+
};
|
|
193
|
+
persistent: {
|
|
194
|
+
readonly type: import("vue").PropType<boolean>;
|
|
195
|
+
readonly required: false;
|
|
196
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
197
|
+
__epPropKey: true;
|
|
198
|
+
} & {
|
|
199
|
+
readonly default: true;
|
|
200
|
+
};
|
|
201
|
+
modelValue: {
|
|
202
|
+
readonly type: import("vue").PropType<string>;
|
|
203
|
+
readonly required: false;
|
|
204
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
205
|
+
__epPropKey: true;
|
|
206
|
+
} & {
|
|
207
|
+
readonly default: undefined;
|
|
208
|
+
};
|
|
209
|
+
id: StringConstructor;
|
|
210
|
+
showAlpha: BooleanConstructor;
|
|
211
|
+
colorFormat: StringConstructor;
|
|
212
|
+
disabled: BooleanConstructor;
|
|
213
|
+
size: {
|
|
214
|
+
readonly type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
215
|
+
readonly required: false;
|
|
216
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
217
|
+
__epPropKey: true;
|
|
218
|
+
};
|
|
219
|
+
popperClass: {
|
|
220
|
+
readonly type: import("vue").PropType<string>;
|
|
221
|
+
readonly required: false;
|
|
222
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
223
|
+
__epPropKey: true;
|
|
224
|
+
} & {
|
|
225
|
+
readonly default: "";
|
|
226
|
+
};
|
|
227
|
+
tabindex: {
|
|
228
|
+
readonly type: import("vue").PropType<string | number>;
|
|
229
|
+
readonly required: false;
|
|
230
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
231
|
+
__epPropKey: true;
|
|
232
|
+
} & {
|
|
233
|
+
readonly default: 0;
|
|
234
|
+
};
|
|
235
|
+
teleported: {
|
|
236
|
+
readonly type: import("vue").PropType<boolean>;
|
|
237
|
+
readonly required: false;
|
|
238
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
239
|
+
__epPropKey: true;
|
|
240
|
+
} & {
|
|
241
|
+
readonly default: true;
|
|
242
|
+
};
|
|
243
|
+
appendTo: {
|
|
244
|
+
readonly type: import("vue").PropType<string | HTMLElement>;
|
|
245
|
+
readonly required: false;
|
|
246
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
247
|
+
__epPropKey: true;
|
|
248
|
+
};
|
|
249
|
+
predefine: {
|
|
250
|
+
readonly type: import("vue").PropType<string[]>;
|
|
251
|
+
readonly required: false;
|
|
252
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
253
|
+
__epPropKey: true;
|
|
254
|
+
};
|
|
255
|
+
validateEvent: {
|
|
256
|
+
readonly type: import("vue").PropType<boolean>;
|
|
257
|
+
readonly required: false;
|
|
258
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
259
|
+
__epPropKey: true;
|
|
260
|
+
} & {
|
|
261
|
+
readonly default: true;
|
|
262
|
+
};
|
|
263
|
+
required: {
|
|
264
|
+
readonly type: import("vue").PropType<boolean>;
|
|
265
|
+
readonly required: false;
|
|
266
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
267
|
+
__epPropKey: true;
|
|
268
|
+
} & {
|
|
269
|
+
readonly default: undefined;
|
|
270
|
+
};
|
|
271
|
+
formItemSize: {
|
|
272
|
+
type: import("vue").PropType<"default" | "small" | "large">;
|
|
273
|
+
default: "default" | "small" | "large";
|
|
274
|
+
};
|
|
275
|
+
formItemSlots: {
|
|
276
|
+
type: import("vue").PropType<import("@vunk/form/components/form-item/src/types").FormItemSlots>;
|
|
277
|
+
default: any;
|
|
278
|
+
};
|
|
279
|
+
elRef: {
|
|
280
|
+
type: import("vue").PropType<any>;
|
|
281
|
+
required: boolean;
|
|
282
|
+
};
|
|
283
|
+
inline: {
|
|
284
|
+
type: BooleanConstructor;
|
|
285
|
+
default: boolean;
|
|
286
|
+
};
|
|
287
|
+
readonly: {
|
|
288
|
+
type: BooleanConstructor;
|
|
289
|
+
default: any;
|
|
290
|
+
};
|
|
291
|
+
formItemTip: {
|
|
292
|
+
type: StringConstructor;
|
|
293
|
+
default: any;
|
|
294
|
+
};
|
|
295
|
+
formItemTipClass: any;
|
|
296
|
+
labelTip: {
|
|
297
|
+
type: StringConstructor;
|
|
298
|
+
default: any;
|
|
299
|
+
};
|
|
300
|
+
information: {
|
|
301
|
+
type: BooleanConstructor;
|
|
302
|
+
default: boolean;
|
|
303
|
+
};
|
|
304
|
+
prop: any;
|
|
305
|
+
defaultModelValue: any;
|
|
306
|
+
label: StringConstructor;
|
|
307
|
+
labelWidth: {
|
|
308
|
+
readonly type: import("vue").PropType<string | number>;
|
|
309
|
+
readonly required: false;
|
|
310
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
311
|
+
__epPropKey: true;
|
|
312
|
+
} & {
|
|
313
|
+
readonly default: "";
|
|
314
|
+
};
|
|
315
|
+
labelPosition: {
|
|
316
|
+
readonly type: import("vue").PropType<"" | "top" | "left" | "right">;
|
|
317
|
+
readonly required: false;
|
|
318
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
319
|
+
__epPropKey: true;
|
|
320
|
+
} & {
|
|
321
|
+
readonly default: "";
|
|
322
|
+
};
|
|
323
|
+
rules: {
|
|
324
|
+
readonly type: import("vue").PropType<unknown>;
|
|
325
|
+
readonly required: false;
|
|
326
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
327
|
+
__epPropKey: true;
|
|
328
|
+
};
|
|
329
|
+
error: StringConstructor;
|
|
330
|
+
validateStatus: {
|
|
331
|
+
readonly type: import("vue").PropType<"" | "error" | "success" | "validating">;
|
|
332
|
+
readonly required: false;
|
|
333
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
334
|
+
__epPropKey: true;
|
|
335
|
+
};
|
|
336
|
+
for: StringConstructor;
|
|
337
|
+
inlineMessage: {
|
|
338
|
+
readonly type: import("vue").PropType<string | boolean>;
|
|
339
|
+
readonly required: false;
|
|
340
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
341
|
+
__epPropKey: true;
|
|
342
|
+
} & {
|
|
343
|
+
readonly default: "";
|
|
344
|
+
};
|
|
345
|
+
showMessage: {
|
|
346
|
+
readonly type: import("vue").PropType<boolean>;
|
|
347
|
+
readonly required: false;
|
|
348
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
349
|
+
__epPropKey: true;
|
|
350
|
+
} & {
|
|
351
|
+
readonly default: true;
|
|
352
|
+
};
|
|
353
|
+
}>> & Readonly<{
|
|
354
|
+
onFocus?: (evt: FocusEvent) => any;
|
|
355
|
+
"onUpdate:modelValue"?: (val: string) => any;
|
|
356
|
+
onChange?: (val: string) => any;
|
|
357
|
+
onBlur?: (evt: FocusEvent) => any;
|
|
358
|
+
onActiveChange?: (val: string) => any;
|
|
359
|
+
}>, {
|
|
360
|
+
required: boolean;
|
|
361
|
+
formItemSize: "default" | "small" | "large";
|
|
362
|
+
formItemSlots: import("@vunk/form/components/form-item/src/types").FormItemSlots;
|
|
363
|
+
inline: boolean;
|
|
364
|
+
readonly: boolean;
|
|
365
|
+
formItemTip: string;
|
|
366
|
+
formItemTipClass: any;
|
|
367
|
+
labelTip: string;
|
|
368
|
+
information: boolean;
|
|
369
|
+
prop: any;
|
|
370
|
+
defaultModelValue: any;
|
|
371
|
+
labelWidth: string | number;
|
|
372
|
+
labelPosition: "" | "top" | "left" | "right";
|
|
373
|
+
inlineMessage: string | boolean;
|
|
374
|
+
showMessage: boolean;
|
|
375
|
+
disabled: boolean;
|
|
376
|
+
persistent: boolean;
|
|
377
|
+
teleported: boolean;
|
|
378
|
+
popperClass: string;
|
|
379
|
+
modelValue: string;
|
|
380
|
+
tabindex: string | number;
|
|
381
|
+
validateEvent: boolean;
|
|
382
|
+
valueOnClear: string | number | boolean | Function;
|
|
383
|
+
showAlpha: boolean;
|
|
384
|
+
}, {}, {
|
|
385
|
+
VkfFormItem: {
|
|
386
|
+
new (...args: any[]): any;
|
|
387
|
+
__isFragment?: never;
|
|
388
|
+
__isTeleport?: never;
|
|
389
|
+
__isSuspense?: never;
|
|
390
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<Record<string | symbol, any>>>, Record<string | symbol, any>, any, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
391
|
+
[x: string]: any;
|
|
392
|
+
[x: symbol]: any;
|
|
393
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
|
394
|
+
install(app: import("vue").App): void;
|
|
395
|
+
};
|
|
396
|
+
ElColorPicker: never;
|
|
397
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
398
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { VkfColorPicker } from '@vunk/form/components/color-picker';
|
|
2
|
+
import { VueComponentPropsType } from '@vunk/core';
|
|
3
|
+
import { BasicSource } from '@vunk/form/shared';
|
|
4
|
+
export interface Source<P = string> extends VueComponentPropsType<typeof VkfColorPicker>, BasicSource {
|
|
5
|
+
prop: P;
|
|
6
|
+
templateType: 'VkfColorPicker';
|
|
7
|
+
}
|