cnhis-design-vue 3.1.30 → 3.1.31-beta.1

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.
Files changed (62) hide show
  1. package/README.md +123 -123
  2. package/es/components/button-print/index.d.ts +22 -45
  3. package/es/components/button-print/index.js +1 -1
  4. package/es/components/button-print/src/ButtonPrint.vue.d.ts +22 -45
  5. package/es/components/button-print/src/ButtonPrint.vue_vue_type_script_setup_true_lang.js +46 -84
  6. package/es/components/button-print/src/components/IdentityVerification.js +15 -6
  7. package/es/components/button-print/src/components/IdentityVerification.vue.d.ts +22 -30
  8. package/es/components/button-print/src/components/edit.js +22 -12
  9. package/es/components/button-print/src/components/edit.vue.d.ts +7 -20
  10. package/es/components/button-print/src/utils/browserPrint.d.ts +2 -1
  11. package/es/components/button-print/src/utils/browserPrint.js +5 -1
  12. package/es/components/button-print/src/utils/dialog.d.ts +1 -1
  13. package/es/components/button-print/src/utils/dialog.js +4 -2
  14. package/es/components/button-print/src/utils/index.js +1 -1
  15. package/es/components/button-print/src/utils/print.d.ts +3 -2
  16. package/es/components/button-print/src/utils/print.js +40 -3
  17. package/es/components/form-render/src/hooks/useBusinessBinding.d.ts +3 -2
  18. package/es/components/form-render/src/hooks/useBusinessBinding.js +16 -6
  19. package/es/components/form-render/src/utils/business.js +1 -1
  20. package/es/components/iho-table/index.d.ts +5 -3
  21. package/es/components/iho-table/src/IhoTable.js +1 -0
  22. package/es/components/iho-table/src/IhoTable.vue.d.ts +5 -3
  23. package/es/components/iho-table/src/components/IhoTableColumn.js +6 -3
  24. package/es/components/iho-table/src/constants/index.d.ts +1 -1
  25. package/es/components/iho-table/src/constants/index.js +1 -0
  26. package/es/components/iho-table/src/plugins/filterPlugin/filter.js +163 -73
  27. package/es/components/iho-table/src/plugins/filterPlugin/filter.vue.d.ts +126 -0
  28. package/es/components/iho-table/src/plugins/filterPlugin/index.js +6 -12
  29. package/es/components/iho-table/src/plugins/filterPlugin/types.d.ts +0 -3
  30. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/index.js +2 -2
  31. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/separateUtils.d.ts +2 -4
  32. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/separateUtils.js +2 -17
  33. package/es/components/iho-table/src/types/index.d.ts +10 -2
  34. package/es/components/iho-table/src/utils/index.d.ts +8 -0
  35. package/es/components/iho-table/src/utils/index.js +30 -2
  36. package/es/components/iho-table/style/index.css +1 -1
  37. package/es/components/index.css +1 -1
  38. package/es/components/index.js +1 -1
  39. package/es/components/keyboard/src/Keyboard.js +2 -2
  40. package/es/shared/assets/img/failure.js +1 -1
  41. package/es/shared/assets/img/icon-asc.js +1 -1
  42. package/es/shared/assets/img/icon-desc.js +1 -1
  43. package/es/shared/assets/img/no-permission.js +1 -1
  44. package/es/shared/assets/img/nodata.js +1 -1
  45. package/es/shared/assets/img/notfound.js +1 -1
  46. package/es/shared/assets/img/qr.js +1 -1
  47. package/es/shared/assets/img/success.js +1 -1
  48. package/es/shared/assets/img/video.js +1 -1
  49. package/es/shared/assets/img/video_default_cover.js +1 -1
  50. package/es/shared/assets/img/video_hover.js +1 -1
  51. package/es/shared/assets/img/video_play_hover.js +1 -1
  52. package/es/shared/assets/img/xb_big.js +1 -1
  53. package/es/shared/assets/img/xb_small.js +1 -1
  54. package/package.json +2 -2
  55. package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
  56. package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +0 -1
  57. package/es/components/bpmn-workflow/types/ModelingModule.d.ts +0 -1
  58. package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +0 -1
  59. package/es/components/fabric-chart/src/utils/index.d.ts +0 -6823
  60. package/es/components/iho-table/src/plugins/filterPlugin/filter.d.ts +0 -23
  61. package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +0 -86
  62. package/es/shared/utils/tapable/index.d.ts +0 -139
