@vunk/form 1.3.0 → 1.3.1
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 +495 -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 +120 -0
- package/components/cascader/src/index.vue.d.ts +13955 -0
- package/components/cascader/src/types.d.ts +7 -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 +89 -0
- package/components/checkbox/src/index.vue.d.ts +1099 -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 +80 -0
- package/components/color-picker/src/index.vue.d.ts +11135 -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 +158 -0
- package/components/date-picker/src/index.vue.d.ts +590 -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 +177 -0
- package/components/date-picker-range/src/index.vue.d.ts +410 -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 +1020 -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 +2259 -0
- package/components/esri-input-geojson/src/const.d.ts +12 -0
- package/components/esri-input-geojson/src/ctx.d.ts +223 -0
- package/components/esri-input-geojson/src/default-view.vue.d.ts +133 -0
- package/components/esri-input-geojson/src/index.vue.d.ts +1249 -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 +789 -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 +320 -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 +2 -0
- package/components/form-item-renderer/src/types.d.ts +7 -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 +228 -0
- package/components/geoinput/src/index.vue.d.ts +519 -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 +383 -0
- package/components/geoinput-read/src/core.vue.d.ts +644 -0
- package/components/geoinput-read/src/ctx.d.ts +199 -0
- package/components/geoinput-read/src/index.vue.d.ts +1169 -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 +2246 -0
- package/components/geoinput-update/src/ctx.d.ts +207 -0
- package/components/geoinput-update/src/index.vue.d.ts +1302 -0
- package/components/geoinput-update/src/types.d.ts +6 -0
- package/components/input/index.d.ts +5 -0
- package/components/input/src/ctx.d.ts +148 -0
- package/components/input/src/index.vue.d.ts +809 -0
- package/components/input/src/types.d.ts +13 -0
- package/components/input-link/index.d.ts +4 -0
- package/components/input-link/src/ctx.d.ts +179 -0
- package/components/input-link/src/index.vue.d.ts +385 -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 +90 -0
- package/components/input-number/src/index.vue.d.ts +1783 -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.d.ts +4 -0
- package/components/radio/src/ctx.d.ts +82 -0
- package/components/radio/src/index.vue.d.ts +629 -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 +13405 -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 +341 -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 +114 -0
- package/components/switch/src/index.vue.d.ts +584 -0
- package/components/switch/src/types.d.ts +8 -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 +198 -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 +206 -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 +161 -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 +363 -0
- package/components/upload/src/index.vue.d.ts +2784 -0
- package/components/upload/src/types.d.ts +7 -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 +1077 -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 +118 -0
- package/components/van-cascader/src/index.vue.d.ts +13312 -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 +771 -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
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { Func, VueComponentPropsType } from '@vunk/core';
|
|
2
|
+
import { BasicSource } from '@vunk/form/shared';
|
|
3
|
+
import VkfDatePicker from './index.vue';
|
|
4
|
+
export type DatePickerSlots = {
|
|
5
|
+
default?: Func;
|
|
6
|
+
'range-separator'?: Func;
|
|
7
|
+
};
|
|
8
|
+
export declare const datePickerEmits: {
|
|
9
|
+
'update:modelValue': any;
|
|
10
|
+
change: any;
|
|
11
|
+
focus: any;
|
|
12
|
+
blur: any;
|
|
13
|
+
'calendar-change': any;
|
|
14
|
+
'panel-change': any;
|
|
15
|
+
'visible-change': any;
|
|
16
|
+
};
|
|
17
|
+
export interface Source<P extends string = string> extends VueComponentPropsType<typeof VkfDatePicker>, BasicSource {
|
|
18
|
+
prop?: P;
|
|
19
|
+
templateType: 'VkfDatePicker';
|
|
20
|
+
}
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { SelectMedia } from './types';
|
|
3
|
+
export declare const props: {
|
|
4
|
+
type: {
|
|
5
|
+
type: PropType<"datetimerange" | "daterange" | "monthrange">;
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
8
|
+
endPlaceholder: {
|
|
9
|
+
type: StringConstructor;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
startPlaceholder: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
startValue: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
endValue: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
startProp: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
};
|
|
27
|
+
endProp: {
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
};
|
|
30
|
+
valueFormat: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
selectOptions: {
|
|
35
|
+
type: PropType<SelectMedia[]>;
|
|
36
|
+
default: () => any[];
|
|
37
|
+
};
|
|
38
|
+
size: {
|
|
39
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
40
|
+
readonly required: false;
|
|
41
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
42
|
+
__epPropKey: true;
|
|
43
|
+
};
|
|
44
|
+
disabled: BooleanConstructor;
|
|
45
|
+
required: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
46
|
+
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>;
|
|
47
|
+
formItemSize: {
|
|
48
|
+
type: PropType<"default" | "small" | "large">;
|
|
49
|
+
default: "default" | "small" | "large";
|
|
50
|
+
};
|
|
51
|
+
formItemSlots: {
|
|
52
|
+
type: PropType<import("@vunk/form/components/form-item/src/types").FormItemSlots>;
|
|
53
|
+
default: any;
|
|
54
|
+
};
|
|
55
|
+
elRef: {
|
|
56
|
+
type: PropType<any>;
|
|
57
|
+
required: boolean;
|
|
58
|
+
};
|
|
59
|
+
inline: {
|
|
60
|
+
type: BooleanConstructor;
|
|
61
|
+
default: boolean;
|
|
62
|
+
};
|
|
63
|
+
readonly: {
|
|
64
|
+
type: BooleanConstructor;
|
|
65
|
+
default: any;
|
|
66
|
+
};
|
|
67
|
+
labelPosition: {
|
|
68
|
+
type: PropType<"right">;
|
|
69
|
+
default: string;
|
|
70
|
+
};
|
|
71
|
+
label: StringConstructor;
|
|
72
|
+
labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
73
|
+
rules: {
|
|
74
|
+
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>>;
|
|
75
|
+
readonly required: false;
|
|
76
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
77
|
+
__epPropKey: true;
|
|
78
|
+
};
|
|
79
|
+
error: StringConstructor;
|
|
80
|
+
validateStatus: {
|
|
81
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown>>;
|
|
82
|
+
readonly required: false;
|
|
83
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
84
|
+
__epPropKey: true;
|
|
85
|
+
};
|
|
86
|
+
for: StringConstructor;
|
|
87
|
+
inlineMessage: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, BooleanConstructor], unknown, unknown, "", boolean>;
|
|
88
|
+
showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
89
|
+
id: {
|
|
90
|
+
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>>;
|
|
91
|
+
readonly required: false;
|
|
92
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
93
|
+
__epPropKey: true;
|
|
94
|
+
};
|
|
95
|
+
emptyValues: ArrayConstructor;
|
|
96
|
+
valueOnClear: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor, BooleanConstructor, FunctionConstructor], unknown, unknown, undefined, boolean>;
|
|
97
|
+
placeholder: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
98
|
+
clearable: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
99
|
+
popperClass: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
100
|
+
validateEvent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
101
|
+
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>;
|
|
102
|
+
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>;
|
|
103
|
+
ariaLabel: StringConstructor;
|
|
104
|
+
disabledDate: {
|
|
105
|
+
readonly type: import("vue").PropType<Function>;
|
|
106
|
+
readonly required: false;
|
|
107
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
108
|
+
__epPropKey: true;
|
|
109
|
+
};
|
|
110
|
+
cellClassName: {
|
|
111
|
+
readonly type: import("vue").PropType<Function>;
|
|
112
|
+
readonly required: false;
|
|
113
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
114
|
+
__epPropKey: true;
|
|
115
|
+
};
|
|
116
|
+
shortcuts: import("element-plus/es/utils").EpPropFinalized<ArrayConstructor, unknown, unknown, () => never[], boolean>;
|
|
117
|
+
arrowControl: BooleanConstructor;
|
|
118
|
+
unlinkPanels: BooleanConstructor;
|
|
119
|
+
disabledHours: {
|
|
120
|
+
readonly type: import("vue").PropType<import("element-plus/es/components/time-picker/src/props/shared").GetDisabledHours>;
|
|
121
|
+
readonly required: false;
|
|
122
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
123
|
+
__epPropKey: true;
|
|
124
|
+
};
|
|
125
|
+
disabledMinutes: {
|
|
126
|
+
readonly type: import("vue").PropType<import("element-plus/es/components/time-picker/src/props/shared").GetDisabledMinutes>;
|
|
127
|
+
readonly required: false;
|
|
128
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
129
|
+
__epPropKey: true;
|
|
130
|
+
};
|
|
131
|
+
disabledSeconds: {
|
|
132
|
+
readonly type: import("vue").PropType<import("element-plus/es/components/time-picker/src/props/shared").GetDisabledSeconds>;
|
|
133
|
+
readonly required: false;
|
|
134
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
135
|
+
__epPropKey: true;
|
|
136
|
+
};
|
|
137
|
+
format: StringConstructor;
|
|
138
|
+
dateFormat: StringConstructor;
|
|
139
|
+
timeFormat: StringConstructor;
|
|
140
|
+
clearIcon: {
|
|
141
|
+
readonly type: import("vue").PropType<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>>;
|
|
142
|
+
readonly required: false;
|
|
143
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
144
|
+
__epPropKey: true;
|
|
145
|
+
};
|
|
146
|
+
editable: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
147
|
+
prefixIcon: import("element-plus/es/utils").EpPropFinalized<(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, "", boolean>;
|
|
148
|
+
rangeSeparator: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "-", boolean>;
|
|
149
|
+
defaultValue: {
|
|
150
|
+
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>>;
|
|
151
|
+
readonly required: false;
|
|
152
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
153
|
+
__epPropKey: true;
|
|
154
|
+
};
|
|
155
|
+
defaultTime: {
|
|
156
|
+
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>>;
|
|
157
|
+
readonly required: false;
|
|
158
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
159
|
+
__epPropKey: true;
|
|
160
|
+
};
|
|
161
|
+
isRange: BooleanConstructor;
|
|
162
|
+
datePickerSlots: {
|
|
163
|
+
type: PropType<import("@vunk/form/components/date-picker/src/types").DatePickerSlots>;
|
|
164
|
+
default: any;
|
|
165
|
+
};
|
|
166
|
+
};
|
|
167
|
+
export declare const emits: {
|
|
168
|
+
'update:startValue': any;
|
|
169
|
+
'update:endValue': any;
|
|
170
|
+
change: any;
|
|
171
|
+
focus: any;
|
|
172
|
+
blur: any;
|
|
173
|
+
"calendar-change": any;
|
|
174
|
+
"panel-change": any;
|
|
175
|
+
"visible-change": any;
|
|
176
|
+
keydown: any;
|
|
177
|
+
};
|
|
@@ -0,0 +1,410 @@
|
|
|
1
|
+
import { WritableComputedRef } from 'vue';
|
|
2
|
+
import { FormItemRule } from 'element-plus';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
type: {
|
|
5
|
+
type: import("vue").PropType<"datetimerange" | "daterange" | "monthrange">;
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
8
|
+
endPlaceholder: {
|
|
9
|
+
type: StringConstructor;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
startPlaceholder: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
startValue: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
endValue: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
startProp: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
};
|
|
27
|
+
endProp: {
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
};
|
|
30
|
+
valueFormat: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
selectOptions: {
|
|
35
|
+
type: import("vue").PropType<import("./types").SelectMedia[]>;
|
|
36
|
+
default: () => any[];
|
|
37
|
+
};
|
|
38
|
+
size: {
|
|
39
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
40
|
+
readonly required: false;
|
|
41
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
42
|
+
__epPropKey: true;
|
|
43
|
+
};
|
|
44
|
+
disabled: BooleanConstructor;
|
|
45
|
+
required: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
46
|
+
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>;
|
|
47
|
+
formItemSize: {
|
|
48
|
+
type: import("vue").PropType<"default" | "small" | "large">;
|
|
49
|
+
default: "default" | "small" | "large";
|
|
50
|
+
};
|
|
51
|
+
formItemSlots: {
|
|
52
|
+
type: import("vue").PropType<import("@vunk/form/components/form-item/src/types").FormItemSlots>;
|
|
53
|
+
default: any;
|
|
54
|
+
};
|
|
55
|
+
elRef: {
|
|
56
|
+
type: import("vue").PropType<any>;
|
|
57
|
+
required: boolean;
|
|
58
|
+
};
|
|
59
|
+
inline: {
|
|
60
|
+
type: BooleanConstructor;
|
|
61
|
+
default: boolean;
|
|
62
|
+
};
|
|
63
|
+
readonly: {
|
|
64
|
+
type: BooleanConstructor;
|
|
65
|
+
default: any;
|
|
66
|
+
};
|
|
67
|
+
labelPosition: {
|
|
68
|
+
type: import("vue").PropType<"right">;
|
|
69
|
+
default: string;
|
|
70
|
+
};
|
|
71
|
+
label: StringConstructor;
|
|
72
|
+
labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
73
|
+
rules: {
|
|
74
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => import("element-plus/es/utils").Arrayable<FormItemRule>) | ((new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => import("element-plus/es/utils").Arrayable<FormItemRule>))[], unknown, unknown>>;
|
|
75
|
+
readonly required: false;
|
|
76
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
77
|
+
__epPropKey: true;
|
|
78
|
+
};
|
|
79
|
+
error: StringConstructor;
|
|
80
|
+
validateStatus: {
|
|
81
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown>>;
|
|
82
|
+
readonly required: false;
|
|
83
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
84
|
+
__epPropKey: true;
|
|
85
|
+
};
|
|
86
|
+
for: StringConstructor;
|
|
87
|
+
inlineMessage: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, BooleanConstructor], unknown, unknown, "", boolean>;
|
|
88
|
+
showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
89
|
+
id: {
|
|
90
|
+
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>>;
|
|
91
|
+
readonly required: false;
|
|
92
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
93
|
+
__epPropKey: true;
|
|
94
|
+
};
|
|
95
|
+
emptyValues: ArrayConstructor;
|
|
96
|
+
valueOnClear: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor, BooleanConstructor, FunctionConstructor], unknown, unknown, undefined, boolean>;
|
|
97
|
+
placeholder: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
98
|
+
clearable: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
99
|
+
popperClass: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
100
|
+
validateEvent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
101
|
+
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>;
|
|
102
|
+
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>;
|
|
103
|
+
ariaLabel: StringConstructor;
|
|
104
|
+
disabledDate: {
|
|
105
|
+
readonly type: import("vue").PropType<Function>;
|
|
106
|
+
readonly required: false;
|
|
107
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
108
|
+
__epPropKey: true;
|
|
109
|
+
};
|
|
110
|
+
cellClassName: {
|
|
111
|
+
readonly type: import("vue").PropType<Function>;
|
|
112
|
+
readonly required: false;
|
|
113
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
114
|
+
__epPropKey: true;
|
|
115
|
+
};
|
|
116
|
+
shortcuts: import("element-plus/es/utils").EpPropFinalized<ArrayConstructor, unknown, unknown, () => never[], boolean>;
|
|
117
|
+
arrowControl: BooleanConstructor;
|
|
118
|
+
unlinkPanels: BooleanConstructor;
|
|
119
|
+
disabledHours: {
|
|
120
|
+
readonly type: import("vue").PropType<import("element-plus/es/components/time-picker/src/props/shared").GetDisabledHours>;
|
|
121
|
+
readonly required: false;
|
|
122
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
123
|
+
__epPropKey: true;
|
|
124
|
+
};
|
|
125
|
+
disabledMinutes: {
|
|
126
|
+
readonly type: import("vue").PropType<import("element-plus/es/components/time-picker/src/props/shared").GetDisabledMinutes>;
|
|
127
|
+
readonly required: false;
|
|
128
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
129
|
+
__epPropKey: true;
|
|
130
|
+
};
|
|
131
|
+
disabledSeconds: {
|
|
132
|
+
readonly type: import("vue").PropType<import("element-plus/es/components/time-picker/src/props/shared").GetDisabledSeconds>;
|
|
133
|
+
readonly required: false;
|
|
134
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
135
|
+
__epPropKey: true;
|
|
136
|
+
};
|
|
137
|
+
format: StringConstructor;
|
|
138
|
+
dateFormat: StringConstructor;
|
|
139
|
+
timeFormat: StringConstructor;
|
|
140
|
+
clearIcon: {
|
|
141
|
+
readonly type: import("vue").PropType<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>>;
|
|
142
|
+
readonly required: false;
|
|
143
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
144
|
+
__epPropKey: true;
|
|
145
|
+
};
|
|
146
|
+
editable: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
147
|
+
prefixIcon: import("element-plus/es/utils").EpPropFinalized<(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, "", boolean>;
|
|
148
|
+
rangeSeparator: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "-", boolean>;
|
|
149
|
+
defaultValue: {
|
|
150
|
+
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>>;
|
|
151
|
+
readonly required: false;
|
|
152
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
153
|
+
__epPropKey: true;
|
|
154
|
+
};
|
|
155
|
+
defaultTime: {
|
|
156
|
+
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>>;
|
|
157
|
+
readonly required: false;
|
|
158
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
159
|
+
__epPropKey: true;
|
|
160
|
+
};
|
|
161
|
+
isRange: BooleanConstructor;
|
|
162
|
+
datePickerSlots: {
|
|
163
|
+
type: import("vue").PropType<import("@vunk/form/components/date-picker/src/types").DatePickerSlots>;
|
|
164
|
+
default: any;
|
|
165
|
+
};
|
|
166
|
+
}>, {
|
|
167
|
+
coreProps: import("vue").ComputedRef<{}>;
|
|
168
|
+
coreEmits: {
|
|
169
|
+
change: (...e: any[]) => void;
|
|
170
|
+
focus: (...e: any[]) => void;
|
|
171
|
+
blur: (...e: any[]) => void;
|
|
172
|
+
"calendar-change": (...e: any[]) => void;
|
|
173
|
+
"panel-change": (...e: any[]) => void;
|
|
174
|
+
"visible-change": (...e: any[]) => void;
|
|
175
|
+
keydown: (...e: any[]) => void;
|
|
176
|
+
};
|
|
177
|
+
modelValue: WritableComputedRef<[string, string], [string, string]>;
|
|
178
|
+
rulesProp: import("vue").ComputedRef<any[]>;
|
|
179
|
+
prop: import("vue").ComputedRef<string>;
|
|
180
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
181
|
+
'update:startValue': any;
|
|
182
|
+
'update:endValue': any;
|
|
183
|
+
change: any;
|
|
184
|
+
focus: any;
|
|
185
|
+
blur: any;
|
|
186
|
+
"calendar-change": any;
|
|
187
|
+
"panel-change": any;
|
|
188
|
+
"visible-change": any;
|
|
189
|
+
keydown: any;
|
|
190
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
191
|
+
type: {
|
|
192
|
+
type: import("vue").PropType<"datetimerange" | "daterange" | "monthrange">;
|
|
193
|
+
default: string;
|
|
194
|
+
};
|
|
195
|
+
endPlaceholder: {
|
|
196
|
+
type: StringConstructor;
|
|
197
|
+
default: string;
|
|
198
|
+
};
|
|
199
|
+
startPlaceholder: {
|
|
200
|
+
type: StringConstructor;
|
|
201
|
+
default: string;
|
|
202
|
+
};
|
|
203
|
+
startValue: {
|
|
204
|
+
type: StringConstructor;
|
|
205
|
+
default: string;
|
|
206
|
+
};
|
|
207
|
+
endValue: {
|
|
208
|
+
type: StringConstructor;
|
|
209
|
+
default: string;
|
|
210
|
+
};
|
|
211
|
+
startProp: {
|
|
212
|
+
type: StringConstructor;
|
|
213
|
+
};
|
|
214
|
+
endProp: {
|
|
215
|
+
type: StringConstructor;
|
|
216
|
+
};
|
|
217
|
+
valueFormat: {
|
|
218
|
+
type: StringConstructor;
|
|
219
|
+
default: string;
|
|
220
|
+
};
|
|
221
|
+
selectOptions: {
|
|
222
|
+
type: import("vue").PropType<import("./types").SelectMedia[]>;
|
|
223
|
+
default: () => any[];
|
|
224
|
+
};
|
|
225
|
+
size: {
|
|
226
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
227
|
+
readonly required: false;
|
|
228
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
229
|
+
__epPropKey: true;
|
|
230
|
+
};
|
|
231
|
+
disabled: BooleanConstructor;
|
|
232
|
+
required: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
233
|
+
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>;
|
|
234
|
+
formItemSize: {
|
|
235
|
+
type: import("vue").PropType<"default" | "small" | "large">;
|
|
236
|
+
default: "default" | "small" | "large";
|
|
237
|
+
};
|
|
238
|
+
formItemSlots: {
|
|
239
|
+
type: import("vue").PropType<import("@vunk/form/components/form-item/src/types").FormItemSlots>;
|
|
240
|
+
default: any;
|
|
241
|
+
};
|
|
242
|
+
elRef: {
|
|
243
|
+
type: import("vue").PropType<any>;
|
|
244
|
+
required: boolean;
|
|
245
|
+
};
|
|
246
|
+
inline: {
|
|
247
|
+
type: BooleanConstructor;
|
|
248
|
+
default: boolean;
|
|
249
|
+
};
|
|
250
|
+
readonly: {
|
|
251
|
+
type: BooleanConstructor;
|
|
252
|
+
default: any;
|
|
253
|
+
};
|
|
254
|
+
labelPosition: {
|
|
255
|
+
type: import("vue").PropType<"right">;
|
|
256
|
+
default: string;
|
|
257
|
+
};
|
|
258
|
+
label: StringConstructor;
|
|
259
|
+
labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
260
|
+
rules: {
|
|
261
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => import("element-plus/es/utils").Arrayable<FormItemRule>) | ((new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => import("element-plus/es/utils").Arrayable<FormItemRule>))[], unknown, unknown>>;
|
|
262
|
+
readonly required: false;
|
|
263
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
264
|
+
__epPropKey: true;
|
|
265
|
+
};
|
|
266
|
+
error: StringConstructor;
|
|
267
|
+
validateStatus: {
|
|
268
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown>>;
|
|
269
|
+
readonly required: false;
|
|
270
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
271
|
+
__epPropKey: true;
|
|
272
|
+
};
|
|
273
|
+
for: StringConstructor;
|
|
274
|
+
inlineMessage: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, BooleanConstructor], unknown, unknown, "", boolean>;
|
|
275
|
+
showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
276
|
+
id: {
|
|
277
|
+
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>>;
|
|
278
|
+
readonly required: false;
|
|
279
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
280
|
+
__epPropKey: true;
|
|
281
|
+
};
|
|
282
|
+
emptyValues: ArrayConstructor;
|
|
283
|
+
valueOnClear: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor, BooleanConstructor, FunctionConstructor], unknown, unknown, undefined, boolean>;
|
|
284
|
+
placeholder: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
285
|
+
clearable: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
286
|
+
popperClass: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
287
|
+
validateEvent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
288
|
+
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>;
|
|
289
|
+
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>;
|
|
290
|
+
ariaLabel: StringConstructor;
|
|
291
|
+
disabledDate: {
|
|
292
|
+
readonly type: import("vue").PropType<Function>;
|
|
293
|
+
readonly required: false;
|
|
294
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
295
|
+
__epPropKey: true;
|
|
296
|
+
};
|
|
297
|
+
cellClassName: {
|
|
298
|
+
readonly type: import("vue").PropType<Function>;
|
|
299
|
+
readonly required: false;
|
|
300
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
301
|
+
__epPropKey: true;
|
|
302
|
+
};
|
|
303
|
+
shortcuts: import("element-plus/es/utils").EpPropFinalized<ArrayConstructor, unknown, unknown, () => never[], boolean>;
|
|
304
|
+
arrowControl: BooleanConstructor;
|
|
305
|
+
unlinkPanels: BooleanConstructor;
|
|
306
|
+
disabledHours: {
|
|
307
|
+
readonly type: import("vue").PropType<import("element-plus/es/components/time-picker/src/props/shared").GetDisabledHours>;
|
|
308
|
+
readonly required: false;
|
|
309
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
310
|
+
__epPropKey: true;
|
|
311
|
+
};
|
|
312
|
+
disabledMinutes: {
|
|
313
|
+
readonly type: import("vue").PropType<import("element-plus/es/components/time-picker/src/props/shared").GetDisabledMinutes>;
|
|
314
|
+
readonly required: false;
|
|
315
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
316
|
+
__epPropKey: true;
|
|
317
|
+
};
|
|
318
|
+
disabledSeconds: {
|
|
319
|
+
readonly type: import("vue").PropType<import("element-plus/es/components/time-picker/src/props/shared").GetDisabledSeconds>;
|
|
320
|
+
readonly required: false;
|
|
321
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
322
|
+
__epPropKey: true;
|
|
323
|
+
};
|
|
324
|
+
format: StringConstructor;
|
|
325
|
+
dateFormat: StringConstructor;
|
|
326
|
+
timeFormat: StringConstructor;
|
|
327
|
+
clearIcon: {
|
|
328
|
+
readonly type: import("vue").PropType<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>>;
|
|
329
|
+
readonly required: false;
|
|
330
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
331
|
+
__epPropKey: true;
|
|
332
|
+
};
|
|
333
|
+
editable: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
334
|
+
prefixIcon: import("element-plus/es/utils").EpPropFinalized<(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, "", boolean>;
|
|
335
|
+
rangeSeparator: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "-", boolean>;
|
|
336
|
+
defaultValue: {
|
|
337
|
+
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>>;
|
|
338
|
+
readonly required: false;
|
|
339
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
340
|
+
__epPropKey: true;
|
|
341
|
+
};
|
|
342
|
+
defaultTime: {
|
|
343
|
+
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>>;
|
|
344
|
+
readonly required: false;
|
|
345
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
346
|
+
__epPropKey: true;
|
|
347
|
+
};
|
|
348
|
+
isRange: BooleanConstructor;
|
|
349
|
+
datePickerSlots: {
|
|
350
|
+
type: import("vue").PropType<import("@vunk/form/components/date-picker/src/types").DatePickerSlots>;
|
|
351
|
+
default: any;
|
|
352
|
+
};
|
|
353
|
+
}>> & Readonly<{
|
|
354
|
+
onChange?: (...args: any[] | unknown[]) => any;
|
|
355
|
+
onFocus?: (...args: any[] | unknown[]) => any;
|
|
356
|
+
onBlur?: (...args: any[] | unknown[]) => any;
|
|
357
|
+
"onCalendar-change"?: (...args: any[] | unknown[]) => any;
|
|
358
|
+
"onPanel-change"?: (...args: any[] | unknown[]) => any;
|
|
359
|
+
"onVisible-change"?: (...args: any[] | unknown[]) => any;
|
|
360
|
+
onKeydown?: (...args: any[] | unknown[]) => any;
|
|
361
|
+
"onUpdate:startValue"?: (...args: any[] | unknown[]) => any;
|
|
362
|
+
"onUpdate:endValue"?: (...args: any[] | unknown[]) => any;
|
|
363
|
+
}>, {
|
|
364
|
+
disabled: boolean;
|
|
365
|
+
type: "datetimerange" | "daterange" | "monthrange";
|
|
366
|
+
required: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
367
|
+
name: 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>;
|
|
368
|
+
formItemSize: "default" | "small" | "large";
|
|
369
|
+
formItemSlots: import("@vunk/form/components/form-item/src/types").FormItemSlots;
|
|
370
|
+
inline: boolean;
|
|
371
|
+
readonly: boolean;
|
|
372
|
+
labelPosition: "right";
|
|
373
|
+
labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
374
|
+
inlineMessage: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, BooleanConstructor], unknown, unknown>;
|
|
375
|
+
showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
376
|
+
valueOnClear: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor, BooleanConstructor, FunctionConstructor], unknown, unknown>;
|
|
377
|
+
placeholder: string;
|
|
378
|
+
clearable: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
379
|
+
popperClass: string;
|
|
380
|
+
validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
381
|
+
popperOptions: Partial<import("element-plus").Options>;
|
|
382
|
+
tabindex: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown>;
|
|
383
|
+
shortcuts: unknown[];
|
|
384
|
+
arrowControl: boolean;
|
|
385
|
+
unlinkPanels: boolean;
|
|
386
|
+
valueFormat: string;
|
|
387
|
+
editable: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
388
|
+
prefixIcon: "";
|
|
389
|
+
rangeSeparator: string;
|
|
390
|
+
startPlaceholder: string;
|
|
391
|
+
endPlaceholder: string;
|
|
392
|
+
isRange: boolean;
|
|
393
|
+
datePickerSlots: import("@vunk/form/components/date-picker/src/types").DatePickerSlots;
|
|
394
|
+
startValue: string;
|
|
395
|
+
endValue: string;
|
|
396
|
+
selectOptions: import("./types").SelectMedia[];
|
|
397
|
+
}, {}, {
|
|
398
|
+
VkfDatePicker: {
|
|
399
|
+
new (...args: any[]): any;
|
|
400
|
+
__isFragment?: never;
|
|
401
|
+
__isTeleport?: never;
|
|
402
|
+
__isSuspense?: never;
|
|
403
|
+
} & 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, {
|
|
404
|
+
[x: string]: any;
|
|
405
|
+
[x: symbol]: any;
|
|
406
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
|
407
|
+
install(app: import("vue").App): void;
|
|
408
|
+
};
|
|
409
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
410
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { BasicSource } from '@vunk/form/shared';
|
|
2
|
+
import { VueComponentPropsType } from '@vunk/shared';
|
|
3
|
+
import type Core from './index.vue';
|
|
4
|
+
export interface SelectMedia {
|
|
5
|
+
label: string;
|
|
6
|
+
value: [string, string];
|
|
7
|
+
}
|
|
8
|
+
export interface Source<P extends string = string> extends VueComponentPropsType<typeof Core>, BasicSource {
|
|
9
|
+
endProp?: P;
|
|
10
|
+
startProp?: P;
|
|
11
|
+
templateType: 'VkfDatePickerRange';
|
|
12
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { RestFetch } from '@vunk/core/shared/utils-fetch';
|
|
2
|
+
export declare const restFetch: RestFetch;
|
|
3
|
+
export declare const downChunk: (params: {
|
|
4
|
+
fileId: string;
|
|
5
|
+
start: number;
|
|
6
|
+
end: number;
|
|
7
|
+
fileServiceType?: string;
|
|
8
|
+
}, init?: {
|
|
9
|
+
onprogress?: XMLHttpRequestEventTarget["onprogress"];
|
|
10
|
+
xhrs?: XMLHttpRequest[];
|
|
11
|
+
}) => Promise<{
|
|
12
|
+
data: Blob;
|
|
13
|
+
}>;
|