cnhis-design-vue 3.1.33-beta.6 → 3.1.33-beta.7

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 (53) hide show
  1. package/README.md +123 -123
  2. package/es/components/big-table/index.d.ts +1 -1
  3. package/es/components/big-table/src/BigTable.vue.d.ts +1 -1
  4. package/es/components/big-table/src/BigTable.vue2.js +3 -2
  5. package/es/components/fabric-chart/index.d.ts +45 -0
  6. package/es/components/fabric-chart/src/BirthProcessChart.vue.d.ts +2 -2
  7. package/es/components/fabric-chart/src/BirthProcessChart.vue.js +118 -0
  8. package/es/components/fabric-chart/src/FabricChart.vue.d.ts +45 -0
  9. package/es/components/fabric-chart/src/FabricChart.vue.js +3 -2
  10. package/es/components/fabric-chart/src/hooks/index.js +1 -1
  11. package/es/components/fabric-chart/src/hooks/useBirthProcess.d.ts +4 -0
  12. package/es/components/fabric-chart/src/hooks/useBirthProcess.js +123 -0
  13. package/es/components/fabric-chart/src/hooks/useCenter.js +1 -1
  14. package/es/components/fabric-chart/src/hooks/useCumputedPoint.d.ts +4 -0
  15. package/es/components/fabric-chart/src/hooks/useCumputedPoint.js +13 -1
  16. package/es/components/fabric-chart/src/hooks/useGrid.d.ts +2 -3
  17. package/es/components/fabric-chart/src/hooks/useGrid.js +29 -45
  18. package/es/components/iho-table/index.d.ts +36 -36
  19. package/es/components/iho-table/src/IhoTable.vue.d.ts +36 -36
  20. package/es/components/iho-table/src/plugins/filterPlugin/filter.vue.d.ts +1 -1
  21. package/es/components/iho-table/src/plugins/filterPlugin/filter.vue.js +10 -9
  22. package/es/shared/assets/img/failure.js +1 -1
  23. package/es/shared/assets/img/failure.png.js +1 -1
  24. package/es/shared/assets/img/icon-asc.js +1 -1
  25. package/es/shared/assets/img/icon-desc.js +1 -1
  26. package/es/shared/assets/img/no-permission.js +1 -1
  27. package/es/shared/assets/img/no-permission.png.js +1 -1
  28. package/es/shared/assets/img/nodata.js +1 -1
  29. package/es/shared/assets/img/nodata.png.js +1 -1
  30. package/es/shared/assets/img/notfound.js +1 -1
  31. package/es/shared/assets/img/notfound.png.js +1 -1
  32. package/es/shared/assets/img/qr.js +1 -1
  33. package/es/shared/assets/img/qr.png.js +1 -1
  34. package/es/shared/assets/img/success.js +1 -1
  35. package/es/shared/assets/img/success.png.js +1 -1
  36. package/es/shared/assets/img/video.js +1 -1
  37. package/es/shared/assets/img/video.png.js +1 -1
  38. package/es/shared/assets/img/video_default_cover.js +1 -1
  39. package/es/shared/assets/img/video_default_cover.png.js +1 -1
  40. package/es/shared/assets/img/video_hover.js +1 -1
  41. package/es/shared/assets/img/video_play_hover.js +1 -1
  42. package/es/shared/assets/img/xb_big.js +1 -1
  43. package/es/shared/assets/img/xb_big.png.js +1 -1
  44. package/es/shared/assets/img/xb_small.js +1 -1
  45. package/es/shared/assets/img/xb_small.png.js +1 -1
  46. package/package.json +2 -2
  47. package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
  48. package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +0 -1
  49. package/es/components/bpmn-workflow/types/ModelingModule.d.ts +0 -1
  50. package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +0 -1
  51. package/es/components/fabric-chart/src/utils/index.d.ts +0 -6823
  52. package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +0 -86
  53. package/es/shared/utils/tapable/index.d.ts +0 -139
