@weitutech/by-components-v3 1.0.0 → 1.0.7
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 +377 -20
- package/dist/by-component-v3.css +1 -1
- package/dist/by-component-v3.mjs +4481 -7438
- package/dist/by-component-v3.umd.js +1 -1
- package/dist/types/packages/customColumn/index.vue.d.ts +5 -7
- package/dist/types/packages/table/src/table.d.ts +1 -0
- package/package.json +4 -3
- package/src/main.ts +28 -0
|
@@ -1,21 +1,19 @@
|
|
|
1
1
|
type IProps = {
|
|
2
|
-
dialogVisible: boolean;
|
|
3
2
|
infoMethod: (page: any) => {
|
|
4
3
|
data: any;
|
|
5
4
|
};
|
|
5
|
+
infoMethodParams: Record<string, any>;
|
|
6
6
|
submitMethod: (params: Record<string, any>) => void;
|
|
7
|
+
submitMethodParams: Record<string, any>;
|
|
7
8
|
};
|
|
8
9
|
declare const _default: import("vue").DefineComponent<IProps, {
|
|
9
|
-
getCustomTableList: (
|
|
10
|
+
getCustomTableList: (page2: any, column: any) => Promise<void>;
|
|
11
|
+
dialogVisible: import("vue").Ref<boolean, boolean>;
|
|
10
12
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
13
|
changeTable: (...args: any[]) => void;
|
|
12
|
-
changeTableGroup: (...args: any[]) => void;
|
|
13
14
|
closeDialog: (...args: any[]) => void;
|
|
14
15
|
}, string, import("vue").PublicProps, Readonly<IProps> & Readonly<{
|
|
15
16
|
onChangeTable?: (...args: any[]) => any;
|
|
16
|
-
onChangeTableGroup?: (...args: any[]) => any;
|
|
17
17
|
onCloseDialog?: (...args: any[]) => any;
|
|
18
|
-
}>, {
|
|
19
|
-
dialogVisible: boolean;
|
|
20
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
18
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
21
19
|
export default _default;
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@weitutech/by-components-v3",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.7",
|
|
4
4
|
"private": false,
|
|
5
|
-
"main": "
|
|
5
|
+
"main": "/src/main.ts",
|
|
6
6
|
"module": "./dist/by-components-v3.js",
|
|
7
7
|
"types": "dist/types/packages/index.d.ts",
|
|
8
8
|
"files": [
|
|
@@ -25,7 +25,8 @@
|
|
|
25
25
|
"moment": "^2.30.1",
|
|
26
26
|
"path": "^0.12.7",
|
|
27
27
|
"vue": "^3.5.13",
|
|
28
|
-
"
|
|
28
|
+
"vue-draggable-plus": "^0.6.0",
|
|
29
|
+
"vuedraggable": "^4.1.0",
|
|
29
30
|
"vxe-pc-ui": "^4.3.75",
|
|
30
31
|
"vxe-table": "^4.10.5"
|
|
31
32
|
},
|
package/src/main.ts
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
// import './assets/main.css'
|
|
2
|
+
|
|
3
|
+
import { createApp } from 'vue'
|
|
4
|
+
import App from './App.vue'
|
|
5
|
+
|
|
6
|
+
import ByComponentsV3 from '../packages/index'
|
|
7
|
+
// import ByComponentsV3, { components } from '../dist/by-component-v3.es'
|
|
8
|
+
// import '../dist/by-components-v3.css'
|
|
9
|
+
// console.log(ByComponentsV3, 'ByComponentsV3', components)
|
|
10
|
+
|
|
11
|
+
import ElementPlus from 'element-plus'
|
|
12
|
+
import 'element-plus/dist/index.css'
|
|
13
|
+
import zhCn from 'element-plus/es/locale/lang/zh-cn'
|
|
14
|
+
// import VxeTable from 'vxe-table'
|
|
15
|
+
// import 'vxe-table/lib/style.css'
|
|
16
|
+
import VxeUI from 'vxe-pc-ui'
|
|
17
|
+
import 'vxe-pc-ui/lib/style.css'
|
|
18
|
+
import VxeUITable from 'vxe-table'
|
|
19
|
+
import 'vxe-table/lib/style.css'
|
|
20
|
+
import './style/index.scss'
|
|
21
|
+
const app = createApp(App)
|
|
22
|
+
app
|
|
23
|
+
.use(ElementPlus, {
|
|
24
|
+
locale: zhCn,
|
|
25
|
+
})
|
|
26
|
+
.use(ByComponentsV3)
|
|
27
|
+
.use(VxeUI).use(VxeUITable)
|
|
28
|
+
app.mount('#app')
|