el-plus-crud 0.0.20 → 0.0.21

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.
Files changed (58) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/dist/components/el-plus-form/ElPlusForm.vue.d.ts +320 -357
  3. package/dist/components/el-plus-form/ElPlusFormDialog.vue.d.ts +74 -101
  4. package/dist/components/el-plus-form/ElPlusFormGroup.vue.d.ts +39 -61
  5. package/dist/components/el-plus-form/components/ElPlusFormArea.vue.d.ts +44 -60
  6. package/dist/components/el-plus-form/components/ElPlusFormAutocomplete.vue.d.ts +55 -70
  7. package/dist/components/el-plus-form/components/ElPlusFormBtn.vue.d.ts +44 -60
  8. package/dist/components/el-plus-form/components/ElPlusFormBtns.vue.d.ts +42 -58
  9. package/dist/components/el-plus-form/components/ElPlusFormCascader.vue.d.ts +44 -60
  10. package/dist/components/el-plus-form/components/ElPlusFormCascaderPanel.vue.d.ts +51 -68
  11. package/dist/components/el-plus-form/components/ElPlusFormCheckbox.vue.d.ts +44 -60
  12. package/dist/components/el-plus-form/components/ElPlusFormCheckboxButton.vue.d.ts +44 -60
  13. package/dist/components/el-plus-form/components/ElPlusFormColor.vue.d.ts +44 -60
  14. package/dist/components/el-plus-form/components/ElPlusFormDate.vue.d.ts +44 -60
  15. package/dist/components/el-plus-form/components/ElPlusFormDaterange.vue.d.ts +51 -68
  16. package/dist/components/el-plus-form/components/ElPlusFormDatetime.vue.d.ts +44 -60
  17. package/dist/components/el-plus-form/components/ElPlusFormFile.vue.d.ts +48 -64
  18. package/dist/components/el-plus-form/components/ElPlusFormImage.vue.d.ts +48 -64
  19. package/dist/components/el-plus-form/components/ElPlusFormInput.vue.d.ts +50 -69
  20. package/dist/components/el-plus-form/components/ElPlusFormLink.vue.d.ts +53 -69
  21. package/dist/components/el-plus-form/components/ElPlusFormNbinput.vue.d.ts +61 -80
  22. package/dist/components/el-plus-form/components/ElPlusFormNumber.vue.d.ts +57 -73
  23. package/dist/components/el-plus-form/components/ElPlusFormPassword.vue.d.ts +57 -74
  24. package/dist/components/el-plus-form/components/ElPlusFormQuickInput.vue.d.ts +51 -67
  25. package/dist/components/el-plus-form/components/ElPlusFormRadio.vue.d.ts +44 -60
  26. package/dist/components/el-plus-form/components/ElPlusFormRate.vue.d.ts +44 -60
  27. package/dist/components/el-plus-form/components/ElPlusFormSelect.vue.d.ts +56 -72
  28. package/dist/components/el-plus-form/components/ElPlusFormSlider.vue.d.ts +44 -60
  29. package/dist/components/el-plus-form/components/ElPlusFormStatus.vue.d.ts +44 -60
  30. package/dist/components/el-plus-form/components/ElPlusFormSwitch.vue.d.ts +50 -66
  31. package/dist/components/el-plus-form/components/ElPlusFormTag.vue.d.ts +48 -64
  32. package/dist/components/el-plus-form/components/ElPlusFormText.vue.d.ts +48 -64
  33. package/dist/components/el-plus-form/components/ElPlusFormTextarea.vue.d.ts +51 -67
  34. package/dist/components/el-plus-form/components/ElPlusFormTransfer.vue.d.ts +57 -74
  35. package/dist/components/el-plus-form/components/ElPlusFormTree.vue.d.ts +50 -66
  36. package/dist/components/el-plus-form/components/ElPlusFormTreeSelect.vue.d.ts +50 -66
  37. package/dist/components/el-plus-form/components/ElPlusFormUpload.vue.d.ts +51 -67
  38. package/dist/components/el-plus-form/components/components/file-icons/FileIcons.vue.d.ts +42 -58
  39. package/dist/components/el-plus-form/components/components/file-icons/data/index.d.ts +15 -15
  40. package/dist/components/el-plus-form/components/index.d.ts +3 -3
  41. package/dist/components/el-plus-form/data/file.d.ts +63 -63
  42. package/dist/components/el-plus-form/mixins/index.d.ts +28 -33
  43. package/dist/components/el-plus-form/util/index.d.ts +47 -47
  44. package/dist/components/el-plus-form/util/validate.d.ts +253 -256
  45. package/dist/components/el-plus-table/ElPlusTable.vue.d.ts +155 -171
  46. package/dist/components/el-plus-table/components/columnItem.vue.d.ts +42 -58
  47. package/dist/components/el-plus-table/components/header.vue.d.ts +93 -115
  48. package/dist/components/el-plus-table/components/settingColumn.vue.d.ts +28 -44
  49. package/dist/components/el-plus-table/util/index.d.ts +26 -26
  50. package/dist/components-list.d.ts +2 -2
  51. package/dist/config/index.d.ts +2 -2
  52. package/dist/el-plus-crud.mjs +931 -925
  53. package/dist/el-plus-crud.umd.js +25 -7608
  54. package/dist/index.d.ts +9 -18
  55. package/dist/style.css +1 -1
  56. package/lib/components/el-plus-form/components/ElPlusFormTree.vue +25 -2
  57. package/lib/components-list.ts +34 -34
  58. package/package.json +1 -1
