cnhis-design-vue 3.1.41-beta.40 → 3.1.41-beta.42

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 (64) hide show
  1. package/es/components/big-table/index.d.ts +3 -3
  2. package/es/components/big-table/src/BigTable.vue.d.ts +3 -3
  3. package/es/components/big-table/src/BigTable.vue2.js +1 -1
  4. package/es/components/button-print/index.d.ts +4 -4
  5. package/es/components/button-print/src/ButtonPrint.vue.d.ts +4 -4
  6. package/es/components/button-print/src/components/EditFormat.vue.d.ts +4 -4
  7. package/es/components/button-print/src/components/IdentityVerification.vue.d.ts +4 -4
  8. package/es/components/config-provider/src/interface.d.ts +6 -5
  9. package/es/components/fabric-chart/index.d.ts +2 -2
  10. package/es/components/fabric-chart/src/FabricChart.vue.d.ts +2 -2
  11. package/es/components/field-set/index.d.ts +2 -2
  12. package/es/components/field-set/src/FieldSet.vue.d.ts +2 -2
  13. package/es/components/form-config/index.d.ts +25 -24
  14. package/es/components/form-config/src/FormConfig.vue.d.ts +25 -24
  15. package/es/components/form-config/src/FormConfig.vue.js +1 -1
  16. package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +12 -12
  17. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +12 -12
  18. package/es/components/form-config/src/components/renderer/DefaultNode.vue.d.ts +4 -4
  19. package/es/components/form-config/src/components/renderer/DefaultNode.vue.js +1 -1
  20. package/es/components/form-config/style/index.css +1 -1
  21. package/es/components/form-render/index.d.ts +12 -12
  22. package/es/components/form-render/src/FormRender.vue.d.ts +12 -12
  23. package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +12 -12
  24. package/es/components/form-render/src/components/renderer/complex.d.ts +1 -1
  25. package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue.d.ts +1 -1
  26. package/es/components/form-render/src/components/renderer/lineBar/index.d.ts +1 -1
  27. package/es/components/form-render/src/components/renderer/radio&checkbox.d.ts +2 -2
  28. package/es/components/iho-table/index.d.ts +2 -0
  29. package/es/components/iho-table/src/IhoTable.vue.d.ts +2 -0
  30. package/es/components/iho-table/src/IhoTable.vue.js +1 -1
  31. package/es/components/iho-table/src/constants/index.d.ts +4 -4
  32. package/es/components/iho-table/src/constants/index.js +1 -1
  33. package/es/components/iho-table/src/plugins/defaultConfigPlugin/index.js +1 -1
  34. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/seqRendererPlugin.js +1 -1
  35. package/es/components/iho-table/src/plugins/virtualTreePlugin/index.js +1 -1
  36. package/es/components/iho-table/src/types/index.d.ts +1 -0
  37. package/es/components/iho-table/src/utils/index.js +1 -1
  38. package/es/components/iho-table/style/index.css +1 -1
  39. package/es/components/index.css +1 -1
  40. package/es/components/info-header/index.d.ts +28 -28
  41. package/es/components/info-header/src/InfoHeader.vue.d.ts +28 -28
  42. package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +3 -3
  43. package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +3 -3
  44. package/es/components/info-header/src/components/infoDescription/HiddenContent.vue.d.ts +2 -2
  45. package/es/components/info-header/src/components/infoDescription/InfoEllipsis.vue.d.ts +1 -1
  46. package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +15 -15
  47. package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +12 -12
  48. package/es/components/keyboard/index.d.ts +1 -1
  49. package/es/components/keyboard/src/Keyboard.vue.d.ts +1 -1
  50. package/es/components/keyboard/src/Keyboard.vue.js +1 -1
  51. package/es/components/scale-view/src/components/formitem/standard-modal.d.ts +1 -1
  52. package/es/components/select-person/index.d.ts +1 -1
  53. package/es/components/select-person/src/SelectPerson.vue.d.ts +1 -1
  54. package/es/components/shortcut-setter/index.d.ts +12 -12
  55. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +12 -12
  56. package/es/components/table-filter/src/components/render-widget/components/CheckboxGroup.vue.d.ts +1 -1
  57. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +1 -1
  58. package/es/shared/mixins/useTheme.d.ts +3 -3
  59. package/es/shared/mixins/useTheme.js +1 -1
  60. package/es/shared/utils/index.d.ts +1 -1
  61. package/es/shared/utils/index.js +1 -1
  62. package/package.json +2 -2
  63. package/es/components/iho-table/src/hooks/useTableTheme.d.ts +0 -4
  64. package/es/components/iho-table/src/hooks/useTableTheme.js +0 -1
@@ -268,7 +268,7 @@ declare const FormRender: SFCWithInstall<import("vue").DefineComponent<{}, {
268
268
  onScroll?: ((...args: any[]) => any) | undefined;
269
269
  onAnnotationChange?: ((...args: any[]) => any) | undefined;
270
270
  }>>;
271
- emit: (event: "formChange" | "scroll" | "annotationChange", ...args: any[]) => void;
271
+ emit: (event: "scroll" | "formChange" | "annotationChange", ...args: any[]) => void;
272
272
  nuiThemeOverrides: import("naive-ui").GlobalThemeOverrides;
273
273
  formRenderRef: import("vue").Ref<HTMLElement | undefined>;
274
274
  formHeight: import("vue").ComputedRef<string>;
@@ -424,32 +424,32 @@ declare const FormRender: SFCWithInstall<import("vue").DefineComponent<{}, {
424
424
  data: any;
425
425
  loading: boolean;
426
426
  required: boolean;
427
+ hidden: boolean;
428
+ visible: boolean;
429
+ content: any;
430
+ reset: (options?: import("@formily/core/esm/types").IFieldResetOptions | undefined) => Promise<void>;
431
+ active: boolean;
432
+ disabled: boolean;
427
433
  value: string;
434
+ display: import("@formily/core/esm/types").FieldDisplayTypes;
428
435
  readonly index: string | number;
429
- disabled: boolean;
430
436
  onFocus: (...args: any[]) => Promise<void>;
431
437
  onBlur: (...args: any[]) => Promise<void>;
432
438
  onInput: (...args: any[]) => Promise<void>;
433
- reset: (options?: import("@formily/core/esm/types").IFieldResetOptions | undefined) => Promise<void>;
434
- visible: boolean;
435
439
  submit: <T>(onSubmit?: ((values: any) => void | Promise<T>) | undefined) => Promise<T>;
436
440
  validator: import("@formily/core/esm/types").FieldValidator;
437
441
  pattern: import("@formily/core/esm/types").FieldPatternTypes;
438
442
  title: string;
439
443
  form: import("@formily/core/esm/models/Form").Form<any>;
440
- content: any;
441
444
  componentProps: Record<string, any>;
442
445
  decoratorProps: Record<string, any>;
443
- display: import("@formily/core/esm/types").FieldDisplayTypes;
444
446
  description: string;
445
447
  readOnly: boolean;
446
448
  editable: boolean;
447
- hidden: boolean;
448
449
  component: import("@formily/core/esm/types").FieldComponent<any, any>;
449
450
  decorator: import("@formily/core/esm/types").FieldDecorator<any, any>;
450
451
  validating: boolean;
451
452
  submitting: boolean;
452
- active: boolean;
453
453
  visited: boolean;
454
454
  selfModified: boolean;
455
455
  modified: boolean;
@@ -536,7 +536,7 @@ declare const FormRender: SFCWithInstall<import("vue").DefineComponent<{}, {
536
536
  };
537
537
  readonly disabled: BooleanConstructor;
538
538
  readonly displayDirective: {
539
- readonly type: import("vue").PropType<"if" | "show" | "show:lazy">;
539
+ readonly type: import("vue").PropType<"show" | "if" | "show:lazy">;
540
540
  readonly default: "if";
541
541
  };
542
542
  readonly closable: {
@@ -561,7 +561,7 @@ declare const FormRender: SFCWithInstall<import("vue").DefineComponent<{}, {
561
561
  };
562
562
  readonly disabled: BooleanConstructor;
563
563
  readonly displayDirective: {
564
- readonly type: import("vue").PropType<"if" | "show" | "show:lazy">;
564
+ readonly type: import("vue").PropType<"show" | "if" | "show:lazy">;
565
565
  readonly default: "if";
566
566
  };
567
567
  readonly closable: {
@@ -575,10 +575,10 @@ declare const FormRender: SFCWithInstall<import("vue").DefineComponent<{}, {
575
575
  }>>, {
576
576
  readonly disabled: boolean;
577
577
  readonly closable: boolean | undefined;
578
- readonly displayDirective: "if" | "show" | "show:lazy";
578
+ readonly displayDirective: "show" | "if" | "show:lazy";
579
579
  }>;
580
580
  NTabs: any;
581
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("formChange" | "scroll" | "annotationChange")[], "scroll" | "formChange" | "annotationChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
581
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("scroll" | "formChange" | "annotationChange")[], "scroll" | "formChange" | "annotationChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
582
582
  fieldList: {
583
583
  type: import("vue").PropType<import("./src/types").FieldItem[]>;
584
584
  };
@@ -262,7 +262,7 @@ declare const _default: import("vue").DefineComponent<{
262
262
  onScroll?: ((...args: any[]) => any) | undefined;
263
263
  onAnnotationChange?: ((...args: any[]) => any) | undefined;
264
264
  }>>;
265
- emit: (event: "formChange" | "scroll" | "annotationChange", ...args: any[]) => void;
265
+ emit: (event: "scroll" | "formChange" | "annotationChange", ...args: any[]) => void;
266
266
  nuiThemeOverrides: import("naive-ui").GlobalThemeOverrides;
267
267
  formRenderRef: import("vue").Ref<HTMLElement | undefined>;
268
268
  formHeight: import("vue").ComputedRef<string>;
@@ -418,32 +418,32 @@ declare const _default: import("vue").DefineComponent<{
418
418
  data: any;
419
419
  loading: boolean;
420
420
  required: boolean;
421
+ hidden: boolean;
422
+ visible: boolean;
423
+ content: any;
424
+ reset: (options?: import("@formily/core").IFieldResetOptions | undefined) => Promise<void>;
425
+ active: boolean;
426
+ disabled: boolean;
421
427
  value: string;
428
+ display: import("@formily/core").FieldDisplayTypes;
422
429
  readonly index: string | number;
423
- disabled: boolean;
424
430
  onFocus: (...args: any[]) => Promise<void>;
425
431
  onBlur: (...args: any[]) => Promise<void>;
426
432
  onInput: (...args: any[]) => Promise<void>;
427
- reset: (options?: import("@formily/core").IFieldResetOptions | undefined) => Promise<void>;
428
- visible: boolean;
429
433
  submit: <T>(onSubmit?: ((values: any) => void | Promise<T>) | undefined) => Promise<T>;
430
434
  validator: import("@formily/core").FieldValidator;
431
435
  pattern: import("@formily/core").FieldPatternTypes;
432
436
  title: string;
433
437
  form: import("@formily/core").Form<any>;
434
- content: any;
435
438
  componentProps: Record<string, any>;
436
439
  decoratorProps: Record<string, any>;
437
- display: import("@formily/core").FieldDisplayTypes;
438
440
  description: string;
439
441
  readOnly: boolean;
440
442
  editable: boolean;
441
- hidden: boolean;
442
443
  component: import("@formily/core").FieldComponent<any, any>;
443
444
  decorator: import("@formily/core").FieldDecorator<any, any>;
444
445
  validating: boolean;
445
446
  submitting: boolean;
446
- active: boolean;
447
447
  visited: boolean;
448
448
  selfModified: boolean;
449
449
  modified: boolean;
@@ -530,7 +530,7 @@ declare const _default: import("vue").DefineComponent<{
530
530
  };
531
531
  readonly disabled: BooleanConstructor;
532
532
  readonly displayDirective: {
533
- readonly type: PropType<"if" | "show" | "show:lazy">;
533
+ readonly type: PropType<"show" | "if" | "show:lazy">;
534
534
  readonly default: "if";
535
535
  };
536
536
  readonly closable: {
@@ -555,7 +555,7 @@ declare const _default: import("vue").DefineComponent<{
555
555
  };
556
556
  readonly disabled: BooleanConstructor;
557
557
  readonly displayDirective: {
558
- readonly type: PropType<"if" | "show" | "show:lazy">;
558
+ readonly type: PropType<"show" | "if" | "show:lazy">;
559
559
  readonly default: "if";
560
560
  };
561
561
  readonly closable: {
@@ -569,10 +569,10 @@ declare const _default: import("vue").DefineComponent<{
569
569
  }>>, {
570
570
  readonly disabled: boolean;
571
571
  readonly closable: boolean | undefined;
572
- readonly displayDirective: "if" | "show" | "show:lazy";
572
+ readonly displayDirective: "show" | "if" | "show:lazy";
573
573
  }>;
574
574
  NTabs: any;
575
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("formChange" | "scroll" | "annotationChange")[], "scroll" | "formChange" | "annotationChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
575
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("scroll" | "formChange" | "annotationChange")[], "scroll" | "formChange" | "annotationChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
576
576
  fieldList: {
577
577
  type: PropType<FieldItem[]>;
578
578
  };
@@ -266,7 +266,7 @@ declare const _default: import("vue").DefineComponent<{}, {
266
266
  onScroll?: ((...args: any[]) => any) | undefined;
267
267
  onAnnotationChange?: ((...args: any[]) => any) | undefined;
268
268
  }>>;
269
- emit: (event: "formChange" | "scroll" | "annotationChange", ...args: any[]) => void;
269
+ emit: (event: "scroll" | "formChange" | "annotationChange", ...args: any[]) => void;
270
270
  nuiThemeOverrides: import("naive-ui").GlobalThemeOverrides;
271
271
  formRenderRef: import("vue").Ref<HTMLElement | undefined>;
272
272
  formHeight: import("vue").ComputedRef<string>;
@@ -422,32 +422,32 @@ declare const _default: import("vue").DefineComponent<{}, {
422
422
  data: any;
423
423
  loading: boolean;
424
424
  required: boolean;
425
+ hidden: boolean;
426
+ visible: boolean;
427
+ content: any;
428
+ reset: (options?: import("../../../../es/components/form-render").IFieldResetOptions | undefined) => Promise<void>;
429
+ active: boolean;
430
+ disabled: boolean;
425
431
  value: string;
432
+ display: import("../../../../es/components/form-render").FieldDisplayTypes;
426
433
  readonly index: string | number;
427
- disabled: boolean;
428
434
  onFocus: (...args: any[]) => Promise<void>;
429
435
  onBlur: (...args: any[]) => Promise<void>;
430
436
  onInput: (...args: any[]) => Promise<void>;
431
- reset: (options?: import("../../../../es/components/form-render").IFieldResetOptions | undefined) => Promise<void>;
432
- visible: boolean;
433
437
  submit: <T>(onSubmit?: ((values: any) => void | Promise<T>) | undefined) => Promise<T>;
434
438
  validator: import("../../../../es/components/form-render").FieldValidator;
435
439
  pattern: import("../../../../es/components/form-render").FieldPatternTypes;
436
440
  title: string;
437
441
  form: import("../../../../es/components/form-render").Form<any>;
438
- content: any;
439
442
  componentProps: Record<string, any>;
440
443
  decoratorProps: Record<string, any>;
441
- display: import("../../../../es/components/form-render").FieldDisplayTypes;
442
444
  description: string;
443
445
  readOnly: boolean;
444
446
  editable: boolean;
445
- hidden: boolean;
446
447
  component: import("../../../../es/components/form-render").FieldComponent<any, any>;
447
448
  decorator: import("../../../../es/components/form-render").FieldDecorator<any, any>;
448
449
  validating: boolean;
449
450
  submitting: boolean;
450
- active: boolean;
451
451
  visited: boolean;
452
452
  selfModified: boolean;
453
453
  modified: boolean;
@@ -534,7 +534,7 @@ declare const _default: import("vue").DefineComponent<{}, {
534
534
  };
535
535
  readonly disabled: BooleanConstructor;
536
536
  readonly displayDirective: {
537
- readonly type: import("vue").PropType<"if" | "show" | "show:lazy">;
537
+ readonly type: import("vue").PropType<"show" | "if" | "show:lazy">;
538
538
  readonly default: "if";
539
539
  };
540
540
  readonly closable: {
@@ -559,7 +559,7 @@ declare const _default: import("vue").DefineComponent<{}, {
559
559
  };
560
560
  readonly disabled: BooleanConstructor;
561
561
  readonly displayDirective: {
562
- readonly type: import("vue").PropType<"if" | "show" | "show:lazy">;
562
+ readonly type: import("vue").PropType<"show" | "if" | "show:lazy">;
563
563
  readonly default: "if";
564
564
  };
565
565
  readonly closable: {
@@ -573,10 +573,10 @@ declare const _default: import("vue").DefineComponent<{}, {
573
573
  }>>, {
574
574
  readonly disabled: boolean;
575
575
  readonly closable: boolean | undefined;
576
- readonly displayDirective: "if" | "show" | "show:lazy";
576
+ readonly displayDirective: "show" | "if" | "show:lazy";
577
577
  }>;
578
578
  NTabs: any;
579
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("formChange" | "scroll" | "annotationChange")[], "scroll" | "formChange" | "annotationChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
579
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("scroll" | "formChange" | "annotationChange")[], "scroll" | "formChange" | "annotationChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
580
580
  fieldList: {
581
581
  type: import("vue").PropType<import("../../../../es/components/form-render").FieldItem[]>;
582
582
  };
@@ -28,7 +28,7 @@ export declare const COMPLEX: import("vue").DefineComponent<{
28
28
  default: () => {};
29
29
  };
30
30
  }>>, {
31
- span: number;
32
31
  display: "flex" | "grid";
32
+ span: number;
33
33
  wrapperStyle: CSSProperties;
34
34
  }>;
@@ -65,8 +65,8 @@ declare const _default: import("vue").DefineComponent<{
65
65
  default: boolean;
66
66
  };
67
67
  }>>, {
68
- disabled: boolean;
69
68
  show: boolean;
69
+ disabled: boolean;
70
70
  title: string;
71
71
  }>;
72
72
  export default _default;
@@ -65,7 +65,7 @@ export declare const LINEBAR: import("vue").DefineComponent<{
65
65
  default: boolean;
66
66
  };
67
67
  }>>, {
68
- disabled: boolean;
69
68
  show: boolean;
69
+ disabled: boolean;
70
70
  title: string;
71
71
  }>;
@@ -87,10 +87,10 @@ export declare const RADIO: import("vue").DefineComponent<{
87
87
  }>> & {
88
88
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
89
89
  }, {
90
+ vertical: boolean;
90
91
  options: AnyObject[];
91
92
  lazyRequest: boolean;
92
93
  requestCache: boolean;
93
- vertical: boolean;
94
94
  }>;
95
95
  export declare const CHECKBOX: import("vue").DefineComponent<{
96
96
  value: {
@@ -179,8 +179,8 @@ export declare const CHECKBOX: import("vue").DefineComponent<{
179
179
  }>> & {
180
180
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
181
181
  }, {
182
+ vertical: boolean;
182
183
  options: AnyObject[];
183
184
  lazyRequest: boolean;
184
185
  requestCache: boolean;
185
- vertical: boolean;
186
186
  }>;
@@ -2097,6 +2097,7 @@ declare const IhoTable: SFCWithInstall<import("vue").DefineComponent<{
2097
2097
  uuid?: string | undefined;
2098
2098
  isTree?: import("../../../es/shared/types").MaybeString<0 | 2 | 1 | 3> | undefined;
2099
2099
  isBatchSelect?: import("../../../es/shared/types").MaybeString<0 | 1> | undefined;
2100
+ hideSettingBtn?: import("../../../es/shared/types").MaybeString<0 | 1> | undefined;
2100
2101
  showSeq?: boolean | undefined;
2101
2102
  selectType?: "checkbox" | "radio" | null | undefined;
2102
2103
  rowGroupSetting?: {
@@ -4502,6 +4503,7 @@ declare const IhoTable: SFCWithInstall<import("vue").DefineComponent<{
4502
4503
  uuid?: string | undefined;
4503
4504
  isTree?: import("../../../es/shared/types").MaybeString<0 | 2 | 1 | 3> | undefined;
4504
4505
  isBatchSelect?: import("../../../es/shared/types").MaybeString<0 | 1> | undefined;
4506
+ hideSettingBtn?: import("../../../es/shared/types").MaybeString<0 | 1> | undefined;
4505
4507
  showSeq?: boolean | undefined;
4506
4508
  selectType?: "checkbox" | "radio" | null | undefined;
4507
4509
  rowGroupSetting?: {
@@ -2096,6 +2096,7 @@ declare const _default: import("vue").DefineComponent<{
2096
2096
  uuid?: string | undefined;
2097
2097
  isTree?: import("../../../../es/shared/types").MaybeString<0 | 2 | 1 | 3> | undefined;
2098
2098
  isBatchSelect?: import("../../../../es/shared/types").MaybeString<0 | 1> | undefined;
2099
+ hideSettingBtn?: import("../../../../es/shared/types").MaybeString<0 | 1> | undefined;
2099
2100
  showSeq?: boolean | undefined;
2100
2101
  selectType?: "checkbox" | "radio" | null | undefined;
2101
2102
  rowGroupSetting?: {
@@ -4501,6 +4502,7 @@ declare const _default: import("vue").DefineComponent<{
4501
4502
  uuid?: string | undefined;
4502
4503
  isTree?: import("../../../../es/shared/types").MaybeString<0 | 2 | 1 | 3> | undefined;
4503
4504
  isBatchSelect?: import("../../../../es/shared/types").MaybeString<0 | 1> | undefined;
4505
+ hideSettingBtn?: import("../../../../es/shared/types").MaybeString<0 | 1> | undefined;
4504
4506
  showSeq?: boolean | undefined;
4505
4507
  selectType?: "checkbox" | "radio" | null | undefined;
4506
4508
  rowGroupSetting?: {
@@ -1 +1 @@
1
- import{defineComponent as e,provide as t,computed as a,ref as o,watch as l,resolveComponent as s,openBlock as n,createElementBlock as i,unref as r,normalizeStyle as u,createBlock as f,resolveDynamicComponent as d,createVNode as c,mergeProps as p,createSlots as m,renderList as v,withCtx as b,createCommentVNode as g,renderSlot as h}from"vue";import{uuidGenerator as x}from"../../../shared/utils/index.js";import{useDebounceFn as k}from"@vueuse/core";import{promiseTimeout as y}from"@vueuse/shared";import{isFunction as j}from"lodash-es";import{VxeTableEventNameList as C,InjectionIhoTableEmits as D,InjectionIhoTableAnnotation as _,InjectionIhoTableUUID as $,InjectionIhoTableInstance as T,InjectionIhoTableConfig as H,InjectionIhoTableFieldList as A,InjectionIhoTableHandler as L}from"./constants/index.js";import{createTableHooks as w,applyTableConfigHooks as R,applyTableFieldHooks as E,createTableEventHandlers as F,createDomInsertComponent as I,createDataTransfer as O}from"./hooks/tapHooks/index.js";import{provideIhoTableEventListener as S}from"./hooks/tapHooks/useEventHooks.js";import{useTableTheme as V}from"./hooks/useTableTheme.js";import{eventName2EventListener as q}from"./utils/index.js";import z from"../../../_virtual/plugin-vue_export-helper.js";const B=["id"];var G=z(e({__name:"IhoTable",props:{tableConfig:{type:Object,default:()=>({})},fieldList:{type:Array,default:()=>[]},tableData:{type:Array,default:()=>[]},annotation:{type:Object}},emits:["formChange","settingClick","formClick","keyboard",...C],setup(e,{expose:C,emit:z}){var G,J;const K=e,{cssVars:M}=V(),N=S(),P=function(e,...t){z(e,...t);const a=r(X)[q(e)];j(a)&&a(...t),N.trigger(e,...t)};t(D,P);const Q=w();t(_,a((()=>K.annotation)));const U=x();t($,U);const W=o();t(T,W);const X=o({uuid:null!=(J=null==(G=K.tableConfig)?void 0:G.uuid)?J:U});t(H,X);const Y=k(Z,10);function Z(){X.value=R(Q,K.tableConfig),X.value.uuid=U}const ee=o([]);t(A,ee);const te=k(ae,10);function ae(){ee.value=E(Q,K.fieldList,X.value,{$table:W,emits:P})}const oe=O(Q,X,W),le=o([]),se=k(ne,10);async function ne(){var e;le.value=await oe(K.tableData),null==(e=W.value)||e.recalculate(!0)}const ie={updateTableDataRef:se,updateConfigRef:Y,updateFieldListRef:te};t(L,ie);const re=F({hooks:Q,config:X,$table:W,context:ie,emits:P}),ue=a((()=>({...X.value,...re})));l((()=>K.tableConfig),(()=>{Y(),te(),se()}),{deep:!0}),l((()=>K.fieldList),(()=>{te(),se()}),{deep:!0}),l([()=>K.tableData,()=>{var e;return null==(e=K.tableData)?void 0:e.length}],(async()=>{var e,t;(null==(e=X.value.treeConfig)?void 0:e.expandAll)&&(await y(11),null==(t=W.value)||t.setAllTreeExpand(!0))})),l((()=>[...K.tableData]),se),Z(),ae(),ne();const{header:fe,footer:de}=I(Q);return C({$table:W,async loadData(e){var t;null==(t=W.value)||t.loadData(await oe(e))},setSort:(e,t)=>({field:e,value:t}),setFilter:(e,t)=>({field:e,value:t}),...Q.exposeHooks.expose.call({},X,{$table:W,emits:P})}),Q.setupHooks.setup.call(X,ee),(e,t)=>{const a=s("vxe-grid");return n(),i("section",{class:"iho-table",id:r(U),style:u(r(M))},[(n(),f(d(r(fe)))),c(a,p({ref_key:"$table",ref:W},r(ue),{columns:ee.value,data:le.value}),m({_:2},[v(e.$slots,((t,a)=>({name:a,fn:b((()=>[g(" 实际上所有的vxe-grid插槽都支持 "),h(e.$slots,a)]))})))]),1040,["columns","data"]),(n(),f(d(r(de))))],12,B)}}}),[["__file","IhoTable.vue"]]);export{G as default};
1
+ import{defineComponent as e,provide as t,computed as o,ref as a,watch as l,resolveComponent as s,openBlock as i,createElementBlock as n,unref as r,normalizeStyle as u,createBlock as f,resolveDynamicComponent as c,createVNode as d,mergeProps as p,createSlots as m,renderList as v,withCtx as b,createCommentVNode as h,renderSlot as g}from"vue";import{useTheme as x}from"../../../shared/mixins/useTheme.js";import{uuidGenerator as k}from"../../../shared/utils/index.js";import{useDebounceFn as y}from"@vueuse/core";import{promiseTimeout as j}from"@vueuse/shared";import{isFunction as C}from"lodash-es";import{VxeTableEventNameList as D,InjectionIhoTableEmits as _,InjectionIhoTableAnnotation as $,InjectionIhoTableUUID as T,InjectionIhoTableInstance as H,InjectionIhoTableConfig as A,InjectionIhoTableFieldList as L,InjectionIhoTableHandler as w}from"./constants/index.js";import{createTableHooks as I,applyTableConfigHooks as R,applyTableFieldHooks as E,createTableEventHandlers as F,createDomInsertComponent as O,createDataTransfer as S}from"./hooks/tapHooks/index.js";import{provideIhoTableEventListener as q}from"./hooks/tapHooks/useEventHooks.js";import{eventName2EventListener as z}from"./utils/index.js";import B from"../../../_virtual/plugin-vue_export-helper.js";const G=["id"];var J=B(e({__name:"IhoTable",props:{tableConfig:{type:Object,default:()=>({})},fieldList:{type:Array,default:()=>[]},tableData:{type:Array,default:()=>[]},annotation:{type:Object}},emits:["formChange","settingClick","formClick","keyboard",...D],setup(e,{expose:D,emit:B}){var J,K;const M=e,N=x({"--c-border-color":"#e2e2e2","--c-head-bg-color":"#f2f2f2","--c-hover-color":"#f7f7f7"},"IhoTable"),P=q(),Q=function(e,...t){B(e,...t);const o=r(X)[z(e)];C(o)&&o(...t),P.trigger(e,...t)};t(_,Q);const U=I();t($,o((()=>M.annotation)));const V=k();t(T,V);const W=a();t(H,W);const X=a({uuid:null!=(K=null==(J=M.tableConfig)?void 0:J.uuid)?K:V});t(A,X);const Y=y(Z,10);function Z(){X.value=R(U,M.tableConfig),X.value.uuid=V}const ee=a([]);t(L,ee);const te=y(oe,10);function oe(){ee.value=E(U,M.fieldList,X.value,{$table:W,emits:Q})}const ae=S(U,X,W),le=a([]),se=y(ie,10);async function ie(){var e;le.value=await ae(M.tableData),null==(e=W.value)||e.recalculate(!0)}const ne={updateTableDataRef:se,updateConfigRef:Y,updateFieldListRef:te};t(w,ne);const re=F({hooks:U,config:X,$table:W,context:ne,emits:Q}),ue=o((()=>({...X.value,...re})));l((()=>M.tableConfig),(()=>{Y(),te(),se()}),{deep:!0}),l((()=>M.fieldList),(()=>{te(),se()}),{deep:!0}),l([()=>M.tableData,()=>{var e;return null==(e=M.tableData)?void 0:e.length}],(async()=>{var e,t;(null==(e=X.value.treeConfig)?void 0:e.expandAll)&&(await j(11),null==(t=W.value)||t.setAllTreeExpand(!0))})),l((()=>[...M.tableData]),se),Z(),oe(),ie();const{header:fe,footer:ce}=O(U);return D({$table:W,async loadData(e){var t;null==(t=W.value)||t.loadData(await ae(e))},setSort:(e,t)=>({field:e,value:t}),setFilter:(e,t)=>({field:e,value:t}),...U.exposeHooks.expose.call({},X,{$table:W,emits:Q})}),U.setupHooks.setup.call(X,ee),(e,t)=>{const o=s("vxe-grid");return i(),n("section",{class:"iho-table",id:r(V),style:u(r(N))},[(i(),f(c(r(fe)))),d(o,p({ref_key:"$table",ref:W},r(ue),{columns:ee.value,data:le.value}),m({_:2},[v(e.$slots,((t,o)=>({name:o,fn:b((()=>[h(" 实际上所有的vxe-grid插槽都支持 "),g(e.$slots,o)]))})))]),1040,["columns","data"]),(i(),f(c(r(ce))))],12,G)}}}),[["__file","IhoTable.vue"]]);export{J as default};
@@ -59,10 +59,10 @@ export declare enum IHO_TABLE_STRING_STATUS {
59
59
  POSITIVE = "1"
60
60
  }
61
61
  export declare enum IHO_TABLE_TREE_TYPE {
62
- NOT_TREE = 0,
63
- UNKNOWN = 1,
64
- TRANSFORM_TREE_TYPE = 2,
65
- TRANSFORM_WITH_SPAN_METHOD = 3
62
+ NOT_TREE = "0",
63
+ UNKNOWN = "1",
64
+ TRANSFORM_TREE_TYPE = "2",
65
+ TRANSFORM_WITH_SPAN_METHOD = "3"
66
66
  }
67
67
  export declare enum IHO_TABLE_FIXED_STATUS {
68
68
  left = 1,
@@ -1 +1 @@
1
- import{eventListener2EventName as e}from"../utils/index.js";var o=(e=>(e.DEFAULT="DEFAULT",e.PICTURE="PICTURE",e.FILE="FILE",e.MONEY="MONEY",e.HEADPORTRAIT="HEADPORTRAIT",e.LABEL="LABEL",e.TELEPHONE="TELEPHONE",e.BIRTHDAY="BIRTHDAY",e.MULTISELECT="MULTISELECT",e.CASCADE="CASCADE",e.SEARCH_TREE="SEARCH_TREE",e.COLOR="COLOR",e.EVALUATE="EVALUATE",e.MAP="MAP",e.VIDEO="VIDEO",e.SYSTEMFIELDS="SYSTEMFIELDS",e.PERCENTAGE="PERCENTAGE",e.CANDIDATE_COMPONENTS="CANDIDATE_COMPONENTS",e.TASKDATE="TASKDATE",e.AGE="AGE",e.STATUS="STATUS",e.WEBSITE="WEBSITE",e.IDCARD="IDCARD",e.COUNTDOWN="COUNTDOWN",e.DURATION="DURATION",e.COMBINATION="COMBINATION",e.PASSWORD="PASSWORD",e.QR_CODE="QR_CODE",e.CUSTOMER_NAME="CUSTOMER_NAME",e.BANK_CARD="BANK_CARD",e.SEQUENCE="SEQUENCE",e))(o||{});const n=Object.freeze(["onKeydownStart","onKeydown","onKeydownEnd","onPaste","onCopy","onCut","onCurrentChange","onRadioChange","onCheckboxChange","onCheckboxAll","onCheckboxRangeStart","onCheckboxRangeChange","onCheckboxRangeEnd","onCellClick","onCellDblclick","onCellMenu","onCellMouseenter","onCellMouseleave","onHeaderCellClick","onHeaderCellDblclick","onHeaderCellMenu","onFooterCellClick","onFooterCellDblclick","onFooterCellMenu","onSortChange","onFilterChange","onFilterVisible","onResizableChange","onToggleRowExpand","onToggleTreeExpand","onMenuClick","onEditClosed","onEditActived","onEditDisabled","onValidError","onScroll","onCustom","onOpenFnr","onFnrChange","onFnrFind","onFnrFindAll","onFnrReplace","onFnrReplaceAll","onCellAreaCopy","onCellAreaCut","onCellAreaPaste","onCellAreaMerge","onClearCellAreaMerge","onHeaderCellAreaSelection","onCellAreaSelectionStart","onCellAreaSelectionDrag","onCellAreaSelectionEnd","onCellAreaExtensionStart","onCellAreaExtensionDrag","onCellAreaExtensionEnd","onCellAreaArrowsStart","onCellAreaArrowsEnd","onActiveCellChangeStart","onActiveCellChangeEnd"]),E=n.map(e),l=Object.freeze(["firstRowGroup","secondRowGroup","thirdRowGroup","fourthRowGroup","fifthRowGroup","sixthRowGroup","seventhRowGroup","eighthRowGroup","ninthRowGroup","tenthRowGroup"]),C=-1/0,T=1/0;var A=(e=>(e.INPUT="INPUT",e.SEPARATE="SEPARATE",e.SELECT="SELECT",e.DATE="DATE",e.TIME="TIME",e.NUMBER="NUMBER",e))(A||{}),r=(e=>(e[e.NEGATIVE=0]="NEGATIVE",e[e.POSITIVE=1]="POSITIVE",e))(r||{}),t=(e=>(e.NEGATIVE="0",e.POSITIVE="1",e))(t||{}),a=(e=>(e[e.NOT_TREE=0]="NOT_TREE",e[e.UNKNOWN=1]="UNKNOWN",e[e.TRANSFORM_TREE_TYPE=2]="TRANSFORM_TREE_TYPE",e[e.TRANSFORM_WITH_SPAN_METHOD=3]="TRANSFORM_WITH_SPAN_METHOD",e))(a||{}),S=(e=>(e[e.left=1]="left",e[e.right=2]="right",e))(S||{});const R=["formChange","settingClick","formClick","keyboard"],i=[...R,...E],I=Symbol("injectionIhoTableConfig"),N=Symbol("injectionIhoTableFieldList"),O=Symbol("InjectionIhoTableEmits"),D=Symbol("InjectionIhoTableAnnotation"),c=Symbol("InjectionIhoTableUUID"),h=Symbol("InjectionIhoTableInstance"),M=Symbol("InjectionIhoTableHandler"),d=Symbol("InjectionIhoTableEventListener");export{A as EDITABLE_WIDGET_TYPE,C as HIGHEST_PRIORITY,S as IHO_TABLE_FIXED_STATUS,r as IHO_TABLE_NUMBER_STATUS,t as IHO_TABLE_STRING_STATUS,a as IHO_TABLE_TREE_TYPE,R as IhoTableCustomEventNameTuple,i as IhoTableEventNameTuple,l as IhoTableRowGroupSequence,D as InjectionIhoTableAnnotation,I as InjectionIhoTableConfig,O as InjectionIhoTableEmits,d as InjectionIhoTableEventListener,N as InjectionIhoTableFieldList,M as InjectionIhoTableHandler,h as InjectionIhoTableInstance,c as InjectionIhoTableUUID,T as LOWEST_PRIORITY,n as VxeEventListenerNameList,E as VxeTableEventNameList,o as WIDGET_TYPE};
1
+ import{eventListener2EventName as e}from"../utils/index.js";var o=(e=>(e.DEFAULT="DEFAULT",e.PICTURE="PICTURE",e.FILE="FILE",e.MONEY="MONEY",e.HEADPORTRAIT="HEADPORTRAIT",e.LABEL="LABEL",e.TELEPHONE="TELEPHONE",e.BIRTHDAY="BIRTHDAY",e.MULTISELECT="MULTISELECT",e.CASCADE="CASCADE",e.SEARCH_TREE="SEARCH_TREE",e.COLOR="COLOR",e.EVALUATE="EVALUATE",e.MAP="MAP",e.VIDEO="VIDEO",e.SYSTEMFIELDS="SYSTEMFIELDS",e.PERCENTAGE="PERCENTAGE",e.CANDIDATE_COMPONENTS="CANDIDATE_COMPONENTS",e.TASKDATE="TASKDATE",e.AGE="AGE",e.STATUS="STATUS",e.WEBSITE="WEBSITE",e.IDCARD="IDCARD",e.COUNTDOWN="COUNTDOWN",e.DURATION="DURATION",e.COMBINATION="COMBINATION",e.PASSWORD="PASSWORD",e.QR_CODE="QR_CODE",e.CUSTOMER_NAME="CUSTOMER_NAME",e.BANK_CARD="BANK_CARD",e.SEQUENCE="SEQUENCE",e))(o||{});const n=Object.freeze(["onKeydownStart","onKeydown","onKeydownEnd","onPaste","onCopy","onCut","onCurrentChange","onRadioChange","onCheckboxChange","onCheckboxAll","onCheckboxRangeStart","onCheckboxRangeChange","onCheckboxRangeEnd","onCellClick","onCellDblclick","onCellMenu","onCellMouseenter","onCellMouseleave","onHeaderCellClick","onHeaderCellDblclick","onHeaderCellMenu","onFooterCellClick","onFooterCellDblclick","onFooterCellMenu","onSortChange","onFilterChange","onFilterVisible","onResizableChange","onToggleRowExpand","onToggleTreeExpand","onMenuClick","onEditClosed","onEditActived","onEditDisabled","onValidError","onScroll","onCustom","onOpenFnr","onFnrChange","onFnrFind","onFnrFindAll","onFnrReplace","onFnrReplaceAll","onCellAreaCopy","onCellAreaCut","onCellAreaPaste","onCellAreaMerge","onClearCellAreaMerge","onHeaderCellAreaSelection","onCellAreaSelectionStart","onCellAreaSelectionDrag","onCellAreaSelectionEnd","onCellAreaExtensionStart","onCellAreaExtensionDrag","onCellAreaExtensionEnd","onCellAreaArrowsStart","onCellAreaArrowsEnd","onActiveCellChangeStart","onActiveCellChangeEnd"]),E=n.map(e),l=Object.freeze(["firstRowGroup","secondRowGroup","thirdRowGroup","fourthRowGroup","fifthRowGroup","sixthRowGroup","seventhRowGroup","eighthRowGroup","ninthRowGroup","tenthRowGroup"]),C=-1/0,A=1/0;var T=(e=>(e.INPUT="INPUT",e.SEPARATE="SEPARATE",e.SELECT="SELECT",e.DATE="DATE",e.TIME="TIME",e.NUMBER="NUMBER",e))(T||{}),r=(e=>(e[e.NEGATIVE=0]="NEGATIVE",e[e.POSITIVE=1]="POSITIVE",e))(r||{}),t=(e=>(e.NEGATIVE="0",e.POSITIVE="1",e))(t||{}),a=(e=>(e.NOT_TREE="0",e.UNKNOWN="1",e.TRANSFORM_TREE_TYPE="2",e.TRANSFORM_WITH_SPAN_METHOD="3",e))(a||{}),i=(e=>(e[e.left=1]="left",e[e.right=2]="right",e))(i||{});const S=["formChange","settingClick","formClick","keyboard"],I=[...S,...E],R=Symbol("injectionIhoTableConfig"),O=Symbol("injectionIhoTableFieldList"),D=Symbol("InjectionIhoTableEmits"),N=Symbol("InjectionIhoTableAnnotation"),c=Symbol("InjectionIhoTableUUID"),h=Symbol("InjectionIhoTableInstance"),d=Symbol("InjectionIhoTableHandler"),M=Symbol("InjectionIhoTableEventListener");export{T as EDITABLE_WIDGET_TYPE,C as HIGHEST_PRIORITY,i as IHO_TABLE_FIXED_STATUS,r as IHO_TABLE_NUMBER_STATUS,t as IHO_TABLE_STRING_STATUS,a as IHO_TABLE_TREE_TYPE,S as IhoTableCustomEventNameTuple,I as IhoTableEventNameTuple,l as IhoTableRowGroupSequence,N as InjectionIhoTableAnnotation,R as InjectionIhoTableConfig,D as InjectionIhoTableEmits,M as InjectionIhoTableEventListener,O as InjectionIhoTableFieldList,d as InjectionIhoTableHandler,h as InjectionIhoTableInstance,c as InjectionIhoTableUUID,A as LOWEST_PRIORITY,n as VxeEventListenerNameList,E as VxeTableEventNameList,o as WIDGET_TYPE};
@@ -1 +1 @@
1
- import{mergeWith as e,isObject as o}from"lodash-es";import{HIGHEST_PRIORITY as i}from"../../constants/index.js";import{defineTablePlugin as t}from"../../hooks/useTablePlugin.js";import{IhoTableStatusHelper as s,isTransformTreeType as n}from"../../utils/index.js";function r(){const r="defaultTablePlugin";return t({name:r,apply(t){t.configHooks.config.tap({name:r,stage:i},(o=>{const i=e({height:"100%",border:!0,showSeq:!0,columnConfig:{resizable:!0},rowConfig:{height:36,isHover:!0,isCurrent:!0,keyField:"theUniqueKey"},showOverflow:"tooltip",editConfig:{trigger:"click",mode:"cell"}},o);return(s.isPositive(o.isBatchSelect)||o.selectType)&&(i.selectType=o.selectType||"checkbox"),i})),t.configHooks.treeConfig.tap({name:r,stage:i},((e,o)=>n(o)?Object.assign({transform:!0,expandAll:!0,reserve:!0,children:"childrenList",parentField:"parentId",rowField:"__parentId",hasChild:"hasChild"},e):e)),t.configHooks.mouseConfig.tap({name:r,stage:i},((e,i)=>o(i.keyboardConfig)?Object.assign({selected:!!i.keyboardConfig.isEdit},e):e))}})}export{r as defaultConfigPlugin};
1
+ import{mergeWith as e,isObject as o}from"lodash-es";import{HIGHEST_PRIORITY as i}from"../../constants/index.js";import{defineTablePlugin as t}from"../../hooks/useTablePlugin.js";import{IhoTableStatusHelper as s}from"../../utils/index.js";function n(){const n="defaultTablePlugin";return t({name:n,apply(t){t.configHooks.config.tap({name:n,stage:i},(o=>{const i=e({height:"100%",border:!0,showSeq:!0,columnConfig:{resizable:!0},rowConfig:{height:36,isHover:!0,isCurrent:!0,keyField:"theUniqueKey"},showOverflow:"tooltip",editConfig:{trigger:"click",mode:"cell"}},o);return(s.isPositive(o.isBatchSelect)||o.selectType)&&(i.selectType=o.selectType||"checkbox"),i})),t.configHooks.mouseConfig.tap({name:n,stage:i},((e,i)=>o(i.keyboardConfig)?Object.assign({selected:!!i.keyboardConfig.isEdit},e):e))}})}export{n as defaultConfigPlugin};
@@ -1 +1 @@
1
- import{inject as o,createVNode as e}from"vue";import{SettingsSharp as n}from"@vicons/ionicons5";import{isFunction as i}from"lodash-es";import{NIcon as t}from"naive-ui";import"../../../../index.js";import{InjectionIhoTableEmits as r}from"../../../constants/index.js";import{defineTablePlugin as s}from"../../../hooks/useTablePlugin.js";function l(){const l="seqRendererPlugin";return s({name:l,apply(s){s.fieldHooks.field.tap({name:l,before:"checkRendererPlugin"},((s,{index:f,insertBefore:c},m)=>{var u;if(0===f&&m.showSeq){const s={align:"center",fixed:"left",width:50,type:"seq",field:l,annotation:!1,slots:{header(){const i=o(r);return[e(t,{style:{cursor:"pointer"},size:"14",color:"#777",component:n,onClick:function(){i&&i("settingClick")}},null)]}}};i(null==(u=m.columnConfig)?void 0:u.seqSlotFn)&&(s.slots.default=m.columnConfig.seqSlotFn),c(s)}return s}))}})}export{l as seqRendererPlugin};
1
+ import{inject as o,createVNode as e}from"vue";import{SettingsSharp as n}from"@vicons/ionicons5";import{isFunction as i}from"lodash-es";import{NIcon as t}from"naive-ui";import"../../../../index.js";import{InjectionIhoTableEmits as r}from"../../../constants/index.js";import{IhoTableStatusHelper as s}from"../../../utils/index.js";import{defineTablePlugin as l}from"../../../hooks/useTablePlugin.js";function f(){const f="seqRendererPlugin";return l({name:f,apply(l){l.fieldHooks.field.tap({name:f,before:"checkRendererPlugin"},((l,{index:m,insertBefore:u},c)=>{var d;if(0===m&&c.showSeq){const l={align:"center",fixed:"left",width:50,type:"seq",field:f,annotation:!1,slots:{header(){if(s.isPositive(c.hideSettingBtn))return[];const i=o(r);return[e(t,{style:{cursor:"pointer"},size:"14",color:"#777",component:n,onClick:function(){i&&i("settingClick")}},null)]}}};i(null==(d=c.columnConfig)?void 0:d.seqSlotFn)&&(l.slots||(l.slots={}),l.slots.default=c.columnConfig.seqSlotFn),u(l)}return l}))}})}export{f as seqRendererPlugin};
@@ -1 +1 @@
1
- import{traverse as e,uuidGenerator as t,DMZ as r}from"../../../../../shared/utils/index.js";import{isArray as n,isFunction as o}from"lodash-es";import{onBeforeUnmount as i}from"vue";import"../../../index.js";import{IHO_TABLE_TREE_TYPE as s}from"../../constants/index.js";import{isTransformTreeType as a}from"../../utils/index.js";import{defineTablePlugin as d}from"../../hooks/useTablePlugin.js";function u(){const u="virtualTreePlugin",l=new Map;return d({name:u,apply(d){d.dataHooks.data.tap(u,((r,o,i)=>{if(!o.treeConfig)return;const{transform:s,rowField:d="__parentId",parentField:u="parentId",children:l="childrenList"}=o.treeConfig;function f(e){e[d]=e[d]||e.theUniqueKey||t()}a(o)&&s&&(f(r),n(r[l])&&e(r[l],((e,t,r)=>{r&&(e[u]=r[d]),i.insertAfter(e),f(e)}),l,r))})),d.fieldHooks.fieldList.tap(u,((e,t)=>{if(!t.treeConfig)return e;const{transform:n}=t.treeConfig||r;if(!a(t)||!n||!t.uuid)return e;const o=e.filter((e=>!1!==e.visible));let i=o.findIndex((e=>e.treeNode));~i||o.some(((e,t)=>{if(!e.type)return i=t,e.treeNode=!0}));const s=o.length-i-o.filter((e=>"right"===e.fixed)).length;return l.set(t.uuid,{index:i,colspan:s}),e})),d.configHooks.treeConfig.tap(u,((e,t)=>{if(!e)return e;const{transform:r,parentField:n="parentId",hasChild:i="hasChild"}=e;if(o(t.spanMethod)||!r||t.isTree!==s.TRANSFORM_WITH_SPAN_METHOD)return e;const a=Object.freeze({rowspan:0,colspan:0}),d=Object.freeze({rowspan:1,colspan:1});return t.spanMethod=({row:e,column:r,$columnIndex:o})=>{const s=l.get(t.uuid);if(!s)return d;const u=Reflect.has(e,i)?!e[i]:e[n];return r.treeNode?u?d:{rowspan:1,colspan:s.colspan}:u||"right"===r.fixed||o<s.index?d:a},e})),d.setupHooks.setup.tap(u,(e=>{i((()=>{var t;(null==(t=e.value)?void 0:t.uuid)&&l.delete(e.value.uuid)}))}))}})}export{u as virtualTreePlugin};
1
+ import{traverse as e,uuidGenerator as t,DMZ as r}from"../../../../../shared/utils/index.js";import{isArray as n,isFunction as i}from"lodash-es";import{onBeforeUnmount as o}from"vue";import"../../../index.js";import{HIGHEST_PRIORITY as s,IHO_TABLE_TREE_TYPE as a}from"../../constants/index.js";import{isTransformTreeType as d}from"../../utils/index.js";import{defineTablePlugin as l}from"../../hooks/useTablePlugin.js";function f(){const f="virtualTreePlugin",u=new Map;return l({name:f,apply(l){l.configHooks.treeConfig.tap({name:f,stage:s},((e,t)=>d(t)?Object.assign({transform:!0,expandAll:!0,reserve:!0,children:"childrenList",rowField:"__id"},e):e)),l.dataHooks.data.tap(f,((r,i,o)=>{if(!i.treeConfig)return;const{transform:s,rowField:a="__id",parentField:l="parentId",children:f="childrenList"}=i.treeConfig;function u(e){e[a]=e[a]||e.theUniqueKey||t()}d(i)&&s&&(u(r),n(r[f])&&e(r[f],((e,t,r)=>{r&&(e[l]=r[a]),o.insertAfter(e),u(e)}),f,r))})),l.fieldHooks.fieldList.tap(f,((e,t)=>{if(!t.treeConfig)return e;const{transform:n}=t.treeConfig||r;if(!d(t)||!n||!t.uuid)return e;const i=e.filter((e=>!1!==e.visible));let o=i.findIndex((e=>e.treeNode));~o||i.some(((e,t)=>{if(!e.type)return o=t,e.treeNode=!0}));const s=i.length-o-i.filter((e=>"right"===e.fixed)).length;return u.set(t.uuid,{index:o,colspan:s}),e})),l.configHooks.treeConfig.tap(f,((e,t)=>{if(!e)return e;const{transform:r,parentField:n="parentId",hasChild:o="hasChild"}=e;if(i(t.spanMethod)||!r||`${t.isTree}`!==a.TRANSFORM_WITH_SPAN_METHOD)return e;const s=Object.freeze({rowspan:0,colspan:0}),d=Object.freeze({rowspan:1,colspan:1});return t.spanMethod=({row:e,column:r,$columnIndex:i})=>{const a=u.get(t.uuid);if(!a)return d;const l=Reflect.has(e,o)?!e[o]:e[n];return r.treeNode?l?d:{rowspan:1,colspan:a.colspan}:l||"right"===r.fixed||i<a.index?d:s},e})),l.setupHooks.setup.tap(f,(e=>{o((()=>{var t;(null==(t=e.value)?void 0:t.uuid)&&u.delete(e.value.uuid)}))}))}})}export{f as virtualTreePlugin};
@@ -15,6 +15,7 @@ export declare type IhoTableConfig = VxeTableProps & Partial<{
15
15
  uuid: string;
16
16
  isTree: MaybeString<0 | 1 | 2 | 3>;
17
17
  isBatchSelect: MaybeString<0 | 1>;
18
+ hideSettingBtn: MaybeString<0 | 1>;
18
19
  showSeq: boolean;
19
20
  selectType: Exclude<VxeTableDefines.ColumnInfo['type'], 'seq' | 'expand' | 'html'>;
20
21
  rowGroupSetting: Partial<Record<TupleToUnion<typeof IhoTableRowGroupSequence>, IhoTableRowGroupItem[]>>;
@@ -1 +1 @@
1
- import{inject as e,unref as n,toRaw as t,createVNode as r}from"vue";import{jsonParse as o,findAncestor as i}from"../../../../shared/utils/index.js";import{promiseTimeout as u}from"@vueuse/shared";import{isNumber as l,cloneDeep as c,isString as a,isObject as d}from"lodash-es";import{InjectionIhoTableEmits as s,InjectionIhoTableConfig as f,IHO_TABLE_STRING_STATUS as m,IHO_TABLE_NUMBER_STATUS as v,IHO_TABLE_TREE_TYPE as p}from"../constants/index.js";function I(e){return console.warn(`[IhoTable]: ${e}`)}const E=Object.freeze({getCellType(e){var n;return((null==(n=e.settingObj)?void 0:n.attr)||e.formType||"DEFAULT").toUpperCase()}});function T(){var n,t,r;const o=e(f);return o||I("this function(getRowHeight) only can be used in setup environment"),null!=(r=null==(t=null==(n=null==o?void 0:o.value)?void 0:n.rowConfig)?void 0:t.height)?r:32}function h(e){const n=e.slice(2);return`${n[0].toLowerCase()}${n.slice(1)}`}function g(e){return`on${e[0].toUpperCase()}${e.slice(1)}`}async function C(e,t){return r()||await u(0),r()||function(){const n=+e.colWidth;return l(n)?n:64}();function r(){var r,o;return null==(o=null==(r=n(t))?void 0:r.getColumnByField(e.field))?void 0:o.renderWidth}}function w(n){const r=e(s);function o(){var e;return{value:n.row[n.column.field],row:n.row,column:{...n.column,...null==(e=n.column.editRender)?void 0:e.props},index:n.rowIndex>-1?n.rowIndex:n.$rowIndex}}function i(e={}){r("formChange",{...o(),...c(t(e))})}function u(e={}){r("formClick",{...o(),...c(t(e))})}return{emitFormChange:function(){i()},emitFormClick:function(){u()},emitFormChangeWithParams:i,emitFormClickWithParams:u}}const O=Object.freeze({createDefaultRenderCell:function(){return function(e,{row:n,column:t}){return[r("span",null,[n[t.field]])]}},createRenderEdit:function(e){return function({props:n},t){return e({...t,fieldItem:n||{},...w(t)})}},isEditableColumn(e,n){var t;return!1!==(null==(t=e.editConfig)?void 0:t.showIcon)&&n.editRender&&!1!==n.editRender.enabled},hasFilter(e){return a(e)&&(e=o(e||"")),d(e)&&((n=e).notParticipatingSearch!==m.POSITIVE&&"manual"===(null==(t=n.mapping)?void 0:t.type));var n,t}}),P=Object.freeze({isPositive:e=>e===v.POSITIVE||e===m.POSITIVE,isNegative:e=>e===v.NEGATIVE||e===m.NEGATIVE,notPositive:e=>e!==v.POSITIVE&&e!==m.POSITIVE,notNegative:e=>e!==v.NEGATIVE&&e!==m.NEGATIVE}),R=(e,n)=>({$event:t,column:r})=>{var o;if((null==(o=r.editRender)?void 0:o.name)!==e)return!0;const u=null==t?void 0:t.target;return!d(u)||!i(u,n)};function F(e){return[p.TRANSFORM_WITH_SPAN_METHOD,p.TRANSFORM_TREE_TYPE].includes(e.isTree)}export{O as IhoTableRenderHelper,P as IhoTableStatusHelper,E as IhoTableUtils,I as IhoTableWarn,R as createIhoTableClearActivedInterceptor,h as eventListener2EventName,g as eventName2EventListener,C as getColumnRenderWidth,T as getRowHeight,F as isTransformTreeType,w as useIhoTableFormEvent};
1
+ import{inject as e,unref as n,toRaw as t,createVNode as r}from"vue";import{jsonParse as o,findAncestor as i}from"../../../../shared/utils/index.js";import{promiseTimeout as u}from"@vueuse/shared";import{isNumber as l,cloneDeep as c,isString as a,isObject as d}from"lodash-es";import{InjectionIhoTableEmits as s,InjectionIhoTableConfig as f,IHO_TABLE_STRING_STATUS as m,IHO_TABLE_NUMBER_STATUS as v,IHO_TABLE_TREE_TYPE as p}from"../constants/index.js";function I(e){return console.warn(`[IhoTable]: ${e}`)}const E=Object.freeze({getCellType(e){var n;return((null==(n=e.settingObj)?void 0:n.attr)||e.formType||"DEFAULT").toUpperCase()}});function T(){var n,t,r;const o=e(f);return o||I("this function(getRowHeight) only can be used in setup environment"),null!=(r=null==(t=null==(n=null==o?void 0:o.value)?void 0:n.rowConfig)?void 0:t.height)?r:32}function h(e){const n=e.slice(2);return`${n[0].toLowerCase()}${n.slice(1)}`}function g(e){return`on${e[0].toUpperCase()}${e.slice(1)}`}async function C(e,t){return r()||await u(0),r()||function(){const n=+e.colWidth;return l(n)?n:64}();function r(){var r,o;return null==(o=null==(r=n(t))?void 0:r.getColumnByField(e.field))?void 0:o.renderWidth}}function w(n){const r=e(s);function o(){var e;return{value:n.row[n.column.field],row:n.row,column:{...n.column,...null==(e=n.column.editRender)?void 0:e.props},index:n.rowIndex>-1?n.rowIndex:n.$rowIndex}}function i(e={}){r("formChange",{...o(),...c(t(e))})}function u(e={}){r("formClick",{...o(),...c(t(e))})}return{emitFormChange:function(){i()},emitFormClick:function(){u()},emitFormChangeWithParams:i,emitFormClickWithParams:u}}const O=Object.freeze({createDefaultRenderCell:function(){return function(e,{row:n,column:t}){return[r("span",null,[n[t.field]])]}},createRenderEdit:function(e){return function({props:n},t){return e({...t,fieldItem:n||{},...w(t)})}},isEditableColumn(e,n){var t;return!1!==(null==(t=e.editConfig)?void 0:t.showIcon)&&n.editRender&&!1!==n.editRender.enabled},hasFilter(e){return a(e)&&(e=o(e||"")),d(e)&&((n=e).notParticipatingSearch!==m.POSITIVE&&"manual"===(null==(t=n.mapping)?void 0:t.type));var n,t}}),P=Object.freeze({isPositive:e=>e===v.POSITIVE||e===m.POSITIVE,isNegative:e=>e===v.NEGATIVE||e===m.NEGATIVE,notPositive:e=>e!==v.POSITIVE&&e!==m.POSITIVE,notNegative:e=>e!==v.NEGATIVE&&e!==m.NEGATIVE}),R=(e,n)=>({$event:t,column:r})=>{var o;if((null==(o=r.editRender)?void 0:o.name)!==e)return!0;const u=null==t?void 0:t.target;return!d(u)||!i(u,n)};function F(e){return[p.TRANSFORM_WITH_SPAN_METHOD,p.TRANSFORM_TREE_TYPE].includes(`${e.isTree}`)}export{O as IhoTableRenderHelper,P as IhoTableStatusHelper,E as IhoTableUtils,I as IhoTableWarn,R as createIhoTableClearActivedInterceptor,h as eventListener2EventName,g as eventName2EventListener,C as getColumnRenderWidth,T as getRowHeight,F as isTransformTreeType,w as useIhoTableFormEvent};
@@ -1 +1 @@
1
- .iho-table__boldCell{font-weight:700}.iho-table .vxe-table--body-wrapper::-webkit-scrollbar,.iho-table .vxe-table--footer-wrapper.body--wrapper::-webkit-scrollbar{background-color:transparent;height:10px;width:10px}.iho-table .vxe-table--body-wrapper::-webkit-scrollbar-thumb,.iho-table .vxe-table--footer-wrapper.body--wrapper::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:#f2f2f2;border:3px dashed transparent;border-radius:5px}.iho-table .vxe-table--body-wrapper::-webkit-scrollbar-thumb:hover,.iho-table .vxe-table--footer-wrapper.body--wrapper::-webkit-scrollbar-thumb:hover{background:#b2b2b2}.iho-table .vxe-table--empty-content{height:100%;width:100%}.iho-table .vxe-table--empty-content>div,.iho-table .vxe-tree-cell{height:100%}.iho-table .vxe-table--header{background-color:#f2f2f2}.iho-table .vxe-cell--title{color:#35393c}.iho-table .vxe-footer--row .vxe-footer--column>.vxe-cell .vxe-cell--item{height:30px;line-height:30px}.iho-table .vxe-table--render-default .vxe-body--row.row--hover,.iho-table .vxe-table--render-default .vxe-body--row.row--hover.row--stripe{background-color:var(--iho-table-hover-color)}.iho-table .vxe-table--render-default .vxe-body--row.row--checked,.iho-table .vxe-table--render-default .vxe-body--row.row--current,.iho-table .vxe-table--render-default .vxe-body--row.row--hover.row--checked,.iho-table .vxe-table--render-default .vxe-body--row.row--hover.row--current,.iho-table .vxe-table--render-default .vxe-body--row.row--hover.row--radio,.iho-table .vxe-table--render-default .vxe-body--row.row--radio{background-color:var(--iho-table-highlight-color);font-weight:700}.iho-table .vxe-body--expanded-column,.iho-table .vxe-table--border-line{border-color:var(--iho-table-border-color)!important}.iho-table .vxe-table--footer-wrapper{border-top-color:var(--iho-table-border-color)!important}.iho-table .border--default .vxe-body--column,.iho-table .border--default .vxe-footer--column,.iho-table .border--default .vxe-header--column,.iho-table .border--inner .vxe-body--column,.iho-table .border--inner .vxe-footer--column,.iho-table .border--inner .vxe-header--column{background-image:linear-gradient(var(--iho-table-border-color),var(--iho-table-border-color))!important}.iho-table .border--full .vxe-body--column,.iho-table .border--full .vxe-footer--column,.iho-table .border--full .vxe-header--column{background-image:linear-gradient(var(--iho-table-border-color),var(--iho-table-border-color)),linear-gradient(var(--iho-table-border-color),var(--iho-table-border-color))!important}.iho-table .border--default .vxe-header--row:last-child .vxe-header--gutter,.iho-table .border--full .vxe-header--row:last-child .vxe-header--gutter,.iho-table .border--inner .vxe-header--row:last-child .vxe-header--gutter,.iho-table .border--outer .vxe-header--row:last-child .vxe-header--gutter{background-image:linear-gradient(var(--iho-table-border-color),var(--iho-table-border-color))!important}.iho-table .vxe-table--header-border-line{border-bottom-color:var(--iho-table-border-color)!important}.iho-table .vxe-table--fixed-left-wrapper.scrolling--middle{box-shadow:7px 0 8px -3px rgba(0,0,0,.15)!important}.iho-table .vxe-table--fixed-right-wrapper.scrolling--middle{box-shadow:-7px 0 8px -3px rgba(0,0,0,.15)!important}.iho-table .icon-dot{background:var(--table-icon-color);box-shadow:0 2px 4px 0 var(--table-icon-shadow)}.iho-table .icon-dot,.iho-table .icon-dot-red{border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.iho-table .icon-dot-red{background:red;box-shadow:0 2px 4px 0 rgba(255,0,0,.5)}.iho-table .icon-dot-blue{background:blue;box-shadow:0 2px 4px 0 rgba(0,0,255,.5)}.iho-table .icon-dot-blue,.iho-table .icon-dot-green{border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.iho-table .icon-dot-green{background:green;box-shadow:0 2px 4px 0 rgba(0,128,0,.5)}.iho-table .icon-dot-gray{background:gray;box-shadow:0 2px 4px 0 hsla(0,0%,50%,.5)}.iho-table .icon-dot-gray,.iho-table .icon-dot-yellow{border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.iho-table .icon-dot-yellow{background:#ff0;box-shadow:0 2px 4px 0 rgba(255,255,0,.5)}.iho-table .icon-dot-resolved{background:#36be8c;box-shadow:0 2px 4px 0 rgba(54,190,140,.5)}.iho-table .icon-dot-huifu,.iho-table .icon-dot-resolved{border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.iho-table .icon-dot-huifu{background:#42d0f6;box-shadow:0 2px 4px 0 rgba(66,208,246,.5)}.iho-table .icon-dot-close{background:#718391;box-shadow:0 2px 4px 0 rgba(113,131,145,.5)}.iho-table .icon-dot-audit,.iho-table .icon-dot-close{border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.iho-table .icon-dot-audit{background:#f4ba32;box-shadow:0 2px 4px 0 rgba(244,186,50,.5)}.iho-table .icon-dot-design{background:#927ce1;box-shadow:0 2px 4px 0 rgba(146,124,225,.5)}.iho-table .icon-dot-design,.iho-table .icon-dot-develop{border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.iho-table .icon-dot-develop{background:#4eb0ef;box-shadow:0 2px 4px 0 rgba(78,176,239,.5)}.iho-table .icon-dot-develop-complete{background:#6381f9;border-radius:50%;box-shadow:0 2px 4px 0 rgba(99,129,249,.5);display:inline-block;height:8px;margin-right:6px;width:8px}.iho-table__hideSortIcon .vxe-cell--sort{display:none!important}.iho-table__sortActiveIcon{margin-right:4px;width:14px}.iho-table__filterIcon{cursor:pointer;padding:0 4px}.iho-table__filterIcon:hover{opacity:.7}.iho-table__filterIcon.is-active{color:#5585f5}.iho-table__filterWrapper{display:flex;flex-direction:column;gap:8px;margin:8px 12px;width:240px}.iho-table__filterButton{align-items:center;border-radius:4px;cursor:pointer;display:flex;height:30px;padding:0 8px}.iho-table__filterButton--active{color:#5585f5}.iho-table__filterButton:hover{background:rgba(0,0,0,.05)}.iho-table__filterListWrapper{border:1px solid rgba(0,0,0,.05)}.iho-table__filterListItem{align-items:center;border-radius:4px;display:flex;height:32px;padding:0 8px}.iho-table__filterListItem:hover{background:rgba(0,0,0,.05)}.iho-table__filterListItem .n-checkbox{width:100%}.iho-table__filterFooter{display:flex;justify-content:space-between}.iho-table__time-picker{position:unset}.iho-table__time-picker .n-input{display:none}.iho-table__time-picker .v-binder-follower-container{height:auto;position:unset}.iho-table__time-picker .v-binder-follower-container .v-binder-follower-content{position:unset;transform:none!important}.iho-table__time-picker .v-binder-follower-container .v-binder-follower-content .n-time-picker-panel{box-shadow:none}.iho-table__scrollbar{margin:8px 8px 8px 0;max-height:255px}.iho-table{height:100%}.iho-table .vxe-header--column [annotation-hover-show=true]{visibility:hidden}.iho-table .vxe-header--column:hover [annotation-hover-show=true]{visibility:visible}.iho-table__headerWrapper{display:inline-flex}
1
+ .iho-table__boldCell{font-weight:700}.iho-table .vxe-table--body-wrapper::-webkit-scrollbar,.iho-table .vxe-table--footer-wrapper.body--wrapper::-webkit-scrollbar{background-color:transparent;height:10px;width:10px}.iho-table .vxe-table--body-wrapper::-webkit-scrollbar-thumb,.iho-table .vxe-table--footer-wrapper.body--wrapper::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:#f2f2f2;border:3px dashed transparent;border-radius:5px}.iho-table .vxe-table--body-wrapper::-webkit-scrollbar-thumb:hover,.iho-table .vxe-table--footer-wrapper.body--wrapper::-webkit-scrollbar-thumb:hover{background:#b2b2b2}.iho-table .vxe-table--empty-content{height:100%;width:100%}.iho-table .vxe-table--empty-content>div,.iho-table .vxe-tree-cell{height:100%}.iho-table .vxe-table--header{background-color:#f2f2f2}.iho-table .vxe-cell--title{color:#35393c}.iho-table .vxe-footer--row .vxe-footer--column>.vxe-cell .vxe-cell--item{height:30px;line-height:30px}.iho-table .vxe-table--render-default .vxe-body--row.row--hover,.iho-table .vxe-table--render-default .vxe-body--row.row--hover.row--stripe{background-color:var(--c-hover-color)}.iho-table .vxe-table--render-default .vxe-body--row.row--checked,.iho-table .vxe-table--render-default .vxe-body--row.row--current,.iho-table .vxe-table--render-default .vxe-body--row.row--hover.row--checked,.iho-table .vxe-table--render-default .vxe-body--row.row--hover.row--current,.iho-table .vxe-table--render-default .vxe-body--row.row--hover.row--radio,.iho-table .vxe-table--render-default .vxe-body--row.row--radio{background-color:var(--c-primary-color-opacity2);font-weight:700}.iho-table .vxe-body--expanded-column,.iho-table .vxe-table--border-line{border-color:var(--c-border-color)!important}.iho-table .vxe-table--footer-wrapper{border-top-color:var(--c-border-color)!important}.iho-table .border--default .vxe-body--column,.iho-table .border--default .vxe-footer--column,.iho-table .border--default .vxe-header--column,.iho-table .border--inner .vxe-body--column,.iho-table .border--inner .vxe-footer--column,.iho-table .border--inner .vxe-header--column{background-image:linear-gradient(var(--c-border-color),var(--c-border-color))!important}.iho-table .border--full .vxe-body--column,.iho-table .border--full .vxe-footer--column,.iho-table .border--full .vxe-header--column{background-image:linear-gradient(var(--c-border-color),var(--c-border-color)),linear-gradient(var(--c-border-color),var(--c-border-color))!important}.iho-table .border--default .vxe-header--row:last-child .vxe-header--gutter,.iho-table .border--full .vxe-header--row:last-child .vxe-header--gutter,.iho-table .border--inner .vxe-header--row:last-child .vxe-header--gutter,.iho-table .border--outer .vxe-header--row:last-child .vxe-header--gutter{background-image:linear-gradient(var(--c-border-color),var(--c-border-color))!important}.iho-table .vxe-table--header-border-line{border-bottom-color:var(--c-border-color)!important}.iho-table .vxe-table--fixed-left-wrapper.scrolling--middle{box-shadow:7px 0 8px -3px rgba(0,0,0,.15)!important}.iho-table .vxe-table--fixed-right-wrapper.scrolling--middle{box-shadow:-7px 0 8px -3px rgba(0,0,0,.15)!important}.iho-table .icon-dot{background:var(--table-icon-color);box-shadow:0 2px 4px 0 var(--table-icon-shadow)}.iho-table .icon-dot,.iho-table .icon-dot-red{border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.iho-table .icon-dot-red{background:red;box-shadow:0 2px 4px 0 rgba(255,0,0,.5)}.iho-table .icon-dot-blue{background:blue;box-shadow:0 2px 4px 0 rgba(0,0,255,.5)}.iho-table .icon-dot-blue,.iho-table .icon-dot-green{border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.iho-table .icon-dot-green{background:green;box-shadow:0 2px 4px 0 rgba(0,128,0,.5)}.iho-table .icon-dot-gray{background:gray;box-shadow:0 2px 4px 0 hsla(0,0%,50%,.5)}.iho-table .icon-dot-gray,.iho-table .icon-dot-yellow{border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.iho-table .icon-dot-yellow{background:#ff0;box-shadow:0 2px 4px 0 rgba(255,255,0,.5)}.iho-table .icon-dot-resolved{background:#36be8c;box-shadow:0 2px 4px 0 rgba(54,190,140,.5)}.iho-table .icon-dot-huifu,.iho-table .icon-dot-resolved{border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.iho-table .icon-dot-huifu{background:#42d0f6;box-shadow:0 2px 4px 0 rgba(66,208,246,.5)}.iho-table .icon-dot-close{background:#718391;box-shadow:0 2px 4px 0 rgba(113,131,145,.5)}.iho-table .icon-dot-audit,.iho-table .icon-dot-close{border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.iho-table .icon-dot-audit{background:#f4ba32;box-shadow:0 2px 4px 0 rgba(244,186,50,.5)}.iho-table .icon-dot-design{background:#927ce1;box-shadow:0 2px 4px 0 rgba(146,124,225,.5)}.iho-table .icon-dot-design,.iho-table .icon-dot-develop{border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.iho-table .icon-dot-develop{background:#4eb0ef;box-shadow:0 2px 4px 0 rgba(78,176,239,.5)}.iho-table .icon-dot-develop-complete{background:#6381f9;border-radius:50%;box-shadow:0 2px 4px 0 rgba(99,129,249,.5);display:inline-block;height:8px;margin-right:6px;width:8px}.iho-table__hideSortIcon .vxe-cell--sort{display:none!important}.iho-table__sortActiveIcon{margin-right:4px;width:14px}.iho-table__filterIcon{cursor:pointer;padding:0 4px}.iho-table__filterIcon:hover{opacity:.7}.iho-table__filterIcon.is-active{color:#5585f5}.iho-table__filterWrapper{display:flex;flex-direction:column;gap:8px;margin:8px 12px;width:240px}.iho-table__filterButton{align-items:center;border-radius:4px;cursor:pointer;display:flex;height:30px;padding:0 8px}.iho-table__filterButton--active{color:#5585f5}.iho-table__filterButton:hover{background:rgba(0,0,0,.05)}.iho-table__filterListWrapper{border:1px solid rgba(0,0,0,.05)}.iho-table__filterListItem{align-items:center;border-radius:4px;display:flex;height:32px;padding:0 8px}.iho-table__filterListItem:hover{background:rgba(0,0,0,.05)}.iho-table__filterListItem .n-checkbox{width:100%}.iho-table__filterFooter{display:flex;justify-content:space-between}.iho-table__time-picker{position:unset}.iho-table__time-picker .n-input{display:none}.iho-table__time-picker .v-binder-follower-container{height:auto;position:unset}.iho-table__time-picker .v-binder-follower-container .v-binder-follower-content{position:unset;transform:none!important}.iho-table__time-picker .v-binder-follower-container .v-binder-follower-content .n-time-picker-panel{box-shadow:none}.iho-table__scrollbar{margin:8px 8px 8px 0;max-height:255px}.iho-table{height:100%}.iho-table .vxe-header--column [annotation-hover-show=true]{visibility:hidden}.iho-table .vxe-header--column:hover [annotation-hover-show=true]{visibility:visible}.iho-table__headerWrapper{display:inline-flex}