vue3-curd 1.0.1

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 (48) hide show
  1. package/dist/index.d.ts +6 -0
  2. package/dist/src/api/app/translation/index.d.ts +9 -0
  3. package/dist/src/api/app/translation/types.d.ts +24 -0
  4. package/dist/src/api/system/commonDict/data/index.d.ts +8 -0
  5. package/dist/src/api/system/commonDict/data/types.d.ts +24 -0
  6. package/dist/src/api/system/dict/data/index.d.ts +8 -0
  7. package/dist/src/api/system/dict/data/types.d.ts +24 -0
  8. package/dist/src/api/system/oss/index.d.ts +6 -0
  9. package/dist/src/api/system/oss/types.d.ts +21 -0
  10. package/dist/src/components/CURD/composables/useDictData.d.ts +6 -0
  11. package/dist/src/components/CURD/composables/useFormData.d.ts +6 -0
  12. package/dist/src/components/CURD/composables/useTableData.d.ts +30 -0
  13. package/dist/src/components/CURD/constants.d.ts +20 -0
  14. package/dist/src/components/CURD/curdEdit.d.ts +55 -0
  15. package/dist/src/components/CURD/curdSearch.d.ts +17 -0
  16. package/dist/src/components/CURD/curdTable.d.ts +42 -0
  17. package/dist/src/components/CURD/index.d.ts +274 -0
  18. package/dist/src/components/CURD/types.d.ts +165 -0
  19. package/dist/src/components/CURD/utils.d.ts +15 -0
  20. package/dist/src/components/DictTag/index.d.ts +24 -0
  21. package/dist/src/components/Editor/index.d.ts +237 -0
  22. package/dist/src/components/FileUpload/index.d.ts +63 -0
  23. package/dist/src/components/ImageUpload/index.d.ts +107 -0
  24. package/dist/src/components/OssImagePreview/index.d.ts +26 -0
  25. package/dist/src/components/SvgIcon/index.d.ts +41 -0
  26. package/dist/src/components/TranslateInput/index.d.ts +27 -0
  27. package/dist/src/components/ossFile/index.d.ts +34 -0
  28. package/dist/src/directive/common/copyText.d.ts +5 -0
  29. package/dist/src/directive/curd-perm.d.ts +9 -0
  30. package/dist/src/index.d.ts +16 -0
  31. package/dist/src/plugin.d.ts +14 -0
  32. package/dist/src/plugins/modal.d.ts +20 -0
  33. package/dist/src/store/modules/dict.d.ts +56 -0
  34. package/dist/src/store/modules/translation.d.ts +88 -0
  35. package/dist/src/utils/dict.d.ts +8 -0
  36. package/dist/src/utils/download.d.ts +1 -0
  37. package/dist/src/utils/errorCode.d.ts +2 -0
  38. package/dist/src/utils/http.d.ts +7 -0
  39. package/dist/src/utils/index.d.ts +23 -0
  40. package/dist/src/utils/propTypes.d.ts +12 -0
  41. package/dist/src/utils/ruoyi.d.ts +15 -0
  42. package/dist/src/utils/translation.d.ts +5 -0
  43. package/dist/style.css +1 -0
  44. package/dist/vue3-curd.es.js +3089 -0
  45. package/dist/vue3-curd.es.js.map +1 -0
  46. package/dist/vue3-curd.umd.js +2 -0
  47. package/dist/vue3-curd.umd.js.map +1 -0
  48. package/package.json +103 -0
