@affino/datagrid-vue-app 0.1.26 → 0.1.27

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 CHANGED
@@ -74,6 +74,25 @@ Peer dependencies:
74
74
 
75
75
  - `vue ^3.3.0`
76
76
 
77
+ ## Optional Entrypoints
78
+
79
+ The root package entry is intentionally kept as the base table app surface.
80
+
81
+ Use subpath imports when you want optional feature modules explicitly:
82
+
83
+ - `@affino/datagrid-vue-app/gantt`
84
+ - `@affino/datagrid-vue-app/advanced-filter`
85
+ - `@affino/datagrid-vue-app/find-replace`
86
+ - `@affino/datagrid-vue-app/aggregations`
87
+
88
+ Practical implications:
89
+
90
+ - ordinary `DataGrid` table usage no longer needs to pull `@affino/datagrid-gantt` through the root runtime graph
91
+ - gantt stage code is loaded lazily only when the gantt view is rendered
92
+ - advanced filter, find / replace, and aggregations remain available as optional package entrypoints instead of mandatory consumer-side chunking requirements
93
+
94
+ Consumer-side chunk tuning can still help, but it is now an optimization rather than a workaround for the package boundary.
95
+
77
96
  ## Quick Start
78
97
 
79
98
  Minimal example with virtualization and built-in features.
@@ -18,7 +18,7 @@ import { type DataGridCellMenuProp, type DataGridRowIndexMenuProp } from "./over
18
18
  import { type DataGridVirtualizationProp } from "./config/dataGridVirtualization";
19
19
  import type { DataGridCellEditablePredicate } from "./dataGridEditability";
20
20
  import { type DataGridHistoryProp } from "./dataGridHistory";
21
- import type { DataGridAppViewMode, DataGridGanttProp } from "./gantt/dataGridGantt";
21
+ import type { DataGridAppViewMode, DataGridGanttProp } from "./gantt/dataGridGantt.types";
22
22
  type DataGridRuntimeOverrides = Omit<Partial<DataGridCoreServiceRegistry>, "rowModel" | "columnModel" | "viewport"> & {
23
23
  viewport?: DataGridCoreServiceRegistry["viewport"];
24
24
  };
@@ -532,11 +532,11 @@ declare const _default: import("vue").DefineComponent<{
532
532
  state: DataGridUnifiedState<Record<string, unknown>> | null | undefined;
533
533
  chrome: DataGridChromeProp | undefined;
534
534
  gantt: DataGridGanttProp | undefined;
535
- rowModel: DataGridRowModel<unknown> | undefined;
536
- baseRowHeight: number;
537
535
  virtualization: DataGridVirtualizationProp | undefined;
538
536
  pagination: DataGridPaginationProp | undefined;
537
+ rowModel: DataGridRowModel<unknown> | undefined;
539
538
  aggregations: DataGridAggregationsProp | undefined;
539
+ baseRowHeight: number;
540
540
  sortModel: readonly DataGridSortState[] | undefined;
541
541
  filterModel: DataGridFilterSnapshot | null | undefined;
542
542
  groupBy: DataGridGroupByProp | undefined;
@@ -0,0 +1,2 @@
1
+ export { default as DataGridAggregationsPopover } from "./overlays/DataGridAggregationsPopover.vue";
2
+ export type { DataGridAggregationsOptions, DataGridAggregationsProp, } from "./config/dataGridAggregations";
@@ -0,0 +1,4 @@
1
+ import { _ as a } from "./chunks/DataGridAggregationsPopover.vue_vue_type_script_setup_true_lang-DgbgGPYX.js";
2
+ export {
3
+ a as DataGridAggregationsPopover
4
+ };
@@ -0,0 +1,4 @@
1
+ import { _ as f } from "./DataGridAggregationsPopover.vue_vue_type_script_setup_true_lang-DgbgGPYX.js";
2
+ export {
3
+ f as default
4
+ };
@@ -172,5 +172,5 @@ const U = ["disabled", "title"], H = { class: "datagrid-aggregations__header" },
172
172
  }
173
173
  });
174
174
  export {
175
- re as default
175
+ re as _
176
176
  };