package/README.md CHANGED
@@ -1,123 +1,123 @@
1
- # 安装
2
-
3
- ```shell
4
- npm i cnhis-design-vue@[版本号]
5
- # or
6
- yarn add cnhis-design-vue@[版本号] #推荐
7
- ```
8
-
9
- ## 1.全局引入
10
-
11
- ```typescript
12
- // main.ts
13
- import { createApp } from 'vue';
14
- import App from './App.vue';
15
- import 'cnhis-design-vue/es/packages/index.css';
16
- import cui from 'cnhis-design-vue';
17
-
18
- const app = createApp(App);
19
- app.use(cui).mount('#app');
20
- ```
21
-
22
- ## 2. 按需引入
23
-
24
- 组件现在支持了自动按需引入, 但是样式文件需要额外的处理
25
-
26
- ### 2.1 样式处理方式 1(按需引入样式)
27
-
28
- ```shell
29
- # 安装自动导入样式的插件
30
- npm i -d vite-plugin-style-import
31
- ```
32
-
33
- ```typescript
34
- // vite.config.ts
35
- import { defineConfig } from 'vite';
36
- import { createStyleImportPlugin } from 'vite-plugin-style-import';
37
-
38
- export default defineConfig({
39
- plugins: [
40
- // ...otherPlugins
41
- createStyleImportPlugin({
42
- libs: [
43
- {
44
- libraryName: 'cnhis-design-vue',
45
- esModule: true,
46
- ensureStyleFile: true,
47
- resolveStyle: name => {
48
- return `cnhis-design-vue/es/components/${ name.slice(2) }/style/index.css`;
49
- }
50
- }
51
- ]
52
- })
53
- ]
54
- });
55
- ```
56
-
57
- ### 2.2 样式处理方式 2(全局引入样式)
58
-
59
- ```typescript
60
- // main.ts
61
- import 'cnhis-design-vue/es/components/index.css';
62
- ```
63
-
64
- ## 3. 注意
65
-
66
- 由于 vxe-table 目前的引入方式是由组件 install 触发的,所以如果需要使用 c-grid/c-big-table 组件,需要全局注册二者任意一个
67
-
68
- ```typescript
69
- // main.ts
70
- import { createApp } from 'vue';
71
- import App from './App.vue';
72
-
73
- import { CGrid } from 'cnhis-design-vue';
74
- // 或者
75
- import { CBigTable } from 'cnhis-design-vue';
76
-
77
- const app = createApp(App);
78
- app.use(CGrid);
79
- // 或者
80
- app.use(CBigTable);
81
- app.mount('#app');
82
- ```
83
-
84
- ## 4.FAQ
85
-
86
- ### 4.1 项目打包后样式丢失
87
-
88
- > 处理方法, 将 cnhis-design-vue 从 vendor 包中移除
89
-
90
- ```typescript
91
- // vite.config.ts
92
- import { defineConfig } from 'vite';
93
-
94
- export default defineConfig({
95
- rollupOptions: {
96
- // ..otherOptions
97
- output: {
98
- dir: './dist',
99
- manualChunks(id: string) {
100
- if (id.includes('node_modules') && !id.includes('cnhis-design-vue')) {
101
- return 'vendor';
102
- }
103
- }
104
- }
105
- }
106
- });
107
- ```
108
-
109
- ### 4.2 找不到文件
110
-
111
- > 由于组件库输出文件类型由 js 修改成了 mjs, 如果配置了 resolve 属性的项目, 需要将 mjs 文件类型添加至 extensions 中
112
-
113
- ```javascript
114
- // vite.config.ts
115
- const config = {
116
- // ...otherOptions
117
- resolve: {
118
- // ...otherOptions
119
- // 如果没有配置, 则不用考虑
120
- extensions: ['.js', '.ts', '.vue', '.json', '.mjs']
121
- }
122
- };
123
- ```
1
+ # 安装
2
+
3
+ ```shell
4
+ npm i cnhis-design-vue@[版本号]
5
+ # or
6
+ yarn add cnhis-design-vue@[版本号] #推荐
7
+ ```
8
+
9
+ ## 1.全局引入
10
+
11
+ ```typescript
12
+ // main.ts
13
+ import { createApp } from 'vue';
14
+ import App from './App.vue';
15
+ import 'cnhis-design-vue/es/packages/index.css';
16
+ import cui from 'cnhis-design-vue';
17
+
18
+ const app = createApp(App);
19
+ app.use(cui).mount('#app');
20
+ ```
21
+
22
+ ## 2. 按需引入
23
+
24
+ 组件现在支持了自动按需引入, 但是样式文件需要额外的处理
25
+
26
+ ### 2.1 样式处理方式 1(按需引入样式)
27
+
28
+ ```shell
29
+ # 安装自动导入样式的插件
30
+ npm i -d vite-plugin-style-import
31
+ ```
32
+
33
+ ```typescript
34
+ // vite.config.ts
35
+ import { defineConfig } from 'vite';
36
+ import { createStyleImportPlugin } from 'vite-plugin-style-import';
37
+
38
+ export default defineConfig({
39
+ plugins: [
40
+ // ...otherPlugins
41
+ createStyleImportPlugin({
42
+ libs: [
43
+ {
44
+ libraryName: 'cnhis-design-vue',
45
+ esModule: true,
46
+ ensureStyleFile: true,
47
+ resolveStyle: name => {
48
+ return `cnhis-design-vue/es/components/${ name.slice(2) }/style/index.css`;
49
+ }
50
+ }
51
+ ]
52
+ })
53
+ ]
54
+ });
55
+ ```
56
+
57
+ ### 2.2 样式处理方式 2(全局引入样式)
58
+
59
+ ```typescript
60
+ // main.ts
61
+ import 'cnhis-design-vue/es/components/index.css';
62
+ ```
63
+
64
+ ## 3. 注意
65
+
66
+ 由于 vxe-table 目前的引入方式是由组件 install 触发的,所以如果需要使用 c-grid/c-big-table 组件,需要全局注册二者任意一个
67
+
68
+ ```typescript
69
+ // main.ts
70
+ import { createApp } from 'vue';
71
+ import App from './App.vue';
72
+
73
+ import { CGrid } from 'cnhis-design-vue';
74
+ // 或者
75
+ import { CBigTable } from 'cnhis-design-vue';
76
+
77
+ const app = createApp(App);
78
+ app.use(CGrid);
79
+ // 或者
80
+ app.use(CBigTable);
81
+ app.mount('#app');
82
+ ```
83
+
84
+ ## 4.FAQ
85
+
86
+ ### 4.1 项目打包后样式丢失
87
+
88
+ > 处理方法, 将 cnhis-design-vue 从 vendor 包中移除
89
+
90
+ ```typescript
91
+ // vite.config.ts
92
+ import { defineConfig } from 'vite';
93
+
94
+ export default defineConfig({
95
+ rollupOptions: {
96
+ // ..otherOptions
97
+ output: {
98
+ dir: './dist',
99
+ manualChunks(id: string) {
100
+ if (id.includes('node_modules') && !id.includes('cnhis-design-vue')) {
101
+ return 'vendor';
102
+ }
103
+ }
104
+ }
105
+ }
106
+ });
107
+ ```
108
+
109
+ ### 4.2 找不到文件
110
+
111
+ > 由于组件库输出文件类型由 js 修改成了 mjs, 如果配置了 resolve 属性的项目, 需要将 mjs 文件类型添加至 extensions 中
112
+
113
+ ```javascript
114
+ // vite.config.ts
115
+ const config = {
116
+ // ...otherOptions
117
+ resolve: {
118
+ // ...otherOptions
119
+ // 如果没有配置, 则不用考虑
120
+ extensions: ['.js', '.ts', '.vue', '.json', '.mjs']
121
+ }
122
+ };
123
+ ```
@@ -60,10 +60,6 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
60
60
  default: string;
