@vunk/form 1.4.5 → 1.4.7
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/button/index.d.ts +4 -0
- package/components/button/src/ctx.d.ts +96 -0
- package/components/button/src/index.vue.d.ts +462 -0
- package/components/button/src/types.d.ts +13 -0
- package/components/cascader/index.d.ts +6 -0
- package/components/cascader/src/ctx.d.ts +131 -0
- package/components/cascader/src/index.vue.d.ts +334 -0
- package/components/cascader/src/types.d.ts +7 -0
- package/components/cascader/src/use.d.ts +5 -0
- package/components/checkbox/index.cjs +4 -4
- package/components/checkbox/index.d.ts +5 -0
- package/components/checkbox/index.mjs +4 -4
- package/components/checkbox/src/ctx.d.ts +89 -0
- package/components/checkbox/src/index.vue.d.ts +1114 -0
- package/components/checkbox/src/types.d.ts +8 -0
- package/components/color-picker/index.cjs +1 -1
- package/components/color-picker/index.d.ts +4 -0
- package/components/color-picker/index.mjs +1 -1
- package/components/color-picker/src/ctx.d.ts +80 -0
- package/components/color-picker/src/index.vue.d.ts +191 -0
- package/components/color-picker/src/types.d.ts +7 -0
- package/components/date-picker/index.cjs +1 -2
- package/components/date-picker/index.d.ts +5 -0
- package/components/date-picker/index.mjs +1 -2
- package/components/date-picker/src/ctx.d.ts +166 -0
- package/components/date-picker/src/index.vue.d.ts +626 -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 +185 -0
- package/components/date-picker-range/src/index.vue.d.ts +428 -0
- package/components/date-picker-range/src/types.d.ts +12 -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 +84 -0
- package/components/download-plus/src/index.vue.d.ts +955 -0
- package/components/download-plus/src/types.d.ts +17 -0
- package/components/esri-input-geojson/index.d.ts +6 -0
- package/components/esri-input-geojson/src/append.vue.d.ts +828 -0
- package/components/esri-input-geojson/src/const.d.ts +12 -0
- package/components/esri-input-geojson/src/ctx.d.ts +229 -0
- package/components/esri-input-geojson/src/default-view.vue.d.ts +133 -0
- package/components/esri-input-geojson/src/index.vue.d.ts +1261 -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/form/index.d.ts +5 -0
- package/components/form/src/ctx.d.ts +84 -0
- package/components/form/src/index.vue.d.ts +726 -0
- package/components/form/src/types.d.ts +12 -0
- package/components/form/src/utils.d.ts +15 -0
- package/components/form-item/index.d.ts +5 -0
- package/components/form-item/src/ctx.d.ts +62 -0
- package/components/form-item/src/index.vue.d.ts +303 -0
- package/components/form-item/src/types.d.ts +6 -0
- package/components/form-item-renderer/index.d.ts +5 -0
- package/components/form-item-renderer/src/ctx.d.ts +16 -0
- package/components/form-item-renderer/src/index.vue.d.ts +38 -0
- package/components/form-item-renderer/src/symbols.d.ts +3 -0
- package/components/form-item-renderer/src/types.d.ts +8 -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 +1 -0
- package/components/geoinput/index.d.ts +4 -0
- package/components/geoinput/src/ctx.d.ts +234 -0
- package/components/geoinput/src/index.vue.d.ts +531 -0
- package/components/geoinput/src/types.d.ts +12 -0
- package/components/geoinput-read/index.d.ts +5 -0
- package/components/geoinput-read/src/append.vue.d.ts +341 -0
- package/components/geoinput-read/src/core.vue.d.ts +649 -0
- package/components/geoinput-read/src/ctx.d.ts +205 -0
- package/components/geoinput-read/src/index.vue.d.ts +1186 -0
- package/components/geoinput-read/src/types.d.ts +3 -0
- package/components/geoinput-update/index.d.ts +5 -0
- package/components/geoinput-update/src/append.vue.d.ts +815 -0
- package/components/geoinput-update/src/ctx.d.ts +213 -0
- package/components/geoinput-update/src/index.vue.d.ts +1125 -0
- package/components/geoinput-update/src/types.d.ts +6 -0
- package/components/input/index.cjs +3 -3
- package/components/input/index.d.ts +5 -0
- package/components/input/index.mjs +3 -3
- package/components/input/src/ctx.d.ts +154 -0
- package/components/input/src/index.vue.d.ts +792 -0
- package/components/input/src/types.d.ts +13 -0
- package/components/input-collection/index.d.ts +4 -0
- package/components/input-collection/src/ctx.d.ts +72 -0
- package/components/input-collection/src/index.vue.d.ts +1093 -0
- package/components/input-collection/src/types.d.ts +19 -0
- package/components/input-link/index.d.ts +4 -0
- package/components/input-link/src/ctx.d.ts +185 -0
- package/components/input-link/src/index.vue.d.ts +397 -0
- package/components/input-link/src/types.d.ts +7 -0
- package/components/input-number/index.cjs +4 -4
- package/components/input-number/index.d.ts +4 -0
- package/components/input-number/index.mjs +4 -4
- package/components/input-number/src/ctx.d.ts +90 -0
- package/components/input-number/src/index.vue.d.ts +407 -0
- package/components/input-number/src/types.d.ts +8 -0
- package/components/monaco-editor/index.d.ts +4 -0
- package/components/monaco-editor/src/ctx.d.ts +70 -0
- package/components/monaco-editor/src/index.vue.d.ts +209 -0
- package/components/monaco-editor/src/types.d.ts +7 -0
- package/components/radio/index.cjs +1 -1
- package/components/radio/index.d.ts +4 -0
- package/components/radio/index.mjs +1 -1
- package/components/radio/src/ctx.d.ts +82 -0
- package/components/radio/src/index.vue.d.ts +643 -0
- package/components/radio/src/types.d.ts +8 -0
- package/components/select/index.d.ts +4 -0
- package/components/select/src/ctx.d.ts +156 -0
- package/components/select/src/index.vue.d.ts +561 -0
- package/components/select/src/types.d.ts +11 -0
- package/components/slider/index.d.ts +4 -0
- package/components/slider/src/ctx.d.ts +127 -0
- package/components/slider/src/index.vue.d.ts +339 -0
- package/components/slider/src/types.d.ts +7 -0
- package/components/switch/index.cjs +6 -7
- package/components/switch/index.d.ts +4 -0
- package/components/switch/index.mjs +6 -7
- package/components/switch/src/ctx.d.ts +114 -0
- package/components/switch/src/index.vue.d.ts +535 -0
- package/components/switch/src/types.d.ts +8 -0
- package/components/template-instances-provider/index.d.ts +3 -0
- package/components/template-instances-provider/src/index.vue.d.ts +4 -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 +178 -0
- package/components/templates-default/src/types.d.ts +53 -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 +154 -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 +173 -0
- package/components/templates-layout/src/types.d.ts +32 -0
- package/components/templates-mapbox/index.d.ts +4 -0
- package/components/templates-mapbox/src/ctx.d.ts +11 -0
- package/components/templates-mapbox/src/index.vue.d.ts +43 -0
- package/components/templates-mapbox/src/types.d.ts +3 -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 +180 -0
- package/components/upload/src/file.vue.d.ts +306 -0
- package/components/upload/src/index.vue.d.ts +1282 -0
- package/components/upload/src/types.d.ts +12 -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 +103 -0
- package/components/upload-plus/src/index.vue.d.ts +1005 -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 +129 -0
- package/components/van-cascader/src/index.vue.d.ts +3324 -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 +67 -0
- package/components/var-datetime-picker/src/index.vue.d.ts +716 -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 +77 -0
- package/components/vditor/src/index.vue.d.ts +324 -0
- package/components/vditor/src/types.d.ts +7 -0
- package/package.json +1 -1
- package/shared/const/index.d.ts +4 -0
- package/shared/element-plus/ctx.d.ts +26 -0
- package/shared/element-plus/index.d.ts +3 -0
- package/shared/element-plus/instances.d.ts +202 -0
- package/shared/element-plus/version.d.ts +1 -0
- package/shared/form/index.d.ts +18 -0
- package/shared/helper/index.d.ts +4 -0
- package/shared/index.d.ts +2 -0
- package/shared/infer-prop/index.d.ts +17 -0
- package/shared/progress-it/index.d.ts +16 -0
- package/shared/rules/index.d.ts +35 -0
- package/shared/types/form/checkbox.d.ts +13 -0
- package/shared/types/form/index.d.ts +2 -0
- package/shared/types/form/radio.d.ts +8 -0
- package/shared/types/index.d.ts +2 -0
- package/shared/types/source/index.d.ts +21 -0
- package/shared/types/source-manager/index.d.ts +6 -0
- package/shared/upload/index.d.ts +7 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { Func, VueComponentPropsType } from '@vunk/core';
|
|
2
|
+
import { BasicSource } from '@vunk/form/shared';
|
|
3
|
+
import VkfInput from './index.vue';
|
|
4
|
+
export type InputSlots = {
|
|
5
|
+
prefix?: Func;
|
|
6
|
+
suffix?: Func;
|
|
7
|
+
prepend?: Func;
|
|
8
|
+
append?: Func;
|
|
9
|
+
};
|
|
10
|
+
export interface Source<P extends string = string> extends VueComponentPropsType<typeof VkfInput>, BasicSource {
|
|
11
|
+
prop?: P | P[];
|
|
12
|
+
templateType: 'VkfInput';
|
|
13
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { Column } from './types';
|
|
3
|
+
import { NormalObject } from '@vunk/shared';
|
|
4
|
+
export declare const props: {
|
|
5
|
+
columns: {
|
|
6
|
+
type: PropType<Column<any>[]>;
|
|
7
|
+
default: () => any[];
|
|
8
|
+
};
|
|
9
|
+
modelValue: {
|
|
10
|
+
type: PropType<NormalObject[]>;
|
|
11
|
+
default: () => any[];
|
|
12
|
+
};
|
|
13
|
+
readonly: {
|
|
14
|
+
type: BooleanConstructor;
|
|
15
|
+
default: any;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* @description 是否可以splice
|
|
19
|
+
*/
|
|
20
|
+
splicable: {
|
|
21
|
+
type: BooleanConstructor;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
24
|
+
required: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
25
|
+
formItemSize: {
|
|
26
|
+
type: PropType<"default" | "small" | "large">;
|
|
27
|
+
default: "default" | "small" | "large";
|
|
28
|
+
};
|
|
29
|
+
formItemSlots: {
|
|
30
|
+
type: PropType<import("@vunk/form/components/form-item/src/types").FormItemSlots>;
|
|
31
|
+
default: any;
|
|
32
|
+
};
|
|
33
|
+
elRef: {
|
|
34
|
+
type: PropType<any>;
|
|
35
|
+
required: boolean;
|
|
36
|
+
};
|
|
37
|
+
inline: {
|
|
38
|
+
type: BooleanConstructor;
|
|
39
|
+
default: boolean;
|
|
40
|
+
};
|
|
41
|
+
labelPosition: {
|
|
42
|
+
type: PropType<"right">;
|
|
43
|
+
default: string;
|
|
44
|
+
};
|
|
45
|
+
label: StringConstructor;
|
|
46
|
+
labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
47
|
+
prop: {
|
|
48
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => import("element-plus").FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => import("element-plus").FormItemProp))[], unknown, unknown>>;
|
|
49
|
+
readonly required: false;
|
|
50
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
51
|
+
__epPropKey: true;
|
|
52
|
+
};
|
|
53
|
+
rules: {
|
|
54
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>) | ((new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>))[], unknown, unknown>>;
|
|
55
|
+
readonly required: false;
|
|
56
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
57
|
+
__epPropKey: true;
|
|
58
|
+
};
|
|
59
|
+
error: StringConstructor;
|
|
60
|
+
validateStatus: {
|
|
61
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
|
|
62
|
+
readonly required: false;
|
|
63
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
64
|
+
__epPropKey: true;
|
|
65
|
+
};
|
|
66
|
+
for: StringConstructor;
|
|
67
|
+
inlineMessage: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, BooleanConstructor], unknown, unknown, "", boolean>;
|
|
68
|
+
showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
69
|
+
};
|
|
70
|
+
export declare const emits: {
|
|
71
|
+
'update:modelValue': any;
|
|
72
|
+
};
|