el-plus-crud 0.0.15 → 0.0.17
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/CHANGELOG.md +4 -0
- package/dist/components/el-plus-form/ElPlusFormGroup.vue.d.ts +39 -0
- package/dist/components/el-plus-form/components/ElPlusFormPassword.vue.d.ts +57 -0
- package/dist/el-plus-crud.mjs +3049 -2934
- package/dist/el-plus-crud.umd.js +12 -12
- package/dist/index.d.ts +1 -3
- package/dist/style.css +1 -1
- package/example/App.vue +44 -60
- package/lib/components/el-plus-form/ElPlusForm.vue +3 -3
- package/lib/components/el-plus-form/ElPlusFormGroup.vue +99 -0
- package/lib/components/el-plus-form/components/ElPlusFormArea.vue +63 -59
- package/lib/components/el-plus-form/components/ElPlusFormInput.vue +1 -0
- package/lib/components/el-plus-form/components/ElPlusFormPassword.vue +41 -0
- package/lib/components/el-plus-form/components/ElPlusFormUpload.vue +6 -2
- package/lib/components/el-plus-form/components/components/file-icons/FileIcons.vue +1 -1
- package/lib/components/el-plus-form/util/validate.ts +1 -1
- package/lib/components-list.ts +2 -0
- package/lib/index.ts +3 -1
- package/package.json +2 -2
- package/tsconfig.json +11 -1
- package/types/formList.d.ts +36 -10
- package/types/global.d.ts +145 -145
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [0.0.17](https://github.com/KDJack/el-plus-crud/compare/v0.0.16...v0.0.17) (2023-07-13)
|
|
6
|
+
|
|
7
|
+
### [0.0.16](https://github.com/KDJack/el-plus-crud/compare/v0.0.15...v0.0.16) (2023-07-13)
|
|
8
|
+
|
|
5
9
|
### [0.0.15](https://github.com/KDJack/el-plus-crud/compare/v0.0.14...v0.0.15) (2023-07-11)
|
|
6
10
|
|
|
7
11
|
### [0.0.14](https://github.com/KDJack/el-plus-crud/compare/v0.0.13...v0.0.14) (2023-07-11)
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
modelValue: {
|
|
3
|
+
type: import("vue").PropType<{} | {
|
|
4
|
+
[key: string]: any;
|
|
5
|
+
}>;
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
formGroup: {
|
|
9
|
+
type: import("vue").PropType<IFormGroupConfig>;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
isLoading: {
|
|
13
|
+
type: import("vue").PropType<boolean>;
|
|
14
|
+
};
|
|
15
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("request" | "update:show" | "update:modelValue" | "before-validate" | "before-request" | "request-success" | "request-error" | "request-end")[], "request" | "update:show" | "update:modelValue" | "before-validate" | "before-request" | "request-success" | "request-error" | "request-end", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
16
|
+
modelValue: {
|
|
17
|
+
type: import("vue").PropType<{} | {
|
|
18
|
+
[key: string]: any;
|
|
19
|
+
}>;
|
|
20
|
+
required: true;
|
|
21
|
+
};
|
|
22
|
+
formGroup: {
|
|
23
|
+
type: import("vue").PropType<IFormGroupConfig>;
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
isLoading: {
|
|
27
|
+
type: import("vue").PropType<boolean>;
|
|
28
|
+
};
|
|
29
|
+
}>> & {
|
|
30
|
+
onRequest?: ((...args: any[]) => any) | undefined;
|
|
31
|
+
"onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
|
32
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
33
|
+
"onBefore-validate"?: ((...args: any[]) => any) | undefined;
|
|
34
|
+
"onBefore-request"?: ((...args: any[]) => any) | undefined;
|
|
35
|
+
"onRequest-success"?: ((...args: any[]) => any) | undefined;
|
|
36
|
+
"onRequest-error"?: ((...args: any[]) => any) | undefined;
|
|
37
|
+
"onRequest-end"?: ((...args: any[]) => any) | undefined;
|
|
38
|
+
}, {}, {}>;
|
|
39
|
+
export default _default;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
|
+
modelValue: {
|
|
3
|
+
type: import("vue").PropType<string | number | null>;
|
|
4
|
+
};
|
|
5
|
+
field: {
|
|
6
|
+
type: import("vue").PropType<string>;
|
|
7
|
+
required: true;
|
|
8
|
+
};
|
|
9
|
+
loading: {
|
|
10
|
+
type: import("vue").PropType<boolean>;
|
|
11
|
+
};
|
|
12
|
+
desc: {
|
|
13
|
+
type: import("vue").PropType<{
|
|
14
|
+
[key: string]: any;
|
|
15
|
+
}>;
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
formData: {
|
|
19
|
+
type: import("vue").PropType<{
|
|
20
|
+
[key: string]: any;
|
|
21
|
+
}>;
|
|
22
|
+
required: true;
|
|
23
|
+
};
|
|
24
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
25
|
+
modelValue: {
|
|
26
|
+
type: import("vue").PropType<string | number | null>;
|
|
27
|
+
};
|
|
28
|
+
field: {
|
|
29
|
+
type: import("vue").PropType<string>;
|
|
30
|
+
required: true;
|
|
31
|
+
};
|
|
32
|
+
loading: {
|
|
33
|
+
type: import("vue").PropType<boolean>;
|
|
34
|
+
};
|
|
35
|
+
desc: {
|
|
36
|
+
type: import("vue").PropType<{
|
|
37
|
+
[key: string]: any;
|
|
38
|
+
}>;
|
|
39
|
+
required: true;
|
|
40
|
+
};
|
|
41
|
+
formData: {
|
|
42
|
+
type: import("vue").PropType<{
|
|
43
|
+
[key: string]: any;
|
|
44
|
+
}>;
|
|
45
|
+
required: true;
|
|
46
|
+
};
|
|
47
|
+
}>> & {
|
|
48
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
49
|
+
}, {}, {}>, Partial<Record<number, (_: {
|
|
50
|
+
data: any;
|
|
51
|
+
}) => any>>>;
|
|
52
|
+
export default _default;
|
|
53
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
54
|
+
new (): {
|
|
55
|
+
$slots: S;
|
|
56
|
+
};
|
|
57
|
+
};
|