61
61
  type: StringConstructor;
62
62
  };
63
- queryPrintFile: {
64
- type: FunctionConstructor;
65
- default: () => Promise<{}>;
66
- };
67
63
  }, {
68
64
  $message: import("naive-ui").MessageApi;
69
65
  printInstance: any;
@@ -126,10 +122,6 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
126
122
  default: string;
127
123
  type: StringConstructor;
128
124
  };
129
- queryPrintFile: {
130
- type: FunctionConstructor;
131
- default: () => Promise<{}>;
132
- };
133
125
  }>> & {
134
126
  onError?: ((...args: any[]) => any) | undefined;
135
127
  onSuccess?: ((...args: any[]) => any) | undefined;
@@ -149,7 +141,6 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
149
141
  isInited: boolean;
150
142
  watchPrintParamsReformatFn: null;
151
143
  spinTimer: null;
152
- fileObject: null;
153
144
  };
154
145
  options: {
155
146
  label: string;
@@ -164,7 +155,6 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
164
155
  prevFnError: () => void;
165
156
  getPrintParams: (index?: number) => string;
166
157
  getOnceParams: () => string;
167
- browserPrint: (mode: any) => Promise<void>;
168
158
  handleClickPrint: () => void;
169
159
  handleClickPreview: () => Promise<void>;
170
160
  handleClickPdf: () => Promise<void>;
@@ -206,10 +196,13 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
206
196
  type: BooleanConstructor;
207
197
  required: true;
208
198
  };
