jtui-vite 1.0.3 → 1.0.5

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "jtui-vite",
3
3
  "private": false,
4
- "version": "1.0.3",
4
+ "version": "1.0.5",
5
5
  "type": "module",
6
6
  "description": "jtui组件库vite版本",
7
7
  "scripts": {
@@ -18,10 +18,6 @@
18
18
  ".": {
19
19
  "import": "./dist/jtui-vite.es.js",
20
20
  "require": "./dist/jtui-vite.umd.js"
21
- },
22
- "./resolver": {
23
- "import": "./dist/resolver.js",
24
- "require": "./dist/resolver.js"
25
21
  }
26
22
  },
27
23
  "keywords": [
@@ -38,28 +34,38 @@
38
34
  "url": "http://gitlab.cdjti.com/jtxa/jtui-vite.git"
39
35
  },
40
36
  "dependencies": {
41
- "@wangeditor/editor": "^5.1.23",
42
- "@wangeditor/editor-for-vue": "^5.1.12",
37
+ "ansi_up": "^6.0.6",
43
38
  "axios": "^1.13.2",
44
- "dayjs": "^1.11.5",
39
+ "dayjs": "^1.11.19",
45
40
  "echarts": "^6.0.0",
46
- "vxe-table": "^4.17.32"
41
+ "element-resize-detector": "^1.2.4",
42
+ "i18n": "^0.15.3",
43
+ "simple-uploader.js": "^0.6.0",
44
+ "sortablejs": "^1.15.6",
45
+ "vxe-pc-ui": "4.11.34",
46
+ "vxe-table": "~4.17.38",
47
+ "xe-utils": "^3.8.2"
47
48
  },
48
49
  "devDependencies": {
49
- "@vitejs/plugin-vue": "^6.0.1",
50
+ "@vitejs/plugin-vue": "^6.0.3",
51
+ "@vitejs/plugin-vue-jsx": "^5.1.3",
52
+ "@vxe-ui/plugin-export-xlsx": "^4.4.1",
53
+ "crypto-js": "^4.2.0",
50
54
  "element-plus": "^2.13.0",
51
55
  "rollup-plugin-copy": "^3.5.0",
52
56
  "rollup-plugin-external-globals": "^0.13.0",
53
- "sass-embedded": "^1.97.1",
57
+ "rollup-plugin-visualizer": "^6.0.5",
58
+ "sass-embedded": "^1.97.2",
54
59
  "unplugin-auto-import": "^20.3.0",
55
60
  "unplugin-vue-components": "^30.0.0",
56
- "vite": "^7.2.4",
61
+ "vite": "^7.3.0",
57
62
  "vite-plugin-cdn-import": "^1.0.1",
63
+ "vite-plugin-lazy-import": "^1.0.7",
58
64
  "vite-plugin-libcss": "^1.1.2",
59
- "vue": "^3.5.24"
65
+ "vue": "^3.5.26"
60
66
  },
61
67
  "peerDependencies": {
62
68
  "element-plus": "^2.13.0",
63
- "vue": "^3.5.0"
69
+ "vue": "^3.5.26"
64
70
  }
65
71
  }
package/dist/resolver.js DELETED
@@ -1,60 +0,0 @@
1
- const usedElementComponents = [
2
- 'ElForm',
3
- 'ElConfigProvider',
4
- 'ElFormItem',
5
- 'ElTooltip',
6
- 'ElInput',
7
- 'ElInputNumber',
8
- 'ElSelect',
9
- 'ElOption',
10
- 'ElCascader',
11
- 'ElDatePicker',
12
- 'ElTimePicker',
13
- 'ElSwitch',
14
- 'ElCheckboxGroup',
15
- 'ElCheckbox',
16
- 'ElRadioGroup',
17
- 'ElRadio',
18
- 'ElAutocomplete',
19
- 'ElDescriptions',
20
- 'ElDescriptionsItem',
21
- 'ElDrawer',
22
- 'ElButton'
23
- ]
24
-
25
- const componentMap = {
26
- 'jt-form': 'JtForm',
27
- 'jt-chart': 'JtChart',
28
- 'jt-upload': 'JtUpload',
29
- 'search-type': 'SearchType',
30
- 'table-base': 'TableBase',
31
- 'table-big-data': 'TableBigData',
32
- 'table-group': 'TableGroup',
33
- 'tree-table': 'TreeTable',
34
- 'manage-tree-table': 'ManageTreeTable'
35
- }
36
-
37
- export function createJtUiResolver() {
38
- return (name) => {
39
- // 处理 kebab-case 组件:如 <jt-form>、<table-base>
40
- if (name.includes('-')) {
41
- if (componentMap[name]) {
42
- return {
43
- importName: componentMap[name],
44
- path: 'jtui-vite'
45
- }
46
- }
47
- }
48
-
49
- // (可选)处理你依赖的 El 组件(如果用户希望也由这个 resolver 处理)
50
- if (usedElementComponents.includes(name)) {
51
- return {
52
- importName: name,
53
- path: 'element-plus'
54
- }
55
- }
56
-
57
- // 不处理其他
58
- return null
59
- }
60
- }