@affino/datagrid-vue-app 0.1.18 → 0.1.19
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/README.md +40 -0
- package/dist/advancedFilterDraftClauses.d.ts +6 -0
- package/dist/chunks/{DataGridAggregationsPopover-DfQ3-UV4.js → DataGridAggregationsPopover-Cul0w-Zw.js} +2 -1
- package/dist/chunks/DataGridGanttStageEntry-3ZJORlma.js +8148 -0
- package/dist/chunks/useDataGridAppRowModel-pcd72QS1.js +3072 -0
- package/dist/gantt.js +1 -1
- package/dist/gestures/dataGridTouchPanGuard.d.ts +13 -0
- package/dist/host/DataGridDefaultRenderer.d.ts +11 -1
- package/dist/index.js +369 -364
- package/dist/internal.js +2 -2
- package/dist/stage/useDataGridTableStageRuntime.d.ts +12 -1
- package/dist/stage/useDataGridTableStageScrollSync.d.ts +1 -1
- package/package.json +8 -4
- package/dist/chunks/DataGridGanttStageEntry-CS2wpBnj.js +0 -7815
- package/dist/chunks/useDataGridAppRowModel-RrE_k6tK.js +0 -3008
package/dist/gantt.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as t } from "./chunks/DataGridGanttStageEntry-
|
|
1
|
+
import { D as t } from "./chunks/DataGridGanttStageEntry-3ZJORlma.js";
|
|
2
2
|
import { buildDataGridTimelineRenderModels as r, normalizeDataGridGanttOptions as n, resolveDataGridTimelineRange as o } from "@affino/datagrid-gantt";
|
|
3
3
|
export {
|
|
4
4
|
t as DataGridGanttStage,
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export type DataGridTouchPanAxis = "x" | "y";
|
|
2
|
+
export interface ResolveDataGridTouchPanAxisInput {
|
|
3
|
+
deltaX: number;
|
|
4
|
+
deltaY: number;
|
|
5
|
+
maxScrollLeft: number;
|
|
6
|
+
maxScrollTop: number;
|
|
7
|
+
}
|
|
8
|
+
export interface InstallDataGridTouchPanGuardOptions {
|
|
9
|
+
root: HTMLElement;
|
|
10
|
+
resolveScrollContainers: () => readonly (HTMLElement | null | undefined)[];
|
|
11
|
+
}
|
|
12
|
+
export declare function resolveDataGridTouchPanAxis(input: ResolveDataGridTouchPanAxisInput): DataGridTouchPanAxis | null;
|
|
13
|
+
export declare function installDataGridTouchPanGuard(options: InstallDataGridTouchPanGuardOptions): () => void;
|
|
@@ -12,7 +12,17 @@ import { type DataGridAppViewMode, type DataGridGanttProp } from "../gantt/dataG
|
|
|
12
12
|
import type { DataGridLayoutMode } from "../config/dataGridLayout";
|
|
13
13
|
import type { DataGridVirtualizationOptions } from "../config/dataGridVirtualization";
|
|
14
14
|
type DataGridMode = "base" | "tree" | "pivot" | "worker";
|
|
15
|
-
type DataGridDefaultRendererRuntime =
|
|
15
|
+
type DataGridDefaultRendererRuntime = {
|
|
16
|
+
api: UseDataGridRuntimeResult<Record<string, unknown>>["api"];
|
|
17
|
+
syncBodyRowsInRange: UseDataGridRuntimeResult<Record<string, unknown>>["syncBodyRowsInRange"];
|
|
18
|
+
setViewportRange: UseDataGridRuntimeResult<Record<string, unknown>>["setViewportRange"];
|
|
19
|
+
rowPartition: UseDataGridRuntimeResult<Record<string, unknown>>["rowPartition"];
|
|
20
|
+
virtualWindow: UseDataGridRuntimeResult<Record<string, unknown>>["virtualWindow"];
|
|
21
|
+
columnSnapshot: UseDataGridRuntimeResult<Record<string, unknown>>["columnSnapshot"];
|
|
22
|
+
setVirtualWindowRange?: (range: {
|
|
23
|
+
start: number;
|
|
24
|
+
end: number;
|
|
25
|
+
}) => void;
|
|
16
26
|
getBodyRowAtIndex: (rowIndex: number) => import("@affino/datagrid-vue").DataGridRowNode<Record<string, unknown>> | null;
|
|
17
27
|
resolveBodyRowIndexById: (rowId: string | number) => number;
|
|
18
28
|
};
|