@affino/datagrid-vue-app 0.1.21 → 0.1.22

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.
@@ -2296,13 +2296,13 @@ const Dn = "affino-datagrid-vue-app-styles", Na = `
2296
2296
  --datagrid-header-column-divider-color: var(--datagrid-column-divider-color);
2297
2297
  --datagrid-header-column-divider-size: var(--datagrid-column-divider-size);
2298
2298
  --datagrid-pinned-pane-separator-size: 2px;
2299
- --datagrid-pinned-pane-separator-color: color-mix(in srgb, var(--datagrid-column-divider-color) 74%, var(--datagrid-text-color) 26%);
2299
+ --datagrid-pinned-pane-separator-color: color-mix(in srgb, var(--datagrid-column-divider-color) 82%, var(--datagrid-text-color) 18%);
2300
2300
  --datagrid-selection-copied-contrast: color-mix(in srgb, var(--datagrid-background-color) 84%, var(--datagrid-text-color));
2301
2301
  --datagrid-selection-copied-glow: color-mix(in srgb, var(--datagrid-selection-copied-border) 38%, transparent);
2302
2302
  }
2303
2303
 
2304
2304
  .affino-datagrid-app-root--theme-sugar {
2305
- --datagrid-pinned-pane-separator-color: color-mix(in srgb, var(--datagrid-column-divider-color) 82%, var(--datagrid-text-color) 18%);
2305
+ --datagrid-pinned-pane-separator-color: color-mix(in srgb, var(--datagrid-column-divider-color) 88%, var(--datagrid-text-color) 12%);
2306
2306
  }
2307
2307
 
2308
2308
  .affino-datagrid-app-root--fill {
@@ -3058,12 +3058,36 @@ const Dn = "affino-datagrid-vue-app-styles", Na = `
3058
3058
 
3059
3059
  .grid-header-pane--left,
3060
3060
  .grid-body-pane--left {
3061
- border-right: var(--datagrid-pinned-pane-separator-size) solid var(--datagrid-pinned-pane-separator-color);
3061
+ box-shadow: none;
3062
3062
  }
3063
3063
 
3064
3064
  .grid-header-pane--right,
3065
3065
  .grid-body-pane--right {
3066
- border-left: var(--datagrid-pinned-pane-separator-size) solid var(--datagrid-pinned-pane-separator-color);
3066
+ box-shadow: none;
3067
+ }
3068
+
3069
+ .grid-header-pane--left::after,
3070
+ .grid-body-pane--left::after,
3071
+ .grid-header-pane--right::before,
3072
+ .grid-body-pane--right::before {
3073
+ content: "";
3074
+ position: absolute;
3075
+ top: 0;
3076
+ bottom: 0;
3077
+ width: var(--datagrid-pinned-pane-separator-size);
3078
+ background: var(--datagrid-pinned-pane-separator-color);
3079
+ pointer-events: none;
3080
+ z-index: 5;
3081
+ }
3082
+
3083
+ .grid-header-pane--left::after,
3084
+ .grid-body-pane--left::after {
3085
+ right: 0;
3086
+ }
3087
+
3088
+ .grid-header-pane--right::before,
3089
+ .grid-body-pane--right::before {
3090
+ left: 0;
3067
3091
  }
3068
3092
 
