@vunk/form 1.4.4 → 1.4.5
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/cascader/index.cjs +3 -3
- package/components/cascader/index.mjs +3 -3
- package/components/color-picker/index.cjs +1 -1
- package/components/color-picker/index.mjs +1 -1
- package/components/form/index.cjs +1 -1
- package/components/form/index.mjs +1 -1
- package/components/form-item-renderer/index.cjs +1 -0
- package/components/form-item-renderer/index.mjs +1 -0
- package/components/input/index.cjs +2 -6
- package/components/input/index.mjs +2 -6
- package/components/input-link/index.cjs +7 -7
- package/components/input-link/index.mjs +7 -7
- package/components/radio/index.cjs +3 -3
- package/components/radio/index.mjs +3 -3
- package/components/templates-default/index.cjs +0 -2
- package/components/templates-default/index.mjs +0 -2
- package/components/templates-layout/index.cjs +1 -1
- package/components/templates-layout/index.mjs +1 -1
- package/package.json +1 -1
- package/components/button/index.d.ts +0 -4
- package/components/button/src/ctx.d.ts +0 -96
- package/components/button/src/index.vue.d.ts +0 -495
- package/components/button/src/types.d.ts +0 -13
- package/components/cascader/index.d.ts +0 -6
- package/components/cascader/src/ctx.d.ts +0 -120
- package/components/cascader/src/index.vue.d.ts +0 -13955
- package/components/cascader/src/types.d.ts +0 -7
- package/components/cascader/src/use.d.ts +0 -5
- package/components/checkbox/index.d.ts +0 -5
- package/components/checkbox/src/ctx.d.ts +0 -89
- package/components/checkbox/src/index.vue.d.ts +0 -1099
- package/components/checkbox/src/types.d.ts +0 -8
- package/components/color-picker/index.d.ts +0 -4
- package/components/color-picker/src/ctx.d.ts +0 -80
- package/components/color-picker/src/index.vue.d.ts +0 -11135
- package/components/color-picker/src/types.d.ts +0 -7
- package/components/date-picker/index.d.ts +0 -5
- package/components/date-picker/src/ctx.d.ts +0 -158
- package/components/date-picker/src/index.vue.d.ts +0 -590
- package/components/date-picker/src/types.d.ts +0 -20
- package/components/date-picker-range/index.d.ts +0 -4
- package/components/date-picker-range/src/ctx.d.ts +0 -177
- package/components/date-picker-range/src/index.vue.d.ts +0 -410
- package/components/date-picker-range/src/types.d.ts +0 -12
- package/components/download-plus/index.d.ts +0 -4
- package/components/download-plus/src/api.d.ts +0 -13
- package/components/download-plus/src/const.d.ts +0 -9
- package/components/download-plus/src/ctx.d.ts +0 -84
- package/components/download-plus/src/index.vue.d.ts +0 -1020
- package/components/download-plus/src/types.d.ts +0 -17
- package/components/esri-input-geojson/index.d.ts +0 -6
- package/components/esri-input-geojson/src/append.vue.d.ts +0 -2259
- package/components/esri-input-geojson/src/const.d.ts +0 -12
- package/components/esri-input-geojson/src/ctx.d.ts +0 -223
- package/components/esri-input-geojson/src/default-view.vue.d.ts +0 -133
- package/components/esri-input-geojson/src/index.vue.d.ts +0 -1249
- package/components/esri-input-geojson/src/types.d.ts +0 -22
- package/components/esri-input-geojson/src/viewer.vue.d.ts +0 -427
- package/components/form/index.d.ts +0 -5
- package/components/form/src/ctx.d.ts +0 -84
- package/components/form/src/index.vue.d.ts +0 -789
- package/components/form/src/types.d.ts +0 -12
- package/components/form/src/utils.d.ts +0 -15
- package/components/form-item/index.d.ts +0 -5
- package/components/form-item/src/ctx.d.ts +0 -62
- package/components/form-item/src/index.vue.d.ts +0 -320
- package/components/form-item/src/types.d.ts +0 -6
- package/components/form-item-renderer/index.d.ts +0 -5
- package/components/form-item-renderer/src/ctx.d.ts +0 -16
- package/components/form-item-renderer/src/index.vue.d.ts +0 -38
- package/components/form-item-renderer/src/symbols.d.ts +0 -3
- package/components/form-item-renderer/src/types.d.ts +0 -7
- package/components/form-item-renderer-template/index.d.ts +0 -4
- package/components/form-item-renderer-template/src/ctx.d.ts +0 -7
- package/components/form-item-renderer-template/src/index.vue.d.ts +0 -16
- package/components/form-item-renderer-template/src/types.d.ts +0 -1
- package/components/geoinput/index.d.ts +0 -4
- package/components/geoinput/src/ctx.d.ts +0 -228
- package/components/geoinput/src/index.vue.d.ts +0 -519
- package/components/geoinput/src/types.d.ts +0 -12
- package/components/geoinput-read/index.d.ts +0 -5
- package/components/geoinput-read/src/append.vue.d.ts +0 -383
- package/components/geoinput-read/src/core.vue.d.ts +0 -644
- package/components/geoinput-read/src/ctx.d.ts +0 -199
- package/components/geoinput-read/src/index.vue.d.ts +0 -1169
- package/components/geoinput-read/src/types.d.ts +0 -3
- package/components/geoinput-update/index.d.ts +0 -5
- package/components/geoinput-update/src/append.vue.d.ts +0 -2246
- package/components/geoinput-update/src/ctx.d.ts +0 -207
- package/components/geoinput-update/src/index.vue.d.ts +0 -1302
- package/components/geoinput-update/src/types.d.ts +0 -6
- package/components/input/index.d.ts +0 -5
- package/components/input/src/ctx.d.ts +0 -148
- package/components/input/src/index.vue.d.ts +0 -809
- package/components/input/src/types.d.ts +0 -13
- package/components/input-collection/index.d.ts +0 -4
- package/components/input-collection/src/ctx.d.ts +0 -72
- package/components/input-collection/src/index.vue.d.ts +0 -1160
- package/components/input-collection/src/types.d.ts +0 -19
- package/components/input-link/index.d.ts +0 -4
- package/components/input-link/src/ctx.d.ts +0 -179
- package/components/input-link/src/index.vue.d.ts +0 -385
- package/components/input-link/src/types.d.ts +0 -7
- package/components/input-number/index.d.ts +0 -4
- package/components/input-number/src/ctx.d.ts +0 -90
- package/components/input-number/src/index.vue.d.ts +0 -1783
- package/components/input-number/src/types.d.ts +0 -8
- package/components/monaco-editor/index.d.ts +0 -4
- package/components/monaco-editor/src/ctx.d.ts +0 -70
- package/components/monaco-editor/src/index.vue.d.ts +0 -209
- package/components/monaco-editor/src/types.d.ts +0 -7
- package/components/radio/index.d.ts +0 -4
- package/components/radio/src/ctx.d.ts +0 -82
- package/components/radio/src/index.vue.d.ts +0 -629
- package/components/radio/src/types.d.ts +0 -8
- package/components/select/index.d.ts +0 -4
- package/components/select/src/ctx.d.ts +0 -156
- package/components/select/src/index.vue.d.ts +0 -13405
- package/components/select/src/types.d.ts +0 -11
- package/components/slider/index.d.ts +0 -4
- package/components/slider/src/ctx.d.ts +0 -127
- package/components/slider/src/index.vue.d.ts +0 -341
- package/components/slider/src/types.d.ts +0 -7
- package/components/switch/index.d.ts +0 -4
- package/components/switch/src/ctx.d.ts +0 -114
- package/components/switch/src/index.vue.d.ts +0 -584
- package/components/switch/src/types.d.ts +0 -8
- package/components/template-instances-provider/index.d.ts +0 -3
- package/components/template-instances-provider/src/index.vue.d.ts +0 -4
- package/components/templates-default/index.d.ts +0 -4
- package/components/templates-default/src/ctx.d.ts +0 -19
- package/components/templates-default/src/index.vue.d.ts +0 -198
- package/components/templates-default/src/types.d.ts +0 -53
- package/components/templates-element-plus/index.d.ts +0 -4
- package/components/templates-element-plus/src/ctx.d.ts +0 -9
- package/components/templates-element-plus/src/index.vue.d.ts +0 -206
- package/components/templates-element-plus/src/types.d.ts +0 -13
- package/components/templates-esri/index.d.ts +0 -4
- package/components/templates-esri/src/ctx.d.ts +0 -11
- package/components/templates-esri/src/index.vue.d.ts +0 -43
- package/components/templates-esri/src/types.d.ts +0 -2
- package/components/templates-layout/index.d.ts +0 -4
- package/components/templates-layout/src/ctx.d.ts +0 -9
- package/components/templates-layout/src/index.vue.d.ts +0 -161
- package/components/templates-layout/src/types.d.ts +0 -32
- package/components/templates-mapbox/index.d.ts +0 -4
- package/components/templates-mapbox/src/ctx.d.ts +0 -11
- package/components/templates-mapbox/src/index.vue.d.ts +0 -43
- package/components/templates-mapbox/src/types.d.ts +0 -3
- package/components/templates-variant/index.d.ts +0 -4
- package/components/templates-variant/src/ctx.d.ts +0 -11
- package/components/templates-variant/src/index.vue.d.ts +0 -43
- package/components/templates-variant/src/types.d.ts +0 -2
- package/components/upload/index.d.ts +0 -5
- package/components/upload/src/ctx.d.ts +0 -180
- package/components/upload/src/file.vue.d.ts +0 -363
- package/components/upload/src/index.vue.d.ts +0 -2784
- package/components/upload/src/types.d.ts +0 -7
- package/components/upload-plus/index.d.ts +0 -6
- package/components/upload-plus/src/api.d.ts +0 -38
- package/components/upload-plus/src/const.d.ts +0 -9
- package/components/upload-plus/src/ctx.d.ts +0 -103
- package/components/upload-plus/src/index.vue.d.ts +0 -1077
- package/components/upload-plus/src/types.d.ts +0 -32
- package/components/van-cascader/index.d.ts +0 -4
- package/components/van-cascader/src/ctx.d.ts +0 -118
- package/components/van-cascader/src/index.vue.d.ts +0 -13312
- package/components/van-cascader/src/types.d.ts +0 -1
- package/components/var-datetime-picker/index.d.ts +0 -4
- package/components/var-datetime-picker/src/const.d.ts +0 -10
- package/components/var-datetime-picker/src/ctx.d.ts +0 -67
- package/components/var-datetime-picker/src/index.vue.d.ts +0 -771
- package/components/var-datetime-picker/src/types.d.ts +0 -22
- package/components/vditor/index.d.ts +0 -4
- package/components/vditor/src/ctx.d.ts +0 -77
- package/components/vditor/src/index.vue.d.ts +0 -324
- package/components/vditor/src/types.d.ts +0 -7
- package/shared/const/index.d.ts +0 -4
- package/shared/element-plus/ctx.d.ts +0 -26
- package/shared/element-plus/index.d.ts +0 -3
- package/shared/element-plus/instances.d.ts +0 -195
- package/shared/element-plus/version.d.ts +0 -1
- package/shared/form/index.d.ts +0 -18
- package/shared/helper/index.d.ts +0 -4
- package/shared/index.d.ts +0 -2
- package/shared/infer-prop/index.d.ts +0 -17
- package/shared/progress-it/index.d.ts +0 -16
- package/shared/rules/index.d.ts +0 -35
- package/shared/types/form/checkbox.d.ts +0 -13
- package/shared/types/form/index.d.ts +0 -2
- package/shared/types/form/radio.d.ts +0 -8
- package/shared/types/index.d.ts +0 -2
- package/shared/types/source/index.d.ts +0 -21
- package/shared/types/source-manager/index.d.ts +0 -6
- package/shared/upload/index.d.ts +0 -7
|
@@ -1,195 +0,0 @@
|
|
|
1
|
-
import { ComponentSize, DatePickType } from 'element-plus';
|
|
2
|
-
import { PropType, Component } from 'vue';
|
|
3
|
-
export declare const datePickerProps: {
|
|
4
|
-
type: {
|
|
5
|
-
type: PropType<DatePickType>;
|
|
6
|
-
default: string;
|
|
7
|
-
};
|
|
8
|
-
ariaLabel: StringConstructor;
|
|
9
|
-
emptyValues: ArrayConstructor;
|
|
10
|
-
valueOnClear: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor, BooleanConstructor, FunctionConstructor], unknown, unknown, undefined, boolean>;
|
|
11
|
-
disabledDate: {
|
|
12
|
-
readonly type: import("vue").PropType<Function>;
|
|
13
|
-
readonly required: false;
|
|
14
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
15
|
-
__epPropKey: true;
|
|
16
|
-
};
|
|
17
|
-
cellClassName: {
|
|
18
|
-
readonly type: import("vue").PropType<Function>;
|
|
19
|
-
readonly required: false;
|
|
20
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
21
|
-
__epPropKey: true;
|
|
22
|
-
};
|
|
23
|
-
shortcuts: import("element-plus/es/utils").EpPropFinalized<ArrayConstructor, unknown, unknown, () => never[], boolean>;
|
|
24
|
-
arrowControl: BooleanConstructor;
|
|
25
|
-
label: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
26
|
-
tabindex: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown, 0, boolean>;
|
|
27
|
-
validateEvent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
28
|
-
unlinkPanels: BooleanConstructor;
|
|
29
|
-
disabledHours: {
|
|
30
|
-
readonly type: import("vue").PropType<import("element-plus/es/components/time-picker/src/props/shared").GetDisabledHours>;
|
|
31
|
-
readonly required: false;
|
|
32
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
33
|
-
__epPropKey: true;
|
|
34
|
-
};
|
|
35
|
-
disabledMinutes: {
|
|
36
|
-
readonly type: import("vue").PropType<import("element-plus/es/components/time-picker/src/props/shared").GetDisabledMinutes>;
|
|
37
|
-
readonly required: false;
|
|
38
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
39
|
-
__epPropKey: true;
|
|
40
|
-
};
|
|
41
|
-
disabledSeconds: {
|
|
42
|
-
readonly type: import("vue").PropType<import("element-plus/es/components/time-picker/src/props/shared").GetDisabledSeconds>;
|
|
43
|
-
readonly required: false;
|
|
44
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
45
|
-
__epPropKey: true;
|
|
46
|
-
};
|
|
47
|
-
id: {
|
|
48
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("element-plus").SingleOrRange<string> & {}) | (() => import("element-plus").SingleOrRange<string>) | ((new (...args: any[]) => import("element-plus").SingleOrRange<string> & {}) | (() => import("element-plus").SingleOrRange<string>))[], unknown, unknown>>;
|
|
49
|
-
readonly required: false;
|
|
50
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
51
|
-
__epPropKey: true;
|
|
52
|
-
};
|
|
53
|
-
name: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").SingleOrRange<string> & {}) | (() => import("element-plus").SingleOrRange<string>) | ((new (...args: any[]) => import("element-plus").SingleOrRange<string> & {}) | (() => import("element-plus").SingleOrRange<string>))[], unknown, unknown, "", boolean>;
|
|
54
|
-
popperClass: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
55
|
-
format: StringConstructor;
|
|
56
|
-
valueFormat: StringConstructor;
|
|
57
|
-
dateFormat: StringConstructor;
|
|
58
|
-
timeFormat: StringConstructor;
|
|
59
|
-
clearable: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
60
|
-
clearIcon: {
|
|
61
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
|
|
62
|
-
readonly required: false;
|
|
63
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
64
|
-
__epPropKey: true;
|
|
65
|
-
};
|
|
66
|
-
editable: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
67
|
-
prefixIcon: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, "", boolean>;
|
|
68
|
-
size: {
|
|
69
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
70
|
-
readonly required: false;
|
|
71
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
72
|
-
__epPropKey: true;
|
|
73
|
-
};
|
|
74
|
-
readonly: BooleanConstructor;
|
|
75
|
-
disabled: BooleanConstructor;
|
|
76
|
-
placeholder: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
77
|
-
popperOptions: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => Partial<import("element-plus").Options>) | (() => Partial<import("element-plus").Options>) | ((new (...args: any[]) => Partial<import("element-plus").Options>) | (() => Partial<import("element-plus").Options>))[], unknown, unknown, () => {}, boolean>;
|
|
78
|
-
modelValue: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").ModelValueType & {}) | (() => import("element-plus").ModelValueType) | ((new (...args: any[]) => import("element-plus").ModelValueType & {}) | (() => import("element-plus").ModelValueType))[], unknown, unknown, "", boolean>;
|
|
79
|
-
rangeSeparator: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "-", boolean>;
|
|
80
|
-
startPlaceholder: StringConstructor;
|
|
81
|
-
endPlaceholder: StringConstructor;
|
|
82
|
-
defaultValue: {
|
|
83
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => Date | [Date, Date]) | (() => import("element-plus").SingleOrRange<Date>) | ((new (...args: any[]) => Date | [Date, Date]) | (() => import("element-plus").SingleOrRange<Date>))[], unknown, unknown>>;
|
|
84
|
-
readonly required: false;
|
|
85
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
86
|
-
__epPropKey: true;
|
|
87
|
-
};
|
|
88
|
-
defaultTime: {
|
|
89
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => Date | [Date, Date]) | (() => import("element-plus").SingleOrRange<Date>) | ((new (...args: any[]) => Date | [Date, Date]) | (() => import("element-plus").SingleOrRange<Date>))[], unknown, unknown>>;
|
|
90
|
-
readonly required: false;
|
|
91
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
92
|
-
__epPropKey: true;
|
|
93
|
-
};
|
|
94
|
-
isRange: BooleanConstructor;
|
|
95
|
-
};
|
|
96
|
-
export declare const datePickerEmits: {
|
|
97
|
-
'update:modelValue': any;
|
|
98
|
-
change: any;
|
|
99
|
-
focus: any;
|
|
100
|
-
blur: any;
|
|
101
|
-
'calendar-change': any;
|
|
102
|
-
'panel-change': any;
|
|
103
|
-
'visible-change': any;
|
|
104
|
-
keydown: any;
|
|
105
|
-
};
|
|
106
|
-
export declare const selectProps: {
|
|
107
|
-
name: StringConstructor;
|
|
108
|
-
id: StringConstructor;
|
|
109
|
-
modelValue: {
|
|
110
|
-
type: (ObjectConstructor | BooleanConstructor | StringConstructor | NumberConstructor | ArrayConstructor)[];
|
|
111
|
-
default: any;
|
|
112
|
-
};
|
|
113
|
-
autocomplete: {
|
|
114
|
-
type: StringConstructor;
|
|
115
|
-
default: string;
|
|
116
|
-
};
|
|
117
|
-
automaticDropdown: BooleanConstructor;
|
|
118
|
-
size: {
|
|
119
|
-
type: PropType<ComponentSize>;
|
|
120
|
-
};
|
|
121
|
-
effect: {
|
|
122
|
-
type: PropType<"light" | "dark" | string>;
|
|
123
|
-
default: string;
|
|
124
|
-
};
|
|
125
|
-
disabled: BooleanConstructor;
|
|
126
|
-
clearable: BooleanConstructor;
|
|
127
|
-
filterable: BooleanConstructor;
|
|
128
|
-
allowCreate: BooleanConstructor;
|
|
129
|
-
loading: BooleanConstructor;
|
|
130
|
-
popperClass: {
|
|
131
|
-
type: StringConstructor;
|
|
132
|
-
default: string;
|
|
133
|
-
};
|
|
134
|
-
remote: BooleanConstructor;
|
|
135
|
-
loadingText: StringConstructor;
|
|
136
|
-
noMatchText: StringConstructor;
|
|
137
|
-
noDataText: StringConstructor;
|
|
138
|
-
remoteMethod: FunctionConstructor;
|
|
139
|
-
filterMethod: FunctionConstructor;
|
|
140
|
-
multiple: BooleanConstructor;
|
|
141
|
-
multipleLimit: {
|
|
142
|
-
type: NumberConstructor;
|
|
143
|
-
default: number;
|
|
144
|
-
};
|
|
145
|
-
placeholder: {
|
|
146
|
-
type: StringConstructor;
|
|
147
|
-
};
|
|
148
|
-
defaultFirstOption: BooleanConstructor;
|
|
149
|
-
reserveKeyword: {
|
|
150
|
-
type: BooleanConstructor;
|
|
151
|
-
default: boolean;
|
|
152
|
-
};
|
|
153
|
-
valueKey: {
|
|
154
|
-
type: StringConstructor;
|
|
155
|
-
default: string;
|
|
156
|
-
};
|
|
157
|
-
collapseTags: BooleanConstructor;
|
|
158
|
-
collapseTagsTooltip: {
|
|
159
|
-
type: BooleanConstructor;
|
|
160
|
-
default: boolean;
|
|
161
|
-
};
|
|
162
|
-
teleported: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
163
|
-
persistent: {
|
|
164
|
-
type: BooleanConstructor;
|
|
165
|
-
default: boolean;
|
|
166
|
-
};
|
|
167
|
-
clearIcon: {
|
|
168
|
-
type: PropType<string | Component>;
|
|
169
|
-
default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
170
|
-
};
|
|
171
|
-
fitInputWidth: {
|
|
172
|
-
type: BooleanConstructor;
|
|
173
|
-
default: boolean;
|
|
174
|
-
};
|
|
175
|
-
suffixIcon: {
|
|
176
|
-
type: PropType<string | Component>;
|
|
177
|
-
default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
178
|
-
};
|
|
179
|
-
tagType: {
|
|
180
|
-
default: string;
|
|
181
|
-
type: PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown>>;
|
|
182
|
-
required: false;
|
|
183
|
-
validator: ((val: unknown) => boolean) | undefined;
|
|
184
|
-
__epPropKey: true;
|
|
185
|
-
};
|
|
186
|
-
};
|
|
187
|
-
export declare const selectEmits: {
|
|
188
|
-
'update:modelValue': any;
|
|
189
|
-
change: any;
|
|
190
|
-
'remove-tag': any;
|
|
191
|
-
clear: any;
|
|
192
|
-
'visible-change': any;
|
|
193
|
-
focus: any;
|
|
194
|
-
blur: any;
|
|
195
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const isGte2_6_0: boolean;
|
package/shared/form/index.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { Func, NormalObject } from '@vunk/core';
|
|
2
|
-
/**
|
|
3
|
-
* 表单验证失败, 处理方式
|
|
4
|
-
* 消息提示
|
|
5
|
-
* @param err Record<string, {message: string}[]>
|
|
6
|
-
*/
|
|
7
|
-
export declare const validateCatch: (err: any, init?: {
|
|
8
|
-
prefix?: string;
|
|
9
|
-
suffix?: string;
|
|
10
|
-
}) => void;
|
|
11
|
-
/**
|
|
12
|
-
* 根据 templateIf 生成 显隐函数
|
|
13
|
-
* @param templateIfRaw
|
|
14
|
-
* @returns
|
|
15
|
-
*/
|
|
16
|
-
export declare const genTemplateIfFunc: Func<[
|
|
17
|
-
any
|
|
18
|
-
], (e?: NormalObject) => boolean>;
|
package/shared/helper/index.d.ts
DELETED
package/shared/index.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { __VkfTemplatesDefault } from '@vunk/form/components/templates-default';
|
|
2
|
-
export interface PropInfo {
|
|
3
|
-
prop: string;
|
|
4
|
-
type: string;
|
|
5
|
-
precision?: number;
|
|
6
|
-
}
|
|
7
|
-
export type InferPropInfo = (item: __VkfTemplatesDefault.CoreSource) => Partial<PropInfo>;
|
|
8
|
-
export declare const propInfoAction: {
|
|
9
|
-
VkfSelect: InferPropInfo;
|
|
10
|
-
VkfRadio: InferPropInfo;
|
|
11
|
-
VkfCheckbox: InferPropInfo;
|
|
12
|
-
VkfColorPicker: InferPropInfo;
|
|
13
|
-
VkfInputNumber: InferPropInfo;
|
|
14
|
-
VkfSwitch: InferPropInfo;
|
|
15
|
-
VkfUpload: InferPropInfo;
|
|
16
|
-
VkfDatePicker: InferPropInfo;
|
|
17
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ref: https://github1s.com/Envov/progress-it/blob/master/src/index.ts#L1-L61
|
|
3
|
-
*
|
|
4
|
-
*/
|
|
5
|
-
export type Effect = (percent: number, state: boolean | 'fail') => void;
|
|
6
|
-
export type Setter = (newState: boolean | 'fail') => Setter;
|
|
7
|
-
type progress = (effect: Effect, option?: Partial<IProgressPotions>) => (initState: boolean) => (newState: boolean | 'fail') => Setter;
|
|
8
|
-
type IProgressPotions = {
|
|
9
|
-
percent: number;
|
|
10
|
-
interval: number;
|
|
11
|
-
speed: number;
|
|
12
|
-
timeLine: number;
|
|
13
|
-
timer: number | undefined;
|
|
14
|
-
};
|
|
15
|
-
declare const progress: progress;
|
|
16
|
-
export default progress;
|
package/shared/rules/index.d.ts
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
export declare const PATTERN: {
|
|
2
|
-
/**
|
|
3
|
-
* 由数字、26个英文字母或者下划线以及中文组成的字符串
|
|
4
|
-
*/
|
|
5
|
-
normal: RegExp;
|
|
6
|
-
/**
|
|
7
|
-
* 只能由 中文 和 英文 组成
|
|
8
|
-
*/
|
|
9
|
-
normalName: RegExp;
|
|
10
|
-
/**
|
|
11
|
-
* 只能由数字、字母、下划线组成, 且不能以下划线和数字开头
|
|
12
|
-
*/
|
|
13
|
-
code: RegExp;
|
|
14
|
-
/**
|
|
15
|
-
* 只能由数字或字母组成, 且不能以数字开头
|
|
16
|
-
*/
|
|
17
|
-
strictCode: RegExp;
|
|
18
|
-
/**
|
|
19
|
-
* 只能由字母、数字或特殊字符组成,且长度在8到16之间
|
|
20
|
-
*/
|
|
21
|
-
password: RegExp;
|
|
22
|
-
/**
|
|
23
|
-
* 要求密码必须同时包含至少一个小写字母、大写字母和数字,且长度在8到16之间。
|
|
24
|
-
*/
|
|
25
|
-
strictPassword: RegExp;
|
|
26
|
-
/**
|
|
27
|
-
* 正确的手机号码
|
|
28
|
-
*/
|
|
29
|
-
phone: RegExp;
|
|
30
|
-
};
|
|
31
|
-
export declare const PATTERN_OPTIONS: {
|
|
32
|
-
label: string;
|
|
33
|
-
value: RegExp;
|
|
34
|
-
title: string;
|
|
35
|
-
}[];
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export interface CheckboxProps {
|
|
2
|
-
value?: string | number | boolean;
|
|
3
|
-
label?: string;
|
|
4
|
-
'trueLabel'?: string | number;
|
|
5
|
-
'falseLabel'?: string | number;
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
border?: boolean;
|
|
8
|
-
size?: '' | 'default' | 'small' | 'large';
|
|
9
|
-
name?: string;
|
|
10
|
-
checked?: boolean;
|
|
11
|
-
indeterminate?: boolean;
|
|
12
|
-
validateEvent?: boolean;
|
|
13
|
-
}
|
package/shared/types/index.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { __VkfTemplatesDefault } from '@vunk/form/components/templates-default';
|
|
2
|
-
import { __VkfTemplatesLayout } from '@vunk/form/components/templates-layout';
|
|
3
|
-
import { __VkfTemplatesElementPlus } from '@vunk/form/components/templates-element-plus';
|
|
4
|
-
import { __VkfTemplatesMapbox } from '@vunk/form/components/templates-mapbox';
|
|
5
|
-
import { __VkfTemplatesEsri } from '@vunk/form/components/templates-esri';
|
|
6
|
-
import { NormalObject } from '@vunk/core';
|
|
7
|
-
import { __VkfTemplatesVariant } from '@vunk/form/components/templates-variant';
|
|
8
|
-
export interface BasicSource {
|
|
9
|
-
templateIf?: ((data?: NormalObject) => boolean) | string | boolean;
|
|
10
|
-
templateType?: string;
|
|
11
|
-
class?: any;
|
|
12
|
-
prop?: any;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* @deprecated use __VkfTemplatesDefault.Source<P>
|
|
16
|
-
* ```ts
|
|
17
|
-
* import { __VkfTemplatesDefault } from '@vunk/form/components/templates-default'
|
|
18
|
-
* ```
|
|
19
|
-
*/
|
|
20
|
-
export type FormItemRendererSource<P extends string = string> = __VkfTemplatesDefault.Source<P>;
|
|
21
|
-
export type AllTemplatesSource<P extends string = string> = __VkfTemplatesDefault.Source<P> | __VkfTemplatesMapbox.Source<P> | __VkfTemplatesEsri.Source<P> | __VkfTemplatesLayout.ElRowSource<AllTemplatesSource<P>> | __VkfTemplatesLayout.ElColSource<AllTemplatesSource<P>> | __VkfTemplatesLayout.VkfFlexSource<AllTemplatesSource<P>> | __VkfTemplatesElementPlus.Source | __VkfTemplatesVariant.Source<P>;
|