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,63 +1,63 @@
1
- /**
2
- * 能够上传的图片类型
3
- */
4
- export declare const imageTypes: string[]
5
- /**
6
- * 能够上传的图片后缀名称
7
- */
8
- export declare const imageSuffixes: string[]
9
- /**
10
- * 能够上传的视频类型
11
- */
12
- export declare const videoTypes: string[]
13
- /**
14
- * 能够上传的视频后缀名称
15
- */
16
- export declare const videoSuffixes: string[]
17
- /**
18
- * 能够上传的音频类型
19
- */
20
- export declare const audioTypes: string[]
21
- /**
22
- * 能够上传的音频后缀名称
23
- */
24
- export declare const audioSuffixes: string[]
25
- /**
26
- * 能够上传的文档类型
27
- */
28
- export declare const officeTypes: string[]
29
- /**
30
- * 能够上传的文档后缀名称
31
- */
32
- export declare const officeSuffixes: string[]
33
- /**
34
- * 能够上传的文档类型
35
- */
36
- export declare const textTypes: string[]
37
- /**
38
- * 能够上传的文档后缀名称
39
- */
40
- export declare const textSuffixes: string[]
41
- /**
42
- * 能够上传的文档类型
43
- */
44
- export declare const otherTypes: string[]
45
- /**
46
- * 能够上传的文档后缀
47
- */
48
- export declare const otherSuffixes: string[]
49
- /**
50
- * 能够上传的文件类型
51
- */
52
- export declare const fileTypes: string[]
53
- /**
54
- * 能够上传的文件后缀
55
- */
56
- export declare const fileSuffixes: string[]
57
- /**
58
- * 文档后缀对应的类型
59
- */
60
- export declare const suffixTypes: {
61
- type: string
62
- suffixes: string[]
63
- }[]
1
+ /**
2
+ * 能够上传的图片类型
3
+ */
4
+ export declare const imageTypes: string[];
5
+ /**
6
+ * 能够上传的图片后缀名称
7
+ */
8
+ export declare const imageSuffixes: string[];
9
+ /**
10
+ * 能够上传的视频类型
11
+ */
12
+ export declare const videoTypes: string[];
13
+ /**
14
+ * 能够上传的视频后缀名称
15
+ */
16
+ export declare const videoSuffixes: string[];
17
+ /**
18
+ * 能够上传的音频类型
19
+ */
20
+ export declare const audioTypes: string[];
21
+ /**
22
+ * 能够上传的音频后缀名称
23
+ */
24
+ export declare const audioSuffixes: string[];
25
+ /**
26
+ * 能够上传的文档类型
27
+ */
28
+ export declare const officeTypes: string[];
29
+ /**
30
+ * 能够上传的文档后缀名称
31
+ */
32
+ export declare const officeSuffixes: string[];
33
+ /**
34
+ * 能够上传的文档类型
35
+ */
36
+ export declare const textTypes: string[];
37
+ /**
38
+ * 能够上传的文档后缀名称
39
+ */
40
+ export declare const textSuffixes: string[];
41
+ /**
42
+ * 能够上传的文档类型
43
+ */
44
+ export declare const otherTypes: string[];
45
+ /**
46
+ * 能够上传的文档后缀
47
+ */
48
+ export declare const otherSuffixes: string[];
49
+ /**
50
+ * 能够上传的文件类型
51
+ */
52
+ export declare const fileTypes: string[];
53
+ /**
54
+ * 能够上传的文件后缀
55
+ */
56
+ export declare const fileSuffixes: string[];
57
+ /**
58
+ * 文档后缀对应的类型
59
+ */
60
+ export declare const suffixTypes: {
61
+ type: string;
62
+ suffixes: string[];
63
+ }[];
@@ -1,33 +1,28 @@
1
- export interface IMixinsProps {
2
- modelValue?: any
3
- field: string
4
- rowIndex?: number
5
- loading?: boolean
6
- desc: {
7
- [key: string]: any
8
- }
9
- formData: {
10
- [key: string]: any
11
- }
12
- isMobile?: boolean
13
- defineEmits?: any
14
- }
15
- /**
16
- * 获取属性
17
- * @param props
18
- * @param customAttrs
19
- * @returns
20
- */
21
- export declare const getAttrs: (
22
- props: IMixinsProps,
23
- customAttrs?:
24
- | {
25
- [key: string]: any
26
- }
27
- | undefined
28
- ) => Promise<any>
29
- /**
30
- * 获取事件
31
- * @returns
32
- */
33
- export declare const getEvents: (props: IMixinsProps) => any
1
+ export interface IMixinsProps {
2
+ modelValue?: any;
3
+ field: string;
4
+ rowIndex?: number;
5
+ loading?: boolean;
6
+ desc: {
7
+ [key: string]: any;
8
+ };
9
+ formData: {
10
+ [key: string]: any;
11
+ };
12
+ isMobile?: boolean;
13
+ defineEmits?: any;
14
+ }
15
+ /**
16
+ * 获取属性
17
+ * @param props
18
+ * @param customAttrs
19
+ * @returns
20
+ */
21
+ export declare const getAttrs: (props: IMixinsProps, customAttrs?: {
22
+ [key: string]: any;
23
+ } | undefined) => Promise<any>;
24
+ /**
25
+ * 获取事件
26
+ * @returns
27
+ */
28
+ export declare const getEvents: (props: IMixinsProps) => any;
@@ -1,47 +1,47 @@
1
- export declare function isDef(val: any): boolean
2
- export declare function isUnDef(val: any): boolean
3
- export declare function isFunction(val: any): boolean
4
- /**
5
- * 获取随机字符串
6
- * @returns {string}
7
- */
8
- export declare function getUID(): string
9
- /**
10
- * 判断是否是移动端
11
- */
12
- export declare function isMobile(): boolean
13
- export declare function is(val: any, type: any): boolean
14
- export declare function getSize(elem: any): {
15
- width: any
16
- height: any
17
- }
18
- export declare function castArray(value: any): any
19
- export declare function castCategory(value: any, formData: any): any[]
20
- export declare function castFileList(value: any): any
21
- export declare function castString(value: any): any
22
- export declare function castBoolean(value: any): boolean
23
- export declare function castNumber(value: any): number
24
- export declare function isEmpty(val: any): boolean
25
- /**
26
- * 格式化表单字段
27
- * @param formData
28
- * @param formDesc
29
- */
30
- export declare function valueFormat(formData: any, formDesc: any): void
31
- /**
32
- *
33
- * @param val 数组转字符串
34
- */
35
- export declare function arrayToStr(val: any): string
36
- /**
37
- * 裁剪长度
38
- * @param str
39
- * @param len
40
- * @param isTransHz 是否转换汉字长度为2个英文字母长度
41
- */
42
- export declare const cutString: (str: string | undefined, len: number, isTransHz?: boolean) => string
43
- /**
44
- * 获取字符串长度
45
- * @type {(p1?:*)}
46
- */
47
- export declare const getStrLength: (str: any) => number
1
+ export declare function isDef(val: any): boolean;
2
+ export declare function isUnDef(val: any): boolean;
3
+ export declare function isFunction(val: any): boolean;
4
+ /**
5
+ * 获取随机字符串
6
+ * @returns {string}
7
+ */
8
+ export declare function getUID(): string;
9
+ /**
10
+ * 判断是否是移动端
11
+ */
12
+ export declare function isMobile(): boolean;
13
+ export declare function is(val: any, type: any): boolean;
14
+ export declare function getSize(elem: any): {
15
+ width: any;
16
+ height: any;
17
+ };
18
+ export declare function castArray(value: any): any;
19
+ export declare function castCategory(value: any, formData: any): any[];
20
+ export declare function castFileList(value: any): any;
21
+ export declare function castString(value: any): any;
22
+ export declare function castBoolean(value: any): boolean;
23
+ export declare function castNumber(value: any): number;
24
+ export declare function isEmpty(val: any): boolean;
25
+ /**
26
+ * 格式化表单字段
27
+ * @param formData
28
+ * @param formDesc
29
+ */
30
+ export declare function valueFormat(formData: any, formDesc: any): void;
31
+ /**
32
+ *
33
+ * @param val 数组转字符串
34
+ */
35
+ export declare function arrayToStr(val: any): string;
36
+ /**
37
+ * 裁剪长度
38
+ * @param str
39
+ * @param len
40
+ * @param isTransHz 是否转换汉字长度为2个英文字母长度
41
+ */
42
+ export declare const cutString: (str: string | undefined, len: number, isTransHz?: boolean) => string;
43
+ /**
44
+ * 获取字符串长度
45
+ * @type {(p1?:*)}
46
+ */
47
+ export declare const getStrLength: (str: any) => number;