3069
3093
  .grid-header-pane {
@@ -2,7 +2,7 @@ import { defineComponent as Bn, h as te, inject as cl, ref as W, computed as m,
2
2
  import { resolveDataGridCellClickAction as bl, invokeDataGridCellInteraction as Rl, toggleDataGridCellValue as Sl, buildDataGridCellRenderModel as pl, buildDataGridAdvancedFilterExpressionFromLegacyFilters as Il, parseDataGridCellDraftValue as Un, useDataGridContextMenu as Ml, cloneDataGridFilterSnapshot as xl, createClientRowModel as xn } from "@affino/datagrid-vue";
3
3
  import { useDataGridAppIntentHistory as Fl, createDataGridAppRowHeightMetrics as Al, useDataGridAppViewport as Ol, useDataGridAppRowSizing as kl, useDataGridAppCellSelection as Dl, useDataGridAppRowPresentation as El, useDataGridAppClipboard as Hl, useDataGridAppActiveCellViewport as Tl, useDataGridAppInlineEditing as _l, useDataGridAppInteractionController as Vl, useDataGridAppHeaderResize as zl, useDataGridAppRuntimeSync as Bl, useDataGridAppViewportLifecycle as jl, useDataGridAppColumnLayoutPanel as Pl, useDataGridAppAdvancedFilterBuilder as Gl } from "@affino/datagrid-vue/app";
4
4
  import { useDataGridViewportContextMenuRouter as Ll, useDataGridContextMenuAnchor as Nl, useDataGridContextMenuActionRouter as Wl } from "@affino/datagrid-vue/advanced";
5
- import { c as Kl, D as $l, a as Ul } from "./DataGridGanttStageEntry-Def2lt1S.js";
5
+ import { c as Kl, D as $l, a as Ul } from "./DataGridGanttStageEntry-Cb1UP7eE.js";
6
6
  import { usePopoverController as ql, useFloatingPopover as Yl } from "@affino/popover-vue";
7
7
  import { d as Xl, r as Zl } from "./dataGridOverlayThemeVars-vzY74EIz.js";
8
8
  const Ql = Bn({
package/dist/gantt.js CHANGED
@@ -1,4 +1,4 @@
1
- import { D as t } from "./chunks/DataGridGanttStageEntry-Def2lt1S.js";
1
+ import { D as t } from "./chunks/DataGridGanttStageEntry-Cb1UP7eE.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,
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as Oe, ref as Y, provide as Ke, computed as y, watch as w, onBeforeUnmount as fe, h as ce, mergeProps as je, toRef as ge } from "vue";
2
2
  import { useDataGridRuntime as Ie } from "@affino/datagrid-vue";
3
3
  import { useDataGridAppSelection as Fe, useDataGridAppRowSelection as ze } from "@affino/datagrid-vue/app";
4
- import { d as Te, e as _e, f as Ve, r as Ee, g as We, u as He, D as ke } from "./chunks/useDataGridAppRowModel-g0AWogvz.js";
4
+ import { d as Te, e as _e, f as Ve, r as Ee, g as We, u as He, D as ke } from "./chunks/useDataGridAppRowModel-Drlz8gbO.js";
5
5
  import { applyGridTheme as Ue, resolveGridThemeTokens as Ne, defaultStyleConfig as L, sugarTheme as Ae, industrialNeutralTheme as ve } from "@affino/datagrid-theme";
6
6
  import { d as qe } from "./chunks/dataGridOverlayThemeVars-vzY74EIz.js";
7
7
  const Je = {
package/dist/internal.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { d as t, r } from "./chunks/dataGridOverlayThemeVars-vzY74EIz.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-g0AWogvz.js";
4
- import { _ as b, a as T, c as p, b as m, d as c, p as x, u as R, e as f, f as C, g as M, h as v, i as h, j as w, k as y, l as F, m as P, n as A, o as O } from "./chunks/DataGridGanttStageEntry-Def2lt1S.js";
3
+ import { D as l, a as n, r as G, u as D, b as S, c as u } from "./chunks/useDataGridAppRowModel-Drlz8gbO.js";
4
+ import { _ as b, a as T, c as p, b as m, d as c, p as x, u as R, e as f, f as C, g as M, h as v, i as h, j as w, k as y, l as F, m as P, n as A, o as O } from "./chunks/DataGridGanttStageEntry-Cb1UP7eE.js";
5
5
  import { _ as E } from "./chunks/DataGridAdvancedFilterPopover.vue_vue_type_script_setup_true_lang-DhdOikY0.js";
6
6
  import { _ as K } from "./chunks/DataGridFindReplacePopover.vue_vue_type_script_setup_true_lang-DfHFHhUf.js";
7
7
  import { buildDataGridTimelineRenderModels as j, normalizeDataGridGanttOptions as k, resolveDataGridTimelineRange as z } from "@affino/datagrid-gantt";
@@ -116,7 +116,7 @@ export interface DataGridTableStageEditingSection<TRow extends Record<string, un
116
116
  updateEditingCellValue: (value: string) => void;
117
117
  handleEditorKeydown: (event: KeyboardEvent) => void;
118
118
  handleEditorBlur: () => void;
119
- commitInlineEdit: (target?: "stay" | "next" | "previous") => void;
119
+ commitInlineEdit: (target?: "stay" | "next" | "previous" | "none") => void;
120
120
  cancelInlineEdit: () => void;
121
121
  }
122
122
  export interface DataGridTableStageCellsSection<TRow extends Record<string, unknown>> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@affino/datagrid-vue-app",
3
- "version": "0.1.21",
3
+ "version": "0.1.22",
4
4
  "description": "Declarative Vue DataGrid component for Affino",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -37,10 +37,10 @@
37
37
  "dependencies": {
38
38
  "@affino/menu-vue": "^2.1.1",
39
39
  "@affino/popover-vue": "^1.1.0",
40
- "@affino/datagrid-vue": "0.3.13",
41
40
  "@affino/datagrid-chrome": "0.1.1",
42
41
  "@affino/datagrid-gantt": "0.1.1",
43
- "@affino/datagrid-theme": "0.2.2"
42
+ "@affino/datagrid-theme": "0.2.2",
43
+ "@affino/datagrid-vue": "0.3.14"
44
44
  },
45
45
  "peerDependencies": {
46
46
  "vue": "^3.3.0"