@affino/datagrid-vue-app 0.1.44 → 0.1.46
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/dist/DataGrid.d.ts +28 -2
- package/dist/DataGridTableStage.vue.d.ts +27 -0
- package/dist/chunks/{DataGridGanttStageEntry-z-xnwnvx.js → DataGridGanttStageEntry-DNXWCKVs.js} +3749 -3527
- package/dist/chunks/useDataGridAppRowModel-DKyzpK78.js +4858 -0
- package/dist/gantt.js +1 -1
- package/dist/host/DataGridDefaultRenderer.d.ts +20 -2
- package/dist/index.js +175 -163
- package/dist/internal.js +2 -2
- package/dist/stage/DataGridTableStage.vue.d.ts +27 -0
- package/dist/stage/DataGridTableStageCenterPane.vue.d.ts +46 -1
- package/dist/stage/dataGridTableStage.types.d.ts +20 -0
- package/dist/stage/useDataGridTableStageRuntime.d.ts +5 -3
- package/package.json +2 -2
- package/dist/chunks/useDataGridAppRowModel-BjIIJmYg.js +0 -4586
package/dist/DataGrid.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ import { type DataGridVirtualizationProp } from "./config/dataGridVirtualization
|
|
|
23
23
|
import type { DataGridCellEditablePredicate } from "./dataGridEditability";
|
|
24
24
|
import { type DataGridHistoryController, type DataGridHistoryProp } from "./dataGridHistory";
|
|
25
25
|
import type { DataGridAppViewMode, DataGridGanttProp } from "./gantt/dataGridGantt.types";
|
|
26
|
-
import type { DataGridTableStageCellClass, DataGridTableStageCustomOverlay } from "./stage/dataGridTableStage.types";
|
|
26
|
+
import type { DataGridTableStageCenterPaneDiagnostics, DataGridTableStageCellClass, DataGridTableStageCustomOverlay } from "./stage/dataGridTableStage.types";
|
|
27
27
|
type DataGridRuntimeOverrides = Omit<Partial<DataGridCoreServiceRegistry>, "rowModel" | "columnModel" | "viewport"> & {
|
|
28
28
|
viewport?: DataGridCoreServiceRegistry["viewport"];
|
|
29
29
|
};
|
|
@@ -324,10 +324,18 @@ declare const dataGridProps: {
|
|
|
324
324
|
readonly type: PropType<((message: string) => void) | undefined>;
|
|
325
325
|
readonly default: undefined;
|
|
326
326
|
};
|
|
327
|
+
readonly reportCenterPaneDiagnostics: {
|
|
328
|
+
readonly type: PropType<((payload: DataGridTableStageCenterPaneDiagnostics) => void) | undefined>;
|
|
329
|
+
readonly default: undefined;
|
|
330
|
+
};
|
|
327
331
|
readonly reportFillPlumbingState: {
|
|
328
332
|
readonly type: PropType<((layer: string, present: boolean) => void) | undefined>;
|
|
329
333
|
readonly default: undefined;
|
|
330
334
|
};
|
|
335
|
+
readonly reportFillPlumbingDetail: {
|
|
336
|
+
readonly type: PropType<((layer: string, value: string) => void) | undefined>;
|
|
337
|
+
readonly default: undefined;
|
|
338
|
+
};
|
|
331
339
|
};
|
|
332
340
|
type DataGridPublicPropsBase = ExtractPublicPropTypes<typeof dataGridProps>;
|
|
333
341
|
export type DataGridProps<TRow = unknown> = Omit<DataGridPublicPropsBase, "rows" | "rowModel" | "clientRowModelOptions" | "computedFields" | "columns" | "plugins" | "state" | "placeholderRows" | "readSelectionCell" | "readFilterCell" | "readFilterCellStyle" | "cellClass" | "cellStyle" | "isCellEditable"> & {
|
|
@@ -635,10 +643,18 @@ declare const DataGridRuntimeComponent: import("vue").DefineComponent<{
|
|
|
635
643
|
readonly type: PropType<((message: string) => void) | undefined>;
|
|
636
644
|
readonly default: undefined;
|
|
637
645
|
};
|
|
646
|
+
readonly reportCenterPaneDiagnostics: {
|
|
647
|
+
readonly type: PropType<((payload: DataGridTableStageCenterPaneDiagnostics) => void) | undefined>;
|
|
648
|
+
readonly default: undefined;
|
|
649
|
+
};
|
|
638
650
|
readonly reportFillPlumbingState: {
|
|
639
651
|
readonly type: PropType<((layer: string, present: boolean) => void) | undefined>;
|
|
640
652
|
readonly default: undefined;
|
|
641
653
|
};
|
|
654
|
+
readonly reportFillPlumbingDetail: {
|
|
655
|
+
readonly type: PropType<((layer: string, value: string) => void) | undefined>;
|
|
656
|
+
readonly default: undefined;
|
|
657
|
+
};
|
|
642
658
|
}, () => VNode, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
643
659
|
"cell-change": (_payload: unknown) => true;
|
|
644
660
|
"cell-edit": (_payload: DataGridCellEditEvent<Record<string, unknown>>) => true;
|
|
@@ -924,10 +940,18 @@ declare const DataGridRuntimeComponent: import("vue").DefineComponent<{
|
|
|
924
940
|
readonly type: PropType<((message: string) => void) | undefined>;
|
|
925
941
|
readonly default: undefined;
|
|
926
942
|
};
|
|
943
|
+
readonly reportCenterPaneDiagnostics: {
|
|
944
|
+
readonly type: PropType<((payload: DataGridTableStageCenterPaneDiagnostics) => void) | undefined>;
|
|
945
|
+
readonly default: undefined;
|
|
946
|
+
};
|
|
927
947
|
readonly reportFillPlumbingState: {
|
|
928
948
|
readonly type: PropType<((layer: string, present: boolean) => void) | undefined>;
|
|
929
949
|
readonly default: undefined;
|
|
930
950
|
};
|
|
951
|
+
readonly reportFillPlumbingDetail: {
|
|
952
|
+
readonly type: PropType<((layer: string, value: string) => void) | undefined>;
|
|
953
|
+
readonly default: undefined;
|
|
954
|
+
};
|
|
931
955
|
}>> & {
|
|
932
956
|
"onCell-change"?: ((_payload: unknown) => any) | undefined;
|
|
933
957
|
"onSelection-change"?: ((_payload: DataGridApiSelectionChangedEvent) => any) | undefined;
|
|
@@ -964,6 +988,9 @@ declare const DataGridRuntimeComponent: import("vue").DefineComponent<{
|
|
|
964
988
|
readonly cellStyle: DataGridCellStyleResolver<unknown> | undefined;
|
|
965
989
|
readonly isCellEditable: DataGridCellEditablePredicate<Record<string, unknown>> | undefined;
|
|
966
990
|
readonly customOverlays: readonly DataGridTableStageCustomOverlay[] | undefined;
|
|
991
|
+
readonly reportCenterPaneDiagnostics: ((payload: DataGridTableStageCenterPaneDiagnostics) => void) | undefined;
|
|
992
|
+
readonly reportFillPlumbingState: ((layer: string, present: boolean) => void) | undefined;
|
|
993
|
+
readonly reportFillPlumbingDetail: ((layer: string, value: string) => void) | undefined;
|
|
967
994
|
readonly rowSelection: boolean;
|
|
968
995
|
readonly state: DataGridUnifiedState<Record<string, unknown>> | null | undefined;
|
|
969
996
|
readonly chrome: DataGridChromeProp | undefined;
|
|
@@ -973,7 +1000,6 @@ declare const DataGridRuntimeComponent: import("vue").DefineComponent<{
|
|
|
973
1000
|
readonly rowModel: DataGridRowModel<unknown> | undefined;
|
|
974
1001
|
readonly aggregations: DataGridAggregationsProp | undefined;
|
|
975
1002
|
readonly reportFillWarning: ((message: string) => void) | undefined;
|
|
976
|
-
readonly reportFillPlumbingState: ((layer: string, present: boolean) => void) | undefined;
|
|
977
1003
|
readonly sortModel: readonly DataGridSortState[] | undefined;
|
|
978
1004
|
readonly filterModel: DataGridFilterSnapshot | null | undefined;
|
|
979
1005
|
readonly groupBy: DataGridGroupByProp | undefined;
|
|
@@ -17,6 +17,14 @@ declare const __VLS_export: import("vue").DefineComponent<{
|
|
|
17
17
|
type: import("vue").PropType<import("./dataGridTableStage.types.js").DataGridTableStageProps<Record<string, unknown>>["chromeSignature"]>;
|
|
18
18
|
default: string;
|
|
19
19
|
};
|
|
20
|
+
reportFillPlumbingState: {
|
|
21
|
+
type: import("vue").PropType<import("./dataGridTableStage.types.js").DataGridTableStageProps<Record<string, unknown>>["reportFillPlumbingState"]>;
|
|
22
|
+
default: undefined;
|
|
23
|
+
};
|
|
24
|
+
reportFillPlumbingDetail: {
|
|
25
|
+
type: import("vue").PropType<import("./dataGridTableStage.types.js").DataGridTableStageProps<Record<string, unknown>>["reportFillPlumbingDetail"]>;
|
|
26
|
+
default: undefined;
|
|
27
|
+
};
|
|
20
28
|
layout: {
|
|
21
29
|
type: import("vue").PropType<import("./dataGridTableStage.types.js").DataGridTableStageProps<Record<string, unknown>>["layout"]>;
|
|
22
30
|
required: true;
|
|
@@ -53,6 +61,10 @@ declare const __VLS_export: import("vue").DefineComponent<{
|
|
|
53
61
|
type: import("vue").PropType<readonly import("./dataGridTableStage.types.js").DataGridTableStageCustomOverlay[]>;
|
|
54
62
|
default: () => never[];
|
|
55
63
|
};
|
|
64
|
+
reportCenterPaneDiagnostics: {
|
|
65
|
+
type: import("vue").PropType<import("./dataGridTableStage.types.js").DataGridTableStageProps<Record<string, unknown>>["reportCenterPaneDiagnostics"]>;
|
|
66
|
+
default: undefined;
|
|
67
|
+
};
|
|
56
68
|
onViewportContextMenu: {
|
|
57
69
|
type: import("vue").PropType<(event: MouseEvent) => void>;
|
|
58
70
|
default: undefined;
|
|
@@ -86,6 +98,14 @@ declare const __VLS_export: import("vue").DefineComponent<{
|
|
|
86
98
|
type: import("vue").PropType<import("./dataGridTableStage.types.js").DataGridTableStageProps<Record<string, unknown>>["chromeSignature"]>;
|
|
87
99
|
default: string;
|
|
88
100
|
};
|
|
101
|
+
reportFillPlumbingState: {
|
|
102
|
+
type: import("vue").PropType<import("./dataGridTableStage.types.js").DataGridTableStageProps<Record<string, unknown>>["reportFillPlumbingState"]>;
|
|
103
|
+
default: undefined;
|
|
104
|
+
};
|
|
105
|
+
reportFillPlumbingDetail: {
|
|
106
|
+
type: import("vue").PropType<import("./dataGridTableStage.types.js").DataGridTableStageProps<Record<string, unknown>>["reportFillPlumbingDetail"]>;
|
|
107
|
+
default: undefined;
|
|
108
|
+
};
|
|
89
109
|
layout: {
|
|
90
110
|
type: import("vue").PropType<import("./dataGridTableStage.types.js").DataGridTableStageProps<Record<string, unknown>>["layout"]>;
|
|
91
111
|
required: true;
|
|
@@ -122,6 +142,10 @@ declare const __VLS_export: import("vue").DefineComponent<{
|
|
|
122
142
|
type: import("vue").PropType<readonly import("./dataGridTableStage.types.js").DataGridTableStageCustomOverlay[]>;
|
|
123
143
|
default: () => never[];
|
|
124
144
|
};
|
|
145
|
+
reportCenterPaneDiagnostics: {
|
|
146
|
+
type: import("vue").PropType<import("./dataGridTableStage.types.js").DataGridTableStageProps<Record<string, unknown>>["reportCenterPaneDiagnostics"]>;
|
|
147
|
+
default: undefined;
|
|
148
|
+
};
|
|
125
149
|
onViewportContextMenu: {
|
|
126
150
|
type: import("vue").PropType<(event: MouseEvent) => void>;
|
|
127
151
|
default: undefined;
|
|
@@ -133,6 +157,9 @@ declare const __VLS_export: import("vue").DefineComponent<{
|
|
|
133
157
|
}>>, {
|
|
134
158
|
chromeSignature: string | undefined;
|
|
135
159
|
customOverlays: readonly import("./dataGridTableStage.types.js").DataGridTableStageCustomOverlay[];
|
|
160
|
+
reportCenterPaneDiagnostics: ((payload: import("./dataGridTableStage.types.js").DataGridTableStageCenterPaneDiagnostics) => void) | undefined;
|
|
161
|
+
reportFillPlumbingState: ((layer: string, present: boolean) => void) | undefined;
|
|
162
|
+
reportFillPlumbingDetail: ((layer: string, value: string) => void) | undefined;
|
|
136
163
|
onViewportContextMenu: (event: MouseEvent) => void;
|
|
137
164
|
stageContext: import("./dataGridTableStageContext.js").DataGridTableStageContext<Record<string, unknown>>;
|
|
138
165
|
}, {}>;
|