@baosight/erm 1.0.82 → 1.1.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/CHANGELOG.md ADDED
File without changes
@@ -15,7 +15,7 @@ declare const _default: import("vue").DefineComponent<{
15
15
  };
16
16
  }, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
17
17
  [key: string]: any;
18
- }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("confirm" | "cancel" | "changeValue")[], "confirm" | "cancel" | "changeValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
18
+ }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("confirm" | "cancel" | "changeValue")[], "confirm" | "cancel" | "changeValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
19
19
  defaultData: {
20
20
  type: StringConstructor;
21
21
  };
@@ -12,7 +12,7 @@ declare const _default: import("vue").DefineComponent<{
12
12
  };
13
13
  }, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
14
14
  [key: string]: any;
15
- }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "btnClick")[], "input" | "btnClick", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
15
+ }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "btnClick")[], "input" | "btnClick", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
16
16
  data: {
17
17
  type: StringConstructor;
18
18
  };
@@ -17,7 +17,7 @@ declare const _default: import("vue").DefineComponent<{
17
17
  };
18
18
  }, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
19
19
  [key: string]: any;
20
- }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "input"[], "input", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
20
+ }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "input"[], "input", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
21
21
  data: {
22
22
  type: StringConstructor;
23
23
  };
@@ -36,7 +36,7 @@ declare const _default: import("vue").DefineComponent<{
36
36
  };
37
37
  }, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
38
38
  [key: string]: any;
39
- }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "cancel")[], "input" | "cancel", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
39
+ }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "cancel")[], "input" | "cancel", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
40
40
  data: {
41
41
  type: StringConstructor;
42
42
  };
@@ -15,7 +15,7 @@ declare const _default: import("vue").DefineComponent<{
15
15
  };
16
16
  }, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
17
17
  [key: string]: any;
18
- }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "input"[], "input", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
18
+ }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "input"[], "input", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
19
19
  data: {
20
20
  type: NumberConstructor;
21
21
  };
@@ -15,7 +15,7 @@ declare const _default: import("vue").DefineComponent<{
15
15
  };
16
16
  }, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
17
17
  [key: string]: any;
18
- }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "input"[], "input", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
18
+ }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "input"[], "input", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
19
19
  data: {
20
20
  type: StringConstructor;
21
21
  };
@@ -36,7 +36,7 @@ declare const _default: import("vue").DefineComponent<{
36
36
  };
37
37
  }, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
38
38
  [key: string]: any;
