cnhis-design-vue 3.1.21-beta.9 → 3.1.22-beta.0

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 (98) hide show
  1. package/es/components/big-table/index.d.ts +4 -6
  2. package/es/components/big-table/src/BigTable.vue.d.ts +4 -6
  3. package/es/components/big-table/src/BigTable.vue_vue_type_script_setup_true_lang.js +17 -8
  4. package/es/components/big-table/src/components/edit-form/edit-input.js +15 -7
  5. package/es/components/big-table/src/hooks/useEdit.d.ts +2 -1
  6. package/es/components/big-table/src/hooks/useEdit2.js +3 -2
  7. package/es/components/big-table/src/hooks/useSeparateRow2.js +3 -2
  8. package/es/components/big-table/style/index.css +1 -1
  9. package/es/components/fabric-chart/src/components/PopupMenu.js +2 -1
  10. package/es/components/fabric-chart/src/hooks/constant.d.ts +40 -0
  11. package/es/components/fabric-chart/src/hooks/constant.js +1 -1
  12. package/es/components/fabric-chart/src/hooks/constant2.js +43 -1
  13. package/es/components/fabric-chart/src/hooks/useCenter2.js +30 -18
  14. package/es/components/fabric-chart/src/hooks/useDraw2.js +8 -8
  15. package/es/components/fabric-chart/src/hooks/useLeft2.js +13 -0
  16. package/es/components/field-set/index.d.ts +26 -0
  17. package/es/components/field-set/src/FieldSet.js +12 -6
  18. package/es/components/field-set/src/FieldSet.vue.d.ts +4 -0
  19. package/es/components/form-render/src/FormRender.js +2 -1
  20. package/es/components/form-render/src/components/renderer/jsonCombination/hooks/useDeepValidate2.js +1 -1
  21. package/es/components/form-render/src/hooks/useFieldListAdaptor2.js +2 -1
  22. package/es/components/form-render/src/hooks/useFieldNormalize2.js +6 -0
  23. package/es/components/form-render/src/hooks/useFieldVisitor2.js +1 -1
  24. package/es/components/form-render/src/hooks/useFormValidator2.js +2 -1
  25. package/es/components/form-render/src/utils/index.d.ts +0 -1
  26. package/es/components/form-render/src/utils/index.js +2 -6
  27. package/es/components/iho-table/index.d.ts +704 -0
  28. package/es/components/iho-table/index.js +3 -0
  29. package/es/components/iho-table/index2.js +25 -0
  30. package/es/components/iho-table/src/IhoTable.js +51 -0
  31. package/es/components/iho-table/src/IhoTable.vue.d.ts +704 -0
  32. package/es/components/iho-table/src/components/IhoTableColumn.d.ts +14 -0
  33. package/es/components/iho-table/src/components/IhoTableColumn.js +17 -0
  34. package/es/components/iho-table/src/components/index.d.ts +1 -0
  35. package/es/components/iho-table/src/components/index.js +1 -0
  36. package/es/components/iho-table/src/constants/index.d.ts +40 -0
  37. package/es/components/iho-table/src/constants/index.js +1 -0
  38. package/es/components/iho-table/src/constants/index2.js +40 -0
  39. package/es/components/iho-table/src/hooks/index.d.ts +2 -0
  40. package/es/components/iho-table/src/hooks/index.js +2 -0
  41. package/es/components/iho-table/src/hooks/tapHooks/index.d.ts +8 -0
  42. package/es/components/iho-table/src/hooks/tapHooks/index.js +1 -0
  43. package/es/components/iho-table/src/hooks/tapHooks/index2.js +50 -0
  44. package/es/components/iho-table/src/hooks/tapHooks/useConfigHooks.d.ts +13 -0
  45. package/es/components/iho-table/src/hooks/tapHooks/useConfigHooks.js +1 -0
  46. package/es/components/iho-table/src/hooks/tapHooks/useConfigHooks2.js +29 -0
  47. package/es/components/iho-table/src/hooks/tapHooks/useEventHooks.d.ts +67 -0
  48. package/es/components/iho-table/src/hooks/tapHooks/useEventHooks.js +1 -0
  49. package/es/components/iho-table/src/hooks/tapHooks/useEventHooks2.js +82 -0
  50. package/es/components/iho-table/src/hooks/tapHooks/useFieldHooks.d.ts +10 -0
  51. package/es/components/iho-table/src/hooks/tapHooks/useFieldHooks.js +1 -0
  52. package/es/components/iho-table/src/hooks/tapHooks/useFieldHooks2.js +30 -0
  53. package/es/components/iho-table/src/hooks/useTablePlugin.d.ts +8 -0
  54. package/es/components/iho-table/src/hooks/useTablePlugin.js +1 -0
  55. package/es/components/iho-table/src/hooks/useTablePlugin2.js +21 -0
  56. package/es/components/iho-table/src/plugins/defaultConfigPlugin/index.d.ts +1 -0
  57. package/es/components/iho-table/src/plugins/defaultConfigPlugin/index.js +1 -0
  58. package/es/components/iho-table/src/plugins/defaultConfigPlugin/index2.js +29 -0
  59. package/es/components/iho-table/src/plugins/index.d.ts +3 -0
  60. package/es/components/iho-table/src/plugins/index.js +7 -0
  61. package/es/components/iho-table/src/plugins/index2.js +7 -0
  62. package/es/components/iho-table/src/plugins/lowCodeFieldAdaptorPlugin/index.d.ts +1 -0
  63. package/es/components/iho-table/src/plugins/lowCodeFieldAdaptorPlugin/index.js +1 -0
  64. package/es/components/iho-table/src/plugins/lowCodeFieldAdaptorPlugin/index2.js +26 -0
  65. package/es/components/iho-table/src/plugins/rendererPlugins/checkRendererPlugin.d.ts +1 -0
  66. package/es/components/iho-table/src/plugins/rendererPlugins/checkRendererPlugin.js +28 -0
  67. package/es/components/iho-table/src/plugins/rendererPlugins/colorRendererPlugin.d.ts +1 -0
  68. package/es/components/iho-table/src/plugins/rendererPlugins/colorRendererPlugin.js +48 -0
  69. package/es/components/iho-table/src/plugins/rendererPlugins/defaultRendererPlugin.d.ts +1 -0
  70. package/es/components/iho-table/src/plugins/rendererPlugins/defaultRendererPlugin.js +62 -0
  71. package/es/components/iho-table/src/plugins/rendererPlugins/index.d.ts +5 -0
  72. package/es/components/iho-table/src/plugins/rendererPlugins/index.js +5 -0
  73. package/es/components/iho-table/src/plugins/rendererPlugins/labelRendererPlugin.d.ts +1 -0
  74. package/es/components/iho-table/src/plugins/rendererPlugins/labelRendererPlugin.js +45 -0
  75. package/es/components/iho-table/src/plugins/rendererPlugins/seqRendererPlugin.d.ts +1 -0
  76. package/es/components/iho-table/src/plugins/rendererPlugins/seqRendererPlugin.js +55 -0
  77. package/es/components/iho-table/src/types/index.d.ts +23 -0
  78. package/es/components/iho-table/src/types/index.js +1 -0
  79. package/es/components/iho-table/src/types/pluginType.d.ts +96 -0
  80. package/es/components/iho-table/src/types/pluginType.js +1 -0
  81. package/es/components/iho-table/src/types/pluginType2.js +8 -0
  82. package/es/components/iho-table/src/utils/index.d.ts +2 -0
  83. package/es/components/iho-table/src/utils/index.js +1 -0
  84. package/es/components/iho-table/src/utils/index2.js +8 -0
  85. package/es/components/iho-table/style/index.css +1 -0
  86. package/es/components/index.css +1 -1
  87. package/es/components/index.d.ts +3 -1
  88. package/es/components/index.js +3 -0
  89. package/es/components/index2.js +4 -1
  90. package/es/components/info-header/src/InfoHeader.js +3 -3
  91. package/es/components/info-header/style/index.css +1 -1
  92. package/es/components/shortcut-provider/src/hooks/useShortcuts2.js +5 -3
  93. package/es/shared/types/index.d.ts +1 -0
  94. package/es/shared/utils/index.d.ts +1 -0
  95. package/es/shared/utils/index.js +1 -1
  96. package/es/shared/utils/index2.js +6 -1
  97. package/es/shared/utils/tapable/AsyncParallelHook.js +17 -2
  98. package/package.json +3 -3