package/package.json ADDED
@@ -0,0 +1,103 @@
1
+ {
2
+ "name": "vue3-curd",
3
+ "version": "1.0.1",
4
+ "description": "基于 Vue 3 + Element Plus 的可配置增删改查表格组件库",
5
+ "author": "Cloud HE",
6
+ "license": "MIT",
7
+ "type": "module",
8
+ "main": "./dist/vue3-curd.umd.js",
9
+ "module": "./dist/vue3-curd.es.js",
10
+ "types": "./dist/index.d.ts",
11
+ "exports": {
12
+ ".": {
13
+ "types": "./dist/index.d.ts",
14
+ "import": "./dist/vue3-curd.es.js",
15
+ "require": "./dist/vue3-curd.umd.js"
16
+ },
17
+ "./style.css": "./dist/style.css",
18
+ "./dist/style.css": "./dist/style.css"
19
+ },
20
+ "files": [
21
+ "dist"
22
+ ],
23
+ "sideEffects": [
24
+ "**/*.css",
25
+ "**/*.scss"
26
+ ],
27
+ "scripts": {
28
+ "build:lib": "vite build --config vite.config.lib.ts",
29
+ "lint:eslint": "eslint",
30
+ "lint:eslint:fix": "eslint --fix",
31
+ "prettier": "prettier --write .",
32
+ "publish:lib": "node scripts/publish.js",
33
+ "publish:patch": "node scripts/publish.js patch",
34
+ "publish:minor": "node scripts/publish.js minor",
35
+ "publish:major": "node scripts/publish.js major",
36
+ "prepublishOnly": "npm run lint:eslint && npm run build:lib"
37
+ },
38
+ "repository": {
39
+ "type": "git",
40
+ "url": ""
41
+ },
42
+ "peerDependencies": {
43
+ "@element-plus/icons-vue": ">=2.0.0",
44
+ "@vueup/vue-quill": ">=1.0.0",
45
+ "axios": ">=1.0.0",
46
+ "dayjs": ">=1.0.0",
47
+ "element-plus": ">=2.4.0",
48
+ "file-saver": ">=2.0.0",
49
+ "image-conversion": ">=2.0.0",
50
+ "pinia": ">=2.0.0",
51
+ "vue": ">=3.3.0",
52
+ "vue-i18n": ">=9.0.0",
53
+ "vue-types": ">=5.0.0"
54
+ },
55
+ "dependencies": {
56
+ "@element-plus/icons-vue": ">=2.0.0",
57
+ "@vueup/vue-quill": ">=1.0.0",
58
+ "axios": ">=1.0.0",
59
+ "dayjs": ">=1.0.0",
60
+ "element-plus": ">=2.4.0",
61
+ "file-saver": ">=2.0.0",
62
+ "image-conversion": ">=2.0.0",
63
+ "pinia": ">=2.0.0",
64
+ "vue": ">=3.3.0",
65
+ "vue-i18n": ">=9.0.0",
66
+ "vue-types": ">=5.0.0",
67
+ "vue3-curd": "^1.0.0"
68
+ },
69
+ "devDependencies": {
70
+ "@types/file-saver": "2.0.7",
71
+ "@types/node": "^22.13.4",
72
+ "@vitejs/plugin-vue": "5.2.3",
73
+ "@vue/compiler-sfc": "3.5.13",
74
+ "@vue/eslint-config-prettier": "10.2.0",
75
+ "@vue/eslint-config-typescript": "14.4.0",
76
+ "autoprefixer": "10.4.20",
77
+ "eslint": "9.21.0",
78
+ "eslint-plugin-prettier": "5.2.3",
79
+ "eslint-plugin-vue": "9.32.0",
80
+ "globals": "16.0.0",
81
+ "prettier": "3.5.2",
82
+ "sass": "1.87.0",
83
+ "typescript": "~5.8.3",
84
+ "unplugin-auto-import": "19.1.2",
85
+ "unplugin-vue-components": "28.5.0",
86
+ "vite": "6.3.2",
87
+ "vite-plugin-dts": "^4.5.0",
88
+ "vue-tsc": "^2.2.8"
89
+ },
90
+ "overrides": {
91
+ "quill": "2.0.2"
92
+ },
93
+ "engines": {
94
+ "node": ">=18.18.0",
95
+ "npm": ">=8.9.0"
96
+ },
97
+ "browserslist": [
98
+ "Chrome >= 87",
99
+ "Edge >= 88",
100
+ "Safari >= 14",
101
+ "Firefox >= 78"
102
+ ]
103
+ }