adtec-core-package 1.2.9 → 1.3.0

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,6 +1,6 @@
1
1
  {
2
2
  "name": "adtec-core-package",
3
- "version": "1.2.9",
3
+ "version": "1.3.0",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "scripts": {
@@ -36,6 +36,7 @@
36
36
  "vue-focus-lock": "^3.0.0",
37
37
  "vue-img-viewr": "2.0.11",
38
38
  "vue-router": "^4.5.0",
39
+ "vxe-pc-ui": "4.5.25",
39
40
  "vxe-table": "4.13.5",
40
41
  "wujie-vue3": "^1.0.24",
41
42
  "xlsx-js-style": "^1.2.0"
@@ -1,11 +1,14 @@
1
1
  import {
2
- VxeUI,
3
2
  VxeTable,
4
3
  VxeColumn,
5
4
  VxeColgroup,
6
5
  VxeGrid,
7
6
  VxeToolbar
8
7
  } from 'vxe-table'
8
+ import {
9
+ VxeUI,
10
+ VxeTooltip
11
+ } from 'vxe-pc-ui'
9
12
  import VxeUIPluginRenderElement from '@vxe-ui/plugin-render-element'
10
13
  import '@vxe-ui/plugin-render-element/dist/style.css'
11
14
  // 导入主题变量,也可以重写主题变量
@@ -25,15 +28,14 @@ VxeUI.setConfig({
25
28
  showHeader: true,
26
29
  keepSource:true,
27
30
  autoResize: true,
28
- height: 'auto',
31
+ height: '100%',
29
32
  showOverflow: 'title',
30
33
  showHeaderOverflow: 'title',
31
34
  showFooterOverflow: 'title',
32
35
  cellConfig:{
33
- height: 40,
34
36
  },
35
37
  headerCellConfig:{
36
- height:40
38
+ height:41
37
39
  },
38
40
  resizeConfig: {
39
41
  refreshDelay: 20
@@ -69,6 +71,9 @@ VxeUI.setConfig({
69
71
  columnConfig: {
70
72
  maxFixedSize: 4
71
73
  },
74
+ rowConfig:{
75
+ isCurrent: true,
76
+ },
72
77
  footerCellConfig: {
73
78
  height: 'unset'
74
79
  },
@@ -253,6 +258,7 @@ VxeUI.setConfig({
253
258
  })
254
259
  // 可选组件
255
260
  function lazyVxeTable (app:import("vue").App) {
261
+ app.use(VxeTooltip)
256
262
  app.use(VxeTable)
257
263
  app.use(VxeColumn)
258
264
  app.use(VxeColgroup)
@@ -6,3 +6,4 @@
6
6
  @use './components/grid.scss';
7
7
  @use './components/toolbar.scss';
8
8
  @use './components/icon.scss';
9
+ @use './components/iconTable.scss';