@@ -0,0 +1,14 @@
1
+ import { PropType } from 'vue';
2
+ import { IhoTableFieldItem } from '../../../../../es/components/iho-table/src/types';
3
+ declare const _default: import("vue").DefineComponent<{
4
+ field: {
5
+ type: PropType<IhoTableFieldItem>;
6
+ required: true;
7
+ };
8
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
9
+ field: {
10
+ type: PropType<IhoTableFieldItem>;
11
+ required: true;
12
+ };
13
+ }>>, {}>;
14
+ export default _default;
@@ -0,0 +1,17 @@
1
+ import { defineComponent, createVNode } from 'vue';
2
+ import { Column } from 'vxe-table';
3
+
4
+ var IhoTableColumn = defineComponent({
5
+ name: "IhoTableColumn",
6
+ props: {
7
+ field: {
8
+ type: Object,
9
+ required: true
10
+ }
11
+ },
12
+ setup(props) {
13
+ return () => createVNode(Column, props.field, null);
14
+ }
15
+ });
16
+
17
+ export { IhoTableColumn as default };
@@ -0,0 +1 @@
1
+ export { default as IhoTableColumn } from './IhoTableColumn';
@@ -0,0 +1 @@
1
+ export { default as IhoTableColumn } from './IhoTableColumn.js';
@@ -0,0 +1,40 @@
1
+ import { Nullable } from '../../../../../es/shared/types';
2
+ import { InjectionKey, Ref } from 'vue';
3
+ import { IhoTableConfig } from '../../../../../es/components/iho-table';
4
+ export declare enum WIDGET_TYPE {
5
+ DEFAULT = "DEFAULT",
6
+ PICTURE = "PICTURE",
7
+ FILE = "FILE",
8
+ MONEY = "MONEY",
9
+ HEADPORTRAIT = "HEADPORTRAIT",
10
+ LABEL = "LABEL",
11
+ TELEPHONE = "TELEPHONE",
12
+ BIRTHDAY = "BIRTHDAY",
13
+ MULTISELECT = "MULTISELECT",
14
+ CASCADE = "CASCADE",
15
+ SEARCH_TREE = "SEARCH_TREE",
16
+ COLOR = "COLOR",
17
+ EVALUATE = "EVALUATE",
18
+ MAP = "MAP",
19
+ VIDEO = "VIDEO",
20
+ SYSTEMFIELDS = "SYSTEMFIELDS",
21
+ PERCENTAGE = "PERCENTAGE",
22
+ DATE = "DATE",
23
+ CANDIDATE_COMPONENTS = "CANDIDATE_COMPONENTS",
24
+ TASKDATE = "TASKDATE",
25
+ AGE = "AGE",
26
+ STATUS = "STATUS",
27
+ NUMBER = "NUMBER",
28
+ WEBSITE = "WEBSITE",
29
+ IDCARD = "IDCARD",
30
+ COUNTDOWN = "COUNTDOWN",
31
+ DURATION = "DURATION",
32
+ COMBINATION = "COMBINATION",
33
+ PASSWORD = "PASSWORD",
34
+ QR_CODE = "QR_CODE",
35
+ CUSTOMER_NAME = "CUSTOMER_NAME",
36
+ BANK_CARD = "BANK_CARD",
37
+ SEQUENCE = "SEQUENCE"
38
+ }
39
+ export declare const InjectionIhoTableConfig: InjectionKey<Ref<Nullable<IhoTableConfig>>>;
40
+ export declare const InjectionIhoTableEmits: InjectionKey<(event: string, ...args: unknown[]) => void>;
@@ -0,0 +1 @@
1
+ export { InjectionIhoTableConfig, InjectionIhoTableEmits, WIDGET_TYPE } from './index2.js';
@@ -0,0 +1,40 @@
1
+ var WIDGET_TYPE = /* @__PURE__ */ ((WIDGET_TYPE2) => {
2
+ WIDGET_TYPE2["DEFAULT"] = "DEFAULT";
3
+ WIDGET_TYPE2["PICTURE"] = "PICTURE";
4
+ WIDGET_TYPE2["FILE"] = "FILE";
5
+ WIDGET_TYPE2["MONEY"] = "MONEY";
6
+ WIDGET_TYPE2["HEADPORTRAIT"] = "HEADPORTRAIT";
7
+ WIDGET_TYPE2["LABEL"] = "LABEL";
8
+ WIDGET_TYPE2["TELEPHONE"] = "TELEPHONE";
9
+ WIDGET_TYPE2["BIRTHDAY"] = "BIRTHDAY";
10
+ WIDGET_TYPE2["MULTISELECT"] = "MULTISELECT";
11
+ WIDGET_TYPE2["CASCADE"] = "CASCADE";
12
+ WIDGET_TYPE2["SEARCH_TREE"] = "SEARCH_TREE";
13
+ WIDGET_TYPE2["COLOR"] = "COLOR";
14
+ WIDGET_TYPE2["EVALUATE"] = "EVALUATE";
15
+ WIDGET_TYPE2["MAP"] = "MAP";
16
+ WIDGET_TYPE2["VIDEO"] = "VIDEO";
17
+ WIDGET_TYPE2["SYSTEMFIELDS"] = "SYSTEMFIELDS";
18
+ WIDGET_TYPE2["PERCENTAGE"] = "PERCENTAGE";
19
+ WIDGET_TYPE2["DATE"] = "DATE";
20
+ WIDGET_TYPE2["CANDIDATE_COMPONENTS"] = "CANDIDATE_COMPONENTS";
21
+ WIDGET_TYPE2["TASKDATE"] = "TASKDATE";
22
+ WIDGET_TYPE2["AGE"] = "AGE";
23
+ WIDGET_TYPE2["STATUS"] = "STATUS";
24
+ WIDGET_TYPE2["NUMBER"] = "NUMBER";
25
+ WIDGET_TYPE2["WEBSITE"] = "WEBSITE";
26
+ WIDGET_TYPE2["IDCARD"] = "IDCARD";
27
+ WIDGET_TYPE2["COUNTDOWN"] = "COUNTDOWN";
28
+ WIDGET_TYPE2["DURATION"] = "DURATION";
29
+ WIDGET_TYPE2["COMBINATION"] = "COMBINATION";
30
+ WIDGET_TYPE2["PASSWORD"] = "PASSWORD";
31
+ WIDGET_TYPE2["QR_CODE"] = "QR_CODE";
32
+ WIDGET_TYPE2["CUSTOMER_NAME"] = "CUSTOMER_NAME";
33
+ WIDGET_TYPE2["BANK_CARD"] = "BANK_CARD";
34
+ WIDGET_TYPE2["SEQUENCE"] = "SEQUENCE";
35
+ return WIDGET_TYPE2;
36
+ })(WIDGET_TYPE || {});
37
+ const InjectionIhoTableConfig = Symbol("injectionIhoTableConfig ");
38
+ const InjectionIhoTableEmits = Symbol("InjectionIhoTableEmits ");
39
+
40
+ export { InjectionIhoTableConfig, InjectionIhoTableEmits, WIDGET_TYPE };
@@ -0,0 +1,2 @@
1
+ export * from './tapHooks';
2
+ export * from './useTablePlugin';
@@ -0,0 +1,2 @@
1
+ export { applyTableConfigHooks, applyTableFieldHooks, createTableHooks } from './tapHooks/index2.js';
2
+ export { defineTablePlugin, useTablePlugin } from './useTablePlugin2.js';
@@ -0,0 +1,8 @@
1
+ import { IhoTableConfig, IhoTableFieldItem, TableHooks } from '../../../../../../es/components/iho-table/src/types';
2
+ export declare const createTableHooks: () => Readonly<{
3
+ configHooks: import("../../../../../../es/components/iho-table/src/types").AbstractConfigHooks;
4
+ fieldHooks: import("../../../../../../es/components/iho-table/src/types").AbstractFieldHooks;
5
+ eventHooks: import("../../../../../../es/components/iho-table/src/types").AbstractEventHooks;
6
+ }>;
7
+ export declare function applyTableConfigHooks(hooks: TableHooks, config: IhoTableConfig): IhoTableConfig;
8
+ export declare function applyTableFieldHooks(hooks: TableHooks, fieldList: IhoTableFieldItem[], config: IhoTableConfig): IhoTableFieldItem[];
@@ -0,0 +1 @@
1
+ export { applyTableConfigHooks, applyTableFieldHooks, createTableHooks } from './index2.js';
@@ -0,0 +1,50 @@
1
+ import { arrayed } from '../../../../../shared/utils/index2.js';
2
+ import { cloneDeep } from 'lodash-es';
3
+ import { useEventHooks } from './useEventHooks2.js';
4
+ import { useConfigHooks } from './useConfigHooks2.js';
5
+ import { useFieldHooks } from './useFieldHooks2.js';
6
+
7
+ const createTableHooks = (() => {
8
+ let tapHooks = null;
9
+ function create() {
10
+ return Object.freeze({
11
+ configHooks: useConfigHooks().create(),
12
+ fieldHooks: useFieldHooks().create(),
13
+ eventHooks: useEventHooks().create()
14
+ });
15
+ }
16
+ return () => {
17
+ return tapHooks || (tapHooks = create());
18
+ };
19
+ })();
20
+ function applyTableConfigHooks(hooks, config) {
21
+ const result = hooks.configHooks.config.call(cloneDeep(config));
22
+ result.rowConfig = hooks.configHooks.rowConfig.call(result.rowConfig, result);
23
+ result.editConfig = hooks.configHooks.editConfig.call(result.editConfig, result);
24
+ return result;
25
+ }
26
+ function applyTableFieldHooks(hooks, fieldList, config) {
27
+ return cloneDeep(fieldList).reduce((finFieldList, field, index) => {
28
+ const before = [];
29
+ const after = [];
30
+ let removed = false;
31
+ field = hooks.fieldHooks.field.call(field, {
32
+ index,
33
+ remove() {
34
+ removed = true;
35
+ },
36
+ insertAfter(field2) {
37
+ after.push(...arrayed(field2));
38
+ },
39
+ insertBefore(field2) {
40
+ before.push(...arrayed(field2));
41
+ }
42
+ }, config);
43
+ finFieldList = finFieldList.concat(before);
44
+ !removed && finFieldList.push(field);
45
+ finFieldList = finFieldList.concat(after);
46
+ return finFieldList;
47
+ }, []);
48
+ }
49
+
50
+ export { applyTableConfigHooks, applyTableFieldHooks, createTableHooks };
@@ -0,0 +1,13 @@
1
+ import { SyncWaterfallHook } from '../../../../../../es/shared/utils/tapable';
2
+ import { IhoTableConfig } from '../../../../../../es/components/iho-table/src/types';
3
+ import { AbstractConfigHooks } from '../../../../../../es/components/iho-table/src/types';
4
+ declare class ConfigHooks extends AbstractConfigHooks {
5
+ readonly config: SyncWaterfallHook<IhoTableConfig, import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
6
+ readonly rowConfig: SyncWaterfallHook<[undefined, IhoTableConfig] | [import("vxe-table").VxeTablePropTypes.RowConfig, IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
7
+ readonly editConfig: SyncWaterfallHook<[undefined, IhoTableConfig] | [import("vxe-table").VxeTablePropTypes.EditConfig, IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
8
+ readonly columnConfig: SyncWaterfallHook<[undefined, IhoTableConfig] | [import("vxe-table").VxeTablePropTypes.ColumnConfig, IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
9
+ }
10
+ export declare function useConfigHooks(): {
11
+ create: () => ConfigHooks;
12
+ };
13
+ export {};
@@ -0,0 +1 @@
1
+ export { useConfigHooks } from './useConfigHooks2.js';
@@ -0,0 +1,29 @@
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 { AbstractConfigHooks } from '../../types/pluginType2.js';
12
+
13
+ class ConfigHooks extends AbstractConfigHooks {
14
+ constructor() {
15
+ super(...arguments);
16
+ this.config = new SyncWaterfallHook(["config"]);
17
+ this.rowConfig = new SyncWaterfallHook(["rowConfig", "config"]);
18
+ this.editConfig = new SyncWaterfallHook(["editConfig", "config"]);
19
+ this.columnConfig = new SyncWaterfallHook(["columnConfig", "config"]);
20
+ }
21
+ }
22
+ function useConfigHooks() {
23
+ function create() {
24
+ return new ConfigHooks();
25
+ }
26
+ return { create };
27
+ }
28
+
29
+ export { useConfigHooks };
@@ -0,0 +1,67 @@
1
+ import { AsyncParallelHook } from '../../../../../../es/shared/utils/tapable';
2
+ import { VxeTableEvents } from 'vxe-table/types/table';
3
+ declare class EventHooks {
4
+ readonly onKeydownStart: AsyncParallelHook<[VxeTableEvents.KeydownStart, import("../../../../../../es/components/iho-table").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
5
+ readonly onKeydown: AsyncParallelHook<[VxeTableEvents.Keydown, import("../../../../../../es/components/iho-table").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
6
+ readonly onKeydownEnd: AsyncParallelHook<[VxeTableEvents.KeydownEnd, import("../../../../../../es/components/iho-table").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
7
+ readonly onPaste: AsyncParallelHook<[VxeTableEvents.Paste, import("../../../../../../es/components/iho-table").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
8
+ readonly onCopy: AsyncParallelHook<[VxeTableEvents.Copy, import("../../../../../../es/components/iho-table").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
9
+ readonly onCut: AsyncParallelHook<[VxeTableEvents.Cut, import("../../../../../../es/components/iho-table").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
10
+ readonly onCurrentChange: AsyncParallelHook<[VxeTableEvents.CurrentChange, import("../../../../../../es/components/iho-table").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
11
+ readonly onRadioChange: AsyncParallelHook<[VxeTableEvents.RadioChange, import("../../../../../../es/components/iho-table").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
12
+ readonly onCheckboxChange: AsyncParallelHook<[VxeTableEvents.CheckboxChange, import("../../../../../../es/components/iho-table").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
13
+ readonly onCheckboxAll: AsyncParallelHook<[VxeTableEvents.CheckboxAll, import("../../../../../../es/components/iho-table").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
14
+ readonly onCheckboxRangeStart: AsyncParallelHook<[VxeTableEvents.CheckboxRangeStart, import("../../../../../../es/components/iho-table").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
15
+ readonly onCheckboxRangeChange: AsyncParallelHook<[VxeTableEvents.CheckboxRangeChange, import("../../../../../../es/components/iho-table").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
16
+ readonly onCheckboxRangeEnd: AsyncParallelHook<[VxeTableEvents.CheckboxRangeEnd, import("../../../../../../es/components/iho-table").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
17
+ readonly onCellClick: AsyncParallelHook<[VxeTableEvents.CellClick, import("../../../../../../es/components/iho-table").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
18
+ readonly onCellDblclick: AsyncParallelHook<[VxeTableEvents.CellDblclick, import("../../../../../../es/components/iho-table").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
19
+ readonly onCellMenu: AsyncParallelHook<[VxeTableEvents.CellMenu, import("../../../../../../es/components/iho-table").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
20
+ readonly onCellMouseenter: AsyncParallelHook<[VxeTableEvents.CellMouseenter, import("../../../../../../es/components/iho-table").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
21
+ readonly onCellMouseleave: AsyncParallelHook<[VxeTableEvents.CellMouseleave, import("../../../../../../es/components/iho-table").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
22
+ readonly onHeaderCellClick: AsyncParallelHook<[VxeTableEvents.HeaderCellClick, import("../../../../../../es/components/iho-table").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
23
+ readonly onHeaderCellDblclick: AsyncParallelHook<[VxeTableEvents.HeaderCellDblclick, import("../../../../../../es/components/iho-table").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
24
+ readonly onHeaderCellMenu: AsyncParallelHook<[VxeTableEvents.HeaderCellMenu, import("../../../../../../es/components/iho-table").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
25
+ readonly onFooterCellClick: AsyncParallelHook<[VxeTableEvents.FooterCellClick, import("../../../../../../es/components/iho-table").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
26
+ readonly onFooterCellDblclick: AsyncParallelHook<[VxeTableEvents.FooterCellDblclick, import("../../../../../../es/components/iho-table").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
27
+ readonly onFooterCellMenu: AsyncParallelHook<[VxeTableEvents.FooterCellMenu, import("../../../../../../es/components/iho-table").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
28
+ readonly onSortChange: AsyncParallelHook<[VxeTableEvents.SortChange, import("../../../../../../es/components/iho-table").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
29
+ readonly onFilterChange: AsyncParallelHook<[VxeTableEvents.FilterChange, import("../../../../../../es/components/iho-table").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
30
+ readonly onFilterVisible: AsyncParallelHook<[VxeTableEvents.FilterVisible, import("../../../../../../es/components/iho-table").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
31
+ readonly onResizableChange: AsyncParallelHook<[VxeTableEvents.ResizableChange, import("../../../../../../es/components/iho-table").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
32
+ readonly onToggleRowExpand: AsyncParallelHook<[VxeTableEvents.ToggleRowExpand, import("../../../../../../es/components/iho-table").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
33
+ readonly onToggleTreeExpand: AsyncParallelHook<[VxeTableEvents.ToggleTreeExpand, import("../../../../../../es/components/iho-table").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
34
+ readonly onMenuClick: AsyncParallelHook<[VxeTableEvents.MenuClick, import("../../../../../../es/components/iho-table").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
35
+ readonly onEditClosed: AsyncParallelHook<[VxeTableEvents.EditClosed, import("../../../../../../es/components/iho-table").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
36
+ readonly onEditActived: AsyncParallelHook<[VxeTableEvents.EditActived, import("../../../../../../es/components/iho-table").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
37
+ readonly onEditDisabled: AsyncParallelHook<[VxeTableEvents.EditDisabled, import("../../../../../../es/components/iho-table").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
38
+ readonly onValidError: AsyncParallelHook<[VxeTableEvents.ValidError, import("../../../../../../es/components/iho-table").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
39
+ readonly onScroll: AsyncParallelHook<[VxeTableEvents.Scroll, import("../../../../../../es/components/iho-table").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
40
+ readonly onCustom: AsyncParallelHook<[VxeTableEvents.Custom, import("../../../../../../es/components/iho-table").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
41
+ readonly onOpenFnr: AsyncParallelHook<[VxeTableEvents.OpenFnr, import("../../../../../../es/components/iho-table").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
42
+ readonly onFnrChange: AsyncParallelHook<[VxeTableEvents.FnrChange, import("../../../../../../es/components/iho-table").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
43
+ readonly onFnrFind: AsyncParallelHook<[VxeTableEvents.FnrFind, import("../../../../../../es/components/iho-table").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
44
+ readonly onFnrFindAll: AsyncParallelHook<[VxeTableEvents.FnrFindAll, import("../../../../../../es/components/iho-table").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
45
+ readonly onFnrReplace: AsyncParallelHook<[VxeTableEvents.FnrReplace, import("../../../../../../es/components/iho-table").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
46
+ readonly onFnrReplaceAll: AsyncParallelHook<[VxeTableEvents.FnrReplaceAll, import("../../../../../../es/components/iho-table").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
47
+ readonly onCellAreaCopy: AsyncParallelHook<[VxeTableEvents.CellAreaCopy, import("../../../../../../es/components/iho-table").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
48
+ readonly onCellAreaCut: AsyncParallelHook<[VxeTableEvents.CellAreaCut, import("../../../../../../es/components/iho-table").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
49
+ readonly onCellAreaPaste: AsyncParallelHook<[VxeTableEvents.CellAreaPaste, import("../../../../../../es/components/iho-table").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
50
+ readonly onCellAreaMerge: AsyncParallelHook<[VxeTableEvents.CellAreaMerge, import("../../../../../../es/components/iho-table").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
51
+ readonly onClearCellAreaMerge: AsyncParallelHook<[VxeTableEvents.ClearCellAreaMerge, import("../../../../../../es/components/iho-table").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
52
+ readonly onHeaderCellAreaSelection: AsyncParallelHook<[VxeTableEvents.HeaderCellAreaSelection, import("../../../../../../es/components/iho-table").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
53
+ readonly onCellAreaSelectionStart: AsyncParallelHook<[VxeTableEvents.CellAreaSelectionStart, import("../../../../../../es/components/iho-table").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
54
+ readonly onCellAreaSelectionDrag: AsyncParallelHook<[VxeTableEvents.CellAreaSelectionDrag, import("../../../../../../es/components/iho-table").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
55
+ readonly onCellAreaSelectionEnd: AsyncParallelHook<[VxeTableEvents.CellAreaSelectionEnd, import("../../../../../../es/components/iho-table").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
56
+ readonly onCellAreaExtensionStart: AsyncParallelHook<[VxeTableEvents.CellAreaExtensionStart, import("../../../../../../es/components/iho-table").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
57
+ readonly onCellAreaExtensionDrag: AsyncParallelHook<[VxeTableEvents.CellAreaExtensionDrag, import("../../../../../../es/components/iho-table").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
58
+ readonly onCellAreaExtensionEnd: AsyncParallelHook<[VxeTableEvents.CellAreaExtensionEnd, import("../../../../../../es/components/iho-table").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
59
+ readonly onCellAreaArrowsStart: AsyncParallelHook<[VxeTableEvents.CellAreaArrowsStart, import("../../../../../../es/components/iho-table").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
60
+ readonly onCellAreaArrowsEnd: AsyncParallelHook<[VxeTableEvents.CellAreaArrowsEnd, import("../../../../../../es/components/iho-table").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
61
+ readonly onActiveCellChangeStart: AsyncParallelHook<[VxeTableEvents.ActiveCellChangeStart, import("../../../../../../es/components/iho-table").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
62
+ readonly onActiveCellChangeEnd: AsyncParallelHook<[VxeTableEvents.ActiveCellChangeEnd, import("../../../../../../es/components/iho-table").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
63
+ }
64
+ export declare function useEventHooks(): {
65
+ create: () => EventHooks;
66
+ };
67
+ export {};
@@ -0,0 +1 @@
1
+ export { useEventHooks } from './useEventHooks2.js';
@@ -0,0 +1,82 @@
1
+ import '../../../../../shared/utils/tapable/SyncHook.js';
2
+ import '../../../../../shared/utils/tapable/SyncBailHook.js';
3
+ import '../../../../../shared/utils/tapable/SyncWaterfallHook.js';
4
+ import '../../../../../shared/utils/tapable/SyncLoopHook.js';
5
+ import AsyncParallelHook from '../../../../../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
+
12
+ class EventHooks {
13
+ constructor() {
14
+ this.onKeydownStart = new AsyncParallelHook(["event", "config"]);
15
+ this.onKeydown = new AsyncParallelHook(["event", "config"]);
16
+ this.onKeydownEnd = new AsyncParallelHook(["event", "config"]);
17
+ this.onPaste = new AsyncParallelHook(["event", "config"]);
18
+ this.onCopy = new AsyncParallelHook(["event", "config"]);
19
+ this.onCut = new AsyncParallelHook(["event", "config"]);
20
+ this.onCurrentChange = new AsyncParallelHook(["event", "config"]);
21
+ this.onRadioChange = new AsyncParallelHook(["event", "config"]);
22
+ this.onCheckboxChange = new AsyncParallelHook(["event", "config"]);
23
+ this.onCheckboxAll = new AsyncParallelHook(["event", "config"]);
24
+ this.onCheckboxRangeStart = new AsyncParallelHook(["event", "config"]);
25
+ this.onCheckboxRangeChange = new AsyncParallelHook(["event", "config"]);
26
+ this.onCheckboxRangeEnd = new AsyncParallelHook(["event", "config"]);
27
+ this.onCellClick = new AsyncParallelHook(["event", "config"]);
28
+ this.onCellDblclick = new AsyncParallelHook(["event", "config"]);
29
+ this.onCellMenu = new AsyncParallelHook(["event", "config"]);
30
+ this.onCellMouseenter = new AsyncParallelHook(["event", "config"]);
31
+ this.onCellMouseleave = new AsyncParallelHook(["event", "config"]);
32
+ this.onHeaderCellClick = new AsyncParallelHook(["event", "config"]);
33
+ this.onHeaderCellDblclick = new AsyncParallelHook(["event", "config"]);
34
+ this.onHeaderCellMenu = new AsyncParallelHook(["event", "config"]);
35
+ this.onFooterCellClick = new AsyncParallelHook(["event", "config"]);
36
+ this.onFooterCellDblclick = new AsyncParallelHook(["event", "config"]);
37
+ this.onFooterCellMenu = new AsyncParallelHook(["event", "config"]);
38
+ this.onSortChange = new AsyncParallelHook(["event", "config"]);
39
+ this.onFilterChange = new AsyncParallelHook(["event", "config"]);
40
+ this.onFilterVisible = new AsyncParallelHook(["event", "config"]);
41
+ this.onResizableChange = new AsyncParallelHook(["event", "config"]);
42
+ this.onToggleRowExpand = new AsyncParallelHook(["event", "config"]);
43
+ this.onToggleTreeExpand = new AsyncParallelHook(["event", "config"]);
44
+ this.onMenuClick = new AsyncParallelHook(["event", "config"]);
45
+ this.onEditClosed = new AsyncParallelHook(["event", "config"]);
46
+ this.onEditActived = new AsyncParallelHook(["event", "config"]);
47
+ this.onEditDisabled = new AsyncParallelHook(["event", "config"]);
48
+ this.onValidError = new AsyncParallelHook(["event", "config"]);
49
+ this.onScroll = new AsyncParallelHook(["event", "config"]);
50
+ this.onCustom = new AsyncParallelHook(["event", "config"]);
51
+ this.onOpenFnr = new AsyncParallelHook(["event", "config"]);
52
+ this.onFnrChange = new AsyncParallelHook(["event", "config"]);
53
+ this.onFnrFind = new AsyncParallelHook(["event", "config"]);
54
+ this.onFnrFindAll = new AsyncParallelHook(["event", "config"]);
55
+ this.onFnrReplace = new AsyncParallelHook(["event", "config"]);
56
+ this.onFnrReplaceAll = new AsyncParallelHook(["event", "config"]);
57
+ this.onCellAreaCopy = new AsyncParallelHook(["event", "config"]);
58
+ this.onCellAreaCut = new AsyncParallelHook(["event", "config"]);
59
+ this.onCellAreaPaste = new AsyncParallelHook(["event", "config"]);
60
+ this.onCellAreaMerge = new AsyncParallelHook(["event", "config"]);
61
+ this.onClearCellAreaMerge = new AsyncParallelHook(["event", "config"]);
62
+ this.onHeaderCellAreaSelection = new AsyncParallelHook(["event", "config"]);
63
+ this.onCellAreaSelectionStart = new AsyncParallelHook(["event", "config"]);
64
+ this.onCellAreaSelectionDrag = new AsyncParallelHook(["event", "config"]);
65
+ this.onCellAreaSelectionEnd = new AsyncParallelHook(["event", "config"]);
66
+ this.onCellAreaExtensionStart = new AsyncParallelHook(["event", "config"]);
67
+ this.onCellAreaExtensionDrag = new AsyncParallelHook(["event", "config"]);
68
+ this.onCellAreaExtensionEnd = new AsyncParallelHook(["event", "config"]);
69
+ this.onCellAreaArrowsStart = new AsyncParallelHook(["event", "config"]);
70
+ this.onCellAreaArrowsEnd = new AsyncParallelHook(["event", "config"]);
71
+ this.onActiveCellChangeStart = new AsyncParallelHook(["event", "config"]);
72
+ this.onActiveCellChangeEnd = new AsyncParallelHook(["event", "config"]);
73
+ }
74
+ }
75
+ function useEventHooks() {
76
+ function create() {
77
+ return new EventHooks();
78
+ }
79
+ return { create };
80
+ }
81
+
82
+ export { useEventHooks };
@@ -0,0 +1,10 @@
1
+ import { SyncWaterfallHook } from '../../../../../../es/shared/utils/tapable';
2
+ import { FieldHookContext, IhoTableFieldItem } from '../../../../../../es/components/iho-table/src/types';
3
+ import { AbstractFieldHooks } from '../../../../../../es/components/iho-table/src/types';
4
+ declare class FieldHooks extends AbstractFieldHooks {
5
+ readonly field: SyncWaterfallHook<[IhoTableFieldItem, FieldHookContext, import("../../../../../../es/components/iho-table/src/types").IhoTableConfig], import("../../../../../../es/shared/utils/tapable").UnsetAdditionalOptions>;
6
+ }
7
+ export declare function useFieldHooks(): {
8
+ create: () => FieldHooks;
9
+ };
10
+ export {};
@@ -0,0 +1 @@
1
+ export { useFieldHooks } from './useFieldHooks2.js';
@@ -0,0 +1,30 @@
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 { AbstractFieldHooks } from '../../types/pluginType2.js';
12
+
13
+ class FieldHooks extends AbstractFieldHooks {
14
+ constructor() {
15
+ super(...arguments);
16
+ this.field = new SyncWaterfallHook([
17
+ "fieldItem",
18
+ "context",
19
+ "config"
20
+ ]);
21
+ }
22
+ }
23
+ function useFieldHooks() {
24
+ function create() {
25
+ return new FieldHooks();
26
+ }
27
+ return { create };
28
+ }
29
+
30
+ export { useFieldHooks };
@@ -0,0 +1,8 @@
1
+ import { ArrayAble } from '../../../../../es/shared/types';
2
+ import { TablePlugin } from '../../../../../es/components/iho-table/src/types';
3
+ export declare function useTablePlugin(): {
4
+ use: (plugin: ArrayAble<TablePlugin>) => {
5
+ use: any;
6
+ };
7
+ };
8
+ export declare function defineTablePlugin(plugin: TablePlugin): TablePlugin;
@@ -0,0 +1 @@
1
+ export { defineTablePlugin, useTablePlugin } from './useTablePlugin2.js';
@@ -0,0 +1,21 @@
1
+ import { arrayed } from '../../../../shared/utils/index2.js';
2
+ import { isFunction } from 'lodash-es';
3
+ import VXETable from 'vxe-table';
4
+ import { createTableHooks } from './tapHooks/index2.js';
5
+
6
+ function useTablePlugin() {
7
+ const hooks = createTableHooks();
8
+ function use(plugin) {
9
+ arrayed(plugin).forEach(({ vxe, apply }) => {
10
+ isFunction(vxe) && vxe(VXETable);
11
+ isFunction(apply) && apply(hooks);
12
+ });
13
+ return { use };
14
+ }
15
+ return { use };
16
+ }
17
+ function defineTablePlugin(plugin) {
18
+ return plugin;
19
+ }
20
+
21
+ export { defineTablePlugin, useTablePlugin };
@@ -0,0 +1 @@
1
+ export declare function defaultConfigPlugin(): import("../../../../../../es/components/iho-table").TablePlugin;
@@ -0,0 +1 @@
1
+ export { defaultConfigPlugin } from './index2.js';
@@ -0,0 +1,29 @@
1
+ import { mergeWith } from 'lodash-es';
2
+ import { defineTablePlugin } from '../../hooks/useTablePlugin2.js';
3
+
4
+ function defaultConfigPlugin() {
5
+ const pluginName = "defaultTablePlugin";
6
+ return defineTablePlugin({
7
+ name: pluginName,
8
+ apply(hooks) {
9
+ hooks.configHooks.config.tap({ name: pluginName, stage: 9999 }, (config) => {
10
+ return mergeWith({
11
+ height: "100%",
12
+ border: true,
13
+ showSeq: true,
14
+ selectType: "checkbox",
15
+ columnConfig: { resizable: true },
16
+ rowConfig: { height: 32, isHover: true, isCurrent: true, keyField: "theUniqueKey" },
17
+ editConfig: {
18
+ trigger: "manual",
19
+ mode: "cell",
20
+ autoClear: false,
21
+ showIcon: false
22
+ }
23
+ }, config);
24
+ });
25
+ }
26
+ });
27
+ }
28
+
29
+ export { defaultConfigPlugin };
@@ -0,0 +1,3 @@
1
+ export * from './defaultConfigPlugin';
2
+ export * from './lowCodeFieldAdaptorPlugin';
3
+ export * from './rendererPlugins';
@@ -0,0 +1,7 @@
1
+ export { defaultConfigPlugin } from './defaultConfigPlugin/index2.js';
2
+ export { lowCodeFieldAdaptorPlugin } from './lowCodeFieldAdaptorPlugin/index2.js';
3
+ export { labelRendererPlugin } from './rendererPlugins/labelRendererPlugin.js';
4
+ export { defaultRendererPlugin } from './rendererPlugins/defaultRendererPlugin.js';
5
+ export { colorRendererPlugin } from './rendererPlugins/colorRendererPlugin.js';
6
+ export { seqRendererPlugin } from './rendererPlugins/seqRendererPlugin.js';
7
+ export { checkRendererPlugin } from './rendererPlugins/checkRendererPlugin.js';
@@ -0,0 +1,7 @@
1
+ export { defaultConfigPlugin } from './defaultConfigPlugin/index2.js';
2
+ export { lowCodeFieldAdaptorPlugin } from './lowCodeFieldAdaptorPlugin/index2.js';
3
+ export { labelRendererPlugin } from './rendererPlugins/labelRendererPlugin.js';
4
+ export { defaultRendererPlugin } from './rendererPlugins/defaultRendererPlugin.js';
5
+ export { colorRendererPlugin } from './rendererPlugins/colorRendererPlugin.js';
6
+ export { seqRendererPlugin } from './rendererPlugins/seqRendererPlugin.js';
7
+ export { checkRendererPlugin } from './rendererPlugins/checkRendererPlugin.js';
@@ -0,0 +1 @@
1
+ export declare function lowCodeFieldAdaptorPlugin(): import("../../../../../../es/components/iho-table").TablePlugin;
@@ -0,0 +1 @@
1
+ export { lowCodeFieldAdaptorPlugin } from './index2.js';
@@ -0,0 +1,26 @@
1
+ import { pick } from 'lodash-es';
2
+ import { defineTablePlugin } from '../../hooks/useTablePlugin2.js';
3
+
4
+ function lowCodeFieldAdaptorPlugin() {
5
+ const pluginName = "lowCodeFieldAdaptorPlugin";
6
+ return defineTablePlugin({
7
+ name: pluginName,
8
+ apply(hooks) {
9
+ hooks.fieldHooks.field.tap({ name: pluginName, stage: -9999 }, (field) => {
10
+ const _field = field;
11
+ const result = {
12
+ field: _field.columnName,
13
+ width: _field.colWidth,
14
+ showOverflow: "tooltip",
15
+ ...pick(_field, ["title"])
16
+ };
17
+ if (_field.settingObj) {
18
+ result.editRender = { name: _field.settingObj.attr || "DEFAULT" };
19
+ }
20
+ return result;
21
+ });
22
+ }
23
+ });
24
+ }
25
+
26
+ export { lowCodeFieldAdaptorPlugin };
@@ -0,0 +1 @@
1
+ export declare function checkRendererPlugin(): import("../../../../../../es/components/iho-table").TablePlugin;