@wimi/ui 0.4.12 → 0.4.13

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.
@@ -1,7 +1,7 @@
1
1
  import type { Ref } from 'vue';
2
2
  import type { VxeGridListeners, VxeGridPropTypes, VxeGridProps as VxeTableGridProps, VxeUIExport } from 'vxe-table';
3
3
  import type { BaseFormComponentProps, FormProps, useForm } from '../../../components/form';
4
- import type { ClassType, DeepPartial } from '../../../typings';
4
+ import type { ClassType } from '../../../typings';
5
5
  import type { VxeGridApi } from './api';
6
6
  export interface VxePaginationInfo {
7
7
  currentPage: number;
@@ -35,11 +35,11 @@ export interface VxeGridProps<T extends BaseFormComponentProps = BaseFormCompone
35
35
  /**
36
36
  * vxe-grid 配置
37
37
  */
38
- gridOptions?: DeepPartial<VxeTableGridOptions>;
38
+ gridOptions?: VxeTableGridOptions;
39
39
  /**
40
40
  * vxe-grid 事件
41
41
  */
42
- gridEvents?: DeepPartial<VxeGridListeners>;
42
+ gridEvents?: VxeGridListeners;
43
43
  /**
44
44
  * 表单配置
45
45
  */
@@ -7,6 +7,7 @@ declare var __VLS_7: {
7
7
  [key: string]: any;
8
8
  $table: import("vxe-table").VxeTableConstructor<any>;
9
9
  $grid: import("vxe-table").VxeGridConstructor<any>;
10
+ $gantt: import("vxe-pc-ui").VxeGanttConstructor<any>;
10
11
  rowid: string;
11
12
  row: any;
12
13
  rowIndex: number;
@@ -16,10 +17,11 @@ declare var __VLS_7: {
16
17
  columnIndex: number;
17
18
  $columnIndex: number;
18
19
  _columnIndex: number;
20
+ option: import("vxe-table").VxeColumnPropTypes.FilterItem;
19
21
  type: string;
20
22
  fixed: import("vxe-table").VxeColumnPropTypes.Fixed;
21
- checked?: boolean;
22
- indeterminate?: boolean;
23
+ checked: boolean;
24
+ indeterminate: boolean;
23
25
  seq: string | number;
24
26
  level: number;
25
27
  isEdit: boolean;
@@ -27,12 +29,19 @@ declare var __VLS_7: {
27
29
  field: string;
28
30
  item: any;
29
31
  data: any;
32
+ tooltipContent: string;
33
+ groupContent: string;
34
+ groupField: string;
35
+ childCount: number;
36
+ groupValues: number;
37
+ aggValue: number;
30
38
  visibleData: any[];
31
39
  items: any[];
32
40
  }, __VLS_10: string, __VLS_11: {
33
41
  [key: string]: any;
34
42
  $table: import("vxe-table").VxeTableConstructor<any>;
35
43
  $grid: import("vxe-table").VxeGridConstructor<any>;
44
+ $gantt: import("vxe-pc-ui").VxeGanttConstructor<any>;
36
45
  rowid: string;
37
46
  row: any;
38
47
  rowIndex: number;
@@ -42,10 +51,11 @@ declare var __VLS_7: {
42
51
  columnIndex: number;
43
52
  $columnIndex: number;
44
53
  _columnIndex: number;
54
+ option: import("vxe-table").VxeColumnPropTypes.FilterItem;
45
55
  type: string;
46
56
  fixed: import("vxe-table").VxeColumnPropTypes.Fixed;
47
- checked?: boolean;
48
- indeterminate?: boolean;
57
+ checked: boolean;
58
+ indeterminate: boolean;
49
59
  seq: string | number;
50
60
  level: number;
51
61
  isEdit: boolean;
@@ -53,12 +63,19 @@ declare var __VLS_7: {
53
63
  field: string;
54
64
  item: any;
55
65
  data: any;
66
+ tooltipContent: string;
67
+ groupContent: string;
68
+ groupField: string;
69
+ childCount: number;
70
+ groupValues: number;
71
+ aggValue: number;
56
72
  visibleData: any[];
57
73
  items: any[];
58
74
  }, __VLS_13: {
59
75
  [key: string]: any;
60
76
  $table: import("vxe-table").VxeTableConstructor<any>;
61
77
  $grid: import("vxe-table").VxeGridConstructor<any>;
78
+ $gantt: import("vxe-pc-ui").VxeGanttConstructor<any>;
62
79
  rowid: string;
63
80
  row: any;
64
81
  rowIndex: number;
@@ -68,10 +85,11 @@ declare var __VLS_7: {
68
85
  columnIndex: number;
69
86
  $columnIndex: number;
70
87
  _columnIndex: number;
88
+ option: import("vxe-table").VxeColumnPropTypes.FilterItem;
71
89
  type: string;
72
90
  fixed: import("vxe-table").VxeColumnPropTypes.Fixed;
73
- checked?: boolean;
74
- indeterminate?: boolean;
91
+ checked: boolean;
92
+ indeterminate: boolean;
75
93
  seq: string | number;
76
94
  level: number;
77
95
  isEdit: boolean;
@@ -79,6 +97,12 @@ declare var __VLS_7: {
79
97
  field: string;
80
98
  item: any;
81
99
  data: any;
100
+ tooltipContent: string;
101
+ groupContent: string;
102
+ groupField: string;
103
+ childCount: number;
104
+ groupValues: number;
105
+ aggValue: number;
82
106
  visibleData: any[];
83
107
  items: any[];
84
108
  }, __VLS_31: {}, __VLS_38: `form-${string}`, __VLS_39: any, __VLS_41: any, __VLS_43: any, __VLS_45: any, __VLS_47: any, __VLS_49: {}, __VLS_55: {};
@@ -23,7 +23,6 @@ declare const __VLS_component: import("vue").DefineComponent<WmTreeProps, {
23
23
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<WmTreeProps> & Readonly<{}>, {
24
24
  ellipsis: boolean;
25
25
  selectable: boolean;
26
- showLine: boolean;
27
26
  animated: boolean;
28
27
  internalCheckboxFocusable: boolean;
29
28
  internalFocusable: boolean;
@@ -32,6 +31,7 @@ declare const __VLS_component: import("vue").DefineComponent<WmTreeProps, {
32
31
  expandOnDragenter: boolean;
33
32
  cancelable: boolean;
34
33
  blockLine: boolean;
34
+ showLine: boolean;
35
35
  checkboxPlacement: "left" | "right";
36
36
  keyboard: boolean;
37
37
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,4 +1,4 @@
1
- import { g as getDefaultExportFromCjs, r as requireDayjs_min, c as commonjsGlobal } from "./index-aiARKNGM.mjs";
1
+ import { g as getDefaultExportFromCjs, d as dayjs_minExports, c as commonjsGlobal } from "./index-ByPAXpqi.mjs";
2
2
  function _mergeNamespaces(n, m) {
3
3
  for (var i = 0; i < m.length; i++) {
4
4
  const e = m[i];
@@ -21,7 +21,7 @@ function _mergeNamespaces(n, m) {
21
21
  var zhCn$2 = { exports: {} };
22
22
  (function(module, exports) {
23
23
  !function(e, _) {
24
- module.exports = _(requireDayjs_min());
24
+ module.exports = _(dayjs_minExports);
25
25
  }(commonjsGlobal, function(e) {
26
26
  function _(e2) {
27
27
  return e2 && "object" == typeof e2 && "default" in e2 ? e2 : { default: e2 };
@@ -1,4 +1,4 @@
1
- import { g as getDefaultExportFromCjs, r as requireDayjs_min, c as commonjsGlobal } from "./index-aiARKNGM.mjs";
1
+ import { g as getDefaultExportFromCjs, d as dayjs_minExports, c as commonjsGlobal } from "./index-ByPAXpqi.mjs";
2
2
  function _mergeNamespaces(n, m) {
3
3
  for (var i = 0; i < m.length; i++) {
4
4
  const e = m[i];
@@ -21,7 +21,7 @@ function _mergeNamespaces(n, m) {
21
21
  var zhTw$2 = { exports: {} };
22
22
  (function(module, exports) {
23
23
  !function(_, e) {
24
- module.exports = e(requireDayjs_min());
24
+ module.exports = e(dayjs_minExports);
25
25
  }(commonjsGlobal, function(_) {
26
26
  function e(_2) {
27
27
  return _2 && "object" == typeof _2 && "default" in _2 ? _2 : { default: _2 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wimi/ui",
3
- "version": "0.4.12",
3
+ "version": "0.4.13",
4
4
  "description": "A vue library developed with dumi",
5
5
  "scripts": {
6
6
  "build": "vite build && vue-tsc --project ./tsconfig.build.json",
@@ -136,8 +136,8 @@
136
136
  "vee-validate": "^4.15.0",
137
137
  "vue-router": "^4.5.0",
138
138
  "vueuc": "^0.4.64",
139
- "vxe-pc-ui": "^4.6.12",
140
- "vxe-table": "^4.13.31",
139
+ "vxe-pc-ui": "^4.11.13",
140
+ "vxe-table": "^4.17.33",
141
141
  "zod": "3.24.2",
142
142
  "zod-defaults": "0.1.3"
143
143
  },