@affino/datagrid-vue-app 0.1.4 → 0.1.6

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.
@@ -4,6 +4,7 @@ import { type DataGridAppClientRowModelOptions, type DataGridAppColumnInput } fr
4
4
  import { type DataGridThemeProp } from "./theme/dataGridTheme";
5
5
  import { type DataGridGroupByProp, type DataGridPaginationProp } from "./config/dataGridPublicProps";
6
6
  import { type DataGridAdvancedFilterProp } from "./config/dataGridAdvancedFilter";
7
+ import { type DataGridLayoutMode } from "./config/dataGridLayout";
7
8
  import { type DataGridColumnLayoutProp } from "./config/dataGridColumnLayout";
8
9
  import { type DataGridAggregationsProp } from "./config/dataGridAggregations";
9
10
  import { type DataGridColumnMenuProp } from "./overlays/dataGridColumnMenu";
@@ -171,6 +172,18 @@ declare const _default: import("vue").DefineComponent<{
171
172
  type: NumberConstructor;
172
173
  default: number;
173
174
  };
175
+ layoutMode: {
176
+ type: PropType<DataGridLayoutMode>;
177
+ default: string;
178
+ };
179
+ minRows: {
180
+ type: PropType<number | undefined>;
181
+ default: undefined;
182
+ };
183
+ maxRows: {
184
+ type: PropType<number | undefined>;
185
+ default: undefined;
186
+ };
174
187
  rowHover: {
175
188
  type: BooleanConstructor;
176
189
  default: boolean;
@@ -348,6 +361,18 @@ declare const _default: import("vue").DefineComponent<{
348
361
  type: NumberConstructor;
349
362
  default: number;
350
363
  };
364
+ layoutMode: {
365
+ type: PropType<DataGridLayoutMode>;
366
+ default: string;
367
+ };
368
+ minRows: {
369
+ type: PropType<number | undefined>;
370
+ default: undefined;
371
+ };
372
+ maxRows: {
373
+ type: PropType<number | undefined>;
374
+ default: undefined;
375
+ };
351
376
  rowHover: {
352
377
  type: BooleanConstructor;
353
378
  default: boolean;
@@ -383,12 +408,14 @@ declare const _default: import("vue").DefineComponent<{
383
408
  onReady?: ((...args: any[]) => any) | undefined;
384
409
  }, {
385
410
  rows: readonly unknown[];
411
+ columns: readonly DataGridAppColumnInput<unknown>[];
412
+ clientRowModelOptions: DataGridAppClientRowModelOptions<unknown> | undefined;
386
413
  rowHeightMode: "fixed" | "auto";
414
+ layoutMode: DataGridLayoutMode;
387
415
  showRowIndex: boolean;
388
416
  rowHover: boolean;
389
417
  stripedRows: boolean;
390
418
  isCellEditable: DataGridCellEditablePredicate<Record<string, unknown>> | undefined;
391
- columns: readonly DataGridAppColumnInput[];
392
419
  rowSelection: boolean;
393
420
  gantt: DataGridGanttProp | undefined;
394
421
  virtualization: DataGridVirtualizationProp | undefined;
@@ -407,8 +434,9 @@ declare const _default: import("vue").DefineComponent<{
407
434
  rowIndexMenu: DataGridRowIndexMenuProp | undefined;
408
435
  columnLayout: DataGridColumnLayoutProp | undefined;
409
436
  advancedFilter: DataGridAdvancedFilterProp | undefined;
437
+ minRows: number | undefined;
438
+ maxRows: number | undefined;
410
439
  viewMode: DataGridAppViewMode | undefined;
411
- clientRowModelOptions: DataGridAppClientRowModelOptions<unknown> | undefined;
412
440
  pageSize: number | undefined;
413
441
  currentPage: number | undefined;
414
442
  startupOrder: readonly import("@affino/datagrid-core").DataGridCoreServiceName[] | undefined;
@@ -9,6 +9,10 @@ declare const __VLS_export: import("vue").DefineComponent<{
9
9
  type: import("vue").PropType<import("./dataGridTableStage.types.js").DataGridTableStageProps<Record<string, unknown>>["rowHeightMode"]>;
10
10
  required: true;
11
11
  };
12
+ layoutMode: {
13
+ type: import("vue").PropType<import("./dataGridTableStage.types.js").DataGridTableStageProps<Record<string, unknown>>["layoutMode"]>;
14
+ required: true;
15
+ };
12
16
  layout: {
13
17
  type: import("vue").PropType<import("./dataGridTableStage.types.js").DataGridTableStageProps<Record<string, unknown>>["layout"]>;
14
18
  required: true;
@@ -66,6 +70,10 @@ declare const __VLS_export: import("vue").DefineComponent<{
66
70
  type: import("vue").PropType<import("./dataGridTableStage.types.js").DataGridTableStageProps<Record<string, unknown>>["rowHeightMode"]>;
67
71
  required: true;
68
72
  };
73
+ layoutMode: {
74
+ type: import("vue").PropType<import("./dataGridTableStage.types.js").DataGridTableStageProps<Record<string, unknown>>["layoutMode"]>;
75
+ required: true;
76
+ };
69
77
  layout: {
70
78
  type: import("vue").PropType<import("./dataGridTableStage.types.js").DataGridTableStageProps<Record<string, unknown>>["layout"]>;
71
79
  required: true;
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as yn, computed as u, ref as y, watch as de, nextTick as Mt, onMounted as wn, onBeforeUnmount as pn, openBlock as De, createElementBlock as We, createElementVNode as V, normalizeStyle as ne, createVNode as bn, mergeProps as Sn, unref as Mn, createCommentVNode as Tn } from "vue";
2
- import { o as Pn, q as Dn, _ as Wn } from "./DataGridTableStage.vue_vue_type_script_setup_true_lang-BKBL5xs3.js";
2
+ import { o as Pn, q as Dn, _ as Wn } from "./DataGridTableStage.vue_vue_type_script_setup_true_lang-DUqp_TKD.js";
3
3
  import { resolveDataGridGanttAnalysis as _n, buildDataGridGanttVisibleBars as kn, buildDataGridGanttDependencyPaths as Rn, resolveDataGridGanttRangeFrame as Xe, buildDataGridTimelineRenderModels as Tt, resolveDataGridTimelineDateToPixel as Pt, resolveDataGridTimelineScrollLeftForDate as En, applyDataGridGanttDragDelta as In, hitTestDataGridGanttBar as Dt, clampDataGridTimelineScrollLeft as xn, buildDataGridGanttRowEditPatch as Cn } from "@affino/datagrid-gantt";
4
4
  const be = 0.5, Ln = 1.25;
5
5
  function Hn(s) {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as e, h as r } from "vue";
2
- import { _ as a } from "./DataGridGanttStage.vue_vue_type_script_setup_true_lang-Dhns9W_V.js";
2
+ import { _ as a } from "./DataGridGanttStage.vue_vue_type_script_setup_true_lang-BuF2sFwp.js";
3
3
  import { normalizeDataGridGanttOptions as n } from "@affino/datagrid-gantt";
4
4
  const m = e({
5
5
  name: "DataGridGanttStageEntry",