39
- }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
39
+ }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
40
40
  /**
41
41
  * recId-文件目录
42
42
  * @type {String}
@@ -57,7 +57,7 @@ declare const _default: import("vue").DefineComponent<{
57
57
  };
58
58
  }, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
59
59
  [key: string]: any;
60
- }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("dataChange" | "cellValueChange" | "btnClick" | "rowDelete")[], "dataChange" | "cellValueChange" | "btnClick" | "rowDelete", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
60
+ }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("dataChange" | "cellValueChange" | "btnClick" | "rowDelete")[], "dataChange" | "cellValueChange" | "btnClick" | "rowDelete", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
61
61
  /**
62
62
  * 最大高度,默认auto
63
63
  * @type {String}
@@ -0,0 +1,200 @@
1
+ import 'vant/lib/index.css';
2
+ import 'vant/lib/checkbox';
3
+ import 'vant/lib/checkbox-group';
4
+ import "ag-grid-community/styles/ag-grid.css";
5
+ import "ag-grid-community/styles/ag-theme-quartz.css";
6
+ import "ag-grid-community/styles/ag-theme-alpine.css";
7
+ declare type ViewType = 'ag-theme-alpine' | 'ag-theme-quartz';
8
+ declare const _default: import("vue").DefineComponent<{
9
+ /**
10
+ * 传入表数据
11
+ * @type {Array}
12
+ * @
13
+ */
14
+ data: any[];
15
+ /**
16
+ * 最大高度,默认auto
17
+ * @type {String}
18
+ */
19
+ maxHeight: {
20
+ type: StringConstructor;
21
+ default: string;
22
+ };
23
+ /**
24
+ * 初始化Service
25
+ * @type {String}
26
+ */
27
+ initSvc: {
28
+ type: StringConstructor;
29
+ require: boolean;
30
+ };
31
+ /**
32
+ * 初始化Service的分区
33
+ * @type {String}
34
+ */
35
+ partName: {
36
+ type: StringConstructor;
37
+ default: string;
38
+ };
39
+ /**
40
+ * SI011X-formName
41
+ * @type {String}
42
+ */
43
+ formName: {
44
+ type: StringConstructor;
45
+ require: boolean;
46
+ };
47
+ /**
48
+ * SI011X-functionId
49
+ * @type {String}
50
+ */
51
+ functionId: {
52
+ type: StringConstructor;
53
+ require: boolean;
54
+ };
55
+ /**
56
+ * 开启多选
57
+ * @type {Boolean}
58
+ */
59
+ rowSelection: {
60
+ type: StringConstructor;
61
+ default: any;
62
+ };
63
+ /**
64
+ * 显示模式 list|card
65
+ * @type {String}
66
+
67
+ viewType: { type: String, default: 'ag-theme-alpine' }, */
68
+ viewType: {
69
+ type: () => ViewType;
70
+ default: string;
71
+ };
72
+ /**
73
+ * 字段描述和字段值是否显示间隔
74
+ * @type {Boolean}
75
+ */
76
+ /**
77
+ * 字体大小
78
+ * @type {String}
79
+ */
80
+ fontSize: {
81
+ type: StringConstructor;
82
+ default: string;
83
+ };
84
+ /**
85
+ * 字体
86
+ * @type {String}
87
+ */
88
+ fontFamily: {
89
+ type: StringConstructor;
90
+ default: string;
91
+ };
92
+ /**
93
+ * 默认配置
94
+ * @type {Object}
95
+ */
96
+ defaultColDef: {};
97
+ }, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
98
+ [key: string]: any;
99
+ }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("gridReady" | "gridDataReady" | "selectionChanged")[], "gridReady" | "gridDataReady" | "selectionChanged", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
100
+ /**
101
+ * 传入表数据
102
+ * @type {Array}
103
+ * @
104
+ */
105
+ data: any[];
106
+ /**
107
+ * 最大高度,默认auto
108
+ * @type {String}
109
+ */
110
+ maxHeight: {
111
+ type: StringConstructor;
112
+ default: string;
113
+ };
114
+ /**
115
+ * 初始化Service
116
+ * @type {String}
117
+ */
118
+ initSvc: {
119
+ type: StringConstructor;
120
+ require: boolean;
121
+ };
122
+ /**
123
+ * 初始化Service的分区
124
+ * @type {String}
125
+ */
126
+ partName: {
127
+ type: StringConstructor;
128
+ default: string;
129
+ };
130
+ /**
131
+ * SI011X-formName
132
+ * @type {String}
133
+ */
134
+ formName: {
135
+ type: StringConstructor;
136
+ require: boolean;
137
+ };
138
+ /**
139
+ * SI011X-functionId
140
+ * @type {String}
141
+ */
142
+ functionId: {
143
+ type: StringConstructor;
144
+ require: boolean;
145
+ };
146
+ /**
147
+ * 开启多选
148
+ * @type {Boolean}
149
+ */
150
+ rowSelection: {
151
+ type: StringConstructor;
152
+ default: any;
153
+ };
154
+ /**
155
+ * 显示模式 list|card
156
+ * @type {String}
157
+
158
+ viewType: { type: String, default: 'ag-theme-alpine' }, */
159
+ viewType: {
160
+ type: () => ViewType;
161
+ default: string;
162
+ };
163
+ /**
164
+ * 字段描述和字段值是否显示间隔
165
+ * @type {Boolean}
166
+ */
167
+ /**
168
+ * 字体大小
169
+ * @type {String}
170
+ */
171
+ fontSize: {
172
+ type: StringConstructor;
173
+ default: string;
174
+ };
175
+ /**
176
+ * 字体
177
+ * @type {String}
178
+ */
179
+ fontFamily: {
180
+ type: StringConstructor;
181
+ default: string;
182
+ };
183
+ /**
184
+ * 默认配置
185
+ * @type {Object}
186
+ */
187
+ defaultColDef: {};
188
+ }>> & {
189
+ onGridReady?: (...args: any[]) => any;
190
+ onGridDataReady?: (...args: any[]) => any;
191
+ onSelectionChanged?: (...args: any[]) => any;
192
+ }, {
193
+ maxHeight: string;
194
+ partName: string;
195
+ rowSelection: string;
196
+ viewType: ViewType;
197
+ fontSize: string;
198
+ fontFamily: string;
199
+ }, {}>;
200
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import _ermGrid from './ermGrid.vue';
2
+ export declare const ermGrid: any;
3
+ export default _ermGrid;
@@ -197,7 +197,7 @@ declare const _default: import("vue").DefineComponent<{
197
197
  };
