cnhis-design-vue 3.1.33-beta.4 → 3.1.33-beta.6
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.
- package/es/components/fabric-chart/index.d.ts +219 -187
- package/es/components/fabric-chart/src/BirthProcessChart.vue.d.ts +49 -0
- package/es/components/fabric-chart/src/FabricChart.vue.d.ts +220 -188
- package/es/components/fabric-chart/src/FabricChart.vue.js +20 -327
- package/es/components/fabric-chart/src/TemperatureChart.vue.d.ts +215 -0
- package/es/components/fabric-chart/src/TemperatureChart.vue.js +347 -0
- package/es/components/fabric-chart/src/constants/index.d.ts +4 -0
- package/es/components/fabric-chart/src/constants/index.js +4 -0
- package/es/components/fabric-chart/src/hooks/useGrid.d.ts +1 -0
- package/es/components/fabric-chart/src/hooks/useGrid.js +27 -1
- package/es/components/fabric-chart/src/interface.d.ts +23 -6
- package/es/components/fabric-chart/src/interface.js +0 -3
- package/es/components/form-render/src/hooks/useFormRenderOptions.d.ts +2 -4
- package/es/components/form-render/src/hooks/useFormRenderOptions.js +14 -8
- package/es/components/iho-table/index.d.ts +37 -36
- package/es/components/iho-table/index.js +1 -1
- package/es/components/iho-table/src/IhoTable.vue.d.ts +37 -36
- package/es/components/iho-table/src/IhoTable.vue.js +7 -1
- package/es/components/iho-table/src/hooks/tapHooks/index.d.ts +1 -0
- package/es/components/iho-table/src/hooks/tapHooks/index.js +3 -1
- package/es/components/iho-table/src/hooks/tapHooks/useExposeHooks.d.ts +11 -0
- package/es/components/iho-table/src/hooks/tapHooks/useExposeHooks.js +26 -0
- package/es/components/iho-table/src/plugins/filterPlugin/filter.vue.d.ts +2 -1
- package/es/components/iho-table/src/plugins/filterPlugin/filter.vue.js +9 -5
- package/es/components/iho-table/src/plugins/filterPlugin/index.js +16 -5
- package/es/components/iho-table/src/types/index.d.ts +6 -1
- package/es/components/iho-table/src/types/index.js +1 -1
- package/es/components/iho-table/src/types/pluginType.d.ts +4 -0
- package/es/components/iho-table/src/types/pluginType.js +3 -1
- package/es/components/iho-table/style/index.css +1 -1
- package/es/components/index.css +1 -1
- package/es/components/index.js +1 -1
- package/es/components/info-header/src/InfoHeader.vue.js +14 -10
- package/es/components/info-header/style/index.css +1 -1
- package/es/components/shortcut-provider/src/utils/index.d.ts +0 -1
- package/es/components/shortcut-provider/src/utils/index.js +26 -3
- package/es/components/shortcut-setter/src/ShortcutSetterItem.vue.js +3 -0
- package/package.json +2 -2
|
@@ -111,6 +111,7 @@ declare const IhoTable: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
111
111
|
dataHooks: import("../../../es/components/iho-table/src/types").AbstractDataHooks;
|
|
112
112
|
setupHooks: import("../../../es/components/iho-table/src/types").AbstractSetupHooks;
|
|
113
113
|
domInsertHooks: import("../../../es/components/iho-table/src/types").AbstractDomInsertHooks;
|
|
114
|
+
exposeHooks: import("../../../es/components/iho-table/src/types").AbstractExposeHooks;
|
|
114
115
|
}>;
|
|
115
116
|
configRef: import("vue").Ref<{
|
|
116
117
|
[x: string]: unknown;
|
|
@@ -274,7 +275,9 @@ declare const IhoTable: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
274
275
|
} | undefined;
|
|
275
276
|
autofocus?: string | undefined;
|
|
276
277
|
autoselect?: boolean | undefined;
|
|
277
|
-
defaultValue?: string | number | object | any[] | {
|
|
278
|
+
defaultValue?: string | number | object | any[] | ((params: {
|
|
279
|
+
column: import("vxe-table").VxeTableDefines.ColumnInfo;
|
|
280
|
+
}) => any) | {
|
|
278
281
|
exec: (string: string) => RegExpExecArray | null;
|
|
279
282
|
test: (string: string) => boolean;
|
|
280
283
|
readonly source: string;
|
|
@@ -295,9 +298,7 @@ declare const IhoTable: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
295
298
|
[Symbol.search]: (string: string) => number;
|
|
296
299
|
[Symbol.split]: (string: string, limit?: number | undefined) => string[];
|
|
297
300
|
[Symbol.matchAll]: (str: string) => IterableIterator<RegExpMatchArray>;
|
|
298
|
-
} |
|
|
299
|
-
column: import("vxe-table").VxeTableDefines.ColumnInfo;
|
|
300
|
-
}) => any) | {
|
|
301
|
+
} | {
|
|
301
302
|
toString: () => string;
|
|
302
303
|
toDateString: () => string;
|
|
303
304
|
toTimeString: () => string;
|
|
@@ -577,7 +578,9 @@ declare const IhoTable: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
577
578
|
} | undefined;
|
|
578
579
|
autofocus?: string | undefined;
|
|
579
580
|
autoselect?: boolean | undefined;
|
|
580
|
-
defaultValue?: string | number | object | any[] | {
|
|
581
|
+
defaultValue?: string | number | object | any[] | ((params: {
|
|
582
|
+
column: import("vxe-table").VxeTableDefines.ColumnInfo;
|
|
583
|
+
}) => any) | {
|
|
581
584
|
exec: (string: string) => RegExpExecArray | null;
|
|
582
585
|
test: (string: string) => boolean;
|
|
583
586
|
readonly source: string;
|
|
@@ -598,9 +601,7 @@ declare const IhoTable: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
598
601
|
[Symbol.search]: (string: string) => number;
|
|
599
602
|
[Symbol.split]: (string: string, limit?: number | undefined) => string[];
|
|
600
603
|
[Symbol.matchAll]: (str: string) => IterableIterator<RegExpMatchArray>;
|
|
601
|
-
} |
|
|
602
|
-
column: import("vxe-table").VxeTableDefines.ColumnInfo;
|
|
603
|
-
}) => any) | {
|
|
604
|
+
} | {
|
|
604
605
|
toString: () => string;
|
|
605
606
|
toDateString: () => string;
|
|
606
607
|
toTimeString: () => string;
|
|
@@ -1040,7 +1041,9 @@ declare const IhoTable: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1040
1041
|
} | undefined;
|
|
1041
1042
|
autofocus?: string | undefined;
|
|
1042
1043
|
autoselect?: boolean | undefined;
|
|
1043
|
-
defaultValue?: string | number | object | any[] | {
|
|
1044
|
+
defaultValue?: string | number | object | any[] | ((params: {
|
|
1045
|
+
column: import("vxe-table").VxeTableDefines.ColumnInfo;
|
|
1046
|
+
}) => any) | {
|
|
1044
1047
|
exec: (string: string) => RegExpExecArray | null;
|
|
1045
1048
|
test: (string: string) => boolean;
|
|
1046
1049
|
readonly source: string;
|
|
@@ -1061,9 +1064,7 @@ declare const IhoTable: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1061
1064
|
[Symbol.search]: (string: string) => number;
|
|
1062
1065
|
[Symbol.split]: (string: string, limit?: number | undefined) => string[];
|
|
1063
1066
|
[Symbol.matchAll]: (str: string) => IterableIterator<RegExpMatchArray>;
|
|
1064
|
-
} |
|
|
1065
|
-
column: import("vxe-table").VxeTableDefines.ColumnInfo;
|
|
1066
|
-
}) => any) | {
|
|
1067
|
+
} | {
|
|
1067
1068
|
toString: () => string;
|
|
1068
1069
|
toDateString: () => string;
|
|
1069
1070
|
toTimeString: () => string;
|
|
@@ -1399,7 +1400,9 @@ declare const IhoTable: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1399
1400
|
} | undefined;
|
|
1400
1401
|
autofocus?: string | undefined;
|
|
1401
1402
|
autoselect?: boolean | undefined;
|
|
1402
|
-
defaultValue?: string | number | object | any[] | {
|
|
1403
|
+
defaultValue?: string | number | object | any[] | ((params: {
|
|
1404
|
+
column: import("vxe-table").VxeTableDefines.ColumnInfo;
|
|
1405
|
+
}) => any) | {
|
|
1403
1406
|
exec: (string: string) => RegExpExecArray | null;
|
|
1404
1407
|
test: (string: string) => boolean;
|
|
1405
1408
|
readonly source: string;
|
|
@@ -1420,9 +1423,7 @@ declare const IhoTable: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1420
1423
|
[Symbol.search]: (string: string) => number;
|
|
1421
1424
|
[Symbol.split]: (string: string, limit?: number | undefined) => string[];
|
|
1422
1425
|
[Symbol.matchAll]: (str: string) => IterableIterator<RegExpMatchArray>;
|
|
1423
|
-
} |
|
|
1424
|
-
column: import("vxe-table").VxeTableDefines.ColumnInfo;
|
|
1425
|
-
}) => any) | {
|
|
1426
|
+
} | {
|
|
1426
1427
|
toString: () => string;
|
|
1427
1428
|
toDateString: () => string;
|
|
1428
1429
|
toTimeString: () => string;
|
|
@@ -2258,7 +2259,9 @@ declare const IhoTable: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
2258
2259
|
} | undefined;
|
|
2259
2260
|
autofocus?: string | undefined;
|
|
2260
2261
|
autoselect?: boolean | undefined;
|
|
2261
|
-
defaultValue?: string | number | object | any[] | {
|
|
2262
|
+
defaultValue?: string | number | object | any[] | ((params: {
|
|
2263
|
+
column: import("vxe-table").VxeTableDefines.ColumnInfo;
|
|
2264
|
+
}) => any) | {
|
|
2262
2265
|
exec: (string: string) => RegExpExecArray | null;
|
|
2263
2266
|
test: (string: string) => boolean;
|
|
2264
2267
|
readonly source: string;
|
|
@@ -2279,9 +2282,7 @@ declare const IhoTable: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
2279
2282
|
[Symbol.search]: (string: string) => number;
|
|
2280
2283
|
[Symbol.split]: (string: string, limit?: number | undefined) => string[];
|
|
2281
2284
|
[Symbol.matchAll]: (str: string) => IterableIterator<RegExpMatchArray>;
|
|
2282
|
-
} |
|
|
2283
|
-
column: import("vxe-table").VxeTableDefines.ColumnInfo;
|
|
2284
|
-
}) => any) | {
|
|
2285
|
+
} | {
|
|
2285
2286
|
toString: () => string;
|
|
2286
2287
|
toDateString: () => string;
|
|
2287
2288
|
toTimeString: () => string;
|
|
@@ -2720,7 +2721,9 @@ declare const IhoTable: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
2720
2721
|
} | undefined;
|
|
2721
2722
|
autofocus?: string | undefined;
|
|
2722
2723
|
autoselect?: boolean | undefined;
|
|
2723
|
-
defaultValue?: string | number | object | any[] | {
|
|
2724
|
+
defaultValue?: string | number | object | any[] | ((params: {
|
|
2725
|
+
column: import("vxe-table").VxeTableDefines.ColumnInfo;
|
|
2726
|
+
}) => any) | {
|
|
2724
2727
|
exec: (string: string) => RegExpExecArray | null;
|
|
2725
2728
|
test: (string: string) => boolean;
|
|
2726
2729
|
readonly source: string;
|
|
@@ -2741,9 +2744,7 @@ declare const IhoTable: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
2741
2744
|
[Symbol.search]: (string: string) => number;
|
|
2742
2745
|
[Symbol.split]: (string: string, limit?: number | undefined) => string[];
|
|
2743
2746
|
[Symbol.matchAll]: (str: string) => IterableIterator<RegExpMatchArray>;
|
|
2744
|
-
} |
|
|
2745
|
-
column: import("vxe-table").VxeTableDefines.ColumnInfo;
|
|
2746
|
-
}) => any) | {
|
|
2747
|
+
} | {
|
|
2747
2748
|
toString: () => string;
|
|
2748
2749
|
toDateString: () => string;
|
|
2749
2750
|
toTimeString: () => string;
|
|
@@ -3023,7 +3024,9 @@ declare const IhoTable: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
3023
3024
|
} | undefined;
|
|
3024
3025
|
autofocus?: string | undefined;
|
|
3025
3026
|
autoselect?: boolean | undefined;
|
|
3026
|
-
defaultValue?: string | number | object | any[] | {
|
|
3027
|
+
defaultValue?: string | number | object | any[] | ((params: {
|
|
3028
|
+
column: import("vxe-table").VxeTableDefines.ColumnInfo;
|
|
3029
|
+
}) => any) | {
|
|
3027
3030
|
exec: (string: string) => RegExpExecArray | null;
|
|
3028
3031
|
test: (string: string) => boolean;
|
|
3029
3032
|
readonly source: string;
|
|
@@ -3044,9 +3047,7 @@ declare const IhoTable: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
3044
3047
|
[Symbol.search]: (string: string) => number;
|
|
3045
3048
|
[Symbol.split]: (string: string, limit?: number | undefined) => string[];
|
|
3046
3049
|
[Symbol.matchAll]: (str: string) => IterableIterator<RegExpMatchArray>;
|
|
3047
|
-
} |
|
|
3048
|
-
column: import("vxe-table").VxeTableDefines.ColumnInfo;
|
|
3049
|
-
}) => any) | {
|
|
3050
|
+
} | {
|
|
3050
3051
|
toString: () => string;
|
|
3051
3052
|
toDateString: () => string;
|
|
3052
3053
|
toTimeString: () => string;
|
|
@@ -3486,7 +3487,9 @@ declare const IhoTable: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
3486
3487
|
} | undefined;
|
|
3487
3488
|
autofocus?: string | undefined;
|
|
3488
3489
|
autoselect?: boolean | undefined;
|
|
3489
|
-
defaultValue?: string | number | object | any[] | {
|
|
3490
|
+
defaultValue?: string | number | object | any[] | ((params: {
|
|
3491
|
+
column: import("vxe-table").VxeTableDefines.ColumnInfo;
|
|
3492
|
+
}) => any) | {
|
|
3490
3493
|
exec: (string: string) => RegExpExecArray | null;
|
|
3491
3494
|
test: (string: string) => boolean;
|
|
3492
3495
|
readonly source: string;
|
|
@@ -3507,9 +3510,7 @@ declare const IhoTable: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
3507
3510
|
[Symbol.search]: (string: string) => number;
|
|
3508
3511
|
[Symbol.split]: (string: string, limit?: number | undefined) => string[];
|
|
3509
3512
|
[Symbol.matchAll]: (str: string) => IterableIterator<RegExpMatchArray>;
|
|
3510
|
-
} |
|
|
3511
|
-
column: import("vxe-table").VxeTableDefines.ColumnInfo;
|
|
3512
|
-
}) => any) | {
|
|
3513
|
+
} | {
|
|
3513
3514
|
toString: () => string;
|
|
3514
3515
|
toDateString: () => string;
|
|
3515
3516
|
toTimeString: () => string;
|
|
@@ -3845,7 +3846,9 @@ declare const IhoTable: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
3845
3846
|
} | undefined;
|
|
3846
3847
|
autofocus?: string | undefined;
|
|
3847
3848
|
autoselect?: boolean | undefined;
|
|
3848
|
-
defaultValue?: string | number | object | any[] | {
|
|
3849
|
+
defaultValue?: string | number | object | any[] | ((params: {
|
|
3850
|
+
column: import("vxe-table").VxeTableDefines.ColumnInfo;
|
|
3851
|
+
}) => any) | {
|
|
3849
3852
|
exec: (string: string) => RegExpExecArray | null;
|
|
3850
3853
|
test: (string: string) => boolean;
|
|
3851
3854
|
readonly source: string;
|
|
@@ -3866,9 +3869,7 @@ declare const IhoTable: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
3866
3869
|
[Symbol.search]: (string: string) => number;
|
|
3867
3870
|
[Symbol.split]: (string: string, limit?: number | undefined) => string[];
|
|
3868
3871
|
[Symbol.matchAll]: (str: string) => IterableIterator<RegExpMatchArray>;
|
|
3869
|
-
} |
|
|
3870
|
-
column: import("vxe-table").VxeTableDefines.ColumnInfo;
|
|
3871
|
-
}) => any) | {
|
|
3872
|
+
} | {
|
|
3872
3873
|
toString: () => string;
|
|
3873
3874
|
toDateString: () => string;
|
|
3874
3875
|
toTimeString: () => string;
|
|
@@ -15,7 +15,7 @@ import '../../shared/utils/tapable/AsyncSeriesHook.js';
|
|
|
15
15
|
import '../../shared/utils/tapable/AsyncSeriesBailHook.js';
|
|
16
16
|
import '../../shared/utils/tapable/AsyncSeriesLoopHook.js';
|
|
17
17
|
import '../../shared/utils/tapable/AsyncSeriesWaterfallHook.js';
|
|
18
|
-
export { AbstractConfigHooks, AbstractDataHooks, AbstractDomInsertHooks, AbstractEventHooks, AbstractFieldHooks, AbstractSetupHooks } from './src/types/pluginType.js';
|
|
18
|
+
export { AbstractConfigHooks, AbstractDataHooks, AbstractDomInsertHooks, AbstractEventHooks, AbstractExposeHooks, AbstractFieldHooks, AbstractSetupHooks } from './src/types/pluginType.js';
|
|
19
19
|
import { useTablePlugin } from './src/hooks/useTablePlugin.js';
|
|
20
20
|
export { defineTablePlugin, useTablePlugin } from './src/hooks/useTablePlugin.js';
|
|
21
21
|
export { useColumnConfigAdaptor } from './src/hooks/useColumnConfigAdaptor.js';
|
|
@@ -110,6 +110,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
110
110
|
dataHooks: import("../../../../es/components/iho-table/src/types").AbstractDataHooks;
|
|
111
111
|
setupHooks: import("../../../../es/components/iho-table/src/types").AbstractSetupHooks;
|
|
112
112
|
domInsertHooks: import("../../../../es/components/iho-table/src/types").AbstractDomInsertHooks;
|
|
113
|
+
exposeHooks: import("../../../../es/components/iho-table/src/types").AbstractExposeHooks;
|
|
113
114
|
}>;
|
|
114
115
|
configRef: import("vue").Ref<{
|
|
115
116
|
[x: string]: unknown;
|
|
@@ -273,7 +274,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
273
274
|
} | undefined;
|
|
274
275
|
autofocus?: string | undefined;
|
|
275
276
|
autoselect?: boolean | undefined;
|
|
276
|
-
defaultValue?: string | number | object | any[] | {
|
|
277
|
+
defaultValue?: string | number | object | any[] | ((params: {
|
|
278
|
+
column: import("vxe-table").VxeTableDefines.ColumnInfo;
|
|
279
|
+
}) => any) | {
|
|
277
280
|
exec: (string: string) => RegExpExecArray | null;
|
|
278
281
|
test: (string: string) => boolean;
|
|
279
282
|
readonly source: string;
|
|
@@ -294,9 +297,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
294
297
|
[Symbol.search]: (string: string) => number;
|
|
295
298
|
[Symbol.split]: (string: string, limit?: number | undefined) => string[];
|
|
296
299
|
[Symbol.matchAll]: (str: string) => IterableIterator<RegExpMatchArray>;
|
|
297
|
-
} |
|
|
298
|
-
column: import("vxe-table").VxeTableDefines.ColumnInfo;
|
|
299
|
-
}) => any) | {
|
|
300
|
+
} | {
|
|
300
301
|
toString: () => string;
|
|
301
302
|
toDateString: () => string;
|
|
302
303
|
toTimeString: () => string;
|
|
@@ -576,7 +577,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
576
577
|
} | undefined;
|
|
577
578
|
autofocus?: string | undefined;
|
|
578
579
|
autoselect?: boolean | undefined;
|
|
579
|
-
defaultValue?: string | number | object | any[] | {
|
|
580
|
+
defaultValue?: string | number | object | any[] | ((params: {
|
|
581
|
+
column: import("vxe-table").VxeTableDefines.ColumnInfo;
|
|
582
|
+
}) => any) | {
|
|
580
583
|
exec: (string: string) => RegExpExecArray | null;
|
|
581
584
|
test: (string: string) => boolean;
|
|
582
585
|
readonly source: string;
|
|
@@ -597,9 +600,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
597
600
|
[Symbol.search]: (string: string) => number;
|
|
598
601
|
[Symbol.split]: (string: string, limit?: number | undefined) => string[];
|
|
599
602
|
[Symbol.matchAll]: (str: string) => IterableIterator<RegExpMatchArray>;
|
|
600
|
-
} |
|
|
601
|
-
column: import("vxe-table").VxeTableDefines.ColumnInfo;
|
|
602
|
-
}) => any) | {
|
|
603
|
+
} | {
|
|
603
604
|
toString: () => string;
|
|
604
605
|
toDateString: () => string;
|
|
605
606
|
toTimeString: () => string;
|
|
@@ -1039,7 +1040,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1039
1040
|
} | undefined;
|
|
1040
1041
|
autofocus?: string | undefined;
|
|
1041
1042
|
autoselect?: boolean | undefined;
|
|
1042
|
-
defaultValue?: string | number | object | any[] | {
|
|
1043
|
+
defaultValue?: string | number | object | any[] | ((params: {
|
|
1044
|
+
column: import("vxe-table").VxeTableDefines.ColumnInfo;
|
|
1045
|
+
}) => any) | {
|
|
1043
1046
|
exec: (string: string) => RegExpExecArray | null;
|
|
1044
1047
|
test: (string: string) => boolean;
|
|
1045
1048
|
readonly source: string;
|
|
@@ -1060,9 +1063,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1060
1063
|
[Symbol.search]: (string: string) => number;
|
|
1061
1064
|
[Symbol.split]: (string: string, limit?: number | undefined) => string[];
|
|
1062
1065
|
[Symbol.matchAll]: (str: string) => IterableIterator<RegExpMatchArray>;
|
|
1063
|
-
} |
|
|
1064
|
-
column: import("vxe-table").VxeTableDefines.ColumnInfo;
|
|
1065
|
-
}) => any) | {
|
|
1066
|
+
} | {
|
|
1066
1067
|
toString: () => string;
|
|
1067
1068
|
toDateString: () => string;
|
|
1068
1069
|
toTimeString: () => string;
|
|
@@ -1398,7 +1399,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1398
1399
|
} | undefined;
|
|
1399
1400
|
autofocus?: string | undefined;
|
|
1400
1401
|
autoselect?: boolean | undefined;
|
|
1401
|
-
defaultValue?: string | number | object | any[] | {
|
|
1402
|
+
defaultValue?: string | number | object | any[] | ((params: {
|
|
1403
|
+
column: import("vxe-table").VxeTableDefines.ColumnInfo;
|
|
1404
|
+
}) => any) | {
|
|
1402
1405
|
exec: (string: string) => RegExpExecArray | null;
|
|
1403
1406
|
test: (string: string) => boolean;
|
|
1404
1407
|
readonly source: string;
|
|
@@ -1419,9 +1422,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1419
1422
|
[Symbol.search]: (string: string) => number;
|
|
1420
1423
|
[Symbol.split]: (string: string, limit?: number | undefined) => string[];
|
|
1421
1424
|
[Symbol.matchAll]: (str: string) => IterableIterator<RegExpMatchArray>;
|
|
1422
|
-
} |
|
|
1423
|
-
column: import("vxe-table").VxeTableDefines.ColumnInfo;
|
|
1424
|
-
}) => any) | {
|
|
1425
|
+
} | {
|
|
1425
1426
|
toString: () => string;
|
|
1426
1427
|
toDateString: () => string;
|
|
1427
1428
|
toTimeString: () => string;
|
|
@@ -2257,7 +2258,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2257
2258
|
} | undefined;
|
|
2258
2259
|
autofocus?: string | undefined;
|
|
2259
2260
|
autoselect?: boolean | undefined;
|
|
2260
|
-
defaultValue?: string | number | object | any[] | {
|
|
2261
|
+
defaultValue?: string | number | object | any[] | ((params: {
|
|
2262
|
+
column: import("vxe-table").VxeTableDefines.ColumnInfo;
|
|
2263
|
+
}) => any) | {
|
|
2261
2264
|
exec: (string: string) => RegExpExecArray | null;
|
|
2262
2265
|
test: (string: string) => boolean;
|
|
2263
2266
|
readonly source: string;
|
|
@@ -2278,9 +2281,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2278
2281
|
[Symbol.search]: (string: string) => number;
|
|
2279
2282
|
[Symbol.split]: (string: string, limit?: number | undefined) => string[];
|
|
2280
2283
|
[Symbol.matchAll]: (str: string) => IterableIterator<RegExpMatchArray>;
|
|
2281
|
-
} |
|
|
2282
|
-
column: import("vxe-table").VxeTableDefines.ColumnInfo;
|
|
2283
|
-
}) => any) | {
|
|
2284
|
+
} | {
|
|
2284
2285
|
toString: () => string;
|
|
2285
2286
|
toDateString: () => string;
|
|
2286
2287
|
toTimeString: () => string;
|
|
@@ -2719,7 +2720,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2719
2720
|
} | undefined;
|
|
2720
2721
|
autofocus?: string | undefined;
|
|
2721
2722
|
autoselect?: boolean | undefined;
|
|
2722
|
-
defaultValue?: string | number | object | any[] | {
|
|
2723
|
+
defaultValue?: string | number | object | any[] | ((params: {
|
|
2724
|
+
column: import("vxe-table").VxeTableDefines.ColumnInfo;
|
|
2725
|
+
}) => any) | {
|
|
2723
2726
|
exec: (string: string) => RegExpExecArray | null;
|
|
2724
2727
|
test: (string: string) => boolean;
|
|
2725
2728
|
readonly source: string;
|
|
@@ -2740,9 +2743,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2740
2743
|
[Symbol.search]: (string: string) => number;
|
|
2741
2744
|
[Symbol.split]: (string: string, limit?: number | undefined) => string[];
|
|
2742
2745
|
[Symbol.matchAll]: (str: string) => IterableIterator<RegExpMatchArray>;
|
|
2743
|
-
} |
|
|
2744
|
-
column: import("vxe-table").VxeTableDefines.ColumnInfo;
|
|
2745
|
-
}) => any) | {
|
|
2746
|
+
} | {
|
|
2746
2747
|
toString: () => string;
|
|
2747
2748
|
toDateString: () => string;
|
|
2748
2749
|
toTimeString: () => string;
|
|
@@ -3022,7 +3023,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3022
3023
|
} | undefined;
|
|
3023
3024
|
autofocus?: string | undefined;
|
|
3024
3025
|
autoselect?: boolean | undefined;
|
|
3025
|
-
defaultValue?: string | number | object | any[] | {
|
|
3026
|
+
defaultValue?: string | number | object | any[] | ((params: {
|
|
3027
|
+
column: import("vxe-table").VxeTableDefines.ColumnInfo;
|
|
3028
|
+
}) => any) | {
|
|
3026
3029
|
exec: (string: string) => RegExpExecArray | null;
|
|
3027
3030
|
test: (string: string) => boolean;
|
|
3028
3031
|
readonly source: string;
|
|
@@ -3043,9 +3046,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3043
3046
|
[Symbol.search]: (string: string) => number;
|
|
3044
3047
|
[Symbol.split]: (string: string, limit?: number | undefined) => string[];
|
|
3045
3048
|
[Symbol.matchAll]: (str: string) => IterableIterator<RegExpMatchArray>;
|
|
3046
|
-
} |
|
|
3047
|
-
column: import("vxe-table").VxeTableDefines.ColumnInfo;
|
|
3048
|
-
}) => any) | {
|
|
3049
|
+
} | {
|
|
3049
3050
|
toString: () => string;
|
|
3050
3051
|
toDateString: () => string;
|
|
3051
3052
|
toTimeString: () => string;
|
|
@@ -3485,7 +3486,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3485
3486
|
} | undefined;
|
|
3486
3487
|
autofocus?: string | undefined;
|
|
3487
3488
|
autoselect?: boolean | undefined;
|
|
3488
|
-
defaultValue?: string | number | object | any[] | {
|
|
3489
|
+
defaultValue?: string | number | object | any[] | ((params: {
|
|
3490
|
+
column: import("vxe-table").VxeTableDefines.ColumnInfo;
|
|
3491
|
+
}) => any) | {
|
|
3489
3492
|
exec: (string: string) => RegExpExecArray | null;
|
|
3490
3493
|
test: (string: string) => boolean;
|
|
3491
3494
|
readonly source: string;
|
|
@@ -3506,9 +3509,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3506
3509
|
[Symbol.search]: (string: string) => number;
|
|
3507
3510
|
[Symbol.split]: (string: string, limit?: number | undefined) => string[];
|
|
3508
3511
|
[Symbol.matchAll]: (str: string) => IterableIterator<RegExpMatchArray>;
|
|
3509
|
-
} |
|
|
3510
|
-
column: import("vxe-table").VxeTableDefines.ColumnInfo;
|
|
3511
|
-
}) => any) | {
|
|
3512
|
+
} | {
|
|
3512
3513
|
toString: () => string;
|
|
3513
3514
|
toDateString: () => string;
|
|
3514
3515
|
toTimeString: () => string;
|
|
@@ -3844,7 +3845,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3844
3845
|
} | undefined;
|
|
3845
3846
|
autofocus?: string | undefined;
|
|
3846
3847
|
autoselect?: boolean | undefined;
|
|
3847
|
-
defaultValue?: string | number | object | any[] | {
|
|
3848
|
+
defaultValue?: string | number | object | any[] | ((params: {
|
|
3849
|
+
column: import("vxe-table").VxeTableDefines.ColumnInfo;
|
|
3850
|
+
}) => any) | {
|
|
3848
3851
|
exec: (string: string) => RegExpExecArray | null;
|
|
3849
3852
|
test: (string: string) => boolean;
|
|
3850
3853
|
readonly source: string;
|
|
@@ -3865,9 +3868,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3865
3868
|
[Symbol.search]: (string: string) => number;
|
|
3866
3869
|
[Symbol.split]: (string: string, limit?: number | undefined) => string[];
|
|
3867
3870
|
[Symbol.matchAll]: (str: string) => IterableIterator<RegExpMatchArray>;
|
|
3868
|
-
} |
|
|
3869
|
-
column: import("vxe-table").VxeTableDefines.ColumnInfo;
|
|
3870
|
-
}) => any) | {
|
|
3871
|
+
} | {
|
|
3871
3872
|
toString: () => string;
|
|
3872
3873
|
toDateString: () => string;
|
|
3873
3874
|
toTimeString: () => string;
|
|
@@ -90,7 +90,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
90
90
|
_updateFieldListRef();
|
|
91
91
|
_updateTableDataRef();
|
|
92
92
|
const { header, footer } = createDomInsertComponent(hooks);
|
|
93
|
-
expose({
|
|
93
|
+
expose({
|
|
94
|
+
$table,
|
|
95
|
+
setFilter(fieldName, value) {
|
|
96
|
+
return { fieldName, value };
|
|
97
|
+
},
|
|
98
|
+
...hooks.exposeHooks.expose.call({}, configRef)
|
|
99
|
+
});
|
|
94
100
|
hooks.setupHooks.setup.call(configRef, fieldListRef);
|
|
95
101
|
return (_ctx, _cache) => {
|
|
96
102
|
const _component_vxe_table = resolveComponent("vxe-table");
|
|
@@ -10,6 +10,7 @@ export declare const createTableHooks: () => Readonly<{
|
|
|
10
10
|
dataHooks: import("../../../../../../es/components/iho-table/src/types").AbstractDataHooks;
|
|
11
11
|
setupHooks: import("../../../../../../es/components/iho-table/src/types").AbstractSetupHooks;
|
|
12
12
|
domInsertHooks: import("../../../../../../es/components/iho-table/src/types").AbstractDomInsertHooks;
|
|
13
|
+
exposeHooks: import("../../../../../../es/components/iho-table/src/types").AbstractExposeHooks;
|
|
13
14
|
}>;
|
|
14
15
|
export declare function applyTableConfigHooks(hooks: TableHooks, config: IhoTableConfig): IhoTableConfig;
|
|
15
16
|
export declare function applyTableFieldHooks(hooks: TableHooks, fieldList: IhoTableFieldItem[], config: IhoTableConfig): IhoTableFieldItem[];
|
|
@@ -5,6 +5,7 @@ import { VxeEventListenerNameList } from '../../constants/index.js';
|
|
|
5
5
|
import { useDataHooks } from './useDataHooks.js';
|
|
6
6
|
import { useDomInsertHooks } from './useDomInsertHooks.js';
|
|
7
7
|
import { useEventHooks } from './useEventHooks.js';
|
|
8
|
+
import { useExposeHooks } from './useExposeHooks.js';
|
|
8
9
|
import { useSetupHooks } from './useSetupHooks.js';
|
|
9
10
|
import { getEventName } from '../../utils/index.js';
|
|
10
11
|
import { useConfigHooks } from './useConfigHooks.js';
|
|
@@ -19,7 +20,8 @@ const createTableHooks = (() => {
|
|
|
19
20
|
eventHooks: useEventHooks().create(),
|
|
20
21
|
dataHooks: useDataHooks().create(),
|
|
21
22
|
setupHooks: useSetupHooks().create(),
|
|
22
|
-
domInsertHooks: useDomInsertHooks().create()
|
|
23
|
+
domInsertHooks: useDomInsertHooks().create(),
|
|
24
|
+
exposeHooks: useExposeHooks().create()
|
|
23
25
|
});
|
|
24
26
|
}
|
|
25
27
|
return () => {
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Func } from '../../../../../../es/shared/types';
|
|
2
|
+
import { SyncWaterfallHook } from '../../../../../../es/shared/utils/tapable';
|
|
3
|
+
import { Ref } from 'vue';
|
|
4
|
+
import { AbstractExposeHooks, IhoTableConfig } from '../../../../../../es/components/iho-table/src/types';
|
|
5
|
+
declare class ExposeHooks extends AbstractExposeHooks {
|
|
6
|
+
readonly expose: SyncWaterfallHook<[Record<string, Func<any[], any>>, Ref<IhoTableConfig>], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
|
|
7
|
+
}
|
|
8
|
+
export declare function useExposeHooks(): {
|
|
9
|
+
create: () => ExposeHooks;
|
|
10
|
+
};
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import '../../../../../shared/utils/tapable/SyncHook.js';
|
|
2
|
+
import '../../../../../shared/utils/tapable/SyncBailHook.js';
|
|
3
|
+
import SyncWaterfallHook from '../../../../../shared/utils/tapable/SyncWaterfallHook.js';
|
|
4
|
+
import '../../../../../shared/utils/tapable/SyncLoopHook.js';
|
|
5
|
+
import '../../../../../shared/utils/tapable/AsyncParallelHook.js';
|
|
6
|
+
import '../../../../../shared/utils/tapable/AsyncParallelBailHook.js';
|
|
7
|
+
import '../../../../../shared/utils/tapable/AsyncSeriesHook.js';
|
|
8
|
+
import '../../../../../shared/utils/tapable/AsyncSeriesBailHook.js';
|
|
9
|
+
import '../../../../../shared/utils/tapable/AsyncSeriesLoopHook.js';
|
|
10
|
+
import '../../../../../shared/utils/tapable/AsyncSeriesWaterfallHook.js';
|
|
11
|
+
import { AbstractExposeHooks } from '../../types/pluginType.js';
|
|
12
|
+
|
|
13
|
+
class ExposeHooks extends AbstractExposeHooks {
|
|
14
|
+
constructor() {
|
|
15
|
+
super(...arguments);
|
|
16
|
+
this.expose = new SyncWaterfallHook(["expose", "config"]);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
function useExposeHooks() {
|
|
20
|
+
function create() {
|
|
21
|
+
return new ExposeHooks();
|
|
22
|
+
}
|
|
23
|
+
return { create };
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export { useExposeHooks };
|
|
@@ -53,8 +53,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
53
53
|
text: string;
|
|
54
54
|
}[];
|
|
55
55
|
setSortStatus: (value: IHO_TABLE_FILTER_STATUS) => void;
|
|
56
|
+
iconActive: import("vue").ComputedRef<number>;
|
|
56
57
|
toggleFilter: () => void;
|
|
57
|
-
|
|
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
59
|
ref: typeof ref;
|
|
59
60
|
NButton: any;
|
|
60
61
|
NButtonGroup: any;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent, inject, toRefs, ref, onDeactivated, computed, openBlock, createElementBlock, createVNode, unref, withCtx, createTextVNode, toDisplayString, createElementVNode, Fragment, renderList,
|
|
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 {
|
|
3
|
+
import { Filter } 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';
|
|
@@ -75,6 +75,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
75
75
|
close();
|
|
76
76
|
globEmit("sortChange", { type: "sort", value: sortStatus.value });
|
|
77
77
|
}
|
|
78
|
+
const iconActive = computed(() => {
|
|
79
|
+
var _a, _b;
|
|
80
|
+
return ((_a = props.filterState) == null ? void 0 : _a.checked.length) || ((_b = props.filterState) == null ? void 0 : _b.sortStatus);
|
|
81
|
+
});
|
|
78
82
|
function toggleFilter() {
|
|
79
83
|
filterVisible.value = !filterVisible.value;
|
|
80
84
|
if (filterVisible.value) {
|
|
@@ -98,10 +102,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
98
102
|
}, {
|
|
99
103
|
trigger: withCtx(() => [
|
|
100
104
|
createVNode(unref(NIcon), {
|
|
101
|
-
class: "iho-table__filterIcon",
|
|
102
|
-
component: unref(
|
|
105
|
+
class: normalizeClass(["iho-table__filterIcon", { "is-active": unref(iconActive) }]),
|
|
106
|
+
component: unref(Filter),
|
|
103
107
|
onClick: toggleFilter
|
|
104
|
-
}, null, 8, ["component"])
|
|
108
|
+
}, null, 8, ["class", "component"])
|
|
105
109
|
]),
|
|
106
110
|
default: withCtx(() => [
|
|
107
111
|
createElementVNode("section", _hoisted_1, [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { isObject, isArray } from 'lodash-es';
|
|
1
|
+
import { isObject, pick, isArray } from 'lodash-es';
|
|
2
2
|
import { h, onBeforeUnmount } from 'vue';
|
|
3
3
|
import '../../../index.js';
|
|
4
4
|
import { IHO_TABLE_NUMBER_STATUS, IHO_TABLE_STRING_STATUS } from '../../constants/index.js';
|
|
@@ -10,14 +10,14 @@ import { defineTablePlugin } from '../../hooks/useTablePlugin.js';
|
|
|
10
10
|
function filterPlugin() {
|
|
11
11
|
const pluginName = "filterPlugin";
|
|
12
12
|
const { getItemFromUUID, removeItemFromUUID } = useUUIDMap(() => /* @__PURE__ */ new Map());
|
|
13
|
-
function initFilterState(uuid, fieldName) {
|
|
13
|
+
function initFilterState(uuid, fieldName, initValue = {}) {
|
|
14
14
|
const stateMap = getItemFromUUID(uuid);
|
|
15
15
|
return stateMap.set(
|
|
16
16
|
fieldName,
|
|
17
17
|
stateMap.get(fieldName) || {
|
|
18
18
|
options: [],
|
|
19
|
-
checked: [],
|
|
20
|
-
sortStatus: IHO_TABLE_FILTER_STATUS.DEFAULT
|
|
19
|
+
checked: initValue.checked || [],
|
|
20
|
+
sortStatus: initValue.sortStatus || IHO_TABLE_FILTER_STATUS.DEFAULT
|
|
21
21
|
}
|
|
22
22
|
).get(fieldName);
|
|
23
23
|
}
|
|
@@ -38,7 +38,7 @@ function filterPlugin() {
|
|
|
38
38
|
if (isCompatibleColumn(lowCodeField)) {
|
|
39
39
|
options = (_f = (_e = lowCodeField.options) == null ? void 0 : _e.map((option) => ({ ...option, key: option.label }))) != null ? _f : [];
|
|
40
40
|
}
|
|
41
|
-
const filterState = initFilterState(uuid, fieldItem.field);
|
|
41
|
+
const filterState = initFilterState(uuid, fieldItem.field, lowCodeField.filterDefaultValue);
|
|
42
42
|
filterState.options = options;
|
|
43
43
|
const oldHeader = (_g = fieldItem.slots) == null ? void 0 : _g.header;
|
|
44
44
|
fieldItem.slots = {
|
|
@@ -55,6 +55,17 @@ function filterPlugin() {
|
|
|
55
55
|
hooks.setupHooks.setup.tap(pluginName, (config) => {
|
|
56
56
|
onBeforeUnmount(() => config.value.uuid && removeItemFromUUID(config.value.uuid));
|
|
57
57
|
});
|
|
58
|
+
hooks.exposeHooks.expose.tap(pluginName, (expose, configRef) => {
|
|
59
|
+
return {
|
|
60
|
+
...expose,
|
|
61
|
+
setFilter(fieldName, value) {
|
|
62
|
+
if (!configRef.value.uuid)
|
|
63
|
+
return;
|
|
64
|
+
const state = initFilterState(configRef.value.uuid, fieldName);
|
|
65
|
+
Object.assign(state, pick(value, ["checked", "sortStatus"]));
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
});
|
|
58
69
|
function isCompatibleColumn(field) {
|
|
59
70
|
const filterTypes = ["SEARCH", "SELECT", "RADIO", "CHECKBOX"];
|
|
60
71
|
const notParticipatingSearch = field.notParticipatingSearch || "";
|
|
@@ -2,7 +2,7 @@ import { AnyObject, TupleToUnion } from '../../../../../es/shared/types';
|
|
|
2
2
|
import { VxeTableProps, VxeTableDefines, VxeTableInstance, VxeColumnPropTypes } from 'vxe-table';
|
|
3
3
|
import { VxeTableEventProps } from 'vxe-table/types/table';
|
|
4
4
|
import { IHO_TABLE_STRING_STATUS, IhoTableCustomEventNameTuple, IhoTableEventNameTuple, IhoTableRowGroupSequence, VxeEventListenerNameList } from '../../../../../es/components/iho-table/src/constants';
|
|
5
|
-
import { IHO_TABLE_FILTER_STATUS } from '../../../../../es/components/iho-table/src/plugins/filterPlugin/types';
|
|
5
|
+
import { FilterState, IHO_TABLE_FILTER_STATUS } from '../../../../../es/components/iho-table/src/plugins/filterPlugin/types';
|
|
6
6
|
export * from './pluginType';
|
|
7
7
|
export interface IhoTableRowGroupItem {
|
|
8
8
|
groupName: string;
|
|
@@ -59,6 +59,10 @@ export declare type LowCodeTableFieldItem = {
|
|
|
59
59
|
showOverflow: VxeTableDefines.ColumnInfo['showOverflow'];
|
|
60
60
|
options: AnyObject[];
|
|
61
61
|
annotation: boolean;
|
|
62
|
+
filterDefaultValue: Partial<{
|
|
63
|
+
checked: string[];
|
|
64
|
+
sortStatus: 0 | 1 | 2;
|
|
65
|
+
}>;
|
|
62
66
|
}> & Partial<Pick<VxeTableDefines.ColumnInfo, 'resizable'>>;
|
|
63
67
|
export declare type IhoTableFormChangePayload = {
|
|
64
68
|
column: IhoTableFieldItem;
|
|
@@ -89,4 +93,5 @@ export declare type IhoTableAnchorItem = {
|
|
|
89
93
|
};
|
|
90
94
|
export declare type IhoTableExpose = {
|
|
91
95
|
$table: VxeTableInstance;
|
|
96
|
+
setFilter(fieldName: string, value: Partial<Omit<FilterState, 'options'>>): void;
|
|
92
97
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { AbstractConfigHooks, AbstractDataHooks, AbstractDomInsertHooks, AbstractEventHooks, AbstractFieldHooks, AbstractSetupHooks } from './pluginType.js';
|
|
1
|
+
export { AbstractConfigHooks, AbstractDataHooks, AbstractDomInsertHooks, AbstractEventHooks, AbstractExposeHooks, AbstractFieldHooks, AbstractSetupHooks } from './pluginType.js';
|
|
@@ -26,6 +26,7 @@ export declare type TableHooks = Readonly<{
|
|
|
26
26
|
dataHooks: AbstractDataHooks;
|
|
27
27
|
setupHooks: AbstractSetupHooks;
|
|
28
28
|
domInsertHooks: AbstractDomInsertHooks;
|
|
29
|
+
exposeHooks: AbstractExposeHooks;
|
|
29
30
|
}>;
|
|
30
31
|
export declare type WithTableConfig<T = []> = T extends any[] ? [...T, IhoTableConfig] : [T, IhoTableConfig];
|
|
31
32
|
declare type ConfigHookType<T> = SyncWaterfallHook<WithTableConfig<T>>;
|
|
@@ -150,4 +151,7 @@ export declare abstract class AbstractDomInsertHooks {
|
|
|
150
151
|
abstract readonly header: SyncWaterfallHook<[VNode[]]>;
|
|
151
152
|
abstract readonly footer: SyncWaterfallHook<[VNode[]]>;
|
|
152
153
|
}
|
|
154
|
+
export declare abstract class AbstractExposeHooks {
|
|
155
|
+
abstract readonly expose: SyncWaterfallHook<[Record<string, Func>, Ref<IhoTableConfig>]>;
|
|
156
|
+
}
|
|
153
157
|
export {};
|