209
- printType: {
210
- type: (NumberConstructor | StringConstructor)[];
211
- required: true;
212
- default: number;
199
+ formatId: {
200
+ type: StringConstructor;
201
+ required: false;
202
+ };
203
+ templateId: {
204
+ type: StringConstructor;
205
+ required: false;
213
206
  };
214
207
  }, {
215
208
  $message: import("naive-ui").MessageApi;
@@ -221,7 +214,8 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
221
214
  verifyUser: Function;
222
215
  identityVerificationTitle: string;
223
216
  modelValue: boolean;
224
- printType: string | number;
217
+ formatId?: string | undefined;
218
+ templateId?: string | undefined;
225
219
  };
226
220
  emit: (event: "close" | "success" | "update:modelValue", ...args: any[]) => void;
227
221
  editFormRef: import("vue").Ref<{
@@ -545,17 +539,11 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
545
539
  readonly ignorePathChange: boolean;
546
540
  }>;
547
541
  NInput: any;
548
- EditForm: import("vue").DefineComponent<{
549
- saveIReportFormat: {
550
- type: FunctionConstructor;
551
- required: true;
552
- default: () => Promise<void>;
553
- };
554
- }, {
542
+ EditForm: import("vue").DefineComponent<{}, {
543
+ HOST: string;
544
+ SAVEIREPORT: string;
545
+ instance: import("axios").AxiosInstance;
555
546
  $message: import("naive-ui").MessageApi;
556
- props: {
557
- saveIReportFormat: Function;
558
- };
559
547
  fileList: import("vue").Ref<{
560
548
  key: string;
561
549
  value: {
@@ -593,7 +581,7 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
593
581
  fullPath?: string | null | undefined;
594
582
  }[];
595
583
  }[]>;
596
- submit: (token: string) => Promise<unknown>;
584
+ submit: (datas: import("../../../es/shared/types").AnyObject) => Promise<unknown>;
597
585
  onChange: (data: {
598
586
  file: import("naive-ui").UploadFileInfo;
599
587
  fileList: import("naive-ui").UploadFileInfo[];
@@ -1770,15 +1758,7 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
1770
1758
  }>;
1771
1759
  NSpace: any;
1772
1760
  Archive: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
1773
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1774
- saveIReportFormat: {
1775
- type: FunctionConstructor;
1776
- required: true;
1777
- default: () => Promise<void>;
1778
- };
1779
- }>>, {
1780
- saveIReportFormat: Function;
1781
- }>;
1761
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
1782
1762
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "success" | "update:modelValue")[], "close" | "success" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1783
1763
  verifyUser: {
1784
1764
  type: FunctionConstructor;
@@ -1794,10 +1774,13 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
1794
1774
  type: BooleanConstructor;
1795
1775
  required: true;
1796
1776
  };
1797
- printType: {
1798
- type: (NumberConstructor | StringConstructor)[];
1799
- required: true;
1800
- default: number;
1777
+ formatId: {
1778
+ type: StringConstructor;
1779
+ required: false;
1780
+ };
1781
+ templateId: {
1782
+ type: StringConstructor;
1783
+ required: false;
1801
1784
  };
1802
1785
  }>> & {
1803
1786
  onClose?: ((...args: any[]) => any) | undefined;
@@ -1806,7 +1789,6 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
1806
1789
  }, {
1807
1790
  verifyUser: Function;
1808
1791
  identityVerificationTitle: string;
1809
- printType: string | number;
1810
1792
  }>;
1811
1793
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("error" | "success" | "clickoutside")[], "error" | "success" | "clickoutside", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1812
1794
  printParams: {
@@ -1867,10 +1849,6 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
1867
1849
  default: string;
1868
1850
  type: StringConstructor;
1869
1851
  };
1870
- queryPrintFile: {
1871
- type: FunctionConstructor;
1872
- default: () => Promise<{}>;
1873
- };
1874
1852
  }>> & {
1875
1853
  onError?: ((...args: any[]) => any) | undefined;
1876
1854
  onSuccess?: ((...args: any[]) => any) | undefined;
@@ -1889,6 +1867,5 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
1889
1867
  clickPrevFn: Function;
1890
1868
  noDataMsg: string;
1891
1869
  printdlgshow: string;
1892
- queryPrintFile: Function;
1893
1870
  }>>;