198
198
  }, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
199
199
  [key: string]: any;
200
- }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("leftIconClick" | "mainClick" | "rightIconClick" | "leftIconHold" | "rightIconHold" | "pullRefresh" | "pullUpdate" | "checkDataChange")[], "leftIconClick" | "mainClick" | "rightIconClick" | "leftIconHold" | "rightIconHold" | "pullRefresh" | "pullUpdate" | "checkDataChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
200
+ }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("leftIconClick" | "mainClick" | "rightIconClick" | "leftIconHold" | "rightIconHold" | "pullRefresh" | "pullUpdate" | "checkDataChange")[], "leftIconClick" | "mainClick" | "rightIconClick" | "leftIconHold" | "rightIconHold" | "pullRefresh" | "pullUpdate" | "checkDataChange", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
201
201
  /**
202
202
  * 传入表数据
203
203
  * @type {Array}
@@ -1,14 +1,14 @@
1
- if (kendo.ui.Grid) {
2
- kendo.ui.Grid.prototype.options.messages = kendo.jQuery.extend(true, kendo.ui.Grid.prototype.options.messages, {
3
- commands: {
4
- excel: "Export",
5
- create: "Add New",
6
- copyAdd: "Copy New",
7
- copyAddCheck: "Copy New",
8
- batchDelete: "Batch Delete",
9
- importExcel: "Import"
10
- }
11
- });
12
- }
13
-
14
- kendo.cultures["en-US"] = { ...kendo.cultures["en-US"], customGroupBy: "Group" };
1
+ if (kendo.ui.Grid) {
2
+ kendo.ui.Grid.prototype.options.messages = kendo.jQuery.extend(true, kendo.ui.Grid.prototype.options.messages, {
3
+ commands: {
4
+ excel: "Export",
5
+ create: "Add New",
6
+ copyAdd: "Copy New",
7
+ copyAddCheck: "Copy New",
8
+ batchDelete: "Batch Delete",
9
+ importExcel: "Import"
10
+ }
11
+ });
12
+ }
13
+
14
+ kendo.cultures["en-US"] = { ...kendo.cultures["en-US"], customGroupBy: "Group" };
@@ -1,21 +1,21 @@
1
- if (kendo.ui.Grid) {
2
- kendo.ui.Grid.prototype.options.messages = kendo.jQuery.extend(true, kendo.ui.Grid.prototype.options.messages, {
3
- commands: {
4
- excel: "导出",
5
- copyAdd: "复制新增",
6
- copyAddCheck: "复制新增",
7
- batchDelete: "删除",
8
- importExcel: "导入"
9
- }
10
- });
11
- }
12
- if (kendo.ui.ColumnMenu) {
13
- kendo.ui.ColumnMenu.prototype.options.messages = kendo.jQuery.extend(
14
- true,
15
- kendo.ui.ColumnMenu.prototype.options.messages,
16
- {
17
- setColumnPosition: "列锁定"
18
- }
19
- );
20
- }
21
- kendo.cultures["zh-CN"] = { ...kendo.cultures["zh-CN"], customGroupBy: "分组" };
1
+ if (kendo.ui.Grid) {
2
+ kendo.ui.Grid.prototype.options.messages = kendo.jQuery.extend(true, kendo.ui.Grid.prototype.options.messages, {
3
+ commands: {
4
+ excel: "导出",
5
+ copyAdd: "复制新增",
6
+ copyAddCheck: "复制新增",
7
+ batchDelete: "删除",
8
+ importExcel: "导入"
9
+ }
10
+ });
11
+ }
12
+ if (kendo.ui.ColumnMenu) {
13
+ kendo.ui.ColumnMenu.prototype.options.messages = kendo.jQuery.extend(
14
+ true,
15
+ kendo.ui.ColumnMenu.prototype.options.messages,
16
+ {
17
+ setColumnPosition: "列锁定"
18
+ }
19
+ );
20
+ }
21
+ kendo.cultures["zh-CN"] = { ...kendo.cultures["zh-CN"], customGroupBy: "分组" };
@@ -1,28 +1,28 @@
1
- /*
2
- * @Description:
3
- * @Author: zhangTing
4
- * @Date: 2022-07-28 16:55:33
5
- * @LastEditors: zhangTing
6
- * @LastEditTime: 2023-09-19 11:00:13
7
- */
8
- if (kendo.ui.Grid) {
9
- kendo.ui.Grid.prototype.options.messages = kendo.jQuery.extend(true, kendo.ui.Grid.prototype.options.messages, {
10
- commands: {
11
- excel: "導出",
12
- copyAdd: "複製新增",
13
- copyAddCheck: "複製新增",
14
- batchDelete: "刪除",
15
- importExcel: "導入"
16
- }
17
- });
18
- }
19
- if (kendo.ui.ColumnMenu) {
20
- kendo.ui.ColumnMenu.prototype.options.messages = kendo.jQuery.extend(
21
- true,
22
- kendo.ui.ColumnMenu.prototype.options.messages,
23
- {
24
- setColumnPosition: "列鎖定"
25
- }
26
- );
27
- }
28
- kendo.cultures["zh-HK"] = { ...kendo.cultures["zh-HK"], customGroupBy: "分組" };
1
+ /*
2
+ * @Description:
3
+ * @Author: zhangTing
4
+ * @Date: 2022-07-28 16:55:33
5
+ * @LastEditors: zhangTing
6
+ * @LastEditTime: 2023-09-19 11:00:13
7
+ */
8
+ if (kendo.ui.Grid) {
9
+ kendo.ui.Grid.prototype.options.messages = kendo.jQuery.extend(true, kendo.ui.Grid.prototype.options.messages, {
10
+ commands: {
11
+ excel: "導出",
12
+ copyAdd: "複製新增",
13
+ copyAddCheck: "複製新增",
14
+ batchDelete: "刪除",
15
+ importExcel: "導入"
16
+ }
17
+ });
18
+ }
19
+ if (kendo.ui.ColumnMenu) {
20
+ kendo.ui.ColumnMenu.prototype.options.messages = kendo.jQuery.extend(
21
+ true,
22
+ kendo.ui.ColumnMenu.prototype.options.messages,
23
+ {
24
+ setColumnPosition: "列鎖定"
25
+ }
26
+ );
27
+ }
28
+ kendo.cultures["zh-HK"] = { ...kendo.cultures["zh-HK"], customGroupBy: "分組" };