@wlydfe/pro-ui 0.2.7 → 0.2.9
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/README.md +119 -119
- package/es/components/check-card/index.d.ts +4 -4
- package/es/components/check-card/src/index.vue.d.ts +1 -1
- package/es/components/check-card-group/index.d.ts +4 -4
- package/es/components/check-card-group/src/index.vue.d.ts +1 -1
- package/es/components/date-picker/index.d.ts +11 -11
- package/es/components/date-picker/src/index.vue.d.ts +11 -11
- package/es/components/descriptions/index.d.ts +19 -19
- package/es/components/descriptions/src/index.vue.d.ts +1 -1
- package/es/components/dialog/index.d.ts +30 -30
- package/es/components/dialog/src/index.vue.d.ts +2 -2
- package/es/components/dialog-form/index.d.ts +6 -6
- package/es/components/dialog-form/src/index.vue.d.ts +3 -3
- package/es/components/display-item/index.d.ts +25 -25
- package/es/components/display-item/src/index.vue.d.ts +7 -7
- package/es/components/display-item/src/index.vue2.mjs +3 -0
- package/es/components/drawer-form/index.d.ts +36 -36
- package/es/components/drawer-form/src/index.vue.d.ts +5 -5
- package/es/components/form/index.d.ts +88 -88
- package/es/components/form/src/form-content.vue.d.ts +9 -9
- package/es/components/form/src/index.vue.d.ts +11 -11
- package/es/components/form/src/index.vue2.mjs +5 -5
- package/es/components/form-item/index.d.ts +84 -84
- package/es/components/form-item/src/index.vue.d.ts +16 -12
- package/es/components/input-tag/index.d.ts +6 -6
- package/es/components/input-tag/src/index.vue.d.ts +3 -3
- package/es/components/page/index.d.ts +1039 -994
- package/es/components/page/src/index.vue.d.ts +361 -374
- package/es/components/page/src/index.vue2.mjs +10 -3
- package/es/components/pagination/index.d.ts +27 -27
- package/es/components/pagination/src/index.vue.d.ts +3 -3
- package/es/components/popover/index.d.ts +49 -49
- package/es/components/popover/src/index.vue.d.ts +3 -3
- package/es/components/radio/index.d.ts +10 -10
- package/es/components/radio/src/index.vue.d.ts +2 -2
- package/es/components/render/index.d.ts +14 -14
- package/es/components/render/src/index.vue.d.ts +1 -1
- package/es/components/search/index.d.ts +266 -266
- package/es/components/search/src/index.vue.d.ts +77 -77
- package/es/components/search/src/index.vue2.mjs +1 -1
- package/es/components/sidebar/index.d.ts +16 -16
- 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/index.d.ts +183 -164
- package/es/components/table/src/index.vue.d.ts +16 -13
- package/es/components/table/src/index.vue2.mjs +4 -2
- package/es/components/table/src/table-action-bar.vue.d.ts +6 -2
- package/es/components/table/src/table-action-bar.vue2.mjs +3 -1
- package/es/components/table/src/table-column-drag-sort.vue.d.ts +2 -2
- package/es/components/table/src/table-column-index.vue.d.ts +1 -1
- package/es/components/table/src/table-column-index.vue2.mjs +1 -1
- package/es/components/table/src/table-column.vue.d.ts +25 -43
- package/es/components/table/src/table-column.vue2.mjs +8 -1
- package/es/components/table/src/table-title-bar.vue.d.ts +1 -1
- package/es/components/table/src/type.d.ts +2 -0
- package/es/index.css +8 -8
- package/global.d.ts +29 -29
- package/index.js +35 -14
- package/index.min.js +2 -2
- package/index.min.mjs +2 -2
- package/index.mjs +35 -14
- package/lib/components/check-card/index.d.ts +4 -4
- package/lib/components/check-card/src/index.vue.d.ts +1 -1
- package/lib/components/check-card-group/index.d.ts +4 -4
- package/lib/components/check-card-group/src/index.vue.d.ts +1 -1
- package/lib/components/date-picker/index.d.ts +11 -11
- package/lib/components/date-picker/src/index.vue.d.ts +11 -11
- package/lib/components/descriptions/index.d.ts +19 -19
- package/lib/components/descriptions/src/index.vue.d.ts +1 -1
- package/lib/components/dialog/index.d.ts +30 -30
- package/lib/components/dialog/src/index.vue.d.ts +2 -2
- package/lib/components/dialog-form/index.d.ts +6 -6
- package/lib/components/dialog-form/src/index.vue.d.ts +3 -3
- package/lib/components/display-item/index.d.ts +25 -25
- package/lib/components/display-item/src/index.vue.d.ts +7 -7
- package/lib/components/display-item/src/index.vue2.js +3 -0
- package/lib/components/drawer-form/index.d.ts +36 -36
- package/lib/components/drawer-form/src/index.vue.d.ts +5 -5
- package/lib/components/form/index.d.ts +88 -88
- package/lib/components/form/src/form-content.vue.d.ts +9 -9
- package/lib/components/form/src/index.vue.d.ts +11 -11
- package/lib/components/form/src/index.vue2.js +5 -5
- package/lib/components/form-item/index.d.ts +84 -84
- package/lib/components/form-item/src/index.vue.d.ts +16 -12
- package/lib/components/input-tag/index.d.ts +6 -6
- package/lib/components/input-tag/src/index.vue.d.ts +3 -3
- package/lib/components/page/index.d.ts +1039 -994
- package/lib/components/page/src/index.vue.d.ts +361 -374
- package/lib/components/page/src/index.vue2.js +9 -2
- package/lib/components/pagination/index.d.ts +27 -27
- package/lib/components/pagination/src/index.vue.d.ts +3 -3
- package/lib/components/popover/index.d.ts +49 -49
- package/lib/components/popover/src/index.vue.d.ts +3 -3
- package/lib/components/radio/index.d.ts +10 -10
- package/lib/components/radio/src/index.vue.d.ts +2 -2
- package/lib/components/render/index.d.ts +14 -14
- package/lib/components/render/src/index.vue.d.ts +1 -1
- package/lib/components/search/index.d.ts +266 -266
- package/lib/components/search/src/index.vue.d.ts +77 -77
- package/lib/components/search/src/index.vue2.js +1 -1
- package/lib/components/sidebar/index.d.ts +16 -16
- 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/index.d.ts +183 -164
- package/lib/components/table/src/index.vue.d.ts +16 -13
- package/lib/components/table/src/index.vue2.js +4 -2
- package/lib/components/table/src/table-action-bar.vue.d.ts +6 -2
- package/lib/components/table/src/table-action-bar.vue2.js +3 -1
- package/lib/components/table/src/table-column-drag-sort.vue.d.ts +2 -2
- package/lib/components/table/src/table-column-index.vue.d.ts +1 -1
- package/lib/components/table/src/table-column-index.vue2.js +1 -1
- package/lib/components/table/src/table-column.vue.d.ts +25 -43
- package/lib/components/table/src/table-column.vue2.js +8 -1
- package/lib/components/table/src/table-title-bar.vue.d.ts +1 -1
- package/lib/components/table/src/type.d.ts +2 -0
- package/lib/index.css +13 -13
- 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
- package/theme-chalk/src/breadcrumb.scss +9 -9
- package/theme-chalk/src/date-picker.scss +96 -96
- package/theme-chalk/src/descriptions.scss +41 -41
- package/theme-chalk/src/display-item.scss +82 -82
- package/theme-chalk/src/drawer-form.scss +16 -16
- package/theme-chalk/src/form.scss +34 -34
- package/theme-chalk/src/input-tag.scss +91 -91
- package/theme-chalk/src/layout.scss +36 -36
- package/theme-chalk/src/mixins/function.scss +73 -73
- package/theme-chalk/src/search.scss +49 -49
- package/theme-chalk/src/sidebar.scss +93 -93
- package/theme-chalk/src/table.scss +170 -170
- package/theme-chalk/src/var/index.scss +6 -6
|
@@ -33,26 +33,26 @@ export declare const PlusDrawerForm: {
|
|
|
33
33
|
type: PropType<boolean>;
|
|
34
34
|
default: boolean;
|
|
35
35
|
};
|
|
36
|
-
|
|
37
|
-
type: PropType<boolean>;
|
|
38
|
-
default: boolean;
|
|
39
|
-
};
|
|
40
|
-
cancelText: {
|
|
36
|
+
confirmText: {
|
|
41
37
|
type: PropType<string>;
|
|
42
38
|
default: string;
|
|
43
39
|
};
|
|
44
|
-
|
|
40
|
+
cancelText: {
|
|
45
41
|
type: PropType<string>;
|
|
46
42
|
default: string;
|
|
47
43
|
};
|
|
44
|
+
confirmLoading: {
|
|
45
|
+
type: PropType<boolean>;
|
|
46
|
+
default: boolean;
|
|
47
|
+
};
|
|
48
48
|
drawer: {
|
|
49
49
|
type: PropType<Partial< Mutable<DrawerProps>>>;
|
|
50
50
|
default: () => {};
|
|
51
51
|
};
|
|
52
52
|
}>> & {
|
|
53
53
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
54
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
55
54
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
55
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
56
56
|
onCancel?: (() => any) | undefined;
|
|
57
57
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
58
58
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
@@ -1109,26 +1109,26 @@ export declare const PlusDrawerForm: {
|
|
|
1109
1109
|
type: PropType<boolean>;
|
|
1110
1110
|
default: boolean;
|
|
1111
1111
|
};
|
|
1112
|
-
|
|
1113
|
-
type: PropType<boolean>;
|
|
1114
|
-
default: boolean;
|
|
1115
|
-
};
|
|
1116
|
-
cancelText: {
|
|
1112
|
+
confirmText: {
|
|
1117
1113
|
type: PropType<string>;
|
|
1118
1114
|
default: string;
|
|
1119
1115
|
};
|
|
1120
|
-
|
|
1116
|
+
cancelText: {
|
|
1121
1117
|
type: PropType<string>;
|
|
1122
1118
|
default: string;
|
|
1123
1119
|
};
|
|
1120
|
+
confirmLoading: {
|
|
1121
|
+
type: PropType<boolean>;
|
|
1122
|
+
default: boolean;
|
|
1123
|
+
};
|
|
1124
1124
|
drawer: {
|
|
1125
1125
|
type: PropType<Partial< Mutable<DrawerProps>>>;
|
|
1126
1126
|
default: () => {};
|
|
1127
1127
|
};
|
|
1128
1128
|
}>> & {
|
|
1129
1129
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
1130
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1131
1130
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1131
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1132
1132
|
onCancel?: (() => any) | undefined;
|
|
1133
1133
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
1134
1134
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
@@ -1139,9 +1139,9 @@ export declare const PlusDrawerForm: {
|
|
|
1139
1139
|
form: PlusFormProps;
|
|
1140
1140
|
hasErrorTip: boolean;
|
|
1141
1141
|
hasFooter: boolean;
|
|
1142
|
-
confirmLoading: boolean;
|
|
1143
|
-
cancelText: string;
|
|
1144
1142
|
confirmText: string;
|
|
1143
|
+
cancelText: string;
|
|
1144
|
+
confirmLoading: boolean;
|
|
1145
1145
|
drawer: Partial< Mutable<DrawerProps>>;
|
|
1146
1146
|
}, true, {}, {}, {
|
|
1147
1147
|
P: {};
|
|
@@ -1175,26 +1175,26 @@ export declare const PlusDrawerForm: {
|
|
|
1175
1175
|
type: PropType<boolean>;
|
|
1176
1176
|
default: boolean;
|
|
1177
1177
|
};
|
|
1178
|
-
|
|
1179
|
-
type: PropType<boolean>;
|
|
1180
|
-
default: boolean;
|
|
1181
|
-
};
|
|
1182
|
-
cancelText: {
|
|
1178
|
+
confirmText: {
|
|
1183
1179
|
type: PropType<string>;
|
|
1184
1180
|
default: string;
|
|
1185
1181
|
};
|
|
1186
|
-
|
|
1182
|
+
cancelText: {
|
|
1187
1183
|
type: PropType<string>;
|
|
1188
1184
|
default: string;
|
|
1189
1185
|
};
|
|
1186
|
+
confirmLoading: {
|
|
1187
|
+
type: PropType<boolean>;
|
|
1188
|
+
default: boolean;
|
|
1189
|
+
};
|
|
1190
1190
|
drawer: {
|
|
1191
1191
|
type: PropType<Partial< Mutable<DrawerProps>>>;
|
|
1192
1192
|
default: () => {};
|
|
1193
1193
|
};
|
|
1194
1194
|
}>> & {
|
|
1195
1195
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
1196
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1197
1196
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1197
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1198
1198
|
onCancel?: (() => any) | undefined;
|
|
1199
1199
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
1200
1200
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
@@ -2226,9 +2226,9 @@ export declare const PlusDrawerForm: {
|
|
|
2226
2226
|
form: PlusFormProps;
|
|
2227
2227
|
hasErrorTip: boolean;
|
|
2228
2228
|
hasFooter: boolean;
|
|
2229
|
-
confirmLoading: boolean;
|
|
2230
|
-
cancelText: string;
|
|
2231
2229
|
confirmText: string;
|
|
2230
|
+
cancelText: string;
|
|
2231
|
+
confirmLoading: boolean;
|
|
2232
2232
|
drawer: Partial< Mutable<DrawerProps>>;
|
|
2233
2233
|
}>;
|
|
2234
2234
|
__isFragment?: undefined;
|
|
@@ -2259,26 +2259,26 @@ export declare const PlusDrawerForm: {
|
|
|
2259
2259
|
type: PropType<boolean>;
|
|
2260
2260
|
default: boolean;
|
|
2261
2261
|
};
|
|
2262
|
-
|
|
2263
|
-
type: PropType<boolean>;
|
|
2264
|
-
default: boolean;
|
|
2265
|
-
};
|
|
2266
|
-
cancelText: {
|
|
2262
|
+
confirmText: {
|
|
2267
2263
|
type: PropType<string>;
|
|
2268
2264
|
default: string;
|
|
2269
2265
|
};
|
|
2270
|
-
|
|
2266
|
+
cancelText: {
|
|
2271
2267
|
type: PropType<string>;
|
|
2272
2268
|
default: string;
|
|
2273
2269
|
};
|
|
2270
|
+
confirmLoading: {
|
|
2271
|
+
type: PropType<boolean>;
|
|
2272
|
+
default: boolean;
|
|
2273
|
+
};
|
|
2274
2274
|
drawer: {
|
|
2275
2275
|
type: PropType<Partial< Mutable<DrawerProps>>>;
|
|
2276
2276
|
default: () => {};
|
|
2277
2277
|
};
|
|
2278
2278
|
}>> & {
|
|
2279
2279
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
2280
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2281
2280
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2281
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2282
2282
|
onCancel?: (() => any) | undefined;
|
|
2283
2283
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
2284
2284
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
@@ -3317,13 +3317,13 @@ export declare const PlusDrawerForm: {
|
|
|
3317
3317
|
form: PlusFormProps;
|
|
3318
3318
|
hasErrorTip: boolean;
|
|
3319
3319
|
hasFooter: boolean;
|
|
3320
|
-
confirmLoading: boolean;
|
|
3321
|
-
cancelText: string;
|
|
3322
3320
|
confirmText: string;
|
|
3321
|
+
cancelText: string;
|
|
3322
|
+
confirmLoading: boolean;
|
|
3323
3323
|
drawer: Partial< Mutable<DrawerProps>>;
|
|
3324
3324
|
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
3325
3325
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
3326
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "
|
|
3326
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "fieldSlots" | "fieldChildrenSlot" | "modelValue" | "options" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
3327
3327
|
readonly label: string | ComputedRef<string>;
|
|
3328
3328
|
readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
3329
3329
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
@@ -3337,7 +3337,7 @@ export declare const PlusDrawerForm: {
|
|
|
3337
3337
|
style: CSSProperties;
|
|
3338
3338
|
rows: number;
|
|
3339
3339
|
autocomplete: string;
|
|
3340
|
-
type: "" | "number" | "default" | "search" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "
|
|
3340
|
+
type: "" | "number" | "default" | "search" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "time" | "image" | "line" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "range" | "dashboard" | "hidden" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
3341
3341
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
3342
3342
|
step: string | number;
|
|
3343
3343
|
format: string | ProgressFn | undefined;
|
|
@@ -1088,8 +1088,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1088
1088
|
form: () => {};
|
|
1089
1089
|
}>>> & {
|
|
1090
1090
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
1091
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1092
1091
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1092
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1093
1093
|
onCancel?: (() => any) | undefined;
|
|
1094
1094
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
1095
1095
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
@@ -1100,12 +1100,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1100
1100
|
form: PlusFormProps;
|
|
1101
1101
|
hasErrorTip: boolean;
|
|
1102
1102
|
hasFooter: boolean;
|
|
1103
|
-
confirmLoading: boolean;
|
|
1104
|
-
cancelText: string;
|
|
1105
1103
|
confirmText: string;
|
|
1104
|
+
cancelText: string;
|
|
1105
|
+
confirmLoading: boolean;
|
|
1106
1106
|
drawer: Partial<Mutable<DrawerProps>>;
|
|
1107
1107
|
}, {}>, Partial<Record<NonNullable<string | number>, (_: {
|
|
1108
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "
|
|
1108
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "fieldSlots" | "fieldChildrenSlot" | "modelValue" | "options" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
1109
1109
|
readonly label: string | ComputedRef<string>;
|
|
1110
1110
|
readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
1111
1111
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
@@ -1119,7 +1119,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1119
1119
|
style: CSSProperties;
|
|
1120
1120
|
rows: number;
|
|
1121
1121
|
autocomplete: string;
|
|
1122
|
-
type: "" | "number" | "default" | "search" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "
|
|
1122
|
+
type: "" | "number" | "default" | "search" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "time" | "image" | "line" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "range" | "dashboard" | "hidden" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
1123
1123
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1124
1124
|
step: string | number;
|
|
1125
1125
|
format: string | ProgressFn | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TimeSelectProps } from 'element-plus/es/components/time-select/src/time-select';
|
|
2
2
|
import { PlusFormItemProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps } from 'packages/plus-pro-components';
|
|
3
3
|
import { LooseRequired } from '@vue/shared';
|
|
4
|
-
import { FormItemRule,
|
|
4
|
+
import { FormItemRule, RowProps, ColProps, CardProps, FormItemProp, FormItemContext, FormValidateCallback, FormValidationResult, ElTooltipProps, FormItemProps, ProgressFn, CascaderNode, InputAutoSize, AutocompleteProps, CheckboxGroupProps, ColorPickerProps, DatePickerProps, InputProps, InputNumberProps, RadioGroupProps, RateProps, ISelectProps, SliderProps, SwitchProps, TimePickerDefaultProps, TextProps, ImageProps, LinkProps, TagProps, ProgressProps } from 'element-plus';
|
|
5
5
|
import { Arrayable, EpPropFinalized, EpPropMergeType } from 'element-plus/es/utils';
|
|
6
6
|
import { PlusFormGroupRow } from './src/type';
|
|
7
7
|
import { PlusColumn, FieldValues, Mutable, RecordType, PropsItemType, OmitTypes, CascaderProps, OptionsType, RenderTypes, TableValueType, FormItemValueType, FieldValueType, OptionsRow } from '@wlydfe/pro-ui';
|
|
@@ -44,28 +44,16 @@ export declare const PlusForm: {
|
|
|
44
44
|
type: PropType<boolean>;
|
|
45
45
|
default: boolean;
|
|
46
46
|
};
|
|
47
|
-
|
|
48
|
-
type: PropType<
|
|
49
|
-
default: boolean;
|
|
50
|
-
};
|
|
51
|
-
colProps: {
|
|
52
|
-
type: PropType<Partial< Mutable<ColProps>>>;
|
|
47
|
+
defaultValues: {
|
|
48
|
+
type: PropType<FieldValues>;
|
|
53
49
|
default: () => {};
|
|
54
50
|
};
|
|
55
|
-
collapseDuration: {
|
|
56
|
-
type: PropType<number>;
|
|
57
|
-
default: undefined;
|
|
58
|
-
};
|
|
59
|
-
collapseTransition: {
|
|
60
|
-
type: PropType<boolean>;
|
|
61
|
-
default: undefined;
|
|
62
|
-
};
|
|
63
51
|
rowProps: {
|
|
64
52
|
type: PropType<Partial< Mutable<RowProps>>>;
|
|
65
53
|
default: () => {};
|
|
66
54
|
};
|
|
67
|
-
|
|
68
|
-
type: PropType<
|
|
55
|
+
colProps: {
|
|
56
|
+
type: PropType<Partial< Mutable<ColProps>>>;
|
|
69
57
|
default: () => {};
|
|
70
58
|
};
|
|
71
59
|
hasErrorTip: {
|
|
@@ -104,9 +92,21 @@ export declare const PlusForm: {
|
|
|
104
92
|
type: PropType<boolean>;
|
|
105
93
|
default: boolean;
|
|
106
94
|
};
|
|
95
|
+
collapseDuration: {
|
|
96
|
+
type: PropType<number>;
|
|
97
|
+
default: undefined;
|
|
98
|
+
};
|
|
99
|
+
collapseTransition: {
|
|
100
|
+
type: PropType<boolean>;
|
|
101
|
+
default: undefined;
|
|
102
|
+
};
|
|
103
|
+
clearable: {
|
|
104
|
+
type: PropType<boolean>;
|
|
105
|
+
default: boolean;
|
|
106
|
+
};
|
|
107
107
|
}>> & {
|
|
108
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
109
108
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
109
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
110
110
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
111
111
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
112
112
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
@@ -436,28 +436,16 @@ export declare const PlusForm: {
|
|
|
436
436
|
type: PropType<boolean>;
|
|
437
437
|
default: boolean;
|
|
438
438
|
};
|
|
439
|
-
|
|
440
|
-
type: PropType<
|
|
441
|
-
default: boolean;
|
|
442
|
-
};
|
|
443
|
-
colProps: {
|
|
444
|
-
type: PropType<Partial< Mutable<ColProps>>>;
|
|
439
|
+
defaultValues: {
|
|
440
|
+
type: PropType<FieldValues>;
|
|
445
441
|
default: () => {};
|
|
446
442
|
};
|
|
447
|
-
collapseDuration: {
|
|
448
|
-
type: PropType<number>;
|
|
449
|
-
default: undefined;
|
|
450
|
-
};
|
|
451
|
-
collapseTransition: {
|
|
452
|
-
type: PropType<boolean>;
|
|
453
|
-
default: undefined;
|
|
454
|
-
};
|
|
455
443
|
rowProps: {
|
|
456
444
|
type: PropType<Partial< Mutable<RowProps>>>;
|
|
457
445
|
default: () => {};
|
|
458
446
|
};
|
|
459
|
-
|
|
460
|
-
type: PropType<
|
|
447
|
+
colProps: {
|
|
448
|
+
type: PropType<Partial< Mutable<ColProps>>>;
|
|
461
449
|
default: () => {};
|
|
462
450
|
};
|
|
463
451
|
hasErrorTip: {
|
|
@@ -496,9 +484,21 @@ export declare const PlusForm: {
|
|
|
496
484
|
type: PropType<boolean>;
|
|
497
485
|
default: boolean;
|
|
498
486
|
};
|
|
487
|
+
collapseDuration: {
|
|
488
|
+
type: PropType<number>;
|
|
489
|
+
default: undefined;
|
|
490
|
+
};
|
|
491
|
+
collapseTransition: {
|
|
492
|
+
type: PropType<boolean>;
|
|
493
|
+
default: undefined;
|
|
494
|
+
};
|
|
495
|
+
clearable: {
|
|
496
|
+
type: PropType<boolean>;
|
|
497
|
+
default: boolean;
|
|
498
|
+
};
|
|
499
499
|
}>> & {
|
|
500
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
501
500
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
501
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
502
502
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
503
503
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
504
504
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
@@ -512,12 +512,9 @@ export declare const PlusForm: {
|
|
|
512
512
|
labelWidth: string | number;
|
|
513
513
|
labelSuffix: string;
|
|
514
514
|
hasLabel: boolean;
|
|
515
|
-
clearable: boolean;
|
|
516
|
-
colProps: Partial< Mutable<ColProps>>;
|
|
517
|
-
collapseDuration: number;
|
|
518
|
-
collapseTransition: boolean;
|
|
519
|
-
rowProps: Partial< Mutable<RowProps>>;
|
|
520
515
|
defaultValues: FieldValues;
|
|
516
|
+
rowProps: Partial< Mutable<RowProps>>;
|
|
517
|
+
colProps: Partial< Mutable<ColProps>>;
|
|
521
518
|
hasErrorTip: boolean;
|
|
522
519
|
hasFooter: boolean;
|
|
523
520
|
hasReset: boolean;
|
|
@@ -527,6 +524,9 @@ export declare const PlusForm: {
|
|
|
527
524
|
footerAlign: "right" | "left" | "center";
|
|
528
525
|
cardProps: Partial< Mutable<CardProps>>;
|
|
529
526
|
prevent: boolean;
|
|
527
|
+
collapseDuration: number;
|
|
528
|
+
collapseTransition: boolean;
|
|
529
|
+
clearable: boolean;
|
|
530
530
|
}, true, {}, {}, {
|
|
531
531
|
P: {};
|
|
532
532
|
B: {};
|
|
@@ -567,28 +567,16 @@ export declare const PlusForm: {
|
|
|
567
567
|
type: PropType<boolean>;
|
|
568
568
|
default: boolean;
|
|
569
569
|
};
|
|
570
|
-
|
|
571
|
-
type: PropType<
|
|
572
|
-
default: boolean;
|
|
573
|
-
};
|
|
574
|
-
colProps: {
|
|
575
|
-
type: PropType<Partial< Mutable<ColProps>>>;
|
|
570
|
+
defaultValues: {
|
|
571
|
+
type: PropType<FieldValues>;
|
|
576
572
|
default: () => {};
|
|
577
573
|
};
|
|
578
|
-
collapseDuration: {
|
|
579
|
-
type: PropType<number>;
|
|
580
|
-
default: undefined;
|
|
581
|
-
};
|
|
582
|
-
collapseTransition: {
|
|
583
|
-
type: PropType<boolean>;
|
|
584
|
-
default: undefined;
|
|
585
|
-
};
|
|
586
574
|
rowProps: {
|
|
587
575
|
type: PropType<Partial< Mutable<RowProps>>>;
|
|
588
576
|
default: () => {};
|
|
589
577
|
};
|
|
590
|
-
|
|
591
|
-
type: PropType<
|
|
578
|
+
colProps: {
|
|
579
|
+
type: PropType<Partial< Mutable<ColProps>>>;
|
|
592
580
|
default: () => {};
|
|
593
581
|
};
|
|
594
582
|
hasErrorTip: {
|
|
@@ -627,9 +615,21 @@ export declare const PlusForm: {
|
|
|
627
615
|
type: PropType<boolean>;
|
|
628
616
|
default: boolean;
|
|
629
617
|
};
|
|
618
|
+
collapseDuration: {
|
|
619
|
+
type: PropType<number>;
|
|
620
|
+
default: undefined;
|
|
621
|
+
};
|
|
622
|
+
collapseTransition: {
|
|
623
|
+
type: PropType<boolean>;
|
|
624
|
+
default: undefined;
|
|
625
|
+
};
|
|
626
|
+
clearable: {
|
|
627
|
+
type: PropType<boolean>;
|
|
628
|
+
default: boolean;
|
|
629
|
+
};
|
|
630
630
|
}>> & {
|
|
631
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
632
631
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
632
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
633
633
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
634
634
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
635
635
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
@@ -928,12 +928,9 @@ export declare const PlusForm: {
|
|
|
928
928
|
labelWidth: string | number;
|
|
929
929
|
labelSuffix: string;
|
|
930
930
|
hasLabel: boolean;
|
|
931
|
-
clearable: boolean;
|
|
932
|
-
colProps: Partial< Mutable<ColProps>>;
|
|
933
|
-
collapseDuration: number;
|
|
934
|
-
collapseTransition: boolean;
|
|
935
|
-
rowProps: Partial< Mutable<RowProps>>;
|
|
936
931
|
defaultValues: FieldValues;
|
|
932
|
+
rowProps: Partial< Mutable<RowProps>>;
|
|
933
|
+
colProps: Partial< Mutable<ColProps>>;
|
|
937
934
|
hasErrorTip: boolean;
|
|
938
935
|
hasFooter: boolean;
|
|
939
936
|
hasReset: boolean;
|
|
@@ -943,6 +940,9 @@ export declare const PlusForm: {
|
|
|
943
940
|
footerAlign: "right" | "left" | "center";
|
|
944
941
|
cardProps: Partial< Mutable<CardProps>>;
|
|
945
942
|
prevent: boolean;
|
|
943
|
+
collapseDuration: number;
|
|
944
|
+
collapseTransition: boolean;
|
|
945
|
+
clearable: boolean;
|
|
946
946
|
}>;
|
|
947
947
|
__isFragment?: undefined;
|
|
948
948
|
__isTeleport?: undefined;
|
|
@@ -980,28 +980,16 @@ export declare const PlusForm: {
|
|
|
980
980
|
type: PropType<boolean>;
|
|
981
981
|
default: boolean;
|
|
982
982
|
};
|
|
983
|
-
|
|
984
|
-
type: PropType<
|
|
985
|
-
default: boolean;
|
|
986
|
-
};
|
|
987
|
-
colProps: {
|
|
988
|
-
type: PropType<Partial< Mutable<ColProps>>>;
|
|
983
|
+
defaultValues: {
|
|
984
|
+
type: PropType<FieldValues>;
|
|
989
985
|
default: () => {};
|
|
990
986
|
};
|
|
991
|
-
collapseDuration: {
|
|
992
|
-
type: PropType<number>;
|
|
993
|
-
default: undefined;
|
|
994
|
-
};
|
|
995
|
-
collapseTransition: {
|
|
996
|
-
type: PropType<boolean>;
|
|
997
|
-
default: undefined;
|
|
998
|
-
};
|
|
999
987
|
rowProps: {
|
|
1000
988
|
type: PropType<Partial< Mutable<RowProps>>>;
|
|
1001
989
|
default: () => {};
|
|
1002
990
|
};
|
|
1003
|
-
|
|
1004
|
-
type: PropType<
|
|
991
|
+
colProps: {
|
|
992
|
+
type: PropType<Partial< Mutable<ColProps>>>;
|
|
1005
993
|
default: () => {};
|
|
1006
994
|
};
|
|
1007
995
|
hasErrorTip: {
|
|
@@ -1040,9 +1028,21 @@ export declare const PlusForm: {
|
|
|
1040
1028
|
type: PropType<boolean>;
|
|
1041
1029
|
default: boolean;
|
|
1042
1030
|
};
|
|
1031
|
+
collapseDuration: {
|
|
1032
|
+
type: PropType<number>;
|
|
1033
|
+
default: undefined;
|
|
1034
|
+
};
|
|
1035
|
+
collapseTransition: {
|
|
1036
|
+
type: PropType<boolean>;
|
|
1037
|
+
default: undefined;
|
|
1038
|
+
};
|
|
1039
|
+
clearable: {
|
|
1040
|
+
type: PropType<boolean>;
|
|
1041
|
+
default: boolean;
|
|
1042
|
+
};
|
|
1043
1043
|
}>> & {
|
|
1044
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1045
1044
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1045
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1046
1046
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1047
1047
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1048
1048
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
@@ -1348,12 +1348,9 @@ export declare const PlusForm: {
|
|
|
1348
1348
|
labelWidth: string | number;
|
|
1349
1349
|
labelSuffix: string;
|
|
1350
1350
|
hasLabel: boolean;
|
|
1351
|
-
clearable: boolean;
|
|
1352
|
-
colProps: Partial< Mutable<ColProps>>;
|
|
1353
|
-
collapseDuration: number;
|
|
1354
|
-
collapseTransition: boolean;
|
|
1355
|
-
rowProps: Partial< Mutable<RowProps>>;
|
|
1356
1351
|
defaultValues: FieldValues;
|
|
1352
|
+
rowProps: Partial< Mutable<RowProps>>;
|
|
1353
|
+
colProps: Partial< Mutable<ColProps>>;
|
|
1357
1354
|
hasErrorTip: boolean;
|
|
1358
1355
|
hasFooter: boolean;
|
|
1359
1356
|
hasReset: boolean;
|
|
@@ -1363,6 +1360,9 @@ export declare const PlusForm: {
|
|
|
1363
1360
|
footerAlign: "right" | "left" | "center";
|
|
1364
1361
|
cardProps: Partial< Mutable<CardProps>>;
|
|
1365
1362
|
prevent: boolean;
|
|
1363
|
+
collapseDuration: number;
|
|
1364
|
+
collapseTransition: boolean;
|
|
1365
|
+
clearable: boolean;
|
|
1366
1366
|
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
1367
1367
|
$slots: Partial<Record<string, (_: {
|
|
1368
1368
|
index: number;
|
|
@@ -1373,7 +1373,7 @@ export declare const PlusForm: {
|
|
|
1373
1373
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
1374
1374
|
columns?: PlusColumn[] | undefined;
|
|
1375
1375
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1376
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "
|
|
1376
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "fieldSlots" | "fieldChildrenSlot" | "modelValue" | "options" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
1377
1377
|
readonly label: string | ComputedRef<string>;
|
|
1378
1378
|
readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
1379
1379
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
@@ -1387,7 +1387,7 @@ export declare const PlusForm: {
|
|
|
1387
1387
|
style: CSSProperties;
|
|
1388
1388
|
rows: number;
|
|
1389
1389
|
autocomplete: string;
|
|
1390
|
-
type: "" | "number" | "default" | "search" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "
|
|
1390
|
+
type: "" | "number" | "default" | "search" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "time" | "image" | "line" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "range" | "dashboard" | "hidden" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
1391
1391
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1392
1392
|
step: string | number;
|
|
1393
1393
|
format: string | ProgressFn | undefined;
|
|
@@ -1448,7 +1448,7 @@ export declare const PlusForm: {
|
|
|
1448
1448
|
clearable: boolean;
|
|
1449
1449
|
index: number;
|
|
1450
1450
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1451
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "
|
|
1451
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "fieldSlots" | "fieldChildrenSlot" | "modelValue" | "options" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
1452
1452
|
readonly label: string | ComputedRef<string>;
|
|
1453
1453
|
readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
1454
1454
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
@@ -1462,7 +1462,7 @@ export declare const PlusForm: {
|
|
|
1462
1462
|
style: CSSProperties;
|
|
1463
1463
|
rows: number;
|
|
1464
1464
|
autocomplete: string;
|
|
1465
|
-
type: "" | "number" | "default" | "search" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "
|
|
1465
|
+
type: "" | "number" | "default" | "search" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "time" | "image" | "line" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "range" | "dashboard" | "hidden" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
1466
1466
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1467
1467
|
step: string | number;
|
|
1468
1468
|
format: string | ProgressFn | undefined;
|