el-plus-crud 0.0.28 → 0.0.29
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 +2 -0
- package/dist/components/el-plus-form/util/validate.d.ts +15 -0
- package/dist/el-plus-crud.mjs +1747 -1741
- package/dist/el-plus-crud.umd.js +12 -12
- package/example/App.vue +63 -63
- package/lib/components/el-plus-form/ElPlusForm.vue +746 -743
- package/lib/components/el-plus-form/util/validate.ts +22 -0
- package/lib/config/index.ts +5 -4
- package/package.json +1 -1
- package/types/formList.d.ts +3 -1
- package/lib/components/el-plus-form/components/index.js +0 -17
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
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.29](https://github.com/KDJack/el-plus-crud/compare/v0.0.28...v0.0.29) (2023-08-01)
|
|
6
|
+
|
|
5
7
|
### [0.0.28](https://github.com/KDJack/el-plus-crud/compare/v0.0.27...v0.0.28) (2023-07-28)
|
|
6
8
|
|
|
7
9
|
### [0.0.27](https://github.com/KDJack/el-plus-crud/compare/v0.0.26...v0.0.27) (2023-07-28)
|
|
@@ -152,6 +152,14 @@ export declare const textarea: {
|
|
|
152
152
|
trigger: string;
|
|
153
153
|
validator: typeof validateTextarea;
|
|
154
154
|
}[];
|
|
155
|
+
/**
|
|
156
|
+
* 富文本编辑器
|
|
157
|
+
*/
|
|
158
|
+
export declare const editor: {
|
|
159
|
+
required: boolean;
|
|
160
|
+
trigger: string;
|
|
161
|
+
validator: typeof validateEditor;
|
|
162
|
+
}[];
|
|
155
163
|
/**
|
|
156
164
|
* 正整数校验
|
|
157
165
|
* @param rule
|
|
@@ -201,6 +209,13 @@ declare function validateUpload(rule: any, value: any, callback?: any): void;
|
|
|
201
209
|
* @param callback
|
|
202
210
|
*/
|
|
203
211
|
declare function validateTextarea(rule: any, value: any, callback?: any): void;
|
|
212
|
+
/**
|
|
213
|
+
* 富文本编辑器
|
|
214
|
+
* @param rule
|
|
215
|
+
* @param value
|
|
216
|
+
* @param callback
|
|
217
|
+
*/
|
|
218
|
+
declare function validateEditor(rule: any, value: any, callback?: any): void;
|
|
204
219
|
/**
|
|
205
220
|
* 小数校验规则
|
|
206
221
|
* @param rule
|