@@ -1,256 +1,253 @@
1
- /**
2
- * 获取通用的校验规则
3
- */
4
- /**
5
- * 不能为空
6
- */
7
- export declare const notNull: {
8
- required: boolean
9
- trigger: string
10
- validator: typeof validateInputNotNull
11
- }[]
12
- /**
13
- * 不能全是空格
14
- */
15
- export declare const notAllBlank: {
16
- required: boolean
17
- trigger: string
18
- validator: typeof validateInputNotAllBlank
19
- }[]
20
- /**
21
- * 必须是数字
22
- */
23
- export declare const number: {
24
- type: string
25
- message: string
26
- }[]
27
- /**
28
- * 校验验证码
29
- */
30
- export declare const vCode: {
31
- required: boolean
32
- trigger: string
33
- validator: typeof validateValidateCode
34
- }[]
35
- /**
36
- * 校验邮箱
37
- */
38
- export declare const email: {
39
- trigger: string
40
- validator: typeof validateEmail
41
- }[]
42
- /**
43
- * 校验手机号
44
- */
45
- export declare const phone: {
46
- required: boolean
47
- trigger: string
48
- validator: typeof validatePhone
49
- }[]
50
- /**
51
- * 校验密码
52
- */
53
- export declare const password: {
54
- required: boolean
55
- trigger: string
56
- validator: typeof validatePassword
57
- }[]
58
- /**
59
- * 校验密码
60
- */
61
- export declare const password2: {
62
- trigger: string
63
- validator: typeof validatePassword
64
- }[]
65
- /**
66
- * 校验账户
67
- */
68
- export declare const account: {
69
- required: boolean
70
- trigger: string
71
- validator: typeof validateAccount
72
- }[]
73
- /**
74
- * 校验英文字母加数字
75
- */
76
- export declare const wordnum: {
77
- trigger: string
78
- validator: typeof validateWordNumber
79
- }[]
80
- export declare const wordnum2: {
81
- required: boolean
82
- trigger: string
83
- validator: typeof validateWordNumber
84
- }[]
85
- /**
86
- * 必须是数字且不为空
87
- */
88
- export declare const numberNotNull: (
89
- | {
90
- required: boolean
91
- message: string
92
- trigger: string
93
- type?: undefined
94
- }
95
- | {
96
- type: string
97
- message: string
98
- required?: undefined
99
- trigger?: undefined
100
- }
101
- )[]
102
- /**
103
- * 正整数
104
- */
105
- export declare const zhengZhengShu: {
106
- required: boolean
107
- trigger: string
108
- validator: typeof validateZhengZhengShu
109
- }[]
110
- /**
111
- * Double类型
112
- */
113
- export declare const double: {
114
- required: boolean
115
- trigger: string
116
- validator: typeof validateDouble
117
- }[]
118
- /**
119
- * Double类型且必填
120
- */
121
- export declare const double2: {
122
- trigger: string
123
- validator: typeof validateDouble
124
- }[]
125
- /**
126
- * 选择
127
- */
128
- export declare const select: {
129
- required: boolean
130
- trigger: string
131
- validator: typeof validateSelect
132
- }[]
133
- /**
134
- * 级联选择
135
- * @type {[*]}
136
- */
137
- export declare const cascader: {
138
- required: boolean
139
- trigger: string
140
- validator: typeof validateSelect
141
- }[]
142
- /**
143
- * 必须上传
144
- */
145
- export declare const upload: {
146
- required: boolean
147
- trigger: string
148
- validator: typeof validateUpload
149
- }[]
150
- /**
151
- * 文本域
152
- */
153
- export declare const textarea: {
154
- required: boolean
155
- trigger: string
156
- validator: typeof validateTextarea
157
- }[]
158
- /**
159
- * 正整数校验
160
- * @param rule
161
- * @param value
162
- * @param callback
163
- */
164
- declare function validateZhengZhengShu(rule: any, value: any, callback?: any): void
165
- /**
166
- * 选择
167
- * @param rule
168
- * @param value
169
- * @param callback
170
- */
171
- declare function validateValidateCode(rule: any, value: any, callback?: any): void
172
- /**
173
- * 选择
174
- * @param rule
175
- * @param value
176
- * @param callback
177
- */
178
- declare function validateInputNotNull(rule: any, value: any, callback?: any): void
179
- /**
180
- * 不能全是空格
181
- * @param rule
182
- * @param value
183
- * @param callback
184
- */
185
- declare function validateInputNotAllBlank(rule: any, value: any, callback?: any): void
186
- /**
187
- * 选择
188
- * @param rule
189
- * @param value
190
- * @param callback
191
- */
192
- declare function validateSelect(rule: any, value: any, callback?: any): void
193
- /**
194
- * 上传
195
- * @param rule
196
- * @param value
197
- * @param callback
198
- */
199
- declare function validateUpload(rule: any, value: any, callback?: any): void
200
- /**
201
- * 文本域
202
- * @param rule
203
- * @param value
204
- * @param callback
205
- */
206
- declare function validateTextarea(rule: any, value: any, callback?: any): void
207
- /**
208
- * 小数校验规则
209
- * @param rule
210
- * @param value
211
- * @param callback
212
- */
213
- declare function validateDouble(rule: any, value: any, callback?: any): void
214
- /**
215
- * 校验邮箱
216
- * @param rule
217
- * @param value
218
- * @param callback
219
- */
220
- declare function validateEmail(rule: any, value: any, callback?: any): void
221
- /**
222
- * 校验手机号
223
- * @param rule
224
- * @param value
225
- * @param callback
226
- */
227
- declare function validatePhone(rule: any, value: any, callback?: any): void
228
- /**
229
- * 校验密码
230
- * @param rule
231
- * @param value
232
- * @param callback
233
- */
234
- export declare function validatePassword(rule: any, value: any, callback?: any): void
235
- /**
236
- * 校验密码
237
- * @param rule
238
- * @param value
239
- * @param callback
240
- */
241
- export declare function validatePassword2(rule: any, value: any, callback?: any): void
242
- /**
243
- * 校验账户
244
- * @param rule
245
- * @param value
246
- * @param callback
247
- */
248
- declare function validateAccount(rule: any, value: any, callback?: any): void
249
- /**
250
- * 校验字母和数字组成
251
- * @param rule
252
- * @param value
253
- * @param callback
254
- */
255
- declare function validateWordNumber(rule: any, value: any, callback?: any): void
256
- export {}
1
+ /**
2
+ * 获取通用的校验规则
3
+ */
4
+ /**
5
+ * 不能为空
6
+ */
7
+ export declare const notNull: {
8
+ required: boolean;
9
+ trigger: string;
10
+ validator: typeof validateInputNotNull;
11
+ }[];
12
+ /**
13
+ * 不能全是空格
14
+ */
15
+ export declare const notAllBlank: {
16
+ required: boolean;
17
+ trigger: string;
18
+ validator: typeof validateInputNotAllBlank;
19
+ }[];
20
+ /**
21
+ * 必须是数字
22
+ */
23
+ export declare const number: {
24
+ type: string;
25
+ message: string;
26
+ }[];
27
+ /**
28
+ * 校验验证码
29
+ */
30
+ export declare const vCode: {
31
+ required: boolean;
32
+ trigger: string;
33
+ validator: typeof validateValidateCode;
34
+ }[];
35
+ /**
36
+ * 校验邮箱
37
+ */
38
+ export declare const email: {
39
+ trigger: string;
40
+ validator: typeof validateEmail;
41
+ }[];
42
+ /**
43
+ * 校验手机号
44
+ */
45
+ export declare const phone: {
46
+ required: boolean;
47
+ trigger: string;
48
+ validator: typeof validatePhone;
49
+ }[];
50
+ /**
51
+ * 校验密码
52
+ */
53
+ export declare const password: {
54
+ required: boolean;
55
+ trigger: string;
56
+ validator: typeof validatePassword;
57
+ }[];
58
+ /**
59
+ * 校验密码
60
+ */
61
+ export declare const password2: {
62
+ trigger: string;
63
+ validator: typeof validatePassword;
64
+ }[];
65
+ /**
66
+ * 校验账户
67
+ */
68
+ export declare const account: {
69
+ required: boolean;
70
+ trigger: string;
71
+ validator: typeof validateAccount;
72
+ }[];
73
+ /**
74
+ * 校验英文字母加数字
75
+ */
76
+ export declare const wordnum: {
77
+ trigger: string;
78
+ validator: typeof validateWordNumber;
79
+ }[];
80
+ export declare const wordnum2: {
81
+ required: boolean;
82
+ trigger: string;
83
+ validator: typeof validateWordNumber;
84
+ }[];
85
+ /**
86
+ * 必须是数字且不为空
87
+ */
88
+ export declare const numberNotNull: ({
89
+ required: boolean;
90
+ message: string;
91
+ trigger: string;
92
+ type?: undefined;
93
+ } | {
94
+ type: string;
95
+ message: string;
96
+ required?: undefined;
97
+ trigger?: undefined;
98
+ })[];
99
+ /**
100
+ * 正整数
101
+ */
102
+ export declare const zhengZhengShu: {
103
+ required: boolean;
104
+ trigger: string;
105
+ validator: typeof validateZhengZhengShu;
106
+ }[];
107
+ /**
108
+ * Double类型
109
+ */
110
+ export declare const double: {
111
+ required: boolean;
112
+ trigger: string;
113
+ validator: typeof validateDouble;
114
+ }[];
115
+ /**
116
+ * Double类型且必填
117
+ */
118
+ export declare const double2: {
119
+ trigger: string;
120
+ validator: typeof validateDouble;
121
+ }[];
122
+ /**
123
+ * 选择
124
+ */
125
+ export declare const select: {
126
+ required: boolean;
127
+ trigger: string;
128
+ validator: typeof validateSelect;
129
+ }[];
130
+ /**
131
+ * 级联选择
132
+ * @type {[*]}
133
+ */
134
+ export declare const cascader: {
135
+ required: boolean;
136
+ trigger: string;
137
+ validator: typeof validateSelect;
138
+ }[];
139
+ /**
140
+ * 必须上传
141
+ */
142
+ export declare const upload: {
143
+ required: boolean;
144
+ trigger: string;
145
+ validator: typeof validateUpload;
146
+ }[];
147
+ /**
148
+ * 文本域
149
+ */
150
+ export declare const textarea: {
151
+ required: boolean;
152
+ trigger: string;
153
+ validator: typeof validateTextarea;
154
+ }[];
155
+ /**
156
+ * 正整数校验
157
+ * @param rule
158
+ * @param value
159
+ * @param callback
160
+ */
161
+ declare function validateZhengZhengShu(rule: any, value: any, callback?: any): void;
162
+ /**
163
+ * 选择
164
+ * @param rule
165
+ * @param value
166
+ * @param callback
167
+ */
168
+ declare function validateValidateCode(rule: any, value: any, callback?: any): void;
169
+ /**
170
+ * 选择
171
+ * @param rule
172
+ * @param value
173
+ * @param callback
174
+ */
175
+ declare function validateInputNotNull(rule: any, value: any, callback?: any): void;
176
+ /**
177
+ * 不能全是空格
178
+ * @param rule
179
+ * @param value
180
+ * @param callback
181
+ */
182
+ declare function validateInputNotAllBlank(rule: any, value: any, callback?: any): void;
183
+ /**
184
+ * 选择
185
+ * @param rule
186
+ * @param value
187
+ * @param callback
188
+ */
189
+ declare function validateSelect(rule: any, value: any, callback?: any): void;
190
+ /**
191
+ * 上传
192
+ * @param rule
193
+ * @param value
194
+ * @param callback
195
+ */
196
+ declare function validateUpload(rule: any, value: any, callback?: any): void;
197
+ /**
198
+ * 文本域
199
+ * @param rule
200
+ * @param value
201
+ * @param callback
202
+ */
203
+ declare function validateTextarea(rule: any, value: any, callback?: any): void;
204
+ /**
205
+ * 小数校验规则
206
+ * @param rule
207
+ * @param value
208
+ * @param callback
209
+ */
210
+ declare function validateDouble(rule: any, value: any, callback?: any): void;
211
+ /**
212
+ * 校验邮箱
213
+ * @param rule
214
+ * @param value
215
+ * @param callback
216
+ */
217
+ declare function validateEmail(rule: any, value: any, callback?: any): void;
218
+ /**
219
+ * 校验手机号
220
+ * @param rule
221
+ * @param value
222
+ * @param callback
223
+ */
224
+ declare function validatePhone(rule: any, value: any, callback?: any): void;
225
+ /**
226
+ * 校验密码
227
+ * @param rule
228
+ * @param value
229
+ * @param callback
230
+ */
231
+ export declare function validatePassword(rule: any, value: any, callback?: any): void;
232
+ /**
233
+ * 校验密码
234
+ * @param rule
235
+ * @param value
236
+ * @param callback
237
+ */
238
+ export declare function validatePassword2(rule: any, value: any, callback?: any): void;
239
+ /**
240
+ * 校验账户
241
+ * @param rule
242
+ * @param value
243
+ * @param callback
244
+ */
245
+ declare function validateAccount(rule: any, value: any, callback?: any): void;
246
+ /**
247
+ * 校验字母和数字组成
248
+ * @param rule
249
+ * @param value
250
+ * @param callback
251
+ */
252
+ declare function validateWordNumber(rule: any, value: any, callback?: any): void;
253
+ export {};