ra-element 0.0.16 → 0.0.57
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 +8 -8
- package/docs/ra-auto-scroll.md +13 -0
- package/docs/ra-button.md +1 -0
- package/docs/ra-checkbox-group.md +8 -0
- package/docs/ra-dialog-select.md +5 -0
- package/docs/ra-dialog.md +1 -0
- package/docs/ra-form-item.md +5 -0
- package/docs/ra-form.md +13 -0
- package/docs/ra-help-tip.md +3 -0
- package/docs/ra-input.md +1 -0
- package/docs/ra-pagination.md +11 -0
- package/docs/ra-radio-group.md +8 -0
- package/docs/ra-select.md +10 -0
- package/docs/ra-svg.md +3 -0
- package/docs/ra-table.md +28 -0
- package/docs/ra-textarea.md +9 -0
- package/docs/ra-tooltip.md +3 -0
- package/docs/ra-tree-select.md +9 -0
- package/docs/ra-upload.md +31 -0
- package/lib/ra-button/index.vue.d.ts +11 -2
- package/lib/ra-date-picker/index.vue.d.ts +17 -4
- package/lib/ra-dialog/index.vue.d.ts +11 -2
- package/lib/ra-element.css +1 -1
- package/lib/ra-element.es.js +39015 -7626
- package/lib/ra-element.umd.js +61 -6
- package/lib/ra-form/type.d.ts +7 -0
- package/lib/ra-table/type.d.ts +16 -0
- package/package.json +74 -73
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export type tableColumnItemType = {
|
|
2
|
+
prop: string;
|
|
3
|
+
label: string;
|
|
4
|
+
width?: string | number;
|
|
5
|
+
appendStr?: string;
|
|
6
|
+
itemType?: string;
|
|
7
|
+
opShow?: (row?: any, label?: string, name?: string) => boolean;
|
|
8
|
+
format?: string;
|
|
9
|
+
slotName?: string;
|
|
10
|
+
componentName?: any;
|
|
11
|
+
align?: string;
|
|
12
|
+
showOverflowTooltip?: boolean;
|
|
13
|
+
buttons?: any;
|
|
14
|
+
click?: (row?: any) => void;
|
|
15
|
+
children?: tableColumnItemType[];
|
|
16
|
+
};
|
package/package.json
CHANGED
|
@@ -1,75 +1,76 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
"
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
2
|
+
"name": "ra-element",
|
|
3
|
+
"version": "0.0.57",
|
|
4
|
+
"author": "zhouhanwen",
|
|
5
|
+
"description": "基于 Vue3、Element Plus、ts 的如安组件库",
|
|
6
|
+
"private": false,
|
|
7
|
+
"type": "module",
|
|
8
|
+
"scripts": {
|
|
9
|
+
"dev": "vite",
|
|
10
|
+
"build": "run-p type-check \"build-only {@}\" --",
|
|
11
|
+
"preview": "vite preview",
|
|
12
|
+
"build-only": "vite build",
|
|
13
|
+
"type-check": "vue-tsc --build",
|
|
14
|
+
"lint": "eslint . --fix",
|
|
15
|
+
"format": "prettier --write src/",
|
|
16
|
+
"prepare": "husky"
|
|
17
|
+
},
|
|
18
|
+
"main": "dist/ra-element.umd.cjs",
|
|
19
|
+
"module": "dist/ra-element.es.js",
|
|
20
|
+
"types": "dist/index.d.ts",
|
|
21
|
+
"files": [
|
|
22
|
+
"lib",
|
|
23
|
+
"docs"
|
|
24
|
+
],
|
|
25
|
+
"lint-staged": {
|
|
26
|
+
"*.{ts,vue}": [
|
|
27
|
+
"npm run lint",
|
|
28
|
+
"prettier --write"
|
|
29
|
+
]
|
|
30
|
+
},
|
|
31
|
+
"dependencies": {
|
|
32
|
+
"@element-plus/icons-vue": "^2.3.1",
|
|
33
|
+
"@types/lodash-es": "^4.17.12",
|
|
34
|
+
"axios": "^1.10.0",
|
|
35
|
+
"element-plus": "^2.10.2",
|
|
36
|
+
"moment": "^2.30.1",
|
|
37
|
+
"pinia": "^3.0.3",
|
|
38
|
+
"qs": "^6.14.0",
|
|
39
|
+
"vue": "^3.5.17",
|
|
40
|
+
"vue-router": "^4.5.1",
|
|
41
|
+
"uuid": "^11.1.0"
|
|
42
|
+
},
|
|
43
|
+
"devDependencies": {
|
|
44
|
+
"@iconify-json/ep": "^1.2.2",
|
|
45
|
+
"@tsconfig/node22": "^22.0.2",
|
|
46
|
+
"@types/node": "^22.15.32",
|
|
47
|
+
"@vitejs/plugin-vue": "^6.0.0",
|
|
48
|
+
"@vue/eslint-config-prettier": "^10.2.0",
|
|
49
|
+
"@vue/eslint-config-typescript": "^14.5.1",
|
|
50
|
+
"@vue/tsconfig": "^0.7.0",
|
|
51
|
+
"autoprefixer": "^10.4.21",
|
|
52
|
+
"doc-vue": "^2.0.2",
|
|
53
|
+
"eslint": "^9.29.0",
|
|
54
|
+
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
55
|
+
"eslint-plugin-vue": "~10.2.0",
|
|
56
|
+
"husky": "^9.1.7",
|
|
57
|
+
"jiti": "^2.4.2",
|
|
58
|
+
"lint-staged": "^16.1.2",
|
|
59
|
+
"npm-run-all2": "^8.0.4",
|
|
60
|
+
"postcss-px-to-viewport-8-plugin": "^1.2.5",
|
|
61
|
+
"prettier": "3.5.3",
|
|
62
|
+
"rollup-plugin-visualizer": "^6.0.3",
|
|
63
|
+
"sass": "^1.89.2",
|
|
64
|
+
"typescript": "~5.8.0",
|
|
65
|
+
"unplugin-auto-import": "^19.3.0",
|
|
66
|
+
"unplugin-icons": "^22.1.0",
|
|
67
|
+
"unplugin-vue-components": "^28.8.0",
|
|
68
|
+
"vite": "^7.0.0",
|
|
69
|
+
"vite-plugin-compression": "^0.5.1",
|
|
70
|
+
"vite-plugin-dts": "^4.5.4",
|
|
71
|
+
"vite-plugin-imagemin": "^0.6.1",
|
|
72
|
+
"vite-plugin-style-to-vw": "^1.8.11",
|
|
73
|
+
"vite-plugin-vue-devtools": "^7.7.7",
|
|
74
|
+
"vue-tsc": "^2.2.10"
|
|
75
|
+
}
|
|
75
76
|
}
|