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
@@ -207,21 +207,13 @@ declare const BigTable: SFCWithInstall<import("vue").DefineComponent<{
207
207
  default: () => never[];
208
208
  };
209
209
  }, {
210
- _hideAllWrap: null;
211
- _beforeSearchConvert: never[];
212
- addInlineEditPrimaryKey: string;
210
+ _hideAllWrap: any;
211
+ _beforeSearchConvert: any;
212
+ addInlineEditPrimaryKey: any;
213
213
  GROUP_TITLE_KEY: string;
214
- InputButton: import("vue").DefineComponent<{}, {
215
- content: import("vue").Ref<string>;
216
- emit: (event: "trigger", ...args: any[]) => void;
217
- search: () => void;
218
- NButton: any;
219
- NInput: any;
220
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "trigger"[], "trigger", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
221
- onTrigger?: ((...args: any[]) => any) | undefined;
222
- }, {}>;
214
+ InputButton: any;
223
215
  $message: import("naive-ui").MessageApi;
224
- xGrid: import("vue").Ref<{}>;
216
+ xGrid: any;
225
217
  copyState: {
226
218
  curAbleCheckedLen: number;
227
219
  showButtonTop: number;
@@ -278,89 +270,7 @@ declare const BigTable: SFCWithInstall<import("vue").DefineComponent<{
278
270
  anchorValue: string;
279
271
  anchorList: never[];
280
272
  };
281
- state: {
282
- curAbleCheckedLen: number;
283
- showButtonTop: number;
284
- isTree: number;
285
- isShowEmpty: boolean;
286
- currentPageSelectedLength: number;
287
- visibleCheckAllWrap: boolean;
288
- visibleCheckAllWrapMore: boolean;
289
- checkedRows: never[];
290
- filterFields: {};
291
- visibleTreeCheck: boolean;
292
- treeTableLength: number;
293
- checkWidth: {
294
- 'table-simple': string;
295
- 'table-classics': string;
296
- };
297
- lastPageIndex: number;
298
- selectType: string;
299
- levelLazyLoadSetting: null;
300
- openOnly: number;
301
- filterWidth: number;
302
- filterHeight: number;
303
- startX: number;
304
- distance: number;
305
- mask: string;
306
- groupText: never[];
307
- currentClickBtnInfo: null;
308
- columnLen: number;
309
- hasRefresh: boolean;
310
- isExpand: number;
311
- btnIcons: {
312
- copy: string;
313
- pencil: string;
314
- delete: string;
315
- add: string;
316
- download: string;
317
- label: string;
318
- queding: string;
319
- del: string;
320
- };
321
- tableHeight: string;
322
- cacheUniqueKey: {};
323
- theUniqueKeyListObj: {};
324
- editColumnMap: {};
325
- fieldLength: number;
326
- originFormatList: never[];
327
- isSaveForm: boolean;
328
- editConfig: {
329
- trigger?: "manual" | "click" | "dblclick" | undefined;
330
- enabled?: boolean | undefined;
331
- mode?: string | undefined;
332
- icon?: string | undefined;
333
- showIcon?: boolean | undefined;
334
- showStatus?: boolean | undefined;
335
- showUpdateStatus?: boolean | undefined;
336
- showInsertStatus?: boolean | undefined;
337
- showAsterisk?: boolean | undefined;
338
- autoClear?: boolean | undefined;
339
- beforeEditMethod?: ((params: {
340
- row: any;
341
- rowIndex: number;
342
- column: import("vxe-table").VxeTableDefines.ColumnInfo;
343
- columnIndex: number;
344
- $table: import("vxe-table").VxeTableConstructor & import("vxe-table").VxeTablePrivateMethods;
345
- $grid: import("vxe-table").VxeGridConstructor | null | undefined;
346
- }) => boolean) | undefined;
347
- activeMethod?: ((params: {
348
- row: any;
349
- rowIndex: number;
350
- column: import("vxe-table").VxeTableDefines.ColumnInfo;
351
- columnIndex: number;
352
- $table: import("vxe-table").VxeTableConstructor & import("vxe-table").VxeTablePrivateMethods;
353
- $grid: import("vxe-table").VxeGridConstructor | null | undefined;
354
- }) => boolean) | undefined;
355
- };
356
- rowConfig: {
357
- height: number;
358
- isHover: boolean;
359
- isCurrent: boolean;
360
- };
361
- anchorValue: string;
362
- anchorList: never[];
363
- };
273
+ state: any;
364
274
  emit: (event: string, ...args: any[]) => void;
365
275
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
366
276
  data: {
@@ -572,9 +482,7 @@ declare const BigTable: SFCWithInstall<import("vue").DefineComponent<{
572
482
  }>> & {
573
483
  [x: `on${string}`]: ((...args: any[]) => any) | undefined;
574
484
  }>>;
575
- attr: {
576
- [x: string]: unknown;
577
- };
485
+ attr: import("../../../es/shared/types").AnyObject;
578
486
  formatData: (data?: {
579
487
  tableList: any[];
580
488
  fieldList: any[];
@@ -606,21 +514,18 @@ declare const BigTable: SFCWithInstall<import("vue").DefineComponent<{
606
514
  parseDurationValue: (v: any, duration: any) => string | undefined;
607
515
  parseCombinationValue: (value: any, setting: any) => any;
608
516
  formatFieldText: (row: any, field: any, fieldList: any, fieldListOriginal: any, isTimeAxisRenderNew?: any, isTimeAxisExpand?: any) => any;
609
- allSelectedLength: import("vue").ComputedRef<any>;
610
- checkOperateCurrentTable: () => boolean;
611
- setRowStatus: (vxeTable: any, rowIndex: number, value: any) => false | undefined;
612
- resetBatchOperationRowStatus: () => false | undefined;
613
- checkListFormUnionSettingParamsList: () => boolean;
614
- handleClickCancelBtnByInline: () => Promise<void>;
615
- setAllRowInlineStatus: (disabled?: boolean) => void;
616
- hideSelectCloumns: () => void;
617
- handleEditFormLength: () => number | undefined;
618
- resetOperationRowStatus: () => false | undefined;
619
- recordClickBtnInfo: (row?: any, index?: number | undefined) => void;
620
- getInlineOpreateRow: () => {
621
- row: any;
622
- rowIndex: any;
623
- };
517
+ allSelectedLength: any;
518
+ checkOperateCurrentTable: any;
519
+ setRowStatus: any;
520
+ resetBatchOperationRowStatus: any;
521
+ checkListFormUnionSettingParamsList: any;
522
+ handleClickCancelBtnByInline: any;
523
+ setAllRowInlineStatus: any;
524
+ hideSelectCloumns: any;
525
+ handleEditFormLength: any;
526
+ resetOperationRowStatus: any;
527
+ recordClickBtnInfo: any;
528
+ getInlineOpreateRow: any;
624
529
  deleteRow: (row: any, col: any, index: number) => void;
625
530
  onFormChange: ({ value, row, column, index, type }: {
626
531
  value: string | number | null;
@@ -645,9 +550,9 @@ declare const BigTable: SFCWithInstall<import("vue").DefineComponent<{
645
550
  $event: KeyboardEvent;
646
551
  }) => void;
647
552
  scroll: (params: any) => void;
648
- currentCheckedKeys: import("vue").ComputedRef<never[]>;
553
+ currentCheckedKeys: import("vue").ComputedRef<any>;
649
554
  visibleCancelCheckAllBtn: import("vue").ComputedRef<boolean>;
650
- singleCheckedKey: import("vue").ComputedRef<string>;
555
+ singleCheckedKey: import("vue").ComputedRef<any>;
651
556
  tableNoSetting: import("vue").ComputedRef<any>;
652
557
  isScanMultiTable: import("vue").ComputedRef<any>;
653
558
  configuration: import("vue").ComputedRef<{
@@ -671,7 +576,7 @@ declare const BigTable: SFCWithInstall<import("vue").DefineComponent<{
671
576
  row: import("../../../es/shared/types").AnyObject;
672
577
  colspans?: Record<string, number> | undefined;
673
578
  }>>;
674
- onResizableChange: (payload: any) => void;
579
+ onResizableChange: import("vxe-table").VxeTableEvents.ResizableChange;
675
580
  loadData: (data: any) => Promise<void>;
676
581
  setGroupTitleToFristColumnFieldData: (formatList: any) => void;
677
582
  setCurrentPageRowChecked: () => void;
@@ -685,27 +590,27 @@ declare const BigTable: SFCWithInstall<import("vue").DefineComponent<{
685
590
  colspans?: Record<string, number> | undefined;
686
591
  } | undefined;
687
592
  formatterEdit: (params: any, col: any) => any;
688
- getEditBtn: (row: any, col: any, index: any) => any;
689
- formatter: (params: any, col: any, _isEdit: any) => any;
690
- formatterHeader: (item: any) => () => any[];
593
+ getEditBtn: (row: any, col: any, index: number) => any;
594
+ formatter: (params: any, col: any, _isEdit: boolean) => any;
595
+ formatterHeader: (item: any) => () => JSX.Element[];
691
596
  handlefilterBoxClickSort: (sort: any, field: any) => void;
692
597
  handleFilterSeach: (val: any, field: any) => void;
693
- handleFilterChangeAll: (val: any, field: any) => void;
598
+ handleFilterChangeAll: (val: boolean, field: any) => void;
694
599
  handleFilterChange: (value: any, name: any, field: any) => void;
695
600
  handleFilterSearchChange: (value: any, columnName: any, field: any) => void;
696
- handleFilterClearAll: (columnName: any) => false | undefined;
601
+ handleFilterClearAll: (columnName: string) => false | undefined;
697
602
  handleCancelFilter: () => void;
698
- mergeQuickSearchConfig: (filterFields: any, props: any) => void;
603
+ mergeQuickSearchConfig: (filterFields: Record<string, import("../../../es/shared/types").AnyObject>, props: import("../../../es/shared/types").AnyObject) => void;
699
604
  handleFilter: (field: any) => void;
700
605
  onmousedownFunc: (e: any) => void;
701
606
  maskInsert: () => void;
702
- maskCreate: () => string | HTMLDivElement;
607
+ maskCreate: () => any;
703
608
  maskMove: (e: any) => void;
704
609
  maskUp: (e: any) => void;
705
610
  setGroupTreeExpand: () => void;
706
611
  resetTableInlineEditStatus: () => false | undefined;
707
612
  renderAnnotation: (columnConfig: import("../../../es/shared/types").AnyObject) => JSX.Element | null;
708
- toolTipTitle: (item: any, type: any) => any[] | (() => any);
613
+ toolTipTitle: (item: any, type?: any) => (() => any) | (JSX.Element | null)[];
709
614
  triggerExpand: (e: any, isExpand: any) => void;
710
615
  getOtherConfigInit: () => any;
711
616
  refreshTable: () => void;
@@ -718,69 +623,64 @@ declare const BigTable: SFCWithInstall<import("vue").DefineComponent<{
718
623
  }) => Promise<any>;
719
624
  getAsyncTableData: (params: any) => Promise<void>;
720
625
  setChecklist: (list: any) => any;
721
- spanMethod: (payload: any) => any;
626
+ spanMethod: (payload: {
627
+ column: import("vxe-table").VxeTableDefines.ColumnInfo;
628
+ columnIndex: number;
629
+ $columnIndex: number;
630
+ row: any;
631
+ rowIndex: number;
632
+ $rowIndex: number;
633
+ _rowIndex: number;
634
+ isHidden: boolean;
635
+ fixed: import("vxe-table").VxeColumnPropTypes.Fixed;
636
+ type: string;
637
+ visibleData: any[];
638
+ }) => any;
722
639
  colspanMethod: (payload: any) => any;
723
640
  footerRowspanMethod: (obj: any) => {
724
641
  rowspan: number;
725
- colspan: number;
642
+ colspan: any;
726
643
  } | undefined;
727
- rowdblclick: ({ row, column }: {
728
- row: any;
729
- column: any;
730
- }) => false | undefined;
731
- pubCheckChange: (rows?: never[]) => void;
644
+ rowdblclick: ({ row, column }: any) => false | undefined;
645
+ pubCheckChange: (rows?: any[]) => void;
732
646
  updateAddCheckedRows: (rows: any, isTree?: boolean) => void;
733
- removeCheckedRows: (rows: any, isCheckedChange: any) => void;
647
+ removeCheckedRows: (rows: any, isCheckedChange?: any) => void;
734
648
  setCheckedMehod: (setChecked: any, row: any) => void;
735
649
  handlerClickRow: (data: any) => false | undefined;
736
650
  addCheckedRows: (rows: any) => void;
737
651
  treeTableSelectionChange: (records: any) => boolean;
738
- selectionChange: ({ checked, row, records, $rowIndex }: {
739
- checked: any;
740
- row: any;
741
- records: any;
742
- $rowIndex: any;
743
- }) => void;
744
- selectionChangeAll: ({ checked, records }: {
745
- checked: any;
746
- records: any;
747
- }) => void;
748
- radioOnChange: (rowData?: {}) => void;
749
- sortChange: ({ property, order }: {
750
- property: any;
751
- order: any;
752
- }) => false | undefined;
652
+ selectionChange: ({ checked, row, records, $rowIndex }: any) => void;
653
+ selectionChangeAll: ({ checked, records }: any) => void;
654
+ radioOnChange: (rowData?: any) => void;
655
+ sortChange: ({ property, order }: any) => false | undefined;
753
656
  showDrawer: () => void;
754
- handleCellMouseenter: ({ column, $event }: {
755
- column: any;
756
- $event: any;
757
- }) => void;
657
+ handleCellMouseenter: ({ column, $event }: any) => void;
758
658
  getFooterTooltipTitle: (column: any) => string;
759
659
  getFooterTitle: (column: any) => number | undefined;
760
660
  hanldeClickRefresh: () => void;
761
661
  confirmScanMulti: (params: any) => void;
762
- scanMultiOperate: (params: any) => any;
662
+ scanMultiOperate: (params: any) => JSX.Element;
763
663
  showEditForm: (row: any, column: any, $rowIndex: any) => any;
764
664
  initBatchDynamicProps: (unionItem: any, row: any, column: any, $rowIndex: any) => any;
765
- handleSubmitEditForm: (obj?: {}) => void;
665
+ handleSubmitEditForm: (obj?: any) => void;
766
666
  banSubmit: (obj: any) => void;
767
667
  handleFormTheUniqueKey: () => Promise<void>;
768
668
  handlePreView: (data: any, i: any, e: any) => void;
769
- getPicture: (row: any, item: any, type: any) => any[];
770
- getColor: (row: any, item: any) => any[];
771
- getDate: (row: any, item: any) => any[];
772
- getPercentage: (row: any, item: any) => any[] | undefined;
669
+ getPicture: (row: any, item: any, type: any) => JSX.Element[];
670
+ getColor: (row: any, item: any) => JSX.Element[];
671
+ getDate: (row: any, item: any) => JSX.Element[];
672
+ getPercentage: (row: any, item: any) => JSX.Element[] | undefined;
773
673
  getvideoList: (row: any, item: any) => null;
774
- getOrCode: (row: any, item: any, type: any) => any[];
674
+ getOrCode: (row: any, item: any, type: any) => JSX.Element[];
775
675
  qrCodeEvent: (e: any, row: any, item: any) => void;
776
- generateInlineBtnList: (row: any, index: any) => any[] | undefined;
777
- getTileBtnList: (row: any, index: any) => any[];
778
- clickBtn: (row: any, btn: any, index: any, e: any, j: any) => void;
676
+ generateInlineBtnList: (row: any, index: any) => JSX.Element[] | undefined;
677
+ getTileBtnList: (row: any, index: number) => any[];
678
+ clickBtn: (row: any, btn: any, index: number, e: any, j: any) => void;
779
679
  getBtnIcon: (btn: any, mr?: string) => any[];
780
- getFoldBtnList: (row: any, index: any) => any[];
680
+ getFoldBtnList: (row: any, index: number) => any[];
781
681
  switchBtnOnChange: (e: any, r: any, i: any, index: any) => void;
782
- getBtnLinkSwitch: (row: any, item: any, disabled: any, index: any) => any[];
783
- getField: (row: any, item: any, index: any, isLink: any) => any[];
682
+ getBtnLinkSwitch: (row: any, item: any, disabled: any, index: any) => JSX.Element[];
683
+ getField: (row: any, item: any, index: any, isLink: boolean) => JSX.Element[] | JSX.Element[][];
784
684
  linkDetail: (row: any, col: any, index: any, e: any) => false | undefined;
785
685
  hanldeCopyContent: (e: any, value: any) => void;
786
686
  getCheckboxRecords: () => never[];
@@ -791,7 +691,7 @@ declare const BigTable: SFCWithInstall<import("vue").DefineComponent<{
791
691
  handleClickAddBtnByInline: () => Promise<false | undefined>;
792
692
  handleClickSaveBtnByInline: () => false | undefined;
793
693
  removeInlineAddRow: () => false | undefined;
794
- handleMenuClickEvent: (payload: any) => void;
694
+ handleMenuClickEvent: import("vxe-table").VxeTableEvents.MenuClick;
795
695
  setCurrentRow: (row: any) => void;
796
696
  loadColumnAndData: (data: any, config: any) => void;
797
697
  clearChecked: () => void;