@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/dist/internal.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { d as t, r } from "./chunks/DataGridFilterableCombobox.vue_vue_type_script_setup_true_lang-_1TDQseN.js";
2
2
  import { buildDataGridChromePaneModel as o, buildDataGridChromeRenderModel as d } from "@affino/datagrid-chrome";
3
- import { D as l, a as n, r as G, u as D, b as S, c as u } from "./chunks/useDataGridAppRowModel-RrE_k6tK.js";
4
- import { _ as b, a as T, c as m, b as p, d as c, p as x, u as R, e as C, f, g as M, h as v, i as h, j as w, k as y, l as A, m as F, n as O, o as P } from "./chunks/DataGridGanttStageEntry-CS2wpBnj.js";
3
+ import { D as l, a as n, r as G, u as D, b as S, c as u } from "./chunks/useDataGridAppRowModel-pcd72QS1.js";
4
+ import { _ as b, a as T, c as m, b as p, d as c, p as x, u as R, e as C, f, g as M, h as v, i as h, j as w, k as y, l as A, m as F, n as O, o as P } from "./chunks/DataGridGanttStageEntry-3ZJORlma.js";
5
5
  import { _ as H } from "./chunks/DataGridAdvancedFilterPopover.vue_vue_type_script_setup_true_lang-x-cfVm5j.js";
6
6
  import { buildDataGridTimelineRenderModels as V, normalizeDataGridGanttOptions as _, resolveDataGridTimelineRange as j } from "@affino/datagrid-gantt";
7
7
  export {
@@ -9,7 +9,18 @@ import type { DataGridTableStageContext } from "./dataGridTableStageContext";
9
9
  import type { DataGridTableStageHistoryAdapter } from "./useDataGridTableStageHistory";
10
10
  import type { DataGridTableStageProps } from "./dataGridTableStage.types";
11
11
  export type { DataGridTableStageHistoryAdapter } from "./useDataGridTableStageHistory";
12
- type DataGridTableStageBodyRuntime<TRow extends Record<string, unknown>> = Pick<import("@affino/datagrid-vue").UseDataGridRuntimeResult<TRow>, "api" | "syncBodyRowsInRange" | "rowPartition" | "virtualWindow" | "columnSnapshot"> & {
12
+ type DataGridTableStageBodyRuntime<TRow extends Record<string, unknown>> = {
13
+ api: import("@affino/datagrid-vue").UseDataGridRuntimeResult<TRow>["api"];
14
+ syncBodyRowsInRange: import("@affino/datagrid-vue").UseDataGridRuntimeResult<TRow>["syncBodyRowsInRange"];
15
+ setViewportRange: import("@affino/datagrid-vue").UseDataGridRuntimeResult<TRow>["setViewportRange"];
16
+ rowPartition: import("@affino/datagrid-vue").UseDataGridRuntimeResult<TRow>["rowPartition"];
17
+ virtualWindow: import("@affino/datagrid-vue").UseDataGridRuntimeResult<TRow>["virtualWindow"];
18
+ columnSnapshot: import("@affino/datagrid-vue").UseDataGridRuntimeResult<TRow>["columnSnapshot"];
19
+ setVirtualWindowRange?: (range: {
20
+ start: number;
21
+ end: number;
22
+ }) => void;
23
+ } & {
13
24
  getBodyRowAtIndex: (rowIndex: number) => import("@affino/datagrid-vue").DataGridRowNode<TRow> | null;
14
25
  resolveBodyRowIndexById: (rowId: string | number) => number;
15
26
  };
@@ -6,7 +6,7 @@ export interface UseDataGridTableStageScrollSyncOptions {
6
6
  stopColumnResize: () => void;
7
7
  handleInteractionWindowMouseMove: (event: MouseEvent) => void;
8
8
  handleInteractionWindowMouseUp: () => void;
9
- syncViewport: () => void;
9
+ syncViewport: (event: Event) => void;
10
10
  }
11
11
  export interface UseDataGridTableStageScrollSyncResult {
12
12
  handleWindowMouseMove: (event: MouseEvent) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@affino/datagrid-vue-app",
3
- "version": "0.1.18",
3
+ "version": "0.1.19",
4
4
  "description": "Declarative Vue DataGrid component for Affino",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -22,6 +22,10 @@
22
22
  "types": "./dist/advanced-filter.d.ts",
23
23
  "import": "./dist/advanced-filter.js"
24
24
  },
25
+ "./find-replace": {
26
+ "types": "./dist/find-replace.d.ts",
27
+ "import": "./dist/find-replace.js"
28
+ },
25
29
  "./internal": {
26
30
  "types": "./dist/internal.d.ts",
27
31
  "import": "./dist/internal.js"
@@ -33,10 +37,10 @@
33
37
  "dependencies": {
34
38
  "@affino/menu-vue": "^2.1.1",
35
39
  "@affino/popover-vue": "^1.1.0",
36
- "@affino/datagrid-chrome": "0.1.1",
37
40
  "@affino/datagrid-gantt": "0.1.1",
38
- "@affino/datagrid-theme": "0.2.2",
39
- "@affino/datagrid-vue": "0.3.10"
41
+ "@affino/datagrid-chrome": "0.1.1",
42
+ "@affino/datagrid-vue": "0.3.11",
43
+ "@affino/datagrid-theme": "0.2.2"
40
44
  },
41
45
  "peerDependencies": {
42
46
  "vue": "^3.3.0"