1894
1871
  export default ButtonPrint;
@@ -2,7 +2,7 @@ import { COMPONENT_NAMESPACE } from '../../shared/global/variable.js';
2
2
  import { safeComponentRegister } from '../../shared/utils/index.js';
3
3
  import script from './src/ButtonPrint.js';
4
4
  export { Print } from './src/utils/print.js';
5
- export { useBrowserPrint } from './src/utils/browserPrint.js';
5
+ export { isIReport, useBrowserPrint } from './src/utils/browserPrint.js';
6
6
 
7
7
  const ButtonPrint = script;
8
8
  ButtonPrint.install = function(app) {
@@ -61,10 +61,6 @@ declare const _default: import("vue").DefineComponent<{
61
61
  default: string;
62
62
  type: StringConstructor;
63
63
  };
64
- queryPrintFile: {
65
- type: FunctionConstructor;
66
- default: () => Promise<{}>;
67
- };
68
64
  }, {
69
65
  $message: import("naive-ui").MessageApi;
70
66
  printInstance: any;
@@ -130,10 +126,6 @@ declare const _default: import("vue").DefineComponent<{
130
126
  default: string;
131
127
  type: StringConstructor;
132
128
  };
133
- queryPrintFile: {
134
- type: FunctionConstructor;
135
- default: () => Promise<{}>;
136
- };
137
129
  }>> & {
138
130
  onError?: ((...args: any[]) => any) | undefined;
139
131
  onSuccess?: ((...args: any[]) => any) | undefined;
@@ -153,7 +145,6 @@ declare const _default: import("vue").DefineComponent<{
153
145
  isInited: boolean;
154
146
  watchPrintParamsReformatFn: null;
155
147
  spinTimer: null;
156
- fileObject: null;
157
148
  };
158
149
  options: {
159
150
  label: string;
@@ -168,7 +159,6 @@ declare const _default: import("vue").DefineComponent<{
168
159
  prevFnError: () => void;
169
160
  getPrintParams: (index?: number) => string;
170
161
  getOnceParams: () => string;
171
- browserPrint: (mode: any) => Promise<void>;
172
162
  handleClickPrint: () => void;
173
163
  handleClickPreview: () => Promise<void>;
174
164
  handleClickPdf: () => Promise<void>;
@@ -210,10 +200,13 @@ declare const _default: import("vue").DefineComponent<{
210
200
  type: BooleanConstructor;
211
201
  required: true;
212
202
  };
213
- printType: {
214
- type: (NumberConstructor | StringConstructor)[];
215
- required: true;
216
- default: number;
203
+ formatId: {
204
+ type: StringConstructor;
205
+ required: false;
206
+ };
207
+ templateId: {
208
+ type: StringConstructor;
209
+ required: false;
217
210
  };
218
211
  }, {
219
212
  $message: import("naive-ui").MessageApi;
@@ -225,7 +218,8 @@ declare const _default: import("vue").DefineComponent<{
225
218
  verifyUser: Function;
226
219
  identityVerificationTitle: string;
227
220
  modelValue: boolean;
228
- printType: string | number;
221
+ formatId?: string | undefined;
222
+ templateId?: string | undefined;
229
223
  };
230
224
  emit: (event: "close" | "success" | "update:modelValue", ...args: any[]) => void;
231
225
  editFormRef: import("vue").Ref<{
@@ -549,17 +543,11 @@ declare const _default: import("vue").DefineComponent<{
549
543
  readonly ignorePathChange: boolean;
550
544
  }>;
551
545
  NInput: any;
552
- EditForm: import("vue").DefineComponent<{
553
- saveIReportFormat: {
554
- type: FunctionConstructor;
555
- required: true;
556
- default: () => Promise<void>;
557
- };
558
- }, {
546
+ EditForm: import("vue").DefineComponent<{}, {
547
+ HOST: string;
548
+ SAVEIREPORT: string;
549
+ instance: import("axios").AxiosInstance;
559
550
  $message: import("naive-ui").MessageApi;
560
- props: {
561
- saveIReportFormat: Function;
562
- };
563
551
  fileList: import("vue").Ref<{
564
552
  key: string;
565
553
  value: {
@@ -597,7 +585,7 @@ declare const _default: import("vue").DefineComponent<{
597
585
  fullPath?: string | null | undefined;
598
586
  }[];
599
587
  }[]>;
600
- submit: (token: string) => Promise<unknown>;
588
+ submit: (datas: import("../../../shared/types").AnyObject) => Promise<unknown>;
601
589
  onChange: (data: {
602
590
  file: import("naive-ui").UploadFileInfo;
603
591
  fileList: import("naive-ui").UploadFileInfo[];
@@ -1774,15 +1762,7 @@ declare const _default: import("vue").DefineComponent<{
1774
1762
  }>;
1775
1763
  NSpace: any;
1776
1764
  Archive: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
1777
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1778
- saveIReportFormat: {
1779
- type: FunctionConstructor;
1780
- required: true;
1781
- default: () => Promise<void>;
1782
- };
1783
- }>>, {
1784
- saveIReportFormat: Function;
1785
- }>;
1765
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
1786
1766
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "success" | "update:modelValue")[], "close" | "success" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1787
1767
  verifyUser: {
1788
1768
  type: FunctionConstructor;
@@ -1798,10 +1778,13 @@ declare const _default: import("vue").DefineComponent<{
1798
1778
  type: BooleanConstructor;
1799
1779
  required: true;
1800
1780
  };
1801
- printType: {
1802
- type: (NumberConstructor | StringConstructor)[];
1803
- required: true;
1804
- default: number;
1781
+ formatId: {
1782
+ type: StringConstructor;
1783
+ required: false;
1784
+ };
1785
+ templateId: {
1786
+ type: StringConstructor;
1787
+ required: false;
1805
1788
  };
1806
1789
  }>> & {
1807
1790
  onClose?: ((...args: any[]) => any) | undefined;
@@ -1810,7 +1793,6 @@ declare const _default: import("vue").DefineComponent<{
1810
1793
  }, {
1811
1794
  verifyUser: Function;
1812
1795
  identityVerificationTitle: string;
1813
- printType: string | number;
1814
1796
  }>;
1815
1797
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("error" | "success" | "clickoutside")[], "error" | "success" | "clickoutside", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1816
1798
  printParams: {
@@ -1874,10 +1856,6 @@ declare const _default: import("vue").DefineComponent<{
1874
1856
  default: string;
1875
1857
  type: StringConstructor;
1876
1858
  };
1877
- queryPrintFile: {
1878
- type: FunctionConstructor;
1879
- default: () => Promise<{}>;
1880
- };
1881
1859
  }>> & {
1882
1860
  onError?: ((...args: any[]) => any) | undefined;
1883
1861
  onSuccess?: ((...args: any[]) => any) | undefined;
@@ -1896,6 +1874,5 @@ declare const _default: import("vue").DefineComponent<{
1896
1874
  clickPrevFn: Function;
1897
1875
  noDataMsg: string;
1898
1876
  printdlgshow: string;
1899
- queryPrintFile: Function;
1900
1877
  }>;
1901
1878
  export default _default;