yc-pro-components 0.0.60 → 0.0.62
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/es/components/check-card/index.d.ts +23 -23
- package/es/components/check-card/src/index.vue.d.ts +2 -2
- package/es/components/check-card-group/index.d.ts +24 -24
- package/es/components/check-card-group/src/index.vue.d.ts +2 -2
- package/es/components/date-picker/index.d.ts +10 -10
- package/es/components/date-picker/src/index.vue.d.ts +2 -2
- package/es/components/dialog/index.d.ts +26 -26
- package/es/components/dialog/src/index.vue.d.ts +2 -2
- package/es/components/dialog-form/index.d.ts +28 -28
- package/es/components/dialog-form/src/index.vue.d.ts +6 -6
- package/es/components/display-item/index.d.ts +12 -12
- package/es/components/display-item/src/index.vue.d.ts +12 -12
- package/es/components/drawer-form/index.d.ts +40 -40
- package/es/components/drawer-form/src/index.vue.d.ts +10 -10
- package/es/components/form/index.d.ts +39 -39
- package/es/components/form/src/form-content.vue.d.ts +12 -12
- package/es/components/form/src/index.vue.d.ts +11 -11
- package/es/components/form-item/index.d.ts +36 -36
- package/es/components/form-item/src/index.vue.d.ts +8 -8
- package/es/components/header/index.d.ts +7 -7
- package/es/components/header/src/index.vue.d.ts +1 -1
- package/es/components/input-tag/index.d.ts +10 -10
- package/es/components/input-tag/src/index.vue.d.ts +2 -2
- package/es/components/layout/index.d.ts +30 -30
- package/es/components/layout/src/index.vue.d.ts +10 -10
- package/es/components/page/index.d.ts +305 -305
- package/es/components/page/src/index.vue.d.ts +103 -103
- package/es/components/pagination/index.d.ts +42 -42
- package/es/components/pagination/src/index.vue.d.ts +3 -3
- package/es/components/radio/index.d.ts +14 -14
- package/es/components/radio/src/index.vue.d.ts +6 -6
- package/es/components/render/index.d.ts +6 -6
- package/es/components/render/src/index.vue.d.ts +2 -2
- package/es/components/search/index.d.ts +137 -137
- package/es/components/search/src/index.vue.d.ts +43 -43
- package/es/components/search/src/index.vue2.mjs +1 -1
- package/es/components/sidebar/index.d.ts +15 -15
- package/es/components/sidebar/src/index.vue.d.ts +5 -5
- package/es/components/steps-form/index.d.ts +23 -23
- package/es/components/steps-form/src/index.vue.d.ts +2 -2
- package/es/components/table/src/table-column.vue.d.ts +12 -12
- package/es/components/utils/index.d.ts +2 -2
- package/es/components/yc-count-to/index.d.ts +1 -1
- package/es/components/yc-count-to/src/normal/index.d.ts +1 -1
- package/es/components/yc-download-dialog/index.d.ts +19 -19
- package/es/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-form-container-header/index.d.ts +12 -12
- package/es/components/yc-more-actions/index.d.ts +6 -6
- package/es/components/yc-more-actions/src/index.vue.d.ts +1 -1
- package/es/components/yc-plus-page/src/header-filter-cell.vue.mjs +1 -1
- package/es/components/yc-plus-page/src/header-filter-cell.vue2.mjs +0 -6
- package/es/components/yc-plus-page/src/index.vue.d.ts +208 -208
- package/es/components/yc-segmented/index.d.ts +2 -2
- package/es/components/yc-segmented/src/index.d.ts +2 -2
- package/es/components/yc-select-v2/src/index.vue.d.ts +2 -2
- package/es/components/yc-svg-icon/src/index.vue.d.ts +1 -1
- package/es/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/es/hooks/usePlusFormReset.d.ts +169 -169
- package/es/index.css +10 -10
- package/index.css +6 -6
- package/index.js +3 -9
- package/index.min.css +1 -1
- package/index.min.js +3 -3
- package/index.min.mjs +10 -10
- package/index.mjs +3 -9
- package/lib/components/check-card/index.d.ts +23 -23
- package/lib/components/check-card/src/index.vue.d.ts +2 -2
- package/lib/components/check-card-group/index.d.ts +24 -24
- package/lib/components/check-card-group/src/index.vue.d.ts +2 -2
- package/lib/components/date-picker/index.d.ts +10 -10
- package/lib/components/date-picker/src/index.vue.d.ts +2 -2
- package/lib/components/dialog/index.d.ts +26 -26
- package/lib/components/dialog/src/index.vue.d.ts +2 -2
- package/lib/components/dialog-form/index.d.ts +28 -28
- package/lib/components/dialog-form/src/index.vue.d.ts +6 -6
- package/lib/components/display-item/index.d.ts +12 -12
- package/lib/components/display-item/src/index.vue.d.ts +12 -12
- package/lib/components/drawer-form/index.d.ts +40 -40
- package/lib/components/drawer-form/src/index.vue.d.ts +10 -10
- package/lib/components/form/index.d.ts +39 -39
- package/lib/components/form/src/form-content.vue.d.ts +12 -12
- package/lib/components/form/src/index.vue.d.ts +11 -11
- package/lib/components/form-item/index.d.ts +36 -36
- package/lib/components/form-item/src/index.vue.d.ts +8 -8
- package/lib/components/header/index.d.ts +7 -7
- package/lib/components/header/src/index.vue.d.ts +1 -1
- package/lib/components/input-tag/index.d.ts +10 -10
- package/lib/components/input-tag/src/index.vue.d.ts +2 -2
- package/lib/components/layout/index.d.ts +30 -30
- package/lib/components/layout/src/index.vue.d.ts +10 -10
- package/lib/components/page/index.d.ts +305 -305
- package/lib/components/page/src/index.vue.d.ts +103 -103
- package/lib/components/pagination/index.d.ts +42 -42
- package/lib/components/pagination/src/index.vue.d.ts +3 -3
- package/lib/components/radio/index.d.ts +14 -14
- package/lib/components/radio/src/index.vue.d.ts +6 -6
- package/lib/components/render/index.d.ts +6 -6
- package/lib/components/render/src/index.vue.d.ts +2 -2
- package/lib/components/search/index.d.ts +137 -137
- package/lib/components/search/src/index.vue.d.ts +43 -43
- package/lib/components/search/src/index.vue2.js +1 -1
- package/lib/components/sidebar/index.d.ts +15 -15
- package/lib/components/sidebar/src/index.vue.d.ts +5 -5
- package/lib/components/steps-form/index.d.ts +23 -23
- package/lib/components/steps-form/src/index.vue.d.ts +2 -2
- package/lib/components/table/src/table-column.vue.d.ts +12 -12
- package/lib/components/utils/index.d.ts +2 -2
- package/lib/components/yc-count-to/index.d.ts +1 -1
- package/lib/components/yc-count-to/src/normal/index.d.ts +1 -1
- package/lib/components/yc-download-dialog/index.d.ts +19 -19
- package/lib/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-form-container-header/index.d.ts +12 -12
- package/lib/components/yc-more-actions/index.d.ts +6 -6
- package/lib/components/yc-more-actions/src/index.vue.d.ts +1 -1
- package/lib/components/yc-plus-page/src/header-filter-cell.vue.js +1 -1
- package/lib/components/yc-plus-page/src/header-filter-cell.vue2.js +0 -6
- package/lib/components/yc-plus-page/src/index.vue.d.ts +208 -208
- package/lib/components/yc-segmented/index.d.ts +2 -2
- package/lib/components/yc-segmented/src/index.d.ts +2 -2
- package/lib/components/yc-select-v2/src/index.vue.d.ts +2 -2
- package/lib/components/yc-svg-icon/src/index.vue.d.ts +1 -1
- package/lib/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/lib/hooks/usePlusFormReset.d.ts +169 -169
- package/lib/index.css +10 -10
- package/locale/en.js +1 -1
- package/locale/en.min.js +1 -1
- package/locale/en.min.mjs +1 -1
- package/locale/en.mjs +1 -1
- package/locale/ja.js +1 -1
- package/locale/ja.min.js +1 -1
- package/locale/ja.min.mjs +1 -1
- package/locale/ja.mjs +1 -1
- package/locale/ko.js +1 -1
- package/locale/ko.min.js +1 -1
- package/locale/ko.min.mjs +1 -1
- package/locale/ko.mjs +1 -1
- package/locale/zh-cn.js +1 -1
- package/locale/zh-cn.min.js +1 -1
- package/locale/zh-cn.min.mjs +1 -1
- package/locale/zh-cn.mjs +1 -1
- package/locale/zh-tw.js +1 -1
- package/locale/zh-tw.min.js +1 -1
- package/locale/zh-tw.min.mjs +1 -1
- package/locale/zh-tw.mjs +1 -1
- package/package.json +1 -1
|
@@ -7,6 +7,10 @@ export type { PlusStepsFormProps } from './src/index.vue';
|
|
|
7
7
|
export * from './src/type';
|
|
8
8
|
export declare const PlusStepsForm: {
|
|
9
9
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
10
|
+
modelValue: {
|
|
11
|
+
type: PropType<number>;
|
|
12
|
+
default: number;
|
|
13
|
+
};
|
|
10
14
|
data: {
|
|
11
15
|
type: PropType< PlusStepFromRow[]>;
|
|
12
16
|
default: () => never[];
|
|
@@ -15,10 +19,6 @@ export declare const PlusStepsForm: {
|
|
|
15
19
|
type: PropType<string>;
|
|
16
20
|
default: undefined;
|
|
17
21
|
};
|
|
18
|
-
modelValue: {
|
|
19
|
-
type: PropType<number>;
|
|
20
|
-
default: number;
|
|
21
|
-
};
|
|
22
22
|
submitText: {
|
|
23
23
|
type: PropType<string>;
|
|
24
24
|
default: undefined;
|
|
@@ -28,9 +28,9 @@ export declare const PlusStepsForm: {
|
|
|
28
28
|
default: undefined;
|
|
29
29
|
};
|
|
30
30
|
}>> & {
|
|
31
|
+
"onUpdate:modelValue"?: ((active: number) => any) | undefined;
|
|
31
32
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
32
33
|
onSubmit?: ((modelValue: number, values: FieldValues, allValues: FieldValues) => any) | undefined;
|
|
33
|
-
"onUpdate:modelValue"?: ((active: number) => any) | undefined;
|
|
34
34
|
onPre?: ((modelValue: number) => any) | undefined;
|
|
35
35
|
onNext?: ((modelValue: number, values: FieldValues, allValues: FieldValues) => any) | undefined;
|
|
36
36
|
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
@@ -40,6 +40,10 @@ export declare const PlusStepsForm: {
|
|
|
40
40
|
"update:modelValue": (active: number) => void;
|
|
41
41
|
change: (values: FieldValues, column: PlusColumn) => void;
|
|
42
42
|
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
43
|
+
modelValue: {
|
|
44
|
+
type: PropType<number>;
|
|
45
|
+
default: number;
|
|
46
|
+
};
|
|
43
47
|
data: {
|
|
44
48
|
type: PropType< PlusStepFromRow[]>;
|
|
45
49
|
default: () => never[];
|
|
@@ -48,10 +52,6 @@ export declare const PlusStepsForm: {
|
|
|
48
52
|
type: PropType<string>;
|
|
49
53
|
default: undefined;
|
|
50
54
|
};
|
|
51
|
-
modelValue: {
|
|
52
|
-
type: PropType<number>;
|
|
53
|
-
default: number;
|
|
54
|
-
};
|
|
55
55
|
submitText: {
|
|
56
56
|
type: PropType<string>;
|
|
57
57
|
default: undefined;
|
|
@@ -61,15 +61,15 @@ export declare const PlusStepsForm: {
|
|
|
61
61
|
default: undefined;
|
|
62
62
|
};
|
|
63
63
|
}>> & {
|
|
64
|
+
"onUpdate:modelValue"?: ((active: number) => any) | undefined;
|
|
64
65
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
65
66
|
onSubmit?: ((modelValue: number, values: FieldValues, allValues: FieldValues) => any) | undefined;
|
|
66
|
-
"onUpdate:modelValue"?: ((active: number) => any) | undefined;
|
|
67
67
|
onPre?: ((modelValue: number) => any) | undefined;
|
|
68
68
|
onNext?: ((modelValue: number, values: FieldValues, allValues: FieldValues) => any) | undefined;
|
|
69
69
|
}, {
|
|
70
|
+
modelValue: number;
|
|
70
71
|
data: PlusStepFromRow[];
|
|
71
72
|
nextText: string;
|
|
72
|
-
modelValue: number;
|
|
73
73
|
submitText: string;
|
|
74
74
|
preText: string;
|
|
75
75
|
}, true, {}, {}, {
|
|
@@ -80,6 +80,10 @@ export declare const PlusStepsForm: {
|
|
|
80
80
|
M: {};
|
|
81
81
|
Defaults: {};
|
|
82
82
|
}, Readonly< ExtractPropTypes<{
|
|
83
|
+
modelValue: {
|
|
84
|
+
type: PropType<number>;
|
|
85
|
+
default: number;
|
|
86
|
+
};
|
|
83
87
|
data: {
|
|
84
88
|
type: PropType< PlusStepFromRow[]>;
|
|
85
89
|
default: () => never[];
|
|
@@ -88,10 +92,6 @@ export declare const PlusStepsForm: {
|
|
|
88
92
|
type: PropType<string>;
|
|
89
93
|
default: undefined;
|
|
90
94
|
};
|
|
91
|
-
modelValue: {
|
|
92
|
-
type: PropType<number>;
|
|
93
|
-
default: number;
|
|
94
|
-
};
|
|
95
95
|
submitText: {
|
|
96
96
|
type: PropType<string>;
|
|
97
97
|
default: undefined;
|
|
@@ -101,15 +101,15 @@ export declare const PlusStepsForm: {
|
|
|
101
101
|
default: undefined;
|
|
102
102
|
};
|
|
103
103
|
}>> & {
|
|
104
|
+
"onUpdate:modelValue"?: ((active: number) => any) | undefined;
|
|
104
105
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
105
106
|
onSubmit?: ((modelValue: number, values: FieldValues, allValues: FieldValues) => any) | undefined;
|
|
106
|
-
"onUpdate:modelValue"?: ((active: number) => any) | undefined;
|
|
107
107
|
onPre?: ((modelValue: number) => any) | undefined;
|
|
108
108
|
onNext?: ((modelValue: number, values: FieldValues, allValues: FieldValues) => any) | undefined;
|
|
109
109
|
}, {}, {}, {}, {}, {
|
|
110
|
+
modelValue: number;
|
|
110
111
|
data: PlusStepFromRow[];
|
|
111
112
|
nextText: string;
|
|
112
|
-
modelValue: number;
|
|
113
113
|
submitText: string;
|
|
114
114
|
preText: string;
|
|
115
115
|
}>;
|
|
@@ -117,6 +117,10 @@ export declare const PlusStepsForm: {
|
|
|
117
117
|
__isTeleport?: undefined;
|
|
118
118
|
__isSuspense?: undefined;
|
|
119
119
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
120
|
+
modelValue: {
|
|
121
|
+
type: PropType<number>;
|
|
122
|
+
default: number;
|
|
123
|
+
};
|
|
120
124
|
data: {
|
|
121
125
|
type: PropType< PlusStepFromRow[]>;
|
|
122
126
|
default: () => never[];
|
|
@@ -125,10 +129,6 @@ export declare const PlusStepsForm: {
|
|
|
125
129
|
type: PropType<string>;
|
|
126
130
|
default: undefined;
|
|
127
131
|
};
|
|
128
|
-
modelValue: {
|
|
129
|
-
type: PropType<number>;
|
|
130
|
-
default: number;
|
|
131
|
-
};
|
|
132
132
|
submitText: {
|
|
133
133
|
type: PropType<string>;
|
|
134
134
|
default: undefined;
|
|
@@ -138,9 +138,9 @@ export declare const PlusStepsForm: {
|
|
|
138
138
|
default: undefined;
|
|
139
139
|
};
|
|
140
140
|
}>> & {
|
|
141
|
+
"onUpdate:modelValue"?: ((active: number) => any) | undefined;
|
|
141
142
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
142
143
|
onSubmit?: ((modelValue: number, values: FieldValues, allValues: FieldValues) => any) | undefined;
|
|
143
|
-
"onUpdate:modelValue"?: ((active: number) => any) | undefined;
|
|
144
144
|
onPre?: ((modelValue: number) => any) | undefined;
|
|
145
145
|
onNext?: ((modelValue: number, values: FieldValues, allValues: FieldValues) => any) | undefined;
|
|
146
146
|
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
@@ -150,9 +150,9 @@ export declare const PlusStepsForm: {
|
|
|
150
150
|
"update:modelValue": (active: number) => void;
|
|
151
151
|
change: (values: FieldValues, column: PlusColumn) => void;
|
|
152
152
|
}, string, {
|
|
153
|
+
modelValue: number;
|
|
153
154
|
data: PlusStepFromRow[];
|
|
154
155
|
nextText: string;
|
|
155
|
-
modelValue: number;
|
|
156
156
|
submitText: string;
|
|
157
157
|
preText: string;
|
|
158
158
|
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
@@ -66,15 +66,15 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
66
66
|
nextText: undefined;
|
|
67
67
|
preText: undefined;
|
|
68
68
|
}>>> & {
|
|
69
|
+
"onUpdate:modelValue"?: ((active: number) => any) | undefined;
|
|
69
70
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
70
71
|
onSubmit?: ((modelValue: number, values: FieldValues, allValues: FieldValues) => any) | undefined;
|
|
71
|
-
"onUpdate:modelValue"?: ((active: number) => any) | undefined;
|
|
72
72
|
onPre?: ((modelValue: number) => any) | undefined;
|
|
73
73
|
onNext?: ((modelValue: number, values: FieldValues, allValues: FieldValues) => any) | undefined;
|
|
74
74
|
}, {
|
|
75
|
+
modelValue: number;
|
|
75
76
|
data: PlusStepFromRow[];
|
|
76
77
|
nextText: string;
|
|
77
|
-
modelValue: number;
|
|
78
78
|
submitText: string;
|
|
79
79
|
preText: string;
|
|
80
80
|
}, {}>, Partial<Record<string, (_: {
|
|
@@ -226,9 +226,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
226
226
|
};
|
|
227
227
|
}> & {} & ComponentCustomProperties & {} & {
|
|
228
228
|
$slots: Partial<Record<string, (_: {
|
|
229
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
229
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
230
230
|
readonly label: string | ComputedRef<string>;
|
|
231
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
231
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
232
232
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
233
233
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
234
234
|
style?: CSSProperties | undefined;
|
|
@@ -255,7 +255,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
255
255
|
};
|
|
256
256
|
rows: number;
|
|
257
257
|
autocomplete: string;
|
|
258
|
-
type: "" | "number" | "default" | "
|
|
258
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "range" | "password" | "email" | "tel" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
259
259
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
260
260
|
step: string | number;
|
|
261
261
|
format: string | ProgressFn | undefined;
|
|
@@ -300,7 +300,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
300
300
|
fieldInstance?: any;
|
|
301
301
|
valueIsReady?: Ref<boolean> | undefined;
|
|
302
302
|
prop: string;
|
|
303
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
303
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
304
304
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
305
305
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
306
306
|
style?: CSSProperties | undefined;
|
|
@@ -334,9 +334,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
334
334
|
clearable: boolean;
|
|
335
335
|
index: number;
|
|
336
336
|
}) => any>> & Partial<Record<string, (_: {
|
|
337
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
337
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
338
338
|
readonly label: string | ComputedRef<string>;
|
|
339
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
339
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
340
340
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
341
341
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
342
342
|
style?: CSSProperties | undefined;
|
|
@@ -363,7 +363,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
363
363
|
};
|
|
364
364
|
rows: number;
|
|
365
365
|
autocomplete: string;
|
|
366
|
-
type: "" | "number" | "default" | "
|
|
366
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "range" | "password" | "email" | "tel" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
367
367
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
368
368
|
step: string | number;
|
|
369
369
|
format: string | ProgressFn | undefined;
|
|
@@ -408,7 +408,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
408
408
|
fieldInstance?: any;
|
|
409
409
|
valueIsReady?: Ref<boolean> | undefined;
|
|
410
410
|
prop: string;
|
|
411
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
411
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
412
412
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
413
413
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
414
414
|
style?: CSSProperties | undefined;
|
|
@@ -442,9 +442,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
442
442
|
clearable: boolean;
|
|
443
443
|
index: number;
|
|
444
444
|
}) => any>> & Partial<Record<string, (_: {
|
|
445
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
445
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
446
446
|
readonly label: string | ComputedRef<string>;
|
|
447
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
447
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
448
448
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
449
449
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
450
450
|
style?: CSSProperties | undefined;
|
|
@@ -471,7 +471,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
471
471
|
};
|
|
472
472
|
rows: number;
|
|
473
473
|
autocomplete: string;
|
|
474
|
-
type: "" | "number" | "default" | "
|
|
474
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "range" | "password" | "email" | "tel" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
475
475
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
476
476
|
step: string | number;
|
|
477
477
|
format: string | ProgressFn | undefined;
|
|
@@ -516,7 +516,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
516
516
|
fieldInstance?: any;
|
|
517
517
|
valueIsReady?: Ref<boolean> | undefined;
|
|
518
518
|
prop: string;
|
|
519
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
519
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
520
520
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
521
521
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
522
522
|
style?: CSSProperties | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RouteRecordName, RouteLocationNormalized,
|
|
1
|
+
import { RouteRecordName, RouteLocationNormalized, RouteComponent, RouteMeta, RouteRecordRedirectOption, NavigationGuardWithThis } from 'vue-router';
|
|
2
2
|
import { SetupContext, VNode, RendererNode, RendererElement, Component } from 'vue';
|
|
3
3
|
import { FieldValueType, RecordType, PlusColumn, PlusRouteRecordRaw } from 'yc-pro-components/es/types';
|
|
4
4
|
|
|
@@ -120,6 +120,7 @@ export declare const removeChildrenField: (item: PlusRouteRecordRaw) => {
|
|
|
120
120
|
__children: PlusRouteRecordRaw[] | undefined;
|
|
121
121
|
name?: RouteRecordName | undefined;
|
|
122
122
|
props?: (boolean | Record<string, any> | ((to: RouteLocationNormalized) => Record<string, any>)) | Record<string, boolean | Record<string, any> | ((to: RouteLocationNormalized) => Record<string, any>)> | undefined;
|
|
123
|
+
components?: Record<string, RouteComponent | (() => Promise< RouteComponent>)> | null | undefined;
|
|
123
124
|
meta?: ( RouteMeta & {
|
|
124
125
|
title?: string | undefined;
|
|
125
126
|
icon?: VNode<RendererNode, RendererElement, {
|
|
@@ -137,7 +138,6 @@ export declare const removeChildrenField: (item: PlusRouteRecordRaw) => {
|
|
|
137
138
|
end?: boolean | undefined;
|
|
138
139
|
sensitive?: boolean | undefined;
|
|
139
140
|
strict?: boolean | undefined;
|
|
140
|
-
components?: Record<string, RouteComponent | (() => Promise< RouteComponent>)> | null | undefined;
|
|
141
141
|
redirect?: RouteRecordRedirectOption | undefined;
|
|
142
142
|
alias?: string | string[] | undefined;
|
|
143
143
|
beforeEnter?: NavigationGuardWithThis<undefined> | NavigationGuardWithThis<undefined>[] | undefined;
|
|
@@ -126,8 +126,8 @@ declare const YcCountTo: SFCWithInstall<DefineComponent<{
|
|
|
126
126
|
onMounted?: ((...args: any[]) => any) | undefined;
|
|
127
127
|
onCallback?: ((...args: any[]) => any) | undefined;
|
|
128
128
|
}, {
|
|
129
|
-
color: string;
|
|
130
129
|
duration: number;
|
|
130
|
+
color: string;
|
|
131
131
|
separator: string;
|
|
132
132
|
decimal: string;
|
|
133
133
|
fontSize: string;
|
|
@@ -119,8 +119,8 @@ declare const _default: DefineComponent<{
|
|
|
119
119
|
onMounted?: ((...args: any[]) => any) | undefined;
|
|
120
120
|
onCallback?: ((...args: any[]) => any) | undefined;
|
|
121
121
|
}, {
|
|
122
|
-
color: string;
|
|
123
122
|
duration: number;
|
|
123
|
+
color: string;
|
|
124
124
|
separator: string;
|
|
125
125
|
decimal: string;
|
|
126
126
|
fontSize: string;
|
|
@@ -6,14 +6,14 @@ import { default as YcDownloadDialog } from './src/index.vue';
|
|
|
6
6
|
/** 批量导入下载对话框组件 */
|
|
7
7
|
export declare const YcDownloadDialogWithInstall: SFCWithInstall<{
|
|
8
8
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
9
|
-
title: {
|
|
10
|
-
type: PropType<string>;
|
|
11
|
-
default: string;
|
|
12
|
-
};
|
|
13
9
|
modelValue: {
|
|
14
10
|
type: PropType<boolean>;
|
|
15
11
|
default: boolean;
|
|
16
12
|
};
|
|
13
|
+
title: {
|
|
14
|
+
type: PropType<string>;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
17
|
templateUrl: {
|
|
18
18
|
type: PropType<string>;
|
|
19
19
|
};
|
|
@@ -50,14 +50,14 @@ export declare const YcDownloadDialogWithInstall: SFCWithInstall<{
|
|
|
50
50
|
"upload-error": (error: any, file: any) => void;
|
|
51
51
|
"download-template": () => void;
|
|
52
52
|
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
53
|
-
title: {
|
|
54
|
-
type: PropType<string>;
|
|
55
|
-
default: string;
|
|
56
|
-
};
|
|
57
53
|
modelValue: {
|
|
58
54
|
type: PropType<boolean>;
|
|
59
55
|
default: boolean;
|
|
60
56
|
};
|
|
57
|
+
title: {
|
|
58
|
+
type: PropType<string>;
|
|
59
|
+
default: string;
|
|
60
|
+
};
|
|
61
61
|
templateUrl: {
|
|
62
62
|
type: PropType<string>;
|
|
63
63
|
};
|
|
@@ -87,8 +87,8 @@ export declare const YcDownloadDialogWithInstall: SFCWithInstall<{
|
|
|
87
87
|
"onUpload-error"?: ((error: any, file: any) => any) | undefined;
|
|
88
88
|
"onDownload-template"?: (() => any) | undefined;
|
|
89
89
|
}, {
|
|
90
|
-
title: string;
|
|
91
90
|
modelValue: boolean;
|
|
91
|
+
title: string;
|
|
92
92
|
templateText: string;
|
|
93
93
|
uploadAction: string;
|
|
94
94
|
}, true, {}, {}, {
|
|
@@ -99,14 +99,14 @@ export declare const YcDownloadDialogWithInstall: SFCWithInstall<{
|
|
|
99
99
|
M: {};
|
|
100
100
|
Defaults: {};
|
|
101
101
|
}, Readonly< ExtractPropTypes<{
|
|
102
|
-
title: {
|
|
103
|
-
type: PropType<string>;
|
|
104
|
-
default: string;
|
|
105
|
-
};
|
|
106
102
|
modelValue: {
|
|
107
103
|
type: PropType<boolean>;
|
|
108
104
|
default: boolean;
|
|
109
105
|
};
|
|
106
|
+
title: {
|
|
107
|
+
type: PropType<string>;
|
|
108
|
+
default: string;
|
|
109
|
+
};
|
|
110
110
|
templateUrl: {
|
|
111
111
|
type: PropType<string>;
|
|
112
112
|
};
|
|
@@ -138,8 +138,8 @@ export declare const YcDownloadDialogWithInstall: SFCWithInstall<{
|
|
|
138
138
|
}, {
|
|
139
139
|
fetchUploadRecords: () => Promise<void>;
|
|
140
140
|
}, {}, {}, {}, {
|
|
141
|
-
title: string;
|
|
142
141
|
modelValue: boolean;
|
|
142
|
+
title: string;
|
|
143
143
|
templateText: string;
|
|
144
144
|
uploadAction: string;
|
|
145
145
|
}>;
|
|
@@ -147,14 +147,14 @@ export declare const YcDownloadDialogWithInstall: SFCWithInstall<{
|
|
|
147
147
|
__isTeleport?: undefined;
|
|
148
148
|
__isSuspense?: undefined;
|
|
149
149
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
150
|
-
title: {
|
|
151
|
-
type: PropType<string>;
|
|
152
|
-
default: string;
|
|
153
|
-
};
|
|
154
150
|
modelValue: {
|
|
155
151
|
type: PropType<boolean>;
|
|
156
152
|
default: boolean;
|
|
157
153
|
};
|
|
154
|
+
title: {
|
|
155
|
+
type: PropType<string>;
|
|
156
|
+
default: string;
|
|
157
|
+
};
|
|
158
158
|
templateUrl: {
|
|
159
159
|
type: PropType<string>;
|
|
160
160
|
};
|
|
@@ -191,8 +191,8 @@ export declare const YcDownloadDialogWithInstall: SFCWithInstall<{
|
|
|
191
191
|
"upload-error": (error: any, file: any) => void;
|
|
192
192
|
"download-template": () => void;
|
|
193
193
|
}, string, {
|
|
194
|
-
title: string;
|
|
195
194
|
modelValue: boolean;
|
|
195
|
+
title: string;
|
|
196
196
|
templateText: string;
|
|
197
197
|
uploadAction: string;
|
|
198
198
|
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
@@ -24,8 +24,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
24
24
|
"onUpload-error"?: ((error: any, file: any) => any) | undefined;
|
|
25
25
|
"onDownload-template"?: (() => any) | undefined;
|
|
26
26
|
}, {
|
|
27
|
-
title: string;
|
|
28
27
|
modelValue: boolean;
|
|
28
|
+
title: string;
|
|
29
29
|
templateText: string;
|
|
30
30
|
uploadAction: string;
|
|
31
31
|
}, {}>, {
|
|
@@ -5,12 +5,12 @@ import { default as YcFormContainerHeaderComponent } from './src/index.vue';
|
|
|
5
5
|
export * from './src/type';
|
|
6
6
|
export type YcFormContainerHeaderInstance = InstanceType<typeof YcFormContainerHeaderComponent>;
|
|
7
7
|
export declare const YcFormContainerHeader: DefineComponent<{
|
|
8
|
-
|
|
8
|
+
class: {
|
|
9
9
|
type: PropType<string>;
|
|
10
|
-
required: true;
|
|
11
10
|
};
|
|
12
|
-
|
|
11
|
+
title: {
|
|
13
12
|
type: PropType<string>;
|
|
13
|
+
required: true;
|
|
14
14
|
};
|
|
15
15
|
titleColor: {
|
|
16
16
|
type: PropType<string>;
|
|
@@ -21,12 +21,12 @@ export declare const YcFormContainerHeader: DefineComponent<{
|
|
|
21
21
|
default: undefined;
|
|
22
22
|
};
|
|
23
23
|
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
24
|
-
|
|
24
|
+
class: {
|
|
25
25
|
type: PropType<string>;
|
|
26
|
-
required: true;
|
|
27
26
|
};
|
|
28
|
-
|
|
27
|
+
title: {
|
|
29
28
|
type: PropType<string>;
|
|
29
|
+
required: true;
|
|
30
30
|
};
|
|
31
31
|
titleColor: {
|
|
32
32
|
type: PropType<string>;
|
|
@@ -41,12 +41,12 @@ export declare const YcFormContainerHeader: DefineComponent<{
|
|
|
41
41
|
gradientColors: GradientColors;
|
|
42
42
|
}, {}>;
|
|
43
43
|
export declare const ReFormContainerHeader: DefineComponent<{
|
|
44
|
-
|
|
44
|
+
class: {
|
|
45
45
|
type: PropType<string>;
|
|
46
|
-
required: true;
|
|
47
46
|
};
|
|
48
|
-
|
|
47
|
+
title: {
|
|
49
48
|
type: PropType<string>;
|
|
49
|
+
required: true;
|
|
50
50
|
};
|
|
51
51
|
titleColor: {
|
|
52
52
|
type: PropType<string>;
|
|
@@ -57,12 +57,12 @@ export declare const ReFormContainerHeader: DefineComponent<{
|
|
|
57
57
|
default: undefined;
|
|
58
58
|
};
|
|
59
59
|
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
60
|
-
|
|
60
|
+
class: {
|
|
61
61
|
type: PropType<string>;
|
|
62
|
-
required: true;
|
|
63
62
|
};
|
|
64
|
-
|
|
63
|
+
title: {
|
|
65
64
|
type: PropType<string>;
|
|
65
|
+
required: true;
|
|
66
66
|
};
|
|
67
67
|
titleColor: {
|
|
68
68
|
type: PropType<string>;
|
|
@@ -14,7 +14,7 @@ export declare const YcMoreActions: DefineComponent<{
|
|
|
14
14
|
default: boolean;
|
|
15
15
|
};
|
|
16
16
|
trigger: {
|
|
17
|
-
type: PropType<"
|
|
17
|
+
type: PropType<"click" | "hover" | "contextmenu">;
|
|
18
18
|
default: string;
|
|
19
19
|
};
|
|
20
20
|
placement: {
|
|
@@ -63,7 +63,7 @@ export declare const YcMoreActions: DefineComponent<{
|
|
|
63
63
|
default: boolean;
|
|
64
64
|
};
|
|
65
65
|
trigger: {
|
|
66
|
-
type: PropType<"
|
|
66
|
+
type: PropType<"click" | "hover" | "contextmenu">;
|
|
67
67
|
default: string;
|
|
68
68
|
};
|
|
69
69
|
placement: {
|
|
@@ -105,7 +105,7 @@ export declare const YcMoreActions: DefineComponent<{
|
|
|
105
105
|
}, {
|
|
106
106
|
showArrow: boolean;
|
|
107
107
|
disabled: boolean;
|
|
108
|
-
trigger: "
|
|
108
|
+
trigger: "click" | "hover" | "contextmenu";
|
|
109
109
|
placement: "top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
|
|
110
110
|
stopPropagation: boolean;
|
|
111
111
|
actions: MoreActionItem[];
|
|
@@ -123,7 +123,7 @@ export declare const ReMoreActions: DefineComponent<{
|
|
|
123
123
|
default: boolean;
|
|
124
124
|
};
|
|
125
125
|
trigger: {
|
|
126
|
-
type: PropType<"
|
|
126
|
+
type: PropType<"click" | "hover" | "contextmenu">;
|
|
127
127
|
default: string;
|
|
128
128
|
};
|
|
129
129
|
placement: {
|
|
@@ -172,7 +172,7 @@ export declare const ReMoreActions: DefineComponent<{
|
|
|
172
172
|
default: boolean;
|
|
173
173
|
};
|
|
174
174
|
trigger: {
|
|
175
|
-
type: PropType<"
|
|
175
|
+
type: PropType<"click" | "hover" | "contextmenu">;
|
|
176
176
|
default: string;
|
|
177
177
|
};
|
|
178
178
|
placement: {
|
|
@@ -214,7 +214,7 @@ export declare const ReMoreActions: DefineComponent<{
|
|
|
214
214
|
}, {
|
|
215
215
|
showArrow: boolean;
|
|
216
216
|
disabled: boolean;
|
|
217
|
-
trigger: "
|
|
217
|
+
trigger: "click" | "hover" | "contextmenu";
|
|
218
218
|
placement: "top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
|
|
219
219
|
stopPropagation: boolean;
|
|
220
220
|
actions: MoreActionItem[];
|
|
@@ -40,7 +40,7 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
40
40
|
}, {
|
|
41
41
|
showArrow: boolean;
|
|
42
42
|
disabled: boolean;
|
|
43
|
-
trigger: "
|
|
43
|
+
trigger: "click" | "hover" | "contextmenu";
|
|
44
44
|
placement: "top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
|
|
45
45
|
stopPropagation: boolean;
|
|
46
46
|
actions: MoreActionItem[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _sfc_main from './header-filter-cell.vue2.mjs';
|
|
2
2
|
import _export_sfc from '../../../_virtual/_plugin-vue_export-helper.mjs';
|
|
3
3
|
|
|
4
|
-
var YcTableHeaderFilterCellComponent = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
var YcTableHeaderFilterCellComponent = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-218b6c5c"], ["__file", "header-filter-cell.vue"]]);
|
|
5
5
|
|
|
6
6
|
export { YcTableHeaderFilterCellComponent as default };
|
|
@@ -228,12 +228,6 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
228
228
|
};
|
|
229
229
|
if (t === "date-picker" && isRangeType(fp.type)) {
|
|
230
230
|
if (state.selectedOp !== "between") state.selectedOp = "between";
|
|
231
|
-
if (!state.inputVal) {
|
|
232
|
-
const now = /* @__PURE__ */ new Date();
|
|
233
|
-
const y = now.getFullYear();
|
|
234
|
-
const m = String(now.getMonth() + 1).padStart(2, "0");
|
|
235
|
-
state.inputVal = `${y}-${m},${y}-${m}`;
|
|
236
|
-
}
|
|
237
231
|
} else if (t === "checkbox" || t === "select" && ((_a = customConfig.props) == null ? void 0 : _a.multiple) || t === "tree-select" && ((_b = customConfig.props) == null ? void 0 : _b.multiple)) {
|
|
238
232
|
if (state.selectedOp !== "in") state.selectedOp = "in";
|
|
239
233
|
}
|