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,28 @@
1
+ import '../../../index2.js';
2
+ import { defineTablePlugin } from '../../hooks/useTablePlugin2.js';
3
+
4
+ function checkRendererPlugin() {
5
+ const pluginName = "checkRendererPlugin";
6
+ return defineTablePlugin({
7
+ name: pluginName,
8
+ apply(hooks) {
9
+ hooks.fieldHooks.field.tap({
10
+ name: pluginName,
11
+ before: "seqRendererPlugin"
12
+ }, (field, {
13
+ index,
14
+ insertBefore
15
+ }, config) => {
16
+ if (index === 0 && config.selectType) {
17
+ insertBefore({
18
+ field: pluginName,
19
+ type: config.selectType
20
+ });
21
+ }
22
+ return field;
23
+ });
24
+ }
25
+ });
26
+ }
27
+
28
+ export { checkRendererPlugin };
@@ -0,0 +1 @@
1
+ export declare function colorRendererPlugin(): import("../../../../../../es/components/iho-table").TablePlugin;
@@ -0,0 +1,48 @@
1
+ import { inject, createVNode } from 'vue';
2
+ import '../../../index2.js';
3
+ import { WIDGET_TYPE, InjectionIhoTableConfig } from '../../constants/index2.js';
4
+ import { defineTablePlugin } from '../../hooks/useTablePlugin2.js';
5
+
6
+ function colorRendererPlugin() {
7
+ const pluginName = "checkRendererPlugin";
8
+ const colorMap = {
9
+ blue: "blue",
10
+ sky: "skyblue",
11
+ azure: "azure",
12
+ palegreen: "palegreen",
13
+ yellow: "yellow",
14
+ darkorange: "darkorange",
15
+ magenta: "magenta",
16
+ purple: "purple",
17
+ maroon: "maroon",
18
+ orange: "orange",
19
+ green: "green",
20
+ red: "red",
21
+ grey: "grey"
22
+ };
23
+ return defineTablePlugin({
24
+ name: pluginName,
25
+ vxe(instance) {
26
+ instance.renderer.add(WIDGET_TYPE.COLOR, {
27
+ renderCell(renderOpts, {
28
+ row,
29
+ column
30
+ }) {
31
+ var _a, _b, _c;
32
+ const value = row[column.field];
33
+ const [color, alias] = value.split("-");
34
+ const config = inject(InjectionIhoTableConfig);
35
+ const height = (_c = (_b = (_a = config == null ? void 0 : config.value) == null ? void 0 : _a.rowConfig) == null ? void 0 : _b.height) != null ? _c : 32;
36
+ return [createVNode("div", {
37
+ "style": {
38
+ background: colorMap[alias] || color,
39
+ height: height - 8 + "px"
40
+ }
41
+ }, null)];
42
+ }
43
+ });
44
+ }
45
+ });
46
+ }
47
+
48
+ export { colorRendererPlugin };
@@ -0,0 +1 @@
1
+ export declare function defaultRendererPlugin(): import("../../../../../../es/components/iho-table").TablePlugin;
@@ -0,0 +1,62 @@
1
+ import { createVNode } from 'vue';
2
+ import { isString } from 'lodash-es';
3
+ import '../../../index2.js';
4
+ import { WIDGET_TYPE } from '../../constants/index2.js';
5
+ import { IhoTableWarn } from '../../utils/index2.js';
6
+ import { defineTablePlugin } from '../../hooks/useTablePlugin2.js';
7
+
8
+ function defaultRendererPlugin() {
9
+ const pluginName = "defaultRendererPlugin";
10
+ return defineTablePlugin({
11
+ name: pluginName,
12
+ vxe(instance) {
13
+ instance.renderer.add(WIDGET_TYPE.DEFAULT, {
14
+ renderCell(renderOpts, {
15
+ row,
16
+ column
17
+ }) {
18
+ const value = row[column.field];
19
+ return isRichContent(value) ? renderRichContent(value) : [value];
20
+ function renderRichContent(content) {
21
+ const parsedContent = parseRichContent(content);
22
+ return [createVNode("div", {
23
+ "style": {
24
+ color: parsedContent.background
25
+ }
26
+ }, [renderIcon(parsedContent.icon), parsedContent.change_text])];
27
+ function renderIcon(icon) {
28
+ if (!icon)
29
+ return null;
30
+ if (icon.match(/#[\da-f]{6}|[\da-f]{3}/i)) {
31
+ return createVNode("i", {
32
+ "class": "icon-dot",
33
+ "style": {
34
+ "--table-icon-color": icon,
35
+ "--table-icon-shadow": icon
36
+ }
37
+ }, null);
38
+ }
39
+ return createVNode("i", {
40
+ "class": parsedContent.icon
41
+ }, null);
42
+ }
43
+ function parseRichContent(richContent) {
44
+ try {
45
+ return JSON.parse(richContent.replace(/^###/, ""));
46
+ } catch (e) {
47
+ IhoTableWarn(`invalid json-content ${richContent}`);
48
+ return {};
49
+ }
50
+ }
51
+ }
52
+ function isRichContent(content) {
53
+ return isString(content) && !!content.match(/^###\{[^{}]+}$/);
54
+ }
55
+ }
56
+ });
57
+ instance.renderer.add(WIDGET_TYPE.STATUS, instance.renderer.get(WIDGET_TYPE.DEFAULT));
58
+ }
59
+ });
60
+ }
61
+
62
+ export { defaultRendererPlugin };
@@ -0,0 +1,5 @@
1
+ export * from './labelRendererPlugin';
2
+ export * from './defaultRendererPlugin';
3
+ export * from './colorRendererPlugin';
4
+ export * from './seqRendererPlugin';
5
+ export * from './checkRendererPlugin';
@@ -0,0 +1,5 @@
1
+ export { labelRendererPlugin } from './labelRendererPlugin.js';
2
+ export { defaultRendererPlugin } from './defaultRendererPlugin.js';
3
+ export { colorRendererPlugin } from './colorRendererPlugin.js';
4
+ export { seqRendererPlugin } from './seqRendererPlugin.js';
5
+ export { checkRendererPlugin } from './checkRendererPlugin.js';
@@ -0,0 +1 @@
1
+ export declare function labelRendererPlugin(): import("../../../../../../es/components/iho-table").TablePlugin;
@@ -0,0 +1,45 @@
1
+ import { createVNode } from 'vue';
2
+ import { isArray, isString } from 'lodash-es';
3
+ import '../../../index2.js';
4
+ import { WIDGET_TYPE } from '../../constants/index2.js';
5
+ import { defineTablePlugin } from '../../hooks/useTablePlugin2.js';
6
+
7
+ function labelRendererPlugin() {
8
+ const pluginName = "labelRendererPlugin";
9
+ return defineTablePlugin({
10
+ name: pluginName,
11
+ vxe(instance) {
12
+ instance.renderer.add(WIDGET_TYPE.LABEL, {
13
+ renderCell(renderOpts, {
14
+ row,
15
+ column
16
+ }) {
17
+ try {
18
+ const value = JSON.parse(row[column.field]);
19
+ const labels = isArray(value.labels) ? value.labels : parseLabelString(value.labelStr);
20
+ return labels.map(renderLabelItem);
21
+ } catch (e) {
22
+ return [];
23
+ }
24
+ function parseLabelString(str) {
25
+ if (!isString(str))
26
+ return [];
27
+ return str.split(",").map((s) => ({
28
+ labelName: s
29
+ }));
30
+ }
31
+ function renderLabelItem(item) {
32
+ return createVNode("div", {
33
+ "style": {
34
+ backgroundColor: item.color || "#5585f5",
35
+ color: "white"
36
+ }
37
+ }, [item.labelName]);
38
+ }
39
+ }
40
+ });
41
+ }
42
+ });
43
+ }
44
+
45
+ export { labelRendererPlugin };
@@ -0,0 +1 @@
1
+ export declare function seqRendererPlugin(): import("../../../../../../es/components/iho-table").TablePlugin;
@@ -0,0 +1,55 @@
1
+ import { inject, createVNode } from 'vue';
2
+ import { SettingsSharp } from '@vicons/ionicons5';
3
+ import { NIcon } from 'naive-ui';
4
+ import '../../../index2.js';
5
+ import { WIDGET_TYPE, InjectionIhoTableEmits } from '../../constants/index2.js';
6
+ import { defineTablePlugin } from '../../hooks/useTablePlugin2.js';
7
+
8
+ function seqRendererPlugin() {
9
+ const pluginName = "seqRendererPlugin";
10
+ return defineTablePlugin({
11
+ name: pluginName,
12
+ vxe(instance) {
13
+ instance.renderer.add(WIDGET_TYPE.SEQUENCE, {
14
+ renderCell(renderOpts, {
15
+ $rowIndex
16
+ }) {
17
+ return [`${$rowIndex}`];
18
+ },
19
+ renderHeader() {
20
+ const emits = inject(InjectionIhoTableEmits);
21
+ function onClick() {
22
+ emits && emits("settingClick");
23
+ }
24
+ return [createVNode(NIcon, {
25
+ "size": "14",
26
+ "color": "#777",
27
+ "component": SettingsSharp,
28
+ "onClick": onClick
29
+ }, null)];
30
+ }
31
+ });
32
+ },
33
+ apply(hooks) {
34
+ hooks.fieldHooks.field.tap(pluginName, (field, {
35
+ index,
36
+ insertBefore
37
+ }, config) => {
38
+ if (index === 0 && config.showSeq) {
39
+ insertBefore({
40
+ align: "center",
41
+ fixed: "left",
42
+ width: 34,
43
+ field: pluginName,
44
+ editRender: {
45
+ name: WIDGET_TYPE.SEQUENCE
46
+ }
47
+ });
48
+ }
49
+ return field;
50
+ });
51
+ }
52
+ });
53
+ }
54
+
55
+ export { seqRendererPlugin };
@@ -0,0 +1,23 @@
1
+ import { VxeTableProps, VxeTableDefines } from 'vxe-table';
2
+ export * from './pluginType';
3
+ export interface IhoTableConfig extends VxeTableProps {
4
+ showSeq?: boolean;
5
+ selectType?: Exclude<VxeTableDefines.ColumnInfo['type'], 'seq' | 'expand' | 'html'>;
6
+ [K: string]: unknown;
7
+ }
8
+ export interface IhoTableFieldItem extends Partial<VxeTableDefines.ColumnInfo> {
9
+ [K: string]: unknown;
10
+ }
11
+ interface LowCodeTableSettingObj {
12
+ attr: string;
13
+ [K: string]: unknown;
14
+ }
15
+ export declare type LowCodeTableFieldItem = {
16
+ columnName: string;
17
+ [K: string]: unknown;
18
+ } & Partial<{
19
+ id?: number | string;
20
+ title?: string;
21
+ colWidth?: string | number;
22
+ settingObj: LowCodeTableSettingObj;
23
+ }>;
@@ -0,0 +1 @@
1
+ export { AbstractConfigHooks, AbstractEventHooks, AbstractFieldHooks } from './pluginType2.js';
@@ -0,0 +1,96 @@
1
+ import { ArrayAble } from '../../../../../es/shared/types';
2
+ import { AsyncParallelHook, SyncWaterfallHook } from '../../../../../es/shared/utils/tapable';
3
+ import VXETable from 'vxe-table';
4
+ import { VxeTableEventProps, VxeTableEvents } from 'vxe-table/types/table';
5
+ import { IhoTableConfig, IhoTableFieldItem } from '.';
6
+ export declare type TablePlugin = {
7
+ name: string;
8
+ vxe?(xeTable: typeof VXETable): void;
9
+ apply?(hooks: TableHooks): void;
10
+ };
11
+ export declare type TableHooks = Readonly<{
12
+ configHooks: AbstractConfigHooks;
13
+ fieldHooks: AbstractFieldHooks;
14
+ eventHooks: AbstractEventHooks;
15
+ }>;
16
+ export declare type WithTableConfig<T> = T extends any[] ? [...T, IhoTableConfig] : [T, IhoTableConfig];
17
+ export declare abstract class AbstractConfigHooks {
18
+ abstract readonly config: SyncWaterfallHook<IhoTableConfig>;
19
+ abstract readonly rowConfig: SyncWaterfallHook<WithTableConfig<IhoTableConfig['rowConfig']>>;
20
+ abstract readonly editConfig: SyncWaterfallHook<WithTableConfig<IhoTableConfig['editConfig']>>;
21
+ abstract readonly columnConfig: SyncWaterfallHook<WithTableConfig<IhoTableConfig['columnConfig']>>;
22
+ }
23
+ export interface FieldHookContext {
24
+ index: number;
25
+ remove(): void;
26
+ insertBefore(field: ArrayAble<IhoTableFieldItem>): void;
27
+ insertAfter(field: ArrayAble<IhoTableFieldItem>): void;
28
+ }
29
+ export declare abstract class AbstractFieldHooks {
30
+ abstract readonly field: SyncWaterfallHook<WithTableConfig<[IhoTableFieldItem, FieldHookContext]>>;
31
+ }
32
+ declare type VxeEventTypes = Required<{
33
+ readonly [K in keyof VxeTableEventProps]: AsyncParallelHook<WithTableConfig<VxeTableEventProps[K]>>;
34
+ }>;
35
+ export declare abstract class AbstractEventHooks implements VxeEventTypes {
36
+ abstract readonly onKeydownStart: AsyncParallelHook<WithTableConfig<VxeTableEvents.KeydownStart>>;
37
+ abstract readonly onKeydown: AsyncParallelHook<WithTableConfig<VxeTableEvents.Keydown>>;
38
+ abstract readonly onKeydownEnd: AsyncParallelHook<WithTableConfig<VxeTableEvents.KeydownEnd>>;
39
+ abstract readonly onPaste: AsyncParallelHook<WithTableConfig<VxeTableEvents.Paste>>;
40
+ abstract readonly onCopy: AsyncParallelHook<WithTableConfig<VxeTableEvents.Copy>>;
41
+ abstract readonly onCut: AsyncParallelHook<WithTableConfig<VxeTableEvents.Cut>>;
42
+ abstract readonly onCurrentChange: AsyncParallelHook<WithTableConfig<VxeTableEvents.CurrentChange>>;
43
+ abstract readonly onRadioChange: AsyncParallelHook<WithTableConfig<VxeTableEvents.RadioChange>>;
44
+ abstract readonly onCheckboxChange: AsyncParallelHook<WithTableConfig<VxeTableEvents.CheckboxChange>>;
45
+ abstract readonly onCheckboxAll: AsyncParallelHook<WithTableConfig<VxeTableEvents.CheckboxAll>>;
46
+ abstract readonly onCheckboxRangeStart: AsyncParallelHook<WithTableConfig<VxeTableEvents.CheckboxRangeStart>>;
47
+ abstract readonly onCheckboxRangeChange: AsyncParallelHook<WithTableConfig<VxeTableEvents.CheckboxRangeChange>>;
48
+ abstract readonly onCheckboxRangeEnd: AsyncParallelHook<WithTableConfig<VxeTableEvents.CheckboxRangeEnd>>;
49
+ abstract readonly onCellClick: AsyncParallelHook<WithTableConfig<VxeTableEvents.CellClick>>;
50
+ abstract readonly onCellDblclick: AsyncParallelHook<WithTableConfig<VxeTableEvents.CellDblclick>>;
51
+ abstract readonly onCellMenu: AsyncParallelHook<WithTableConfig<VxeTableEvents.CellMenu>>;
52
+ abstract readonly onCellMouseenter: AsyncParallelHook<WithTableConfig<VxeTableEvents.CellMouseenter>>;
53
+ abstract readonly onCellMouseleave: AsyncParallelHook<WithTableConfig<VxeTableEvents.CellMouseleave>>;
54
+ abstract readonly onHeaderCellClick: AsyncParallelHook<WithTableConfig<VxeTableEvents.HeaderCellClick>>;
55
+ abstract readonly onHeaderCellDblclick: AsyncParallelHook<WithTableConfig<VxeTableEvents.HeaderCellDblclick>>;
56
+ abstract readonly onHeaderCellMenu: AsyncParallelHook<WithTableConfig<VxeTableEvents.HeaderCellMenu>>;
57
+ abstract readonly onFooterCellClick: AsyncParallelHook<WithTableConfig<VxeTableEvents.FooterCellClick>>;
58
+ abstract readonly onFooterCellDblclick: AsyncParallelHook<WithTableConfig<VxeTableEvents.FooterCellDblclick>>;
59
+ abstract readonly onFooterCellMenu: AsyncParallelHook<WithTableConfig<VxeTableEvents.FooterCellMenu>>;
60
+ abstract readonly onSortChange: AsyncParallelHook<WithTableConfig<VxeTableEvents.SortChange>>;
61
+ abstract readonly onFilterChange: AsyncParallelHook<WithTableConfig<VxeTableEvents.FilterChange>>;
62
+ abstract readonly onFilterVisible: AsyncParallelHook<WithTableConfig<VxeTableEvents.FilterVisible>>;
63
+ abstract readonly onResizableChange: AsyncParallelHook<WithTableConfig<VxeTableEvents.ResizableChange>>;
64
+ abstract readonly onToggleRowExpand: AsyncParallelHook<WithTableConfig<VxeTableEvents.ToggleRowExpand>>;
65
+ abstract readonly onToggleTreeExpand: AsyncParallelHook<WithTableConfig<VxeTableEvents.ToggleTreeExpand>>;
66
+ abstract readonly onMenuClick: AsyncParallelHook<WithTableConfig<VxeTableEvents.MenuClick>>;
67
+ abstract readonly onEditClosed: AsyncParallelHook<WithTableConfig<VxeTableEvents.EditClosed>>;
68
+ abstract readonly onEditActived: AsyncParallelHook<WithTableConfig<VxeTableEvents.EditActived>>;
69
+ abstract readonly onEditDisabled: AsyncParallelHook<WithTableConfig<VxeTableEvents.EditDisabled>>;
70
+ abstract readonly onValidError: AsyncParallelHook<WithTableConfig<VxeTableEvents.ValidError>>;
71
+ abstract readonly onScroll: AsyncParallelHook<WithTableConfig<VxeTableEvents.Scroll>>;
72
+ abstract readonly onCustom: AsyncParallelHook<WithTableConfig<VxeTableEvents.Custom>>;
73
+ abstract readonly onOpenFnr: AsyncParallelHook<WithTableConfig<VxeTableEvents.OpenFnr>>;
74
+ abstract readonly onFnrChange: AsyncParallelHook<WithTableConfig<VxeTableEvents.FnrChange>>;
75
+ abstract readonly onFnrFind: AsyncParallelHook<WithTableConfig<VxeTableEvents.FnrFind>>;
76
+ abstract readonly onFnrFindAll: AsyncParallelHook<WithTableConfig<VxeTableEvents.FnrFindAll>>;
77
+ abstract readonly onFnrReplace: AsyncParallelHook<WithTableConfig<VxeTableEvents.FnrReplace>>;
78
+ abstract readonly onFnrReplaceAll: AsyncParallelHook<WithTableConfig<VxeTableEvents.FnrReplaceAll>>;
79
+ abstract readonly onCellAreaCopy: AsyncParallelHook<WithTableConfig<VxeTableEvents.CellAreaCopy>>;
80
+ abstract readonly onCellAreaCut: AsyncParallelHook<WithTableConfig<VxeTableEvents.CellAreaCut>>;
81
+ abstract readonly onCellAreaPaste: AsyncParallelHook<WithTableConfig<VxeTableEvents.CellAreaPaste>>;
82
+ abstract readonly onCellAreaMerge: AsyncParallelHook<WithTableConfig<VxeTableEvents.CellAreaMerge>>;
83
+ abstract readonly onClearCellAreaMerge: AsyncParallelHook<WithTableConfig<VxeTableEvents.ClearCellAreaMerge>>;
84
+ abstract readonly onHeaderCellAreaSelection: AsyncParallelHook<WithTableConfig<VxeTableEvents.HeaderCellAreaSelection>>;
85
+ abstract readonly onCellAreaSelectionStart: AsyncParallelHook<WithTableConfig<VxeTableEvents.CellAreaSelectionStart>>;
86
+ abstract readonly onCellAreaSelectionDrag: AsyncParallelHook<WithTableConfig<VxeTableEvents.CellAreaSelectionDrag>>;
87
+ abstract readonly onCellAreaSelectionEnd: AsyncParallelHook<WithTableConfig<VxeTableEvents.CellAreaSelectionEnd>>;
88
+ abstract readonly onCellAreaExtensionStart: AsyncParallelHook<WithTableConfig<VxeTableEvents.CellAreaExtensionStart>>;
89
+ abstract readonly onCellAreaExtensionDrag: AsyncParallelHook<WithTableConfig<VxeTableEvents.CellAreaExtensionDrag>>;
90
+ abstract readonly onCellAreaExtensionEnd: AsyncParallelHook<WithTableConfig<VxeTableEvents.CellAreaExtensionEnd>>;
91
+ abstract readonly onCellAreaArrowsStart: AsyncParallelHook<WithTableConfig<VxeTableEvents.CellAreaArrowsStart>>;
92
+ abstract readonly onCellAreaArrowsEnd: AsyncParallelHook<WithTableConfig<VxeTableEvents.CellAreaArrowsEnd>>;
93
+ abstract readonly onActiveCellChangeStart: AsyncParallelHook<WithTableConfig<VxeTableEvents.ActiveCellChangeStart>>;
94
+ abstract readonly onActiveCellChangeEnd: AsyncParallelHook<WithTableConfig<VxeTableEvents.ActiveCellChangeEnd>>;
95
+ }
96
+ export {};
@@ -0,0 +1 @@
1
+ export { AbstractConfigHooks, AbstractEventHooks, AbstractFieldHooks } from './pluginType2.js';
@@ -0,0 +1,8 @@
1
+ class AbstractConfigHooks {
2
+ }
3
+ class AbstractFieldHooks {
4
+ }
5
+ class AbstractEventHooks {
6
+ }
7
+
8
+ export { AbstractConfigHooks, AbstractEventHooks, AbstractFieldHooks };
@@ -0,0 +1,2 @@
1
+ export declare function IhoTableLog(message: string): void;
2
+ export declare function IhoTableWarn(message: string): void;
@@ -0,0 +1 @@
1
+ export { IhoTableLog, IhoTableWarn } from './index2.js';
@@ -0,0 +1,8 @@
1
+ function IhoTableLog(message) {
2
+ return console.log(`[IhoTable]: ${message}`);
3
+ }
4
+ function IhoTableWarn(message) {
5
+ return console.warn(`[IhoTable]: ${message}`);
6
+ }
7
+
8
+ export { IhoTableLog, IhoTableWarn };
@@ -0,0 +1 @@
1
+ .iho-table .icon-dot{background:var(--table-icon-color);box-shadow:0 2px 4px 0 var(--table-icon-shadow)}.iho-table .icon-dot,.iho-table .icon-dot-red{-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.iho-table .icon-dot-red{background:red;box-shadow:0 2px 4px 0 rgba(255,0,0,.5)}.iho-table .icon-dot-blue{background:blue;box-shadow:0 2px 4px 0 rgba(0,0,255,.5)}.iho-table .icon-dot-blue,.iho-table .icon-dot-green{-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.iho-table .icon-dot-green{background:green;box-shadow:0 2px 4px 0 rgba(0,128,0,.5)}.iho-table .icon-dot-gray{background:gray;box-shadow:0 2px 4px 0 hsla(0,0%,50%,.5)}.iho-table .icon-dot-gray,.iho-table .icon-dot-yellow{-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.iho-table .icon-dot-yellow{background:#ff0;box-shadow:0 2px 4px 0 rgba(255,255,0,.5)}.iho-table .icon-dot-resolved{background:#36be8c;box-shadow:0 2px 4px 0 rgba(54,190,140,.5)}.iho-table .icon-dot-huifu,.iho-table .icon-dot-resolved{-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.iho-table .icon-dot-huifu{background:#42d0f6;box-shadow:0 2px 4px 0 rgba(66,208,246,.5)}.iho-table .icon-dot-close{background:#718391;box-shadow:0 2px 4px 0 rgba(113,131,145,.5)}.iho-table .icon-dot-audit,.iho-table .icon-dot-close{-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.iho-table .icon-dot-audit{background:#f4ba32;box-shadow:0 2px 4px 0 rgba(244,186,50,.5)}.iho-table .icon-dot-design{background:#927ce1;box-shadow:0 2px 4px 0 rgba(146,124,225,.5)}.iho-table .icon-dot-design,.iho-table .icon-dot-develop{-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.iho-table .icon-dot-develop{background:#4eb0ef;box-shadow:0 2px 4px 0 rgba(78,176,239,.5)}.iho-table .icon-dot-develop-complete{background:#6381f9;-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;box-shadow:0 2px 4px 0 rgba(99,129,249,.5);display:inline-block;height:8px;margin-right:6px;width:8px}