gy-ui-plus 1.0.3 → 1.0.6
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 +7 -7
- package/dist/gy-ui-plus.css +1 -1
- package/dist/gy-ui-plus.es.js +140 -140
- package/dist/gy-ui-plus.umd.js +2 -2
- package/package.json +11 -7
- package/packages/{j-button → gy-button}/index.ts +2 -2
- package/packages/{j-table → gy-table}/index.ts +2 -2
- package/packages/index.ts +5 -5
- /package/packages/{j-button → gy-button}/src/index.vue +0 -0
- /package/packages/{j-table → gy-table}/src/ColumnSet.vue +0 -0
- /package/packages/{j-table → gy-table}/src/TTableColumn.vue +0 -0
- /package/packages/{j-table → gy-table}/src/index.vue +0 -0
- /package/packages/{j-table → gy-table}/src/operator.vue +0 -0
- /package/packages/{j-table → gy-table}/src/renderCol.vue +0 -0
- /package/packages/{j-table → gy-table}/src/renderHeader.vue +0 -0
- /package/packages/{j-table → gy-table}/src/singleEdit.vue +0 -0
- /package/packages/{j-table → gy-table}/src/singleEditCell.vue +0 -0
- /package/packages/{j-table → gy-table}/src/tableProps.ts +0 -0
- /package/packages/{j-table → gy-table}/src/useExpose.ts +0 -0
- /package/packages/{j-table → gy-table}/src/useVirtualized.ts +0 -0
- /package/packages/{j-table → gy-table}/style/table.scss +0 -0
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
},
|
|
6
6
|
"author": "zyj",
|
|
7
7
|
"license": "MIT",
|
|
8
|
-
"version": "1.0.
|
|
8
|
+
"version": "1.0.6",
|
|
9
9
|
"private": false,
|
|
10
10
|
"type": "module",
|
|
11
11
|
"main": "dist/gy-ui-plus.umd.js",
|
|
@@ -24,6 +24,14 @@
|
|
|
24
24
|
"README.md",
|
|
25
25
|
"LICENSE"
|
|
26
26
|
],
|
|
27
|
+
"keywords": [
|
|
28
|
+
"element-plus",
|
|
29
|
+
"vite",
|
|
30
|
+
"vue3",
|
|
31
|
+
"二次封装组件",
|
|
32
|
+
"封装组件",
|
|
33
|
+
"components"
|
|
34
|
+
],
|
|
27
35
|
"engines": {
|
|
28
36
|
"node": "^20.19.0 || >=22.12.0"
|
|
29
37
|
},
|
|
@@ -42,19 +50,15 @@
|
|
|
42
50
|
},
|
|
43
51
|
"dependencies": {
|
|
44
52
|
"sortablejs": "1.15.0",
|
|
45
|
-
"autofit.js": "^3.2.8",
|
|
46
53
|
"axios": "^1.13.2",
|
|
47
54
|
"element-plus": "^2.13.1",
|
|
48
|
-
"pinia": "^3.0.4",
|
|
49
|
-
"postcss-px-to-viewport": "^1.1.1",
|
|
50
55
|
"vue": "^3.5.25",
|
|
51
56
|
"vue-router": "^4.6.3"
|
|
52
57
|
},
|
|
53
58
|
"devDependencies": {
|
|
54
|
-
"@vitejs/plugin-vue": "^
|
|
55
|
-
"@vitejs/plugin-vue-jsx": "^2.0.1",
|
|
59
|
+
"@vitejs/plugin-vue": "^6.0.2",
|
|
56
60
|
"vite-plugin-compression": "^0.5.1",
|
|
57
|
-
"vite-plugin-dts": "^
|
|
61
|
+
"vite-plugin-dts": "^3.0.0",
|
|
58
62
|
"vite-plugin-vue-setup-extend": "^0.4.0",
|
|
59
63
|
"@prettier/plugin-oxc": "^0.0.5",
|
|
60
64
|
"@tsconfig/node24": "^24.0.3",
|
package/packages/index.ts
CHANGED
|
@@ -2,15 +2,15 @@ import type { Component, App } from 'vue'
|
|
|
2
2
|
// import ElementPlus from 'element-plus'
|
|
3
3
|
// import 'element-plus/dist/index.css'
|
|
4
4
|
// import locale from 'element-plus/lib/locale/lang/zh-cn' // 因element-plus默认是英文,我们指定一下默认中文
|
|
5
|
-
import
|
|
6
|
-
import
|
|
5
|
+
import GyButton from './gy-button/src/index.vue'
|
|
6
|
+
import GyTable from './gy-table/src/index.vue'
|
|
7
7
|
|
|
8
8
|
// 存储组件列表
|
|
9
9
|
const components: {
|
|
10
10
|
[propName: string]: Component
|
|
11
11
|
} = {
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
GyButton,
|
|
13
|
+
GyTable,
|
|
14
14
|
}
|
|
15
15
|
// 插件声明:声明所有插件
|
|
16
16
|
// 插件注册:在 Vue 项目的入口文件中,通过 ( app.use(插件) ) 进行注册
|
|
@@ -28,7 +28,7 @@ const install: any = (app: any, router?: any) => {
|
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
// 按需引入
|
|
31
|
-
export {
|
|
31
|
+
export { GyButton, GyTable }
|
|
32
32
|
export default {
|
|
33
33
|
// 导出的对象必须具有 install,才能被 Vue.use() 方法安装
|
|
34
34
|
install,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|