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.
@@ -0,0 +1,7 @@
1
+ export interface TypeOption {
2
+ prop: string;
3
+ label: string;
4
+ formType: string;
5
+ itemRatio: number;
6
+ [prop: string]: any;
7
+ }
@@ -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
- "name": "ra-element",
3
- "version": "0.0.16",
4
- "author": "zhouhanwen",
5
- "description": "基于 Vue3、Element Plus 的如安组件库",
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
- "axios": "^1.10.0",
34
- "element-plus": "^2.10.2",
35
- "lodash-es": "^4.17.21",
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
- },
42
- "devDependencies": {
43
- "@iconify-json/ep": "^1.2.2",
44
- "@tsconfig/node22": "^22.0.2",
45
- "@types/node": "^22.15.32",
46
- "@vitejs/plugin-vue": "^6.0.0",
47
- "@vue/eslint-config-prettier": "^10.2.0",
48
- "@vue/eslint-config-typescript": "^14.5.1",
49
- "@vue/tsconfig": "^0.7.0",
50
- "autoprefixer": "^10.4.21",
51
- "doc-vue": "^2.0.2",
52
- "eslint": "^9.29.0",
53
- "eslint-plugin-simple-import-sort": "^12.1.1",
54
- "eslint-plugin-vue": "~10.2.0",
55
- "husky": "^9.1.7",
56
- "jiti": "^2.4.2",
57
- "lint-staged": "^16.1.2",
58
- "npm-run-all2": "^8.0.4",
59
- "postcss-px-to-viewport-8-plugin": "^1.2.5",
60
- "prettier": "3.5.3",
61
- "rollup-plugin-visualizer": "^6.0.3",
62
- "sass": "^1.89.2",
63
- "typescript": "~5.8.0",
64
- "unplugin-auto-import": "^19.3.0",
65
- "unplugin-icons": "^22.1.0",
66
- "unplugin-vue-components": "^28.8.0",
67
- "vite": "^7.0.0",
68
- "vite-plugin-compression": "^0.5.1",
69
- "vite-plugin-dts": "^4.5.4",
70
- "vite-plugin-imagemin": "^0.6.1",
71
- "vite-plugin-style-to-vw": "^1.8.11",
72
- "vite-plugin-vue-devtools": "^7.7.7",
73
- "vue-tsc": "^2.2.10"
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
  }