cnhis-design-vue 3.1.37-beta.1 → 3.1.37

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 (57) hide show
  1. package/es/components/big-table/index.d.ts +66 -166
  2. package/es/components/big-table/src/BigTable.vue.d.ts +79 -194
  3. package/es/components/button-print/index.d.ts +24 -27
  4. package/es/components/button-print/src/ButtonPrint.vue.d.ts +101 -100
  5. package/es/components/button-print/src/components/EditFormat.vue.d.ts +4 -4
  6. package/es/components/button-print/src/components/IdentityVerification.vue.d.ts +4 -4
  7. package/es/components/button-print/src/utils/print.js +1 -6
  8. package/es/components/fabric-chart/index.d.ts +34 -11
  9. package/es/components/fabric-chart/src/FabricChart.vue.d.ts +35 -12
  10. package/es/components/fabric-chart/src/FabricChart.vue.js +9 -9
  11. package/es/components/fabric-chart/src/hooks/useBirthProcess.d.ts +1 -18
  12. package/es/components/fabric-chart/src/hooks/useBirthProcess.js +129 -42
  13. package/es/components/fabric-chart/src/hooks/useBirthProcessChart.d.ts +25 -0
  14. package/es/components/fabric-chart/src/hooks/useBirthProcessChart.js +151 -0
  15. package/es/components/fabric-chart/src/hooks/useCenter.d.ts +1 -1
  16. package/es/components/fabric-chart/src/hooks/useCenter.js +6 -7
  17. package/es/components/fabric-chart/src/hooks/useOther.js +3 -2
  18. package/es/components/fabric-chart/src/hooks/useTemperatureChart.js +1 -1
  19. package/es/components/fabric-chart/src/interface.d.ts +3 -1
  20. package/es/components/fabric-chart/src/utils/utils.d.ts +1 -1
  21. package/es/components/fabric-chart/src/utils/utils.js +7 -4
  22. package/es/components/form-config/index.d.ts +2 -2
  23. package/es/components/form-config/src/FormConfig.vue.d.ts +2 -2
  24. package/es/components/form-config/src/components/FormConfigDragDisplay.vue.d.ts +1 -1
  25. package/es/components/form-config/src/components/FormConfigDragDisplay.vue.js +1 -1
  26. package/es/components/form-config/src/components/renderer/ComplexNode.vue.d.ts +1 -1
  27. package/es/components/form-config/src/hooks/useSortalbeConfig.d.ts +2 -1
  28. package/es/components/form-config/src/hooks/useSortalbeConfig.js +2 -2
  29. package/es/components/form-render/src/hooks/useLowCodeReactions.js +19 -18
  30. package/es/components/form-render/src/types/index.d.ts +2 -2
  31. package/es/components/iho-table/src/constants/index.d.ts +2 -2
  32. package/es/components/iho-table/style/index.css +1 -1
  33. package/es/components/index.css +1 -1
  34. package/es/components/index.d.ts +1 -2
  35. package/es/components/index.js +0 -3
  36. package/es/components/scale-view/src/hooks/use-component.d.ts +30 -81
  37. package/es/components/select-label/index.d.ts +30 -81
  38. package/es/components/select-label/src/SelectLabel.vue.d.ts +30 -81
  39. package/es/components/select-person/index.d.ts +113 -41
  40. package/es/components/select-person/src/SelectPerson.vue.d.ts +76 -45
  41. package/es/shared/utils/tapable/AsyncParallelBailHook.js +1 -1
  42. package/es/shared/utils/tapable/AsyncSeriesWaterfallHook.js +2 -3
  43. package/es/shared/utils/tapable/Hook.d.ts +1 -1
  44. package/es/shared/utils/tapable/Hook.js +1 -1
  45. package/es/shared/utils/tapable/HookCodeFactory.js +3 -6
  46. package/es/shared/utils/tapable/SyncWaterfallHook.js +1 -2
  47. package/package.json +2 -2
  48. package/es/components/drag-layout/index.d.ts +0 -606
  49. package/es/components/drag-layout/index.js +0 -11
  50. package/es/components/drag-layout/src/DragFormLeftItem.vue.d.ts +0 -21
  51. package/es/components/drag-layout/src/DragFormLeftItem.vue.js +0 -122
  52. package/es/components/drag-layout/src/DragFormRightItem.vue.d.ts +0 -125
  53. package/es/components/drag-layout/src/DragFormRightItem.vue.js +0 -267
  54. package/es/components/drag-layout/src/DragLayout.vue.d.ts +0 -606
  55. package/es/components/drag-layout/src/DragLayout.vue.js +0 -662
  56. package/es/components/drag-layout/style/index.css +0 -1
  57. package/es/components/fabric-chart/src/BirthProcessChart.vue.d.ts +0 -181
@@ -1,11 +1,15 @@
1
1
  /// <reference types="node" />
2
+ import { AnyObject } from '../../../../es/shared/types';
3
+ import { PropType } from 'vue';
4
+ import type { DropdownOption } from 'naive-ui';
5
+ import { Print } from './utils';
2
6
  declare const _default: import("vue").DefineComponent<{
3
7
  printParams: {
4
- type: ArrayConstructor;
8
+ type: PropType<AnyObject[]>;
5
9
  };
6
10
  params: {
7
11
  default: () => never[];
8
- type: ArrayConstructor;
12
+ type: PropType<AnyObject[]>;
9
13
  };
10
14
  btnText: {
11
15
  default: string;
@@ -67,14 +71,14 @@ declare const _default: import("vue").DefineComponent<{
67
71
  };
68
72
  }, {
69
73
  $message: import("naive-ui").MessageApi;
70
- printInstance: any;
74
+ printInstance: Print | null;
71
75
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
72
76
  printParams: {
73
- type: ArrayConstructor;
77
+ type: PropType<AnyObject[]>;
74
78
  };
75
79
  params: {
76
80
  default: () => never[];
77
- type: ArrayConstructor;
81
+ type: PropType<AnyObject[]>;
78
82
  };
79
83
  btnText: {
80
84
  default: string;
@@ -139,7 +143,7 @@ declare const _default: import("vue").DefineComponent<{
139
143
  onSuccess?: ((...args: any[]) => any) | undefined;
140
144
  onClickoutside?: ((...args: any[]) => any) | undefined;
141
145
  }>>;
142
- emit: (event: "error" | "success" | "clickoutside", ...args: any[]) => void;
146
+ emit: (event: "success" | "error" | "clickoutside", ...args: any[]) => void;
143
147
  state: {
144
148
  spinning: boolean;
145
149
  visible: boolean;
@@ -154,16 +158,13 @@ declare const _default: import("vue").DefineComponent<{
154
158
  watchPrintParamsReformatFn: null;
155
159
  spinTimer: null;
156
160
  };
157
- options: {
158
- label: string;
159
- key: string;
160
- }[];
161
+ options: import("naive-ui").MenuOption[];
161
162
  currentFormatItem: import("vue").ComputedRef<{} | undefined>;
162
163
  formatTitle: import("vue").ComputedRef<any>;
163
164
  getTemplateIdByFormatId: import("vue").ComputedRef<any>;
164
- renderLabel: (option: any) => any;
165
+ renderLabel: (option: DropdownOption) => JSX.Element;
165
166
  callLocalServicesSuccessCb: (res: any, type: any) => void;
166
- callLocalServicesErrorCb: (res: any) => void;
167
+ callLocalServicesErrorCb: (res: unknown) => void;
167
168
  prevFnError: () => void;
168
169
  getPrintParams: (index?: number) => string;
169
170
  getOnceParams: () => string;
@@ -171,24 +172,24 @@ declare const _default: import("vue").DefineComponent<{
171
172
  handleClickPreview: () => Promise<void>;
172
173
  handleClickPdf: () => Promise<void>;
173
174
  handleClickEdit: () => void;
174
- handleSelect: (key: any) => void;
175
+ handleSelect: (key: string) => void;
175
176
  handleClickOutside: () => void;
176
177
  instantiatePrintSDK: () => false | undefined;
177
- getDefaultFormatId: (list: any, key: any) => any;
178
+ getDefaultFormatId: (list: any[], key: string | number) => any;
178
179
  setOptions: () => void;
179
- formatFormatList: (list: any) => never[];
180
+ formatFormatList: (list: any[]) => any;
180
181
  requestError: () => boolean;
181
- formatDefaultVal: (i: any, tableVal: any) => any;
182
- formatPrintParams: (paramObj: any, fieldList: any, keyName: any) => {};
182
+ formatDefaultVal: (i: any, tableVal?: any) => any;
183
+ formatPrintParams: (paramObj: any, fieldList: any[], keyName: string) => any;
183
184
  formatParams: ({ customizeDataset, param }: {
184
185
  customizeDataset?: never[] | undefined;
185
186
  param?: never[] | undefined;
186
- }, params?: never[]) => {}[];
187
+ }, params?: any[]) => any;
187
188
  initCRM: (formatListResult: any) => Promise<boolean | undefined>;
188
189
  init: () => Promise<boolean>;
189
190
  handleClickBtn: () => Promise<false | undefined>;
190
191
  reformatPrintParams: () => void;
191
- verifiySuccess: (token: any) => void;
192
+ verifiySuccess: (token: string) => void;
192
193
  NDropdown: any;
193
194
  NButton: any;
194
195
  NIcon: any;
@@ -257,34 +258,34 @@ declare const _default: import("vue").DefineComponent<{
257
258
  NForm: any;
258
259
  NFormItem: import("vue").DefineComponent<{
259
260
  readonly label: StringConstructor;
260
- readonly labelWidth: import("vue").PropType<string | number>;
261
- readonly labelStyle: import("vue").PropType<string | import("vue").CSSProperties>;
262
- readonly labelAlign: import("vue").PropType<import("naive-ui/es/form/src/interface").LabelAlign>;
263
- readonly labelPlacement: import("vue").PropType<import("naive-ui/es/form/src/interface").LabelPlacement>;
261
+ readonly labelWidth: PropType<string | number>;
262
+ readonly labelStyle: PropType<string | import("vue").CSSProperties>;
263
+ readonly labelAlign: PropType<import("naive-ui/es/form/src/interface").LabelAlign>;
264
+ readonly labelPlacement: PropType<import("naive-ui/es/form/src/interface").LabelPlacement>;
264
265
  readonly path: StringConstructor;
265
266
  readonly first: BooleanConstructor;
266
267
  readonly rulePath: StringConstructor;
267
268
  readonly required: BooleanConstructor;
268
269
  readonly showRequireMark: {
269
- readonly type: import("vue").PropType<boolean | undefined>;
270
+ readonly type: PropType<boolean | undefined>;
270
271
  readonly default: undefined;
271
272
  };
272
- readonly requireMarkPlacement: import("vue").PropType<"left" | "right" | "right-hanging">;
273
+ readonly requireMarkPlacement: PropType<"left" | "right" | "right-hanging">;
273
274
  readonly showFeedback: {
274
- readonly type: import("vue").PropType<boolean | undefined>;
275
+ readonly type: PropType<boolean | undefined>;
275
276
  readonly default: undefined;
276
277
  };
277
- readonly rule: import("vue").PropType<import("naive-ui").FormItemRule | import("naive-ui").FormItemRule[]>;
278
- readonly size: import("vue").PropType<"small" | "medium" | "large">;
278
+ readonly rule: PropType<import("naive-ui").FormItemRule | import("naive-ui").FormItemRule[]>;
279
+ readonly size: PropType<"small" | "medium" | "large">;
279
280
  readonly ignorePathChange: BooleanConstructor;
280
- readonly validationStatus: import("vue").PropType<"error" | "success" | "warning">;
281
+ readonly validationStatus: PropType<"error" | "success" | "warning">;
281
282
  readonly feedback: StringConstructor;
282
283
  readonly showLabel: {
283
- readonly type: import("vue").PropType<boolean | undefined>;
284
+ readonly type: PropType<boolean | undefined>;
284
285
  readonly default: undefined;
285
286
  };
286
- readonly labelProps: import("vue").PropType<import("vue").LabelHTMLAttributes>;
287
- readonly theme: import("vue").PropType<import("naive-ui/es/_mixins").Theme<"Form", {
287
+ readonly labelProps: PropType<import("vue").LabelHTMLAttributes>;
288
+ readonly theme: PropType<import("naive-ui/es/_mixins").Theme<"Form", {
288
289
  blankHeightSmall: string;
289
290
  blankHeightMedium: string;
290
291
  blankHeightLarge: string;
@@ -315,7 +316,7 @@ declare const _default: import("vue").DefineComponent<{
315
316
  labelTextAlignVertical: string;
316
317
  labelTextAlignHorizontal: string;
317
318
  }, any>>;
318
- readonly themeOverrides: import("vue").PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Form", {
319
+ readonly themeOverrides: PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Form", {
319
320
  blankHeightSmall: string;
320
321
  blankHeightMedium: string;
321
322
  blankHeightLarge: string;
@@ -346,7 +347,7 @@ declare const _default: import("vue").DefineComponent<{
346
347
  labelTextAlignVertical: string;
347
348
  labelTextAlignHorizontal: string;
348
349
  }, any>>>;
349
- readonly builtinThemeOverrides: import("vue").PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Form", {
350
+ readonly builtinThemeOverrides: PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Form", {
350
351
  blankHeightSmall: string;
351
352
  blankHeightMedium: string;
352
353
  blankHeightLarge: string;
@@ -422,34 +423,34 @@ declare const _default: import("vue").DefineComponent<{
422
423
  }[]>;
423
424
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
424
425
  readonly label: StringConstructor;
425
- readonly labelWidth: import("vue").PropType<string | number>;
426
- readonly labelStyle: import("vue").PropType<string | import("vue").CSSProperties>;
427
- readonly labelAlign: import("vue").PropType<import("naive-ui/es/form/src/interface").LabelAlign>;
428
- readonly labelPlacement: import("vue").PropType<import("naive-ui/es/form/src/interface").LabelPlacement>;
426
+ readonly labelWidth: PropType<string | number>;
427
+ readonly labelStyle: PropType<string | import("vue").CSSProperties>;
428
+ readonly labelAlign: PropType<import("naive-ui/es/form/src/interface").LabelAlign>;
429
+ readonly labelPlacement: PropType<import("naive-ui/es/form/src/interface").LabelPlacement>;
429
430
  readonly path: StringConstructor;
430
431
  readonly first: BooleanConstructor;
431
432
  readonly rulePath: StringConstructor;
432
433
  readonly required: BooleanConstructor;
433
434
  readonly showRequireMark: {
434
- readonly type: import("vue").PropType<boolean | undefined>;
435
+ readonly type: PropType<boolean | undefined>;
435
436
  readonly default: undefined;
436
437
  };
437
- readonly requireMarkPlacement: import("vue").PropType<"left" | "right" | "right-hanging">;
438
+ readonly requireMarkPlacement: PropType<"left" | "right" | "right-hanging">;
438
439
  readonly showFeedback: {
439
- readonly type: import("vue").PropType<boolean | undefined>;
440
+ readonly type: PropType<boolean | undefined>;
440
441
  readonly default: undefined;
441
442
  };
442
- readonly rule: import("vue").PropType<import("naive-ui").FormItemRule | import("naive-ui").FormItemRule[]>;
443
- readonly size: import("vue").PropType<"small" | "medium" | "large">;
443
+ readonly rule: PropType<import("naive-ui").FormItemRule | import("naive-ui").FormItemRule[]>;
444
+ readonly size: PropType<"small" | "medium" | "large">;
444
445
  readonly ignorePathChange: BooleanConstructor;
445
- readonly validationStatus: import("vue").PropType<"error" | "success" | "warning">;
446
+ readonly validationStatus: PropType<"error" | "success" | "warning">;
446
447
  readonly feedback: StringConstructor;
447
448
  readonly showLabel: {
448
- readonly type: import("vue").PropType<boolean | undefined>;
449
+ readonly type: PropType<boolean | undefined>;
449
450
  readonly default: undefined;
450
451
  };
451
- readonly labelProps: import("vue").PropType<import("vue").LabelHTMLAttributes>;
452
- readonly theme: import("vue").PropType<import("naive-ui/es/_mixins").Theme<"Form", {
452
+ readonly labelProps: PropType<import("vue").LabelHTMLAttributes>;
453
+ readonly theme: PropType<import("naive-ui/es/_mixins").Theme<"Form", {
453
454
  blankHeightSmall: string;
454
455
  blankHeightMedium: string;
455
456
  blankHeightLarge: string;
@@ -480,7 +481,7 @@ declare const _default: import("vue").DefineComponent<{
480
481
  labelTextAlignVertical: string;
481
482
  labelTextAlignHorizontal: string;
482
483
  }, any>>;
483
- readonly themeOverrides: import("vue").PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Form", {
484
+ readonly themeOverrides: PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Form", {
484
485
  blankHeightSmall: string;
485
486
  blankHeightMedium: string;
486
487
  blankHeightLarge: string;
@@ -511,7 +512,7 @@ declare const _default: import("vue").DefineComponent<{
511
512
  labelTextAlignVertical: string;
512
513
  labelTextAlignHorizontal: string;
513
514
  }, any>>>;
514
- readonly builtinThemeOverrides: import("vue").PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Form", {
515
+ readonly builtinThemeOverrides: PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Form", {
515
516
  blankHeightSmall: string;
516
517
  blankHeightMedium: string;
517
518
  blankHeightLarge: string;
@@ -612,39 +613,39 @@ declare const _default: import("vue").DefineComponent<{
612
613
  file: import("naive-ui").UploadFileInfo;
613
614
  fileList: import("naive-ui").UploadFileInfo[];
614
615
  }) => Promise<unknown>;
615
- submit: (datas: import("../../../shared/types").AnyObject) => Promise<unknown>;
616
+ submit: (datas: AnyObject) => Promise<unknown>;
616
617
  validateFormat: () => boolean;
617
618
  NForm: any;
618
619
  NFormItem: import("vue").DefineComponent<{
619
620
  readonly label: StringConstructor;
620
- readonly labelWidth: import("vue").PropType<string | number>;
621
- readonly labelStyle: import("vue").PropType<string | import("vue").CSSProperties>;
622
- readonly labelAlign: import("vue").PropType<import("naive-ui/es/form/src/interface").LabelAlign>;
623
- readonly labelPlacement: import("vue").PropType<import("naive-ui/es/form/src/interface").LabelPlacement>;
621
+ readonly labelWidth: PropType<string | number>;
622
+ readonly labelStyle: PropType<string | import("vue").CSSProperties>;
623
+ readonly labelAlign: PropType<import("naive-ui/es/form/src/interface").LabelAlign>;
624
+ readonly labelPlacement: PropType<import("naive-ui/es/form/src/interface").LabelPlacement>;
624
625
  readonly path: StringConstructor;
625
626
  readonly first: BooleanConstructor;
626
627
  readonly rulePath: StringConstructor;
627
628
  readonly required: BooleanConstructor;
628
629
  readonly showRequireMark: {
629
- readonly type: import("vue").PropType<boolean | undefined>;
630
+ readonly type: PropType<boolean | undefined>;
630
631
  readonly default: undefined;
631
632
  };
632
- readonly requireMarkPlacement: import("vue").PropType<"left" | "right" | "right-hanging">;
633
+ readonly requireMarkPlacement: PropType<"left" | "right" | "right-hanging">;
633
634
  readonly showFeedback: {
634
- readonly type: import("vue").PropType<boolean | undefined>;
635
+ readonly type: PropType<boolean | undefined>;
635
636
  readonly default: undefined;
636
637
  };
637
- readonly rule: import("vue").PropType<import("naive-ui").FormItemRule | import("naive-ui").FormItemRule[]>;
638
- readonly size: import("vue").PropType<"small" | "medium" | "large">;
638
+ readonly rule: PropType<import("naive-ui").FormItemRule | import("naive-ui").FormItemRule[]>;
639
+ readonly size: PropType<"small" | "medium" | "large">;
639
640
  readonly ignorePathChange: BooleanConstructor;
640
- readonly validationStatus: import("vue").PropType<"error" | "success" | "warning">;
641
+ readonly validationStatus: PropType<"error" | "success" | "warning">;
641
642
  readonly feedback: StringConstructor;
642
643
  readonly showLabel: {
643
- readonly type: import("vue").PropType<boolean | undefined>;
644
+ readonly type: PropType<boolean | undefined>;
644
645
  readonly default: undefined;
645
646
  };
646
- readonly labelProps: import("vue").PropType<import("vue").LabelHTMLAttributes>;
647
- readonly theme: import("vue").PropType<import("naive-ui/es/_mixins").Theme<"Form", {
647
+ readonly labelProps: PropType<import("vue").LabelHTMLAttributes>;
648
+ readonly theme: PropType<import("naive-ui/es/_mixins").Theme<"Form", {
648
649
  blankHeightSmall: string;
649
650
  blankHeightMedium: string;
650
651
  blankHeightLarge: string;
@@ -675,7 +676,7 @@ declare const _default: import("vue").DefineComponent<{
675
676
  labelTextAlignVertical: string;
676
677
  labelTextAlignHorizontal: string;
677
678
  }, any>>;
678
- readonly themeOverrides: import("vue").PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Form", {
679
+ readonly themeOverrides: PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Form", {
679
680
  blankHeightSmall: string;
680
681
  blankHeightMedium: string;
681
682
  blankHeightLarge: string;
@@ -706,7 +707,7 @@ declare const _default: import("vue").DefineComponent<{
706
707
  labelTextAlignVertical: string;
707
708
  labelTextAlignHorizontal: string;
708
709
  }, any>>>;
709
- readonly builtinThemeOverrides: import("vue").PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Form", {
710
+ readonly builtinThemeOverrides: PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Form", {
710
711
  blankHeightSmall: string;
711
712
  blankHeightMedium: string;
712
713
  blankHeightLarge: string;
@@ -782,34 +783,34 @@ declare const _default: import("vue").DefineComponent<{
782
783
  }[]>;
783
784
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
784
785
  readonly label: StringConstructor;
785
- readonly labelWidth: import("vue").PropType<string | number>;
786
- readonly labelStyle: import("vue").PropType<string | import("vue").CSSProperties>;
787
- readonly labelAlign: import("vue").PropType<import("naive-ui/es/form/src/interface").LabelAlign>;
788
- readonly labelPlacement: import("vue").PropType<import("naive-ui/es/form/src/interface").LabelPlacement>;
786
+ readonly labelWidth: PropType<string | number>;
787
+ readonly labelStyle: PropType<string | import("vue").CSSProperties>;
788
+ readonly labelAlign: PropType<import("naive-ui/es/form/src/interface").LabelAlign>;
789
+ readonly labelPlacement: PropType<import("naive-ui/es/form/src/interface").LabelPlacement>;
789
790
  readonly path: StringConstructor;
790
791
  readonly first: BooleanConstructor;
791
792
  readonly rulePath: StringConstructor;
792
793
  readonly required: BooleanConstructor;
793
794
  readonly showRequireMark: {
794
- readonly type: import("vue").PropType<boolean | undefined>;
795
+ readonly type: PropType<boolean | undefined>;
795
796
  readonly default: undefined;
796
797
  };
797
- readonly requireMarkPlacement: import("vue").PropType<"left" | "right" | "right-hanging">;
798
+ readonly requireMarkPlacement: PropType<"left" | "right" | "right-hanging">;
798
799
  readonly showFeedback: {
799
- readonly type: import("vue").PropType<boolean | undefined>;
800
+ readonly type: PropType<boolean | undefined>;
800
801
  readonly default: undefined;
801
802
  };
802
- readonly rule: import("vue").PropType<import("naive-ui").FormItemRule | import("naive-ui").FormItemRule[]>;
803
- readonly size: import("vue").PropType<"small" | "medium" | "large">;
803
+ readonly rule: PropType<import("naive-ui").FormItemRule | import("naive-ui").FormItemRule[]>;
804
+ readonly size: PropType<"small" | "medium" | "large">;
804
805
  readonly ignorePathChange: BooleanConstructor;
805
- readonly validationStatus: import("vue").PropType<"error" | "success" | "warning">;
806
+ readonly validationStatus: PropType<"error" | "success" | "warning">;
806
807
  readonly feedback: StringConstructor;
807
808
  readonly showLabel: {
808
- readonly type: import("vue").PropType<boolean | undefined>;
809
+ readonly type: PropType<boolean | undefined>;
809
810
  readonly default: undefined;
810
811
  };
811
- readonly labelProps: import("vue").PropType<import("vue").LabelHTMLAttributes>;
812
- readonly theme: import("vue").PropType<import("naive-ui/es/_mixins").Theme<"Form", {
812
+ readonly labelProps: PropType<import("vue").LabelHTMLAttributes>;
813
+ readonly theme: PropType<import("naive-ui/es/_mixins").Theme<"Form", {
813
814
  blankHeightSmall: string;
814
815
  blankHeightMedium: string;
815
816
  blankHeightLarge: string;
@@ -840,7 +841,7 @@ declare const _default: import("vue").DefineComponent<{
840
841
  labelTextAlignVertical: string;
841
842
  labelTextAlignHorizontal: string;
842
843
  }, any>>;
843
- readonly themeOverrides: import("vue").PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Form", {
844
+ readonly themeOverrides: PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Form", {
844
845
  blankHeightSmall: string;
845
846
  blankHeightMedium: string;
846
847
  blankHeightLarge: string;
@@ -871,7 +872,7 @@ declare const _default: import("vue").DefineComponent<{
871
872
  labelTextAlignVertical: string;
872
873
  labelTextAlignHorizontal: string;
873
874
  }, any>>>;
874
- readonly builtinThemeOverrides: import("vue").PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Form", {
875
+ readonly builtinThemeOverrides: PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Form", {
875
876
  blankHeightSmall: string;
876
877
  blankHeightMedium: string;
877
878
  blankHeightLarge: string;
@@ -913,8 +914,8 @@ declare const _default: import("vue").DefineComponent<{
913
914
  NUpload: any;
914
915
  NUploadDragger: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
915
916
  NP: import("vue").DefineComponent<{
916
- depth: import("vue").PropType<2 | 1 | "1" | "2" | "3" | 3>;
917
- theme: import("vue").PropType<import("naive-ui/es/_mixins").Theme<"Typography", {
917
+ depth: PropType<2 | 1 | "1" | "2" | 3 | "3">;
918
+ theme: PropType<import("naive-ui/es/_mixins").Theme<"Typography", {
918
919
  aTextColor: string;
919
920
  blockquoteTextColor: string;
920
921
  blockquotePrefixColor: string;
@@ -980,7 +981,7 @@ declare const _default: import("vue").DefineComponent<{
980
981
  olPadding: string;
981
982
  ulPadding: string;
982
983
  }, any>>;
983
- themeOverrides: import("vue").PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Typography", {
984
+ themeOverrides: PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Typography", {
984
985
  aTextColor: string;
985
986
  blockquoteTextColor: string;
986
987
  blockquotePrefixColor: string;
@@ -1046,7 +1047,7 @@ declare const _default: import("vue").DefineComponent<{
1046
1047
  olPadding: string;
1047
1048
  ulPadding: string;
1048
1049
  }, any>>>;
1049
- builtinThemeOverrides: import("vue").PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Typography", {
1050
+ builtinThemeOverrides: PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Typography", {
1050
1051
  aTextColor: string;
1051
1052
  blockquoteTextColor: string;
1052
1053
  blockquotePrefixColor: string;
@@ -1124,8 +1125,8 @@ declare const _default: import("vue").DefineComponent<{
1124
1125
  themeClass: import("vue").Ref<string> | undefined;
1125
1126
  onRender: (() => void) | undefined;
1126
1127
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1127
- depth: import("vue").PropType<2 | 1 | "1" | "2" | "3" | 3>;
1128
- theme: import("vue").PropType<import("naive-ui/es/_mixins").Theme<"Typography", {
1128
+ depth: PropType<2 | 1 | "1" | "2" | 3 | "3">;
1129
+ theme: PropType<import("naive-ui/es/_mixins").Theme<"Typography", {
1129
1130
  aTextColor: string;
1130
1131
  blockquoteTextColor: string;
1131
1132
  blockquotePrefixColor: string;
@@ -1191,7 +1192,7 @@ declare const _default: import("vue").DefineComponent<{
1191
1192
  olPadding: string;
1192
1193
  ulPadding: string;
1193
1194
  }, any>>;
1194
- themeOverrides: import("vue").PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Typography", {
1195
+ themeOverrides: PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Typography", {
1195
1196
  aTextColor: string;
1196
1197
  blockquoteTextColor: string;
1197
1198
  blockquotePrefixColor: string;
@@ -1257,7 +1258,7 @@ declare const _default: import("vue").DefineComponent<{
1257
1258
  olPadding: string;
1258
1259
  ulPadding: string;
1259
1260
  }, any>>>;
1260
- builtinThemeOverrides: import("vue").PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Typography", {
1261
+ builtinThemeOverrides: PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Typography", {
1261
1262
  aTextColor: string;
1262
1263
  blockquoteTextColor: string;
1263
1264
  blockquotePrefixColor: string;
@@ -1335,14 +1336,14 @@ declare const _default: import("vue").DefineComponent<{
1335
1336
  readonly strong: BooleanConstructor;
1336
1337
  readonly italic: BooleanConstructor;
1337
1338
  readonly underline: BooleanConstructor;
1338
- readonly depth: import("vue").PropType<2 | 1 | "1" | "2" | "3" | 3>;
1339
+ readonly depth: PropType<2 | 1 | "1" | "2" | 3 | "3">;
1339
1340
  readonly tag: StringConstructor;
1340
1341
  readonly as: {
1341
1342
  readonly type: StringConstructor;
1342
1343
  readonly validator: () => boolean;
1343
1344
  readonly default: undefined;
1344
1345
  };
1345
- readonly theme: import("vue").PropType<import("naive-ui/es/_mixins").Theme<"Typography", {
1346
+ readonly theme: PropType<import("naive-ui/es/_mixins").Theme<"Typography", {
1346
1347
  aTextColor: string;
1347
1348
  blockquoteTextColor: string;
1348
1349
  blockquotePrefixColor: string;
@@ -1408,7 +1409,7 @@ declare const _default: import("vue").DefineComponent<{
1408
1409
  olPadding: string;
1409
1410
  ulPadding: string;
1410
1411
  }, any>>;
1411
- readonly themeOverrides: import("vue").PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Typography", {
1412
+ readonly themeOverrides: PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Typography", {
1412
1413
  aTextColor: string;
1413
1414
  blockquoteTextColor: string;
1414
1415
  blockquotePrefixColor: string;
@@ -1474,7 +1475,7 @@ declare const _default: import("vue").DefineComponent<{
1474
1475
  olPadding: string;
1475
1476
  ulPadding: string;
1476
1477
  }, any>>>;
1477
- readonly builtinThemeOverrides: import("vue").PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Typography", {
1478
+ readonly builtinThemeOverrides: PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Typography", {
1478
1479
  aTextColor: string;
1479
1480
  blockquoteTextColor: string;
1480
1481
  blockquotePrefixColor: string;
@@ -1565,14 +1566,14 @@ declare const _default: import("vue").DefineComponent<{
1565
1566
  readonly strong: BooleanConstructor;
1566
1567
  readonly italic: BooleanConstructor;
1567
1568
  readonly underline: BooleanConstructor;
1568
- readonly depth: import("vue").PropType<2 | 1 | "1" | "2" | "3" | 3>;
1569
+ readonly depth: PropType<2 | 1 | "1" | "2" | 3 | "3">;
1569
1570
  readonly tag: StringConstructor;
1570
1571
  readonly as: {
1571
1572
  readonly type: StringConstructor;
1572
1573
  readonly validator: () => boolean;
1573
1574
  readonly default: undefined;
1574
1575
  };
1575
- readonly theme: import("vue").PropType<import("naive-ui/es/_mixins").Theme<"Typography", {
1576
+ readonly theme: PropType<import("naive-ui/es/_mixins").Theme<"Typography", {
1576
1577
  aTextColor: string;
1577
1578
  blockquoteTextColor: string;
1578
1579
  blockquotePrefixColor: string;
@@ -1638,7 +1639,7 @@ declare const _default: import("vue").DefineComponent<{
1638
1639
  olPadding: string;
1639
1640
  ulPadding: string;
1640
1641
  }, any>>;
1641
- readonly themeOverrides: import("vue").PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Typography", {
1642
+ readonly themeOverrides: PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Typography", {
1642
1643
  aTextColor: string;
1643
1644
  blockquoteTextColor: string;
1644
1645
  blockquotePrefixColor: string;
@@ -1704,7 +1705,7 @@ declare const _default: import("vue").DefineComponent<{
1704
1705
  olPadding: string;
1705
1706
  ulPadding: string;
1706
1707
  }, any>>>;
1707
- readonly builtinThemeOverrides: import("vue").PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Typography", {
1708
+ readonly builtinThemeOverrides: PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Typography", {
1708
1709
  aTextColor: string;
1709
1710
  blockquoteTextColor: string;
1710
1711
  blockquotePrefixColor: string;
@@ -1822,13 +1823,13 @@ declare const _default: import("vue").DefineComponent<{
1822
1823
  verifyUser: Function;
1823
1824
  identityVerificationTitle: string;
1824
1825
  }>;
1825
- }, 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<{
1826
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("success" | "error" | "clickoutside")[], "error" | "success" | "clickoutside", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1826
1827
  printParams: {
1827
- type: ArrayConstructor;
1828
+ type: PropType<AnyObject[]>;
1828
1829
  };
1829
1830
  params: {
1830
1831
  default: () => never[];
1831
- type: ArrayConstructor;
1832
+ type: PropType<AnyObject[]>;
1832
1833
  };
1833
1834
  btnText: {
1834
1835
  default: string;
@@ -1893,7 +1894,7 @@ declare const _default: import("vue").DefineComponent<{
1893
1894
  onSuccess?: ((...args: any[]) => any) | undefined;
1894
1895
  onClickoutside?: ((...args: any[]) => any) | undefined;
1895
1896
  }, {
1896
- params: unknown[];
1897
+ params: AnyObject[];
1897
1898
  btnText: string;
1898
1899
  printText: string;
1899
1900
  previewText: string;
@@ -363,7 +363,7 @@ declare const _default: import("vue").DefineComponent<{
363
363
  NUpload: any;
364
364
  NUploadDragger: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
365
365
  NP: import("vue").DefineComponent<{
366
- depth: import("vue").PropType<2 | 1 | "1" | "2" | "3" | 3>;
366
+ depth: import("vue").PropType<2 | 1 | "1" | "2" | 3 | "3">;
367
367
  theme: import("vue").PropType<import("naive-ui/es/_mixins").Theme<"Typography", {
368
368
  aTextColor: string;
369
369
  blockquoteTextColor: string;
@@ -574,7 +574,7 @@ declare const _default: import("vue").DefineComponent<{
574
574
  themeClass: import("vue").Ref<string> | undefined;
575
575
  onRender: (() => void) | undefined;
576
576
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
577
- depth: import("vue").PropType<2 | 1 | "1" | "2" | "3" | 3>;
577
+ depth: import("vue").PropType<2 | 1 | "1" | "2" | 3 | "3">;
578
578
  theme: import("vue").PropType<import("naive-ui/es/_mixins").Theme<"Typography", {
579
579
  aTextColor: string;
580
580
  blockquoteTextColor: string;
@@ -785,7 +785,7 @@ declare const _default: import("vue").DefineComponent<{
785
785
  readonly strong: BooleanConstructor;
786
786
  readonly italic: BooleanConstructor;
787
787
  readonly underline: BooleanConstructor;
788
- readonly depth: import("vue").PropType<2 | 1 | "1" | "2" | "3" | 3>;
788
+ readonly depth: import("vue").PropType<2 | 1 | "1" | "2" | 3 | "3">;
789
789
  readonly tag: StringConstructor;
790
790
  readonly as: {
791
791
  readonly type: StringConstructor;
@@ -1015,7 +1015,7 @@ declare const _default: import("vue").DefineComponent<{
1015
1015
  readonly strong: BooleanConstructor;
1016
1016
  readonly italic: BooleanConstructor;
1017
1017
  readonly underline: BooleanConstructor;
1018
- readonly depth: import("vue").PropType<2 | 1 | "1" | "2" | "3" | 3>;
1018
+ readonly depth: import("vue").PropType<2 | 1 | "1" | "2" | 3 | "3">;
1019
1019
  readonly tag: StringConstructor;
1020
1020
  readonly as: {
1021
1021
  readonly type: StringConstructor;
@@ -720,7 +720,7 @@ declare const _default: import("vue").DefineComponent<{
720
720
  NUpload: any;
721
721
  NUploadDragger: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
722
722
  NP: import("vue").DefineComponent<{
723
- depth: import("vue").PropType<2 | 1 | "1" | "2" | "3" | 3>;
723
+ depth: import("vue").PropType<2 | 1 | "1" | "2" | 3 | "3">;
724
724
  theme: import("vue").PropType<import("naive-ui/es/_mixins").Theme<"Typography", {
725
725
  aTextColor: string;
726
726
  blockquoteTextColor: string;
@@ -931,7 +931,7 @@ declare const _default: import("vue").DefineComponent<{
931
931
  themeClass: import("vue").Ref<string> | undefined;
932
932
  onRender: (() => void) | undefined;
933
933
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
934
- depth: import("vue").PropType<2 | 1 | "1" | "2" | "3" | 3>;
934
+ depth: import("vue").PropType<2 | 1 | "1" | "2" | 3 | "3">;
935
935
  theme: import("vue").PropType<import("naive-ui/es/_mixins").Theme<"Typography", {
936
936
  aTextColor: string;
937
937
  blockquoteTextColor: string;
@@ -1142,7 +1142,7 @@ declare const _default: import("vue").DefineComponent<{
1142
1142
  readonly strong: BooleanConstructor;
1143
1143
  readonly italic: BooleanConstructor;
1144
1144
  readonly underline: BooleanConstructor;
1145
- readonly depth: import("vue").PropType<2 | 1 | "1" | "2" | "3" | 3>;
1145
+ readonly depth: import("vue").PropType<2 | 1 | "1" | "2" | 3 | "3">;
1146
1146
  readonly tag: StringConstructor;
1147
1147
  readonly as: {
1148
1148
  readonly type: StringConstructor;
@@ -1372,7 +1372,7 @@ declare const _default: import("vue").DefineComponent<{
1372
1372
  readonly strong: BooleanConstructor;
1373
1373
  readonly italic: BooleanConstructor;
1374
1374
  readonly underline: BooleanConstructor;
1375
- readonly depth: import("vue").PropType<2 | 1 | "1" | "2" | "3" | 3>;
1375
+ readonly depth: import("vue").PropType<2 | 1 | "1" | "2" | 3 | "3">;
1376
1376
  readonly tag: StringConstructor;
1377
1377
  readonly as: {
1378
1378
  readonly type: StringConstructor;
@@ -1,5 +1,4 @@
1
1
  import axios from 'axios';
2
- import { isArray } from 'lodash-es';
3
2
  import { IdentityVerificationDialog, PreviewDialog } from './dialog.js';
4
3
  import { isIReport, useBrowserPrint } from './browserPrint.js';
5
4
  import { getCurrentInstance } from 'vue';
@@ -318,11 +317,7 @@ class Print {
318
317
  onReject(null);
319
318
  if (isIReport(params.formatId))
320
319
  return onResolve(res);
321
- onResolve(await this._downloadPDF(getFiledir(res.filedir)));
322
- function getFiledir(filedir) {
323
- const result = JSON.parse(filedir);
324
- return isArray(result) ? result[0] || "" : "";
325
- }
320
+ onResolve(await this._downloadPDF(res.filedir));
326
321
  },
327
322
  (err) => onReject(err),
328
323
  "downloadPDF"