@@ -156,7 +156,7 @@ function useCenter(canvas, propItems, emits, cumputedX, cumputedY, getXValue, ge
156
156
  pointMenuProps.point = { x, y };
157
157
  pointMenuProps.show = true;
158
158
  const { type } = ((_a = event2.target) == null ? void 0 : _a.origin) || {};
159
- if (event2.target && (type === "temperature" || type === "pain")) {
159
+ if (event2.target && ["temperature", "pain"].includes(type)) {
160
160
  if (type === "temperature") {
161
161
  pointMenuProps.list = [...TEMPERATURE_MENU];
162
162
  }
@@ -1,7 +1,11 @@
1
1
  import { IPropItems, IPointType } from '../interface';
2
+ import { AnyObject } from '../../../../../es/shared/types';
2
3
  export declare function useCumputedPoint(propItems: IPropItems): {
3
4
  cumputedX: (value: number | string, setAllCenter?: boolean) => any;
4
5
  cumputedY: (type: IPointType, scaleValueList: number[], value: number | string) => number;
5
6
  getXValue: (pointX: number) => string | undefined;
6
7
  getYValue: (type: IPointType, pointY: number) => number;
7
8
  };
9
+ export declare function useBirthProcessCumputedPoint(propItems: AnyObject): {
10
+ cumputedX: (value: number | string) => any;
11
+ };
@@ -56,5 +56,17 @@ function useCumputedPoint(propItems) {
56
56
  getYValue
57
57
  };
58
58
  }
59
+ function useBirthProcessCumputedPoint(propItems) {
60
+ const { xAxis, originX, originY, xCellWidth } = propItems;
61
+ function cumputedX(value) {
62
+ const time = new Date(value).getTime();
63
+ const startTime = new Date(xAxis.time.startTime).getTime();
64
+ const timeCell = 1 * 60 * 60 * 1e3 / xCellWidth;
65
+ return (time - startTime) / timeCell + originX;
66
+ }
67
+ return {
68
+ cumputedX
69
+ };
70
+ }
59
71
 
60
- export { useCumputedPoint };
72
+ export { useBirthProcessCumputedPoint, useCumputedPoint };
@@ -1,5 +1,4 @@
1
1
  import { Ref } from 'vue';
2
2
  import { fabric } from '../utils';
3
- import { IPropItems } from '../interface';
4
- export default function useGrid(canvas: Ref<fabric.Canvas>, propItems: IPropItems): void;
5
- export declare function useBirthProcessGrid(canvas: Ref<fabric.Canvas>, propItems: IPropItems): void;
3
+ import { AnyObject } from '../../../../../es/shared/types';
4
+ export default function useGrid(canvas: Ref<fabric.Canvas>, propItems: AnyObject, isBirthProcess?: boolean): void;
@@ -2,36 +2,46 @@ import { onMounted, nextTick } from 'vue';
2
2
  import { fabric } from '../utils/index.js';
3
3
  import { drawLine, defaultBorderStyle } from './useDraw.js';
4
4
 
5
- function useGrid(canvas, propItems) {
6
- var _a, _b;
5
+ function useGrid(canvas, propItems, isBirthProcess = false) {
6
+ var _a, _b, _c, _d;
7
7
  const { gridYNumber, originY, grid, originX, endX, xCellWidth, yCellHeight, gridXNumber, endY } = propItems;
8
8
  const yList = [];
9
9
  const xList = [];
10
10
  const mainList = /* @__PURE__ */ new Set();
11
11
  for (let i = 0; i <= gridYNumber; i++) {
12
12
  const y = originY + parseInt(String(yCellHeight * (gridYNumber - i)));
13
- const style = i % grid.subYCell === 0 ? ((_a = grid.mainLineStyle) == null ? void 0 : _a.x) || {} : grid.subLineStyle || {};
14
- const line = drawLine([originX, y, endX, y], style);
15
- if (i % grid.subYCell === 0) {
16
- mainList.add(line);
17
- } else {
13
+ if (isBirthProcess) {
14
+ const line = drawLine([originX, y, endX, y], { ...defaultBorderStyle, ...((_a = grid.mainLineStyle) == null ? void 0 : _a.x) || {} });
18
15
  yList.push(line);
16
+ } else {
17
+ const style = i % grid.subYCell === 0 ? ((_b = grid.mainLineStyle) == null ? void 0 : _b.x) || {} : grid.subLineStyle || {};
18
+ const line = drawLine([originX, y, endX, y], style);
19
+ if (i % grid.subYCell === 0) {
20
+ mainList.add(line);
21
+ } else {
22
+ yList.push(line);
23
+ }
19
24
  }
20
25
  }
21
26
  for (let i = 0; i <= gridXNumber; i++) {
22
27
  const x = originX + parseInt(String(xCellWidth * i));
23
- let style = grid.subLineStyle || {};
24
- if (i % grid.subSecondXCell === 0) {
25
- style = grid.subSecondLineStyle || {};
26
- }
27
- if (i % grid.subXCell === 0) {
28
- style = i !== 0 && i !== gridXNumber ? ((_b = grid.mainLineStyle) == null ? void 0 : _b.y) || {} : defaultBorderStyle;
29
- }
30
- const line = drawLine([x, originY, x, endY], style);
31
- if (i % grid.subXCell === 0 && i !== 0 && i !== gridXNumber) {
32
- mainList.add(line);
33
- } else {
28
+ if (isBirthProcess) {
29
+ const line = drawLine([x, originY, x, endY], { ...defaultBorderStyle, ...((_c = grid.mainLineStyle) == null ? void 0 : _c.y) || {} });
34
30
  xList.push(line);
31
+ } else {
32
+ let style = grid.subLineStyle || {};
33
+ if (i % grid.subSecondXCell === 0) {
34
+ style = grid.subSecondLineStyle || {};
35
+ }
36
+ if (i % grid.subXCell === 0) {
37
+ style = i !== 0 && i !== gridXNumber ? ((_d = grid.mainLineStyle) == null ? void 0 : _d.y) || {} : defaultBorderStyle;
38
+ }
39
+ const line = drawLine([x, originY, x, endY], style);
40
+ if (i % grid.subXCell === 0 && i !== 0 && i !== gridXNumber) {
41
+ mainList.add(line);
42
+ } else {
43
+ xList.push(line);
44
+ }
35
45
  }
36
46
  }
37
47
  const group = new fabric.Group([...xList, ...yList, ...mainList], {
@@ -45,31 +55,5 @@ function useGrid(canvas, propItems) {
45
55
  });
46
56
  });
47
57
  }
48
- function useBirthProcessGrid(canvas, propItems) {
49
- var _a, _b;
50
- const { gridYNumber, originY, grid, originX, endX, xCellWidth, yCellHeight, gridXNumber, endY } = propItems;
51
- const yList = [];
52
- const xList = [];
53
- for (let i = 0; i <= gridYNumber; i++) {
54
- const y = originY + parseInt(String(yCellHeight * (gridYNumber - i)));
55
- const line = drawLine([originX, y, endX, y], { ...defaultBorderStyle, ...((_a = grid.mainLineStyle) == null ? void 0 : _a.x) || {} });
56
- yList.push(line);
57
- }
58
- for (let i = 0; i <= gridXNumber; i++) {
59
- const x = originX + parseInt(String(xCellWidth * i));
60
- const line = drawLine([x, originY, x, endY], { ...defaultBorderStyle, ...((_b = grid.mainLineStyle) == null ? void 0 : _b.y) || {} });
61
- xList.push(line);
62
- }
63
- const group = new fabric.Group([...xList, ...yList], {
64
- evented: false,
65
- selectable: false
66
- });
67
- onMounted(() => {
68
- nextTick(() => {
69
- canvas.value.add(group);
70
- canvas.value.sendToBack(group);
71
- });
72
- });
73
- }
74
58
 
75
- export { useGrid as default, useBirthProcessGrid };
59
+ export { useGrid as default };
@@ -275,9 +275,7 @@ declare const IhoTable: SFCWithInstall<import("vue").DefineComponent<{
275
275
  } | undefined;
276
276
  autofocus?: string | undefined;
277
277
  autoselect?: boolean | undefined;
278
- defaultValue?: string | number | object | any[] | ((params: {
279
- column: import("vxe-table").VxeTableDefines.ColumnInfo;
280
- }) => any) | {
278
+ defaultValue?: string | number | object | any[] | {
281
279
  exec: (string: string) => RegExpExecArray | null;
282
280
  test: (string: string) => boolean;
283
281
  readonly source: string;
@@ -298,7 +296,9 @@ declare const IhoTable: SFCWithInstall<import("vue").DefineComponent<{
298
296
  [Symbol.search]: (string: string) => number;
299
297
  [Symbol.split]: (string: string, limit?: number | undefined) => string[];
300
298
  [Symbol.matchAll]: (str: string) => IterableIterator<RegExpMatchArray>;
301
- } | {
299
+ } | ((params: {
300
+ column: import("vxe-table").VxeTableDefines.ColumnInfo;
301
+ }) => any) | {
302
302
  toString: () => string;
303
303
  toDateString: () => string;
304
304
  toTimeString: () => string;
@@ -578,9 +578,7 @@ declare const IhoTable: SFCWithInstall<import("vue").DefineComponent<{
578
578
  } | undefined;
579
579
  autofocus?: string | undefined;
580
580
  autoselect?: boolean | undefined;
581
- defaultValue?: string | number | object | any[] | ((params: {
582
- column: import("vxe-table").VxeTableDefines.ColumnInfo;
583
- }) => any) | {
581
+ defaultValue?: string | number | object | any[] | {
584
582
  exec: (string: string) => RegExpExecArray | null;
585
583
  test: (string: string) => boolean;
586
584
  readonly source: string;
@@ -601,7 +599,9 @@ declare const IhoTable: SFCWithInstall<import("vue").DefineComponent<{
601
599
  [Symbol.search]: (string: string) => number;
602
600
  [Symbol.split]: (string: string, limit?: number | undefined) => string[];
603
601
  [Symbol.matchAll]: (str: string) => IterableIterator<RegExpMatchArray>;
604
- } | {
602
+ } | ((params: {
603
+ column: import("vxe-table").VxeTableDefines.ColumnInfo;
604
+ }) => any) | {
605
605
  toString: () => string;
606
606
  toDateString: () => string;
607
607
  toTimeString: () => string;
@@ -1041,9 +1041,7 @@ declare const IhoTable: SFCWithInstall<import("vue").DefineComponent<{
1041
1041
  } | undefined;
1042
1042
  autofocus?: string | undefined;
1043
1043
  autoselect?: boolean | undefined;
1044
- defaultValue?: string | number | object | any[] | ((params: {
1045
- column: import("vxe-table").VxeTableDefines.ColumnInfo;
1046
- }) => any) | {
1044
+ defaultValue?: string | number | object | any[] | {
1047
1045
  exec: (string: string) => RegExpExecArray | null;
1048
1046
  test: (string: string) => boolean;
1049
1047
  readonly source: string;
@@ -1064,7 +1062,9 @@ declare const IhoTable: SFCWithInstall<import("vue").DefineComponent<{
1064
1062
  [Symbol.search]: (string: string) => number;
1065
1063
  [Symbol.split]: (string: string, limit?: number | undefined) => string[];
1066
1064
  [Symbol.matchAll]: (str: string) => IterableIterator<RegExpMatchArray>;
1067
- } | {
1065
+ } | ((params: {
1066
+ column: import("vxe-table").VxeTableDefines.ColumnInfo;
1067
+ }) => any) | {
1068
1068
  toString: () => string;
1069
1069
  toDateString: () => string;
1070
1070
  toTimeString: () => string;
@@ -1400,9 +1400,7 @@ declare const IhoTable: SFCWithInstall<import("vue").DefineComponent<{
1400
1400
  } | undefined;
1401
1401
  autofocus?: string | undefined;
1402
1402
  autoselect?: boolean | undefined;
1403
- defaultValue?: string | number | object | any[] | ((params: {
1404
- column: import("vxe-table").VxeTableDefines.ColumnInfo;
1405
- }) => any) | {
1403
+ defaultValue?: string | number | object | any[] | {
1406
1404
  exec: (string: string) => RegExpExecArray | null;
1407
1405
  test: (string: string) => boolean;
1408
1406
  readonly source: string;
@@ -1423,7 +1421,9 @@ declare const IhoTable: SFCWithInstall<import("vue").DefineComponent<{
1423
1421
  [Symbol.search]: (string: string) => number;
1424
1422
  [Symbol.split]: (string: string, limit?: number | undefined) => string[];
1425
1423
  [Symbol.matchAll]: (str: string) => IterableIterator<RegExpMatchArray>;
1426
- } | {
1424
+ } | ((params: {
1425
+ column: import("vxe-table").VxeTableDefines.ColumnInfo;
1426
+ }) => any) | {
1427
1427
  toString: () => string;
1428
1428
  toDateString: () => string;
1429
1429
  toTimeString: () => string;
@@ -2259,9 +2259,7 @@ declare const IhoTable: SFCWithInstall<import("vue").DefineComponent<{
2259
2259
  } | undefined;
2260
2260
  autofocus?: string | undefined;
2261
2261
  autoselect?: boolean | undefined;
2262
- defaultValue?: string | number | object | any[] | ((params: {
2263
- column: import("vxe-table").VxeTableDefines.ColumnInfo;
2264
- }) => any) | {
2262
+ defaultValue?: string | number | object | any[] | {
2265
2263
  exec: (string: string) => RegExpExecArray | null;
2266
2264
  test: (string: string) => boolean;
2267
2265
  readonly source: string;
@@ -2282,7 +2280,9 @@ declare const IhoTable: SFCWithInstall<import("vue").DefineComponent<{
2282
2280
  [Symbol.search]: (string: string) => number;
2283
2281
  [Symbol.split]: (string: string, limit?: number | undefined) => string[];
2284
2282
  [Symbol.matchAll]: (str: string) => IterableIterator<RegExpMatchArray>;
2285
- } | {
2283
+ } | ((params: {
2284
+ column: import("vxe-table").VxeTableDefines.ColumnInfo;
2285
+ }) => any) | {
2286
2286
  toString: () => string;
2287
2287
  toDateString: () => string;
2288
2288
  toTimeString: () => string;
@@ -2721,9 +2721,7 @@ declare const IhoTable: SFCWithInstall<import("vue").DefineComponent<{
2721
2721
  } | undefined;
2722
2722
  autofocus?: string | undefined;
2723
2723
  autoselect?: boolean | undefined;
2724
- defaultValue?: string | number | object | any[] | ((params: {
2725
- column: import("vxe-table").VxeTableDefines.ColumnInfo;
2726
- }) => any) | {
2724
+ defaultValue?: string | number | object | any[] | {
2727
2725
  exec: (string: string) => RegExpExecArray | null;
2728
2726
  test: (string: string) => boolean;
2729
2727
  readonly source: string;
@@ -2744,7 +2742,9 @@ declare const IhoTable: SFCWithInstall<import("vue").DefineComponent<{
2744
2742
  [Symbol.search]: (string: string) => number;
2745
2743
  [Symbol.split]: (string: string, limit?: number | undefined) => string[];
2746
2744
  [Symbol.matchAll]: (str: string) => IterableIterator<RegExpMatchArray>;
2747
- } | {
2745
+ } | ((params: {
2746
+ column: import("vxe-table").VxeTableDefines.ColumnInfo;
2747
+ }) => any) | {
2748
2748
  toString: () => string;
2749
2749
  toDateString: () => string;
2750
2750
  toTimeString: () => string;
@@ -3024,9 +3024,7 @@ declare const IhoTable: SFCWithInstall<import("vue").DefineComponent<{
3024
3024
  } | undefined;
3025
3025
  autofocus?: string | undefined;
3026
3026
  autoselect?: boolean | undefined;
3027
- defaultValue?: string | number | object | any[] | ((params: {
3028
- column: import("vxe-table").VxeTableDefines.ColumnInfo;
3029
- }) => any) | {
3027
+ defaultValue?: string | number | object | any[] | {
3030
3028
  exec: (string: string) => RegExpExecArray | null;
3031
3029
  test: (string: string) => boolean;
3032
3030
  readonly source: string;
@@ -3047,7 +3045,9 @@ declare const IhoTable: SFCWithInstall<import("vue").DefineComponent<{
3047
3045
  [Symbol.search]: (string: string) => number;
3048
3046
  [Symbol.split]: (string: string, limit?: number | undefined) => string[];
3049
3047
  [Symbol.matchAll]: (str: string) => IterableIterator<RegExpMatchArray>;
3050
- } | {
3048
+ } | ((params: {
3049
+ column: import("vxe-table").VxeTableDefines.ColumnInfo;
3050
+ }) => any) | {
3051
3051
  toString: () => string;
3052
3052
  toDateString: () => string;
3053
3053
  toTimeString: () => string;
@@ -3487,9 +3487,7 @@ declare const IhoTable: SFCWithInstall<import("vue").DefineComponent<{
3487
3487
  } | undefined;
3488
3488
  autofocus?: string | undefined;
3489
3489
  autoselect?: boolean | undefined;
3490
- defaultValue?: string | number | object | any[] | ((params: {
3491
- column: import("vxe-table").VxeTableDefines.ColumnInfo;
3492
- }) => any) | {
3490
+ defaultValue?: string | number | object | any[] | {
3493
3491
  exec: (string: string) => RegExpExecArray | null;
3494
3492
  test: (string: string) => boolean;
3495
3493
  readonly source: string;
@@ -3510,7 +3508,9 @@ declare const IhoTable: SFCWithInstall<import("vue").DefineComponent<{
3510
3508
  [Symbol.search]: (string: string) => number;
3511
3509
  [Symbol.split]: (string: string, limit?: number | undefined) => string[];
3512
3510
  [Symbol.matchAll]: (str: string) => IterableIterator<RegExpMatchArray>;
3513
- } | {
3511
+ } | ((params: {
3512
+ column: import("vxe-table").VxeTableDefines.ColumnInfo;
3513
+ }) => any) | {
3514
3514
  toString: () => string;
3515
3515
  toDateString: () => string;
3516
3516
  toTimeString: () => string;
@@ -3846,9 +3846,7 @@ declare const IhoTable: SFCWithInstall<import("vue").DefineComponent<{
3846
3846
  } | undefined;
3847
3847
  autofocus?: string | undefined;
3848
3848
  autoselect?: boolean | undefined;
3849
- defaultValue?: string | number | object | any[] | ((params: {
3850
- column: import("vxe-table").VxeTableDefines.ColumnInfo;
3851
- }) => any) | {
3849
+ defaultValue?: string | number | object | any[] | {
3852
3850
  exec: (string: string) => RegExpExecArray | null;
3853
3851
  test: (string: string) => boolean;
3854
3852
  readonly source: string;
@@ -3869,7 +3867,9 @@ declare const IhoTable: SFCWithInstall<import("vue").DefineComponent<{
3869
3867
  [Symbol.search]: (string: string) => number;
3870
3868
  [Symbol.split]: (string: string, limit?: number | undefined) => string[];
3871
3869
  [Symbol.matchAll]: (str: string) => IterableIterator<RegExpMatchArray>;
3872
- } | {
3870
+ } | ((params: {
3871
+ column: import("vxe-table").VxeTableDefines.ColumnInfo;
3872
+ }) => any) | {
3873
3873
  toString: () => string;
3874
3874
  toDateString: () => string;
3875
3875
  toTimeString: () => string;
@@ -274,9 +274,7 @@ declare const _default: import("vue").DefineComponent<{
274
274
  } | undefined;
275
275
  autofocus?: string | undefined;
276
276
  autoselect?: boolean | undefined;
277
- defaultValue?: string | number | object | any[] | ((params: {
278
- column: import("vxe-table").VxeTableDefines.ColumnInfo;
279
- }) => any) | {
277
+ defaultValue?: string | number | object | any[] | {
280
278
  exec: (string: string) => RegExpExecArray | null;
281
279
  test: (string: string) => boolean;
282
280
  readonly source: string;
@@ -297,7 +295,9 @@ declare const _default: import("vue").DefineComponent<{
297
295
  [Symbol.search]: (string: string) => number;
298
296
  [Symbol.split]: (string: string, limit?: number | undefined) => string[];
299
297
  [Symbol.matchAll]: (str: string) => IterableIterator<RegExpMatchArray>;
300
- } | {
298
+ } | ((params: {
299
+ column: import("vxe-table").VxeTableDefines.ColumnInfo;
300
+ }) => any) | {
301
301
  toString: () => string;
302
302
  toDateString: () => string;
303
303
  toTimeString: () => string;
@@ -577,9 +577,7 @@ declare const _default: import("vue").DefineComponent<{
577
577
  } | undefined;
578
578
  autofocus?: string | undefined;
579
579
  autoselect?: boolean | undefined;
580
- defaultValue?: string | number | object | any[] | ((params: {
581
- column: import("vxe-table").VxeTableDefines.ColumnInfo;
582
- }) => any) | {
580
+ defaultValue?: string | number | object | any[] | {
583
581
  exec: (string: string) => RegExpExecArray | null;
584
582
  test: (string: string) => boolean;
585
583
  readonly source: string;
@@ -600,7 +598,9 @@ declare const _default: import("vue").DefineComponent<{
600
598
  [Symbol.search]: (string: string) => number;
601
599
  [Symbol.split]: (string: string, limit?: number | undefined) => string[];
602
600
  [Symbol.matchAll]: (str: string) => IterableIterator<RegExpMatchArray>;
603
- } | {
601
+ } | ((params: {
602
+ column: import("vxe-table").VxeTableDefines.ColumnInfo;
603
+ }) => any) | {
604
604
  toString: () => string;
605
605
  toDateString: () => string;
606
606
  toTimeString: () => string;
@@ -1040,9 +1040,7 @@ declare const _default: import("vue").DefineComponent<{
1040
1040
  } | undefined;
1041
1041
  autofocus?: string | undefined;
1042
1042
  autoselect?: boolean | undefined;
1043
- defaultValue?: string | number | object | any[] | ((params: {
1044
- column: import("vxe-table").VxeTableDefines.ColumnInfo;
1045
- }) => any) | {
1043
+ defaultValue?: string | number | object | any[] | {
1046
1044
  exec: (string: string) => RegExpExecArray | null;
1047
1045
  test: (string: string) => boolean;
1048
1046
  readonly source: string;
@@ -1063,7 +1061,9 @@ declare const _default: import("vue").DefineComponent<{
1063
1061
  [Symbol.search]: (string: string) => number;
1064
1062
  [Symbol.split]: (string: string, limit?: number | undefined) => string[];
1065
1063
  [Symbol.matchAll]: (str: string) => IterableIterator<RegExpMatchArray>;
1066
- } | {
1064
+ } | ((params: {
1065
+ column: import("vxe-table").VxeTableDefines.ColumnInfo;
1066
+ }) => any) | {
1067
1067
  toString: () => string;
1068
1068
  toDateString: () => string;
1069
1069
  toTimeString: () => string;
@@ -1399,9 +1399,7 @@ declare const _default: import("vue").DefineComponent<{
1399
1399
  } | undefined;
1400
1400
  autofocus?: string | undefined;
1401
1401
  autoselect?: boolean | undefined;
1402
- defaultValue?: string | number | object | any[] | ((params: {
1403
- column: import("vxe-table").VxeTableDefines.ColumnInfo;
1404
- }) => any) | {
1402
+ defaultValue?: string | number | object | any[] | {
1405
1403
  exec: (string: string) => RegExpExecArray | null;
1406
1404
  test: (string: string) => boolean;
1407
1405
  readonly source: string;
@@ -1422,7 +1420,9 @@ declare const _default: import("vue").DefineComponent<{
1422
1420
  [Symbol.search]: (string: string) => number;
1423
1421
  [Symbol.split]: (string: string, limit?: number | undefined) => string[];
1424
1422
  [Symbol.matchAll]: (str: string) => IterableIterator<RegExpMatchArray>;
1425
- } | {
1423
+ } | ((params: {
1424
+ column: import("vxe-table").VxeTableDefines.ColumnInfo;
1425
+ }) => any) | {
1426
1426
  toString: () => string;
1427
1427
  toDateString: () => string;
1428
1428
  toTimeString: () => string;
@@ -2258,9 +2258,7 @@ declare const _default: import("vue").DefineComponent<{
2258
2258
  } | undefined;
2259
2259
  autofocus?: string | undefined;
2260
2260
  autoselect?: boolean | undefined;
2261
- defaultValue?: string | number | object | any[] | ((params: {
2262
- column: import("vxe-table").VxeTableDefines.ColumnInfo;
2263
- }) => any) | {
2261
+ defaultValue?: string | number | object | any[] | {
2264
2262
  exec: (string: string) => RegExpExecArray | null;
2265
2263
  test: (string: string) => boolean;
2266
2264
  readonly source: string;
@@ -2281,7 +2279,9 @@ declare const _default: import("vue").DefineComponent<{
2281
2279
  [Symbol.search]: (string: string) => number;
2282
2280
  [Symbol.split]: (string: string, limit?: number | undefined) => string[];
2283
2281
  [Symbol.matchAll]: (str: string) => IterableIterator<RegExpMatchArray>;
2284
- } | {
2282
+ } | ((params: {
2283
+ column: import("vxe-table").VxeTableDefines.ColumnInfo;
2284
+ }) => any) | {
2285
2285
  toString: () => string;
2286
2286
  toDateString: () => string;
2287
2287
  toTimeString: () => string;
@@ -2720,9 +2720,7 @@ declare const _default: import("vue").DefineComponent<{
2720
2720
  } | undefined;
2721
2721
  autofocus?: string | undefined;
2722
2722
  autoselect?: boolean | undefined;
2723
- defaultValue?: string | number | object | any[] | ((params: {
2724
- column: import("vxe-table").VxeTableDefines.ColumnInfo;
2725
- }) => any) | {
2723
+ defaultValue?: string | number | object | any[] | {
2726
2724
  exec: (string: string) => RegExpExecArray | null;
2727
2725
  test: (string: string) => boolean;
2728
2726
  readonly source: string;
@@ -2743,7 +2741,9 @@ declare const _default: import("vue").DefineComponent<{
2743
2741
  [Symbol.search]: (string: string) => number;
2744
2742
  [Symbol.split]: (string: string, limit?: number | undefined) => string[];
2745
2743
  [Symbol.matchAll]: (str: string) => IterableIterator<RegExpMatchArray>;
2746
- } | {
2744
+ } | ((params: {
2745
+ column: import("vxe-table").VxeTableDefines.ColumnInfo;
2746
+ }) => any) | {
2747
2747
  toString: () => string;
2748
2748
  toDateString: () => string;
2749
2749
  toTimeString: () => string;
@@ -3023,9 +3023,7 @@ declare const _default: import("vue").DefineComponent<{
3023
3023
  } | undefined;
3024
3024
  autofocus?: string | undefined;
3025
3025
  autoselect?: boolean | undefined;
3026
- defaultValue?: string | number | object | any[] | ((params: {
3027
- column: import("vxe-table").VxeTableDefines.ColumnInfo;
3028
- }) => any) | {
3026
+ defaultValue?: string | number | object | any[] | {
3029
3027
  exec: (string: string) => RegExpExecArray | null;
3030
3028
  test: (string: string) => boolean;
3031
3029
  readonly source: string;
@@ -3046,7 +3044,9 @@ declare const _default: import("vue").DefineComponent<{
3046
3044
  [Symbol.search]: (string: string) => number;
3047
3045
  [Symbol.split]: (string: string, limit?: number | undefined) => string[];
3048
3046
  [Symbol.matchAll]: (str: string) => IterableIterator<RegExpMatchArray>;
3049
- } | {
3047
+ } | ((params: {
3048
+ column: import("vxe-table").VxeTableDefines.ColumnInfo;
3049
+ }) => any) | {
3050
3050
  toString: () => string;
3051
3051
  toDateString: () => string;
3052
3052
  toTimeString: () => string;
@@ -3486,9 +3486,7 @@ declare const _default: import("vue").DefineComponent<{
3486
3486
  } | undefined;
3487
3487
  autofocus?: string | undefined;
3488
3488
  autoselect?: boolean | undefined;
3489
- defaultValue?: string | number | object | any[] | ((params: {
3490
- column: import("vxe-table").VxeTableDefines.ColumnInfo;
3491
- }) => any) | {
3489
+ defaultValue?: string | number | object | any[] | {
3492
3490
  exec: (string: string) => RegExpExecArray | null;
3493
3491
  test: (string: string) => boolean;
3494
3492
  readonly source: string;
@@ -3509,7 +3507,9 @@ declare const _default: import("vue").DefineComponent<{
3509
3507
  [Symbol.search]: (string: string) => number;
3510
3508
  [Symbol.split]: (string: string, limit?: number | undefined) => string[];
3511
3509
  [Symbol.matchAll]: (str: string) => IterableIterator<RegExpMatchArray>;
3512
- } | {
3510
+ } | ((params: {
3511
+ column: import("vxe-table").VxeTableDefines.ColumnInfo;
3512
+ }) => any) | {
3513
3513
  toString: () => string;
3514
3514
  toDateString: () => string;
3515
3515
  toTimeString: () => string;
@@ -3845,9 +3845,7 @@ declare const _default: import("vue").DefineComponent<{
3845
3845
  } | undefined;
3846
3846
  autofocus?: string | undefined;
3847
3847
  autoselect?: boolean | undefined;
3848
- defaultValue?: string | number | object | any[] | ((params: {
3849
- column: import("vxe-table").VxeTableDefines.ColumnInfo;
3850
- }) => any) | {
3848
+ defaultValue?: string | number | object | any[] | {
3851
3849
  exec: (string: string) => RegExpExecArray | null;
3852
3850
  test: (string: string) => boolean;
3853
3851
  readonly source: string;
@@ -3868,7 +3866,9 @@ declare const _default: import("vue").DefineComponent<{
3868
3866
  [Symbol.search]: (string: string) => number;
3869
3867
  [Symbol.split]: (string: string, limit?: number | undefined) => string[];
3870
3868
  [Symbol.matchAll]: (str: string) => IterableIterator<RegExpMatchArray>;
3871
- } | {
3869
+ } | ((params: {
3870
+ column: import("vxe-table").VxeTableDefines.ColumnInfo;
3871
+ }) => any) | {
3872
3872
  toString: () => string;
3873
3873
  toDateString: () => string;
3874
3874
  toTimeString: () => string;
@@ -55,7 +55,7 @@ declare const _default: import("vue").DefineComponent<{
55
55
  setSortStatus: (value: IHO_TABLE_FILTER_STATUS) => void;
56
56
  iconActive: import("vue").ComputedRef<number>;
57
57
  toggleFilter: () => void;
58
- Filter: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
58
+ FunnelSharp: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
59
59
  ref: typeof ref;
60
60
  NButton: any;
61
61
  NButtonGroup: any;
@@ -1,15 +1,16 @@
1
1
  import { defineComponent, inject, toRefs, ref, onDeactivated, computed, openBlock, createElementBlock, createVNode, unref, withCtx, createTextVNode, toDisplayString, normalizeClass, createElementVNode, Fragment, renderList, isRef, normalizeStyle } from 'vue';
2
2
  import { widthAppend } from '../../../../../shared/utils/index.js';
3
- import { Filter } from '@vicons/ionicons5';
3
+ import { FunnelSharp } from '@vicons/ionicons5';
4
4
  import { useVirtualList } from '@vueuse/core';
5
5
  import { InjectionIhoTableUUID, InjectionIhoTableEmits } from '../../constants/index.js';
6
6
  import { IHO_TABLE_FILTER_STATUS } from './types.js';
7
7
  import { NEllipsis, NPopover, NIcon, NInput, NCheckboxGroup, NCheckbox, NButtonGroup, NButton } from 'naive-ui';
8
8
  import _export_sfc from '../../../../../_virtual/plugin-vue_export-helper.js';
9
9
 
10
- const _hoisted_1 = { class: "iho-table__filterWrapper" };
11
- const _hoisted_2 = ["onClick"];
12
- const _hoisted_3 = { class: "iho-table__filterFooter" };
10
+ const _hoisted_1 = { style: { "display": "flex", "align-items": "center" } };
11
+ const _hoisted_2 = { class: "iho-table__filterWrapper" };
12
+ const _hoisted_3 = ["onClick"];
13
+ const _hoisted_4 = { class: "iho-table__filterFooter" };
13
14
  const _sfc_main = /* @__PURE__ */ defineComponent({
14
15
  __name: "filter",
15
16
  props: {
@@ -89,7 +90,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
89
90
  }
90
91
  }
91
92
  return (_ctx, _cache) => {
92
- return openBlock(), createElementBlock("section", null, [
93
+ return openBlock(), createElementBlock("section", _hoisted_1, [
93
94
  createVNode(unref(NEllipsis), { style: { "max-width": "calc(100% - 22px)" } }, {
94
95
  default: withCtx(() => [
95
96
  createTextVNode(toDisplayString(__props.payload.column.title), 1)
@@ -103,18 +104,18 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
103
104
  trigger: withCtx(() => [
104
105
  createVNode(unref(NIcon), {
105
106
  class: normalizeClass(["iho-table__filterIcon", { "is-active": unref(iconActive) }]),
106
- component: unref(Filter),
107
+ component: unref(FunnelSharp),
107
108
  onClick: toggleFilter
108
109
  }, null, 8, ["class", "component"])
109
110
  ]),
110
111
  default: withCtx(() => [
111
- createElementVNode("section", _hoisted_1, [
112
+ createElementVNode("section", _hoisted_2, [
112
113
  (openBlock(), createElementBlock(Fragment, null, renderList(sortStatusList, (item) => {
113
114
  return createElementVNode("div", {
114
115
  key: item.status,
115
116
  class: normalizeClass(["iho-table__filterButton", { "iho-table__filterButton--active": unref(sortStatus) === item.status }]),
116
117
  onClick: ($event) => setSortStatus(item.status)
117
- }, toDisplayString(item.text), 11, _hoisted_2);
118
+ }, toDisplayString(item.text), 11, _hoisted_3);
118
119
  }), 64)),
119
120
  createVNode(unref(NInput), {
120
121
  value: searchFilterText.value,
@@ -150,7 +151,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
150
151
  ]),
151
152
  _: 1
152
153
  }, 8, ["value"]),
153
- createElementVNode("footer", _hoisted_3, [
154
+ createElementVNode("footer", _hoisted_4, [
154
155
  createElementVNode("section", null, toDisplayString(`\u5DF2\u9009\u62E9${unref(checked).length}\u9879`), 1),
155
156
  createVNode(unref(NButtonGroup), { size: "tiny" }, {
156
157
  default: withCtx(() => [