@affino/datagrid-vue-app 0.1.3 → 0.1.4

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.
@@ -2,7 +2,7 @@ import { defineComponent as Fn, h as k, computed as m, unref as c, ref as W, nex
2
2
  import { resolveDataGridCellClickAction as Gn, toggleDataGridCellValue as Pn, buildDataGridCellRenderModel as Ln, useDataGridContextMenu as Wn, cloneDataGridFilterSnapshot as Kn, createClientRowModel as un } from "@affino/datagrid-vue";
3
3
  import { useDataGridAppIntentHistory as Nn, createDataGridAppRowHeightMetrics as $n, useDataGridAppViewport as Un, useDataGridAppRowSizing as qn, useDataGridAppCellSelection as Xn, useDataGridAppRowPresentation as Yn, useDataGridAppClipboard as Jn, useDataGridAppActiveCellViewport as Zn, useDataGridAppInlineEditing as Qn, useDataGridAppInteractionController as el, useDataGridAppHeaderResize as tl, useDataGridAppRuntimeSync as nl, useDataGridAppViewportLifecycle as ll, useDataGridAppColumnLayoutPanel as ol, useDataGridAppAdvancedFilterBuilder as rl } from "@affino/datagrid-vue/app";
4
4
  import { useDataGridViewportContextMenuRouter as il, useDataGridContextMenuAnchor as al, useDataGridContextMenuActionRouter as sl } from "@affino/datagrid-vue/advanced";
5
- import { c as ul, _ as cl } from "./DataGridTableStage.vue_vue_type_script_setup_true_lang-BJJoBCsA.js";
5
+ import { c as ul, _ as cl } from "./DataGridTableStage.vue_vue_type_script_setup_true_lang-BKBL5xs3.js";
6
6
  const dl = Fn({
7
7
  name: "DataGridModuleHost",
8
8
  props: {
@@ -1329,7 +1329,7 @@ function Bl(e) {
1329
1329
  recordHistoryIntentTransaction: te
1330
1330
  };
1331
1331
  }
1332
- const _l = yt(() => import("./DataGridColumnLayoutPopover-Qt56b3CA.js")), Gl = yt(() => import("./DataGridAdvancedFilterPopover-Bak_CkaO.js")), Pl = yt(() => import("./DataGridAggregationsPopover-DfQ3-UV4.js")), Ll = yt(() => import("./DataGridGanttStageEntry-B9YlOHt1.js"));
1332
+ const _l = yt(() => import("./DataGridColumnLayoutPopover-Qt56b3CA.js")), Gl = yt(() => import("./DataGridAdvancedFilterPopover-Bak_CkaO.js")), Pl = yt(() => import("./DataGridAggregationsPopover-DfQ3-UV4.js")), Ll = yt(() => import("./DataGridGanttStageEntry-D4NqLvKS.js"));
1333
1333
  function Wl(e) {
1334
1334
  return Number.isFinite(e) ? Math.max(24, Math.trunc(e)) : 31;
1335
1335
  }
package/dist/gantt.js CHANGED
@@ -1,4 +1,4 @@
1
- import { default as t } from "./chunks/DataGridGanttStageEntry-B9YlOHt1.js";
1
+ import { default as t } from "./chunks/DataGridGanttStageEntry-D4NqLvKS.js";
2
2
  import { buildDataGridTimelineRenderModels as r, normalizeDataGridGanttOptions as d, resolveDataGridTimelineRange as n } from "@affino/datagrid-gantt";
3
3
  export {
4
4
  t as DataGridGanttStage,
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as ae, ref as X, provide as ge, computed as g, watch as w, onBeforeUnmount as Z, h as Y, mergeProps as ve, toRef as te } from "vue";
2
2
  import { useDataGridRuntime as ye } from "@affino/datagrid-vue";
3
3
  import { useDataGridAppSelection as pe, useDataGridAppRowSelection as we } from "@affino/datagrid-vue/app";
4
- import { d as Se, e as he, f as be, r as Re, g as Me, u as Oe, D as Be } from "./chunks/useDataGridAppRowModel-Di-Zatjs.js";
4
+ import { d as Se, e as he, f as be, r as Re, g as Me, u as Oe, D as Be } from "./chunks/useDataGridAppRowModel-CrcgRzkI.js";
5
5
  import { applyGridTheme as Ae, resolveGridThemeTokens as Ce, defaultStyleConfig as B, sugarTheme as ie, industrialNeutralTheme as oe } from "@affino/datagrid-theme";
6
6
  import { d as Pe } from "./chunks/DataGridFilterableCombobox.vue_vue_type_script_setup_true_lang-_1TDQseN.js";
7
7
  const Ge = {
package/dist/internal.js CHANGED
@@ -1,9 +1,9 @@
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-Di-Zatjs.js";
4
- import { _ as b } from "./chunks/DataGridGanttStage.vue_vue_type_script_setup_true_lang-CYwB5Dpa.js";
3
+ import { D as l, a as n, r as G, u as D, b as S, c as u } from "./chunks/useDataGridAppRowModel-CrcgRzkI.js";
4
+ import { _ as b } from "./chunks/DataGridGanttStage.vue_vue_type_script_setup_true_lang-Dhns9W_V.js";
5
5
  import { _ as m } from "./chunks/DataGridAdvancedFilterPopover.vue_vue_type_script_setup_true_lang-DixN56Qv.js";
6
- import { _ as c, c as x, a as R, d as f, p as C, u as M, b as v, e as h, f as w, g as y, h as A, i as F, j as O, k as P, l as _, m as E, n as H } from "./chunks/DataGridTableStage.vue_vue_type_script_setup_true_lang-BJJoBCsA.js";
6
+ import { _ as c, c as x, a as R, d as f, p as C, u as M, b as v, e as h, f as w, g as y, h as A, i as F, j as O, k as P, l as _, m as E, n as H } from "./chunks/DataGridTableStage.vue_vue_type_script_setup_true_lang-BKBL5xs3.js";
7
7
  import { buildDataGridTimelineRenderModels as V, normalizeDataGridGanttOptions as j, resolveDataGridTimelineRange as k } from "@affino/datagrid-gantt";
8
8
  export {
9
9
  m as DataGridAdvancedFilterPopover,
@@ -31,7 +31,7 @@ export interface DataGridTableStageBodyRenderApiBase {
31
31
  rowStateClasses: (row: DataGridTableStageBodyRow, rowOffset: number) => Record<string, boolean>;
32
32
  handleRowContainerClick: (row: DataGridTableStageBodyRow) => void;
33
33
  setHoveredRow: (row: DataGridTableStageBodyRow, rowOffset: number) => void;
34
- builtInCellClasses: (row: DataGridTableStageBodyRow, column: DataGridTableStageBodyColumn) => Record<string, boolean>;
34
+ builtInCellClasses: (row: DataGridTableStageBodyRow, rowOffset: number, column: DataGridTableStageBodyColumn, columnIndex: number) => Record<string, boolean>;
35
35
  cellStateClasses: (row: DataGridTableStageBodyRow, rowOffset: number, columnIndex: number) => Record<string, boolean>;
36
36
  resolveCellCustomClass: (row: DataGridTableStageBodyRow, rowOffset: number, column: DataGridTableStageBodyColumn, columnIndex: number) => unknown;
37
37
  columnStyle: (key: string) => CSSProperties;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@affino/datagrid-vue-app",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "Declarative Vue DataGrid component for Affino",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -34,9 +34,9 @@
34
34
  "@affino/menu-vue": "^2.1.1",
35
35
  "@affino/popover-vue": "^1.1.0",
36
36
  "@affino/datagrid-gantt": "0.1.1",
37
- "@affino/datagrid-vue": "0.3.4",
38
37
  "@affino/datagrid-chrome": "0.1.1",
39
- "@affino/datagrid-theme": "0.2.2"
38
+ "@affino/datagrid-theme": "0.2.2",
39
+ "@affino/datagrid-vue": "0.3.4"
40
40
  },
41
41
  "peerDependencies": {
42
42
  "vue": "^3.3.0"