@toolbox-web/grid-react 1.8.1 → 1.8.2

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.
@@ -1 +1 @@
1
- {"version":3,"file":"master-detail.d.ts","sourceRoot":"","sources":["../../../../libs/grid-react/src/features/master-detail.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAGH,OAAO,0CAA0C,CAAC"}
1
+ {"version":3,"file":"master-detail.d.ts","sourceRoot":"","sources":["../../../../libs/grid-react/src/features/master-detail.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAGH,OAAO,0CAA0C,CAAC"}
@@ -1,23 +1,65 @@
1
1
  import "@toolbox-web/grid/features/master-detail";
2
- import { g as s } from "../chunks/grid-detail-panel-BZFcujsZ.js";
3
- import { a as m } from "../chunks/portal-bridge-CvxNt40O.js";
4
- import { r as c } from "../chunks/post-mount-refresh-hooks-Dt7mPoZC.js";
5
- import { a as l } from "../chunks/react-grid-adapter-LBf2Mqhn.js";
6
- l((e, { trackPortal: n }) => {
7
- const t = s(e);
8
- if (t)
9
- return (a, i) => {
10
- const r = document.createElement("div");
11
- r.className = "react-detail-panel";
12
- const o = m(
13
- r,
14
- t({ row: a, rowIndex: i }),
2
+ import { MasterDetailPlugin as c } from "@toolbox-web/grid/plugins/master-detail";
3
+ import { registerFeature as m } from "@toolbox-web/grid/features/registry";
4
+ import { g as f } from "../chunks/grid-detail-panel-BZFcujsZ.js";
5
+ import { r as p, a as d } from "../chunks/portal-bridge-CvxNt40O.js";
6
+ import { r as g } from "../chunks/post-mount-refresh-hooks-Dt7mPoZC.js";
7
+ import { a as y } from "../chunks/react-grid-adapter-LBf2Mqhn.js";
8
+ y((t, { trackPortal: e }) => {
9
+ const n = f(t);
10
+ if (n)
11
+ return (s, a) => {
12
+ const o = document.createElement("div");
13
+ o.className = "react-detail-panel";
14
+ const r = d(
15
+ o,
16
+ n({ row: s, rowIndex: a }),
15
17
  void 0,
16
- e
18
+ t
17
19
  );
18
- return n(o, r, !1), r;
20
+ return e(r, o, !1), o;
19
21
  };
20
22
  });
21
- c("masterDetail", ({ gridEl: e }) => {
22
- e.getPluginByName("masterDetail")?.refreshDetailRenderer?.();
23
+ g("masterDetail", ({ gridEl: t }) => {
24
+ t.getPluginByName("masterDetail")?.refreshDetailRenderer?.();
23
25
  });
26
+ class h extends c {
27
+ #e;
28
+ constructor(e, n) {
29
+ super(e), this.#e = n;
30
+ }
31
+ detach() {
32
+ super.detach();
33
+ for (const e of this.#e)
34
+ try {
35
+ p(e, { sync: !1 });
36
+ } catch {
37
+ }
38
+ this.#e.clear();
39
+ }
40
+ }
41
+ m(
42
+ "masterDetail",
43
+ (t) => {
44
+ const e = t == null || typeof t == "boolean" ? {} : t, n = e.detailRenderer;
45
+ if (typeof n != "function")
46
+ return new c(e);
47
+ const s = /* @__PURE__ */ new Set(), a = (o, l) => {
48
+ const r = n(
49
+ o,
50
+ l
51
+ );
52
+ if (r == null || r === !1) return document.createElement("div");
53
+ if (typeof r == "string" || r instanceof HTMLElement) return r;
54
+ const i = document.createElement("div");
55
+ i.className = "react-detail-panel";
56
+ const u = d(i, r);
57
+ return s.add(u), i;
58
+ };
59
+ return new h(
60
+ { ...e, detailRenderer: a },
61
+ s
62
+ );
63
+ },
64
+ { override: !0 }
65
+ );
@@ -1,47 +1,2 @@
1
- import { AggregationSlot, PanelZone, PinnedRowsConfig, PinnedRowsContext } from '@toolbox-web/grid/plugins/pinned-rows';
2
- import { ReactNode } from 'react';
3
- /**
4
- * React-typed render function for a pinned-row panel slot.
5
- *
6
- * @since 1.8.0
7
- */
8
- export type ReactPanelRender = (ctx: PinnedRowsContext) => ReactNode;
9
- /**
10
- * React-typed zoned render entry.
11
- *
12
- * @since 1.8.0
13
- */
14
- export interface ReactZonedPanelRender {
15
- zone?: PanelZone;
16
- render: ReactPanelRender;
17
- }
18
- /**
19
- * React-typed panel slot — same shape as vanilla PanelSlot but with ReactNode render returns.
20
- *
21
- * @since 1.8.0
22
- */
23
- export interface ReactPanelSlot {
24
- id?: string;
25
- position?: 'top' | 'bottom';
26
- render: ReactPanelRender | ReactZonedPanelRender[];
27
- }
28
- /**
29
- * React-typed slot — either a panel slot or an aggregation slot.
30
- *
31
- * @since 1.8.0
32
- */
33
- export type ReactPinnedRowSlot = ReactPanelSlot | AggregationSlot;
34
- /**
35
- * Per-feature shape of `pinnedRows` accepted by the React adapter.
36
- *
37
- * @since 1.8.0
38
- */
39
- export type ReactPinnedRowsConfig = Omit<PinnedRowsConfig, 'slots' | 'customPanels'> & {
40
- slots?: ReactPinnedRowSlot[];
41
- customPanels?: Array<{
42
- id: string;
43
- position: PanelZone;
44
- render: (ctx: PinnedRowsContext) => ReactNode;
45
- }>;
46
- };
1
+ export type { PanelRender, PanelSlot, PinnedRowSlot, PinnedRowsConfig, ReactPanelRender, ReactPanelSlot, ReactPinnedRowSlot, ReactPinnedRowsConfig, ReactZonedPanelRender, ZonedPanelRender, } from '../lib/feature-props';
47
2
  //# sourceMappingURL=pinned-rows.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"pinned-rows.d.ts","sourceRoot":"","sources":["../../../../libs/grid-react/src/features/pinned-rows.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AAEH,OAAO,wCAAwC,CAAC;AAEhD,OAAO,EAEL,KAAK,eAAe,EACpB,KAAK,SAAS,EAEd,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EAEvB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC;;;;GAIG;AACH,MAAM,MAAM,gBAAgB,GAAG,CAAC,GAAG,EAAE,iBAAiB,KAAK,SAAS,CAAC;AACrE;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IACpC,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,MAAM,EAAE,gBAAgB,CAAC;CAC1B;AACD;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC7B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAC;IAC5B,MAAM,EAAE,gBAAgB,GAAG,qBAAqB,EAAE,CAAC;CACpD;AACD;;;;GAIG;AACH,MAAM,MAAM,kBAAkB,GAAG,cAAc,GAAG,eAAe,CAAC;AAElE;;;;GAIG;AACH,MAAM,MAAM,qBAAqB,GAAG,IAAI,CAAC,gBAAgB,EAAE,OAAO,GAAG,cAAc,CAAC,GAAG;IACrF,KAAK,CAAC,EAAE,kBAAkB,EAAE,CAAC;IAC7B,YAAY,CAAC,EAAE,KAAK,CAAC;QACnB,EAAE,EAAE,MAAM,CAAC;QACX,QAAQ,EAAE,SAAS,CAAC;QACpB,MAAM,EAAE,CAAC,GAAG,EAAE,iBAAiB,KAAK,SAAS,CAAC;KAC/C,CAAC,CAAC;CACJ,CAAC"}
1
+ {"version":3,"file":"pinned-rows.d.ts","sourceRoot":"","sources":["../../../../libs/grid-react/src/features/pinned-rows.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AAEH,OAAO,wCAAwC,CAAC;AAehD,YAAY,EACV,WAAW,EACX,SAAS,EACT,aAAa,EACb,gBAAgB,EAEhB,gBAAgB,EAChB,cAAc,EACd,kBAAkB,EAClB,qBAAqB,EACrB,qBAAqB,EACrB,gBAAgB,GACjB,MAAM,sBAAsB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"responsive.d.ts","sourceRoot":"","sources":["../../../../libs/grid-react/src/features/responsive.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAGH,OAAO,uCAAuC,CAAC"}
1
+ {"version":3,"file":"responsive.d.ts","sourceRoot":"","sources":["../../../../libs/grid-react/src/features/responsive.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAGH,OAAO,uCAAuC,CAAC"}
@@ -1,27 +1,65 @@
1
1
  import "@toolbox-web/grid/features/responsive";
2
- import { g as a } from "../chunks/grid-responsive-card-CSZhDCoN.js";
3
- import { a as d } from "../chunks/portal-bridge-CvxNt40O.js";
4
- import { r as c } from "../chunks/post-mount-refresh-hooks-Dt7mPoZC.js";
5
- import { b as p } from "../chunks/react-grid-adapter-LBf2Mqhn.js";
6
- p((e, { trackPortal: s }) => {
7
- const r = a(e);
8
- if (r)
9
- return (n, t) => {
2
+ import { ResponsivePlugin as u } from "@toolbox-web/grid/plugins/responsive";
3
+ import { registerFeature as l } from "@toolbox-web/grid/features/registry";
4
+ import { g as p } from "../chunks/grid-responsive-card-CSZhDCoN.js";
5
+ import { r as v, a as f } from "../chunks/portal-bridge-CvxNt40O.js";
6
+ import { r as R } from "../chunks/post-mount-refresh-hooks-Dt7mPoZC.js";
7
+ import { b as y } from "../chunks/react-grid-adapter-LBf2Mqhn.js";
8
+ y((e, { trackPortal: r }) => {
9
+ const t = p(e);
10
+ if (t)
11
+ return (n, s) => {
10
12
  const o = document.createElement("div");
11
13
  o.className = "react-responsive-card";
12
- const i = d(
14
+ const i = f(
13
15
  o,
14
- r({ row: n, index: t }),
16
+ t({ row: n, index: s }),
15
17
  void 0,
16
18
  e
17
19
  );
18
- return s(i, o, !1), o;
20
+ return r(i, o, !1), o;
19
21
  };
20
22
  });
21
- c("responsive", ({ gridEl: e }) => {
22
- if (!e.querySelector("tbw-grid-responsive-card") || !a(e)) return;
23
- const r = e, n = r.getPluginByName("responsive");
23
+ R("responsive", ({ gridEl: e }) => {
24
+ if (!e.querySelector("tbw-grid-responsive-card") || !p(e)) return;
25
+ const t = e, n = t.getPluginByName("responsive");
24
26
  if (!n?.setCardRenderer) return;
25
- const t = r.__frameworkAdapter?.createResponsiveCardRenderer?.(e);
26
- t && n.setCardRenderer(t);
27
+ const s = t.__frameworkAdapter?.createResponsiveCardRenderer?.(e);
28
+ s && n.setCardRenderer(s);
27
29
  });
30
+ class h extends u {
31
+ #e;
32
+ constructor(r, t) {
33
+ super(r), this.#e = t;
34
+ }
35
+ detach() {
36
+ super.detach();
37
+ for (const r of this.#e)
38
+ try {
39
+ v(r, { sync: !1 });
40
+ } catch {
41
+ }
42
+ this.#e.clear();
43
+ }
44
+ }
45
+ l(
46
+ "responsive",
47
+ (e) => {
48
+ const r = e == null || typeof e == "boolean" ? {} : e, t = r.cardRenderer;
49
+ if (typeof t != "function")
50
+ return new u(r);
51
+ const n = /* @__PURE__ */ new Set(), s = (o, d, i) => {
52
+ const a = t(o, d, i);
53
+ if (a instanceof HTMLElement) return a;
54
+ const c = document.createElement("div");
55
+ if (c.className = "react-responsive-card", a == null || a === !1) return c;
56
+ const m = f(c, a);
57
+ return n.add(m), c;
58
+ };
59
+ return new h(
60
+ { ...r, cardRenderer: s },
61
+ n
62
+ );
63
+ },
64
+ { override: !0 }
65
+ );
package/index.d.ts CHANGED
@@ -8,7 +8,7 @@ export { GridResponsiveCard, type GridResponsiveCardProps, type ResponsiveCardCo
8
8
  export { GridToolButtons, type GridToolButtonsProps } from './lib/grid-tool-button';
9
9
  export { GridToolPanel, type GridToolPanelProps, type ToolPanelContext } from './lib/grid-tool-panel';
10
10
  export { GridToolbarContent, type GridToolbarContentProps } from './lib/grid-toolbar-content';
11
- export type { AllFeatureProps, FeatureProps, ReactColumnGroupDefinition, ReactFilterConfig, ReactGroupingColumnsConfig, ReactGroupingRowsConfig, SSRProps, } from './lib/feature-props';
11
+ export type { AllFeatureProps, ColumnGroupDefinition, FeatureProps, FilterConfig, GroupingColumnsConfig, GroupingRowsConfig, MasterDetailConfig, PanelRender, PanelSlot, PinnedRowSlot, PinnedRowsConfig, ReactColumnGroupDefinition, ReactFilterConfig, ReactGroupingColumnsConfig, ReactGroupingRowsConfig, ReactPanelRender, ReactPanelSlot, ReactPinnedRowSlot, ReactPinnedRowsConfig, ReactZonedPanelRender, ResponsivePluginConfig, SSRProps, ZonedPanelRender, } from './lib/feature-props';
12
12
  export { applyColumnDefaults, hasColumnShorthands, normalizeColumns, parseColumnShorthand, } from './lib/column-shorthand';
13
13
  export type { ColumnShorthand } from './lib/column-shorthand';
14
14
  export type { EventHandler, EventProps } from './lib/event-props';
package/index.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../libs/grid-react/src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAGH,OAAO,YAAY,CAAC;AAGpB,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,YAAY,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAClE,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,YAAY,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,EAAE,eAAe,EAAE,KAAK,kBAAkB,EAAE,KAAK,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAC9G,OAAO,EAAE,iBAAiB,EAAE,KAAK,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AAC3F,OAAO,EACL,kBAAkB,EAClB,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,GAC3B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,eAAe,EAAE,KAAK,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACpF,OAAO,EAAE,aAAa,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACtG,OAAO,EAAE,kBAAkB,EAAE,KAAK,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAG9F,YAAY,EACV,eAAe,EACf,YAAY,EACZ,0BAA0B,EAC1B,iBAAiB,EACjB,0BAA0B,EAC1B,uBAAuB,EACvB,QAAQ,GACT,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EACL,mBAAmB,EACnB,mBAAmB,EACnB,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AAqB,EAC1B,KAAK,WAAW,EAChB,KAAK,eAAe,GACrB,MAAM,0BAA0B,CAAC;AAGlC,OAAO,EAAE,gBAAgB,EAAE,YAAY,EAAE,KAAK,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AAGtG,OAAO,EAAE,YAAY,EAAE,KAAK,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAG3E,YAAY,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAG1E,OAAO,EAAE,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,KAAK,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AAGpF,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAMvD,OAAO,EACL,4BAA4B,EAC5B,uBAAuB,EACvB,sBAAsB,EACtB,wBAAwB,GACzB,MAAM,0BAA0B,CAAC;AAClC,YAAY,EAAE,oBAAoB,EAAE,eAAe,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAG5G,YAAY,EAAE,eAAe,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC"}
@@ -1,48 +1,150 @@
1
- import { ClipboardConfig, ColumnVirtualizationConfig, ContextMenuConfig, ExportConfig, FilterConfig, GroupingColumnsConfig, GroupingRowsConfig, MasterDetailConfig, MultiSortConfig, PinnedRowsConfig, PivotConfig, PrintConfig, ReorderConfig, ResponsivePluginConfig, RowDragDropConfig, RowReorderConfig, SelectionConfig, ServerSideConfig, StickyRowsConfig, TooltipConfig, TreeConfig, UndoRedoConfig, VisibilityConfig } from '@toolbox-web/grid/all';
1
+ import { ClipboardConfig, ColumnVirtualizationConfig, ContextMenuConfig, FilterConfig as CoreFilterConfig, GroupingColumnsConfig as CoreGroupingColumnsConfig, GroupingRowsConfig as CoreGroupingRowsConfig, MasterDetailConfig as CoreMasterDetailConfig, PinnedRowsConfig as CorePinnedRowsConfig, ResponsivePluginConfig as CoreResponsivePluginConfig, ExportConfig, MultiSortConfig, PivotConfig, PrintConfig, ReorderConfig, RowDragDropConfig, RowReorderConfig, SelectionConfig, ServerSideConfig, StickyRowsConfig, TooltipConfig, TreeConfig, UndoRedoConfig, VisibilityConfig } from '@toolbox-web/grid/all';
2
2
  import { EditingConfig } from '@toolbox-web/grid/plugins/editing';
3
3
  import { FilterPanelParams } from '@toolbox-web/grid/plugins/filtering';
4
- import { ColumnGroupDefinition } from '@toolbox-web/grid/plugins/grouping-columns';
4
+ import { ColumnGroupDefinition as CoreColumnGroupDefinition } from '@toolbox-web/grid/plugins/grouping-columns';
5
5
  import { GroupRowRenderParams } from '@toolbox-web/grid/plugins/grouping-rows';
6
+ import { AggregationSlot, PanelZone, PinnedRowsContext } from '@toolbox-web/grid/plugins/pinned-rows';
6
7
  import { ReactNode } from 'react';
7
8
  /**
8
- * React-specific filter config that allows React components as `filterPanelRenderer`.
9
+ * Filter config widened to accept a React render function as `filterPanelRenderer`.
9
10
  *
10
- * Extends the base FilterConfig to accept a React render function
11
+ * Extends the core `FilterConfig` so consumers can return a `ReactNode`
11
12
  * `(params: FilterPanelParams) => ReactNode` in addition to the vanilla
12
13
  * `(container: HTMLElement, params: FilterPanelParams) => void` signature.
13
14
  */
14
- export type ReactFilterConfig<TRow = unknown> = Omit<FilterConfig<TRow>, 'filterPanelRenderer'> & {
15
- filterPanelRenderer?: FilterConfig<TRow>['filterPanelRenderer'] | ((params: FilterPanelParams) => ReactNode);
15
+ export type FilterConfig<TRow = unknown> = Omit<CoreFilterConfig<TRow>, 'filterPanelRenderer'> & {
16
+ filterPanelRenderer?: CoreFilterConfig<TRow>['filterPanelRenderer'] | ((params: FilterPanelParams) => ReactNode);
16
17
  };
17
18
  /**
18
- * React-specific column group definition that allows React render functions as `renderer`.
19
+ * Column group definition widened to accept a React `renderer`.
19
20
  */
20
- export type ReactColumnGroupDefinition = Omit<ColumnGroupDefinition, 'renderer'> & {
21
- renderer?: ColumnGroupDefinition['renderer'] | ((...args: Parameters<NonNullable<ColumnGroupDefinition['renderer']>>) => ReactNode);
21
+ export type ColumnGroupDefinition = Omit<CoreColumnGroupDefinition, 'renderer'> & {
22
+ renderer?: CoreColumnGroupDefinition['renderer'] | ((...args: Parameters<NonNullable<CoreColumnGroupDefinition['renderer']>>) => ReactNode);
22
23
  };
23
24
  /**
24
- * React-specific grouping columns config that allows React components as `groupHeaderRenderer`
25
- * and per-group `renderer` in `columnGroups`.
26
- *
27
- * Extends the base GroupingColumnsConfig to accept a React render function
28
- * returning `ReactNode` instead of only `HTMLElement | string | void`.
25
+ * Grouping-columns config widened to accept React render functions for
26
+ * `groupHeaderRenderer` and per-group `renderer` entries in `columnGroups`.
29
27
  */
30
- export type ReactGroupingColumnsConfig = Omit<GroupingColumnsConfig, 'groupHeaderRenderer' | 'columnGroups'> & {
31
- columnGroups?: ReactColumnGroupDefinition[];
32
- groupHeaderRenderer?: GroupingColumnsConfig['groupHeaderRenderer'] | ((...args: Parameters<NonNullable<GroupingColumnsConfig['groupHeaderRenderer']>>) => ReactNode);
28
+ export type GroupingColumnsConfig = Omit<CoreGroupingColumnsConfig, 'groupHeaderRenderer' | 'columnGroups'> & {
29
+ columnGroups?: ColumnGroupDefinition[];
30
+ groupHeaderRenderer?: CoreGroupingColumnsConfig['groupHeaderRenderer'] | ((...args: Parameters<NonNullable<CoreGroupingColumnsConfig['groupHeaderRenderer']>>) => ReactNode);
33
31
  };
34
32
  /**
35
- * React-specific grouping rows config that allows React components as `groupRowRenderer`.
36
- *
37
- * Extends the base GroupingRowsConfig to accept a React render function
33
+ * Grouping-rows config widened to accept a React `groupRowRenderer`
38
34
  * `(params: GroupRowRenderParams) => ReactNode` in addition to the vanilla
39
35
  * `(params) => HTMLElement | string | void` signature.
40
36
  *
41
37
  * @since 1.8.0
42
38
  */
43
- export type ReactGroupingRowsConfig = Omit<GroupingRowsConfig, 'groupRowRenderer'> & {
44
- groupRowRenderer?: GroupingRowsConfig['groupRowRenderer'] | ((params: GroupRowRenderParams) => ReactNode);
39
+ export type GroupingRowsConfig = Omit<CoreGroupingRowsConfig, 'groupRowRenderer'> & {
40
+ groupRowRenderer?: CoreGroupingRowsConfig['groupRowRenderer'] | ((params: GroupRowRenderParams) => ReactNode);
41
+ };
42
+ /**
43
+ * React-typed render function for a pinned-row panel slot.
44
+ *
45
+ * Mirrors the vanilla `PanelRender` signature but returns a `ReactNode`
46
+ * instead of `HTMLElement | null`. The React adapter (see
47
+ * `features/pinned-rows.ts`) wraps the returned node in a portal so the
48
+ * pinned-rows plugin can keep its host-element reference stable across
49
+ * grid re-renders.
50
+ *
51
+ * @since 1.8.2
52
+ */
53
+ export type PanelRender = (ctx: PinnedRowsContext) => ReactNode;
54
+ /**
55
+ * React-typed zoned panel render entry.
56
+ *
57
+ * @since 1.8.2
58
+ */
59
+ export interface ZonedPanelRender {
60
+ zone?: PanelZone;
61
+ render: PanelRender;
62
+ }
63
+ /**
64
+ * React-typed panel slot — same shape as the vanilla `PanelSlot` but with
65
+ * `ReactNode` render returns.
66
+ *
67
+ * @since 1.8.2
68
+ */
69
+ export interface PanelSlot {
70
+ id?: string;
71
+ position?: 'top' | 'bottom';
72
+ render: PanelRender | ZonedPanelRender[];
73
+ }
74
+ /**
75
+ * React-typed pinned-rows slot — either a panel slot (with React renderers)
76
+ * or a passthrough aggregation slot.
77
+ *
78
+ * @since 1.8.2
79
+ */
80
+ export type PinnedRowSlot = PanelSlot | AggregationSlot;
81
+ /**
82
+ * Pinned-rows config widened to accept React components as panel
83
+ * `render` functions inside `slots[]` and `customPanels[]`.
84
+ *
85
+ * Extends the core `PinnedRowsConfig` to accept React render functions
86
+ * returning `ReactNode` instead of only `HTMLElement | null`. Bridging to
87
+ * vanilla DOM is handled by the side-effect import
88
+ * `@toolbox-web/grid-react/features/pinned-rows`.
89
+ *
90
+ * @since 1.8.2
91
+ */
92
+ export type PinnedRowsConfig = Omit<CorePinnedRowsConfig, 'slots' | 'customPanels'> & {
93
+ slots?: PinnedRowSlot[];
94
+ customPanels?: Array<{
95
+ id: string;
96
+ position: PanelZone;
97
+ render: (ctx: PinnedRowsContext) => ReactNode;
98
+ }>;
99
+ };
100
+ /**
101
+ * Master-detail config widened to accept a React `detailRenderer`
102
+ * `(row, rowIndex) => ReactNode` in addition to the vanilla
103
+ * `(row, rowIndex) => HTMLElement | string` signature. Bridging to vanilla
104
+ * DOM is handled by the side-effect import
105
+ * `@toolbox-web/grid-react/features/master-detail`.
106
+ *
107
+ * Re-exported under the same name as the core type so React users see a
108
+ * single canonical `MasterDetailConfig` from `@toolbox-web/grid-react`.
109
+ *
110
+ * @since 1.8.2
111
+ */
112
+ export type MasterDetailConfig = Omit<CoreMasterDetailConfig, 'detailRenderer'> & {
113
+ detailRenderer?: CoreMasterDetailConfig['detailRenderer'] | ((row: Record<string, unknown>, rowIndex: number) => ReactNode);
45
114
  };
115
+ /**
116
+ * Responsive config widened to accept a React `cardRenderer`
117
+ * `(row, rowIndex, column?) => ReactNode` in addition to the vanilla
118
+ * `(row, rowIndex, column?) => HTMLElement` signature. Bridging to vanilla
119
+ * DOM is handled by the side-effect import
120
+ * `@toolbox-web/grid-react/features/responsive`.
121
+ *
122
+ * Re-exported under the same name as the core type so React users see a
123
+ * single canonical `ResponsivePluginConfig` from `@toolbox-web/grid-react`.
124
+ *
125
+ * @since 1.8.2
126
+ */
127
+ export type ResponsivePluginConfig<TRow = unknown> = Omit<CoreResponsivePluginConfig<TRow>, 'cardRenderer'> & {
128
+ cardRenderer?: CoreResponsivePluginConfig<TRow>['cardRenderer'] | ((row: TRow, rowIndex: number, column?: Parameters<NonNullable<CoreResponsivePluginConfig<TRow>['cardRenderer']>>[2]) => ReactNode);
129
+ };
130
+ /** @deprecated Use {@link FilterConfig} from `@toolbox-web/grid-react` instead. */
131
+ export type ReactFilterConfig<TRow = unknown> = FilterConfig<TRow>;
132
+ /** @deprecated Use {@link ColumnGroupDefinition} from `@toolbox-web/grid-react` instead. */
133
+ export type ReactColumnGroupDefinition = ColumnGroupDefinition;
134
+ /** @deprecated Use {@link GroupingColumnsConfig} from `@toolbox-web/grid-react` instead. */
135
+ export type ReactGroupingColumnsConfig = GroupingColumnsConfig;
136
+ /** @deprecated Use {@link GroupingRowsConfig} from `@toolbox-web/grid-react` instead. */
137
+ export type ReactGroupingRowsConfig = GroupingRowsConfig;
138
+ /** @deprecated Use {@link PanelRender} from `@toolbox-web/grid-react` instead. */
139
+ export type ReactPanelRender = PanelRender;
140
+ /** @deprecated Use {@link ZonedPanelRender} from `@toolbox-web/grid-react` instead. */
141
+ export type ReactZonedPanelRender = ZonedPanelRender;
142
+ /** @deprecated Use {@link PanelSlot} from `@toolbox-web/grid-react` instead. */
143
+ export type ReactPanelSlot = PanelSlot;
144
+ /** @deprecated Use {@link PinnedRowSlot} from `@toolbox-web/grid-react` instead. */
145
+ export type ReactPinnedRowSlot = PinnedRowSlot;
146
+ /** @deprecated Use {@link PinnedRowsConfig} from `@toolbox-web/grid-react` instead. */
147
+ export type ReactPinnedRowsConfig = PinnedRowsConfig;
46
148
  /**
47
149
  * Feature props for declarative plugin configuration.
48
150
  * Each prop lazily loads its corresponding plugin when used.
@@ -143,7 +245,7 @@ export interface FeatureProps<TRow = unknown> {
143
245
  * <DataGrid filtering={{ debounceMs: 200 }} />
144
246
  * ```
145
247
  */
146
- filtering?: boolean | ReactFilterConfig<TRow>;
248
+ filtering?: boolean | FilterConfig<TRow>;
147
249
  /**
148
250
  * Enable column drag-to-reorder.
149
251
  *
@@ -196,7 +298,7 @@ export interface FeatureProps<TRow = unknown> {
196
298
  * }} />
197
299
  * ```
198
300
  */
199
- groupingColumns?: boolean | ReactGroupingColumnsConfig;
301
+ groupingColumns?: boolean | GroupingColumnsConfig;
200
302
  /**
201
303
  * Enable horizontal column virtualization for wide grids.
202
304
  *
@@ -267,7 +369,7 @@ export interface FeatureProps<TRow = unknown> {
267
369
  * }} />
268
370
  * ```
269
371
  */
270
- groupingRows?: ReactGroupingRowsConfig;
372
+ groupingRows?: GroupingRowsConfig;
271
373
  /**
272
374
  * Enable pinned rows (aggregation/status bar).
273
375
  *
@@ -279,6 +381,15 @@ export interface FeatureProps<TRow = unknown> {
279
381
  * bottom: [{ type: 'aggregation', aggregator: 'sum' }],
280
382
  * }} />
281
383
  * ```
384
+ *
385
+ * @example React JSX in panel slots
386
+ * ```tsx
387
+ * <DataGrid pinnedRows={{
388
+ * slots: [
389
+ * { id: 'add-row', position: 'bottom', render: () => <AddRowPanel /> },
390
+ * ],
391
+ * }} />
392
+ * ```
282
393
  */
283
394
  pinnedRows?: boolean | PinnedRowsConfig;
284
395
  /**
@@ -340,7 +451,7 @@ export interface FeatureProps<TRow = unknown> {
340
451
  * }} />
341
452
  * ```
342
453
  */
343
- responsive?: boolean | ResponsivePluginConfig;
454
+ responsive?: boolean | ResponsivePluginConfig<TRow>;
344
455
  /**
345
456
  * Enable undo/redo for cell edits.
346
457
  * Requires editing to be enabled (will be auto-added).
@@ -1 +1 @@
1
- {"version":3,"file":"feature-props.d.ts","sourceRoot":"","sources":["../../../../libs/grid-react/src/lib/feature-props.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAGH,OAAO,KAAK,EACV,eAAe,EACf,0BAA0B,EAC1B,iBAAiB,EACjB,YAAY,EAEZ,YAAY,EACZ,qBAAqB,EACrB,kBAAkB,EAClB,kBAAkB,EAClB,eAAe,EACf,gBAAgB,EAChB,WAAW,EACX,WAAW,EACX,aAAa,EACb,sBAAsB,EACtB,iBAAiB,EACjB,gBAAgB,EAChB,eAAe,EACf,gBAAgB,EAChB,gBAAgB,EAChB,aAAa,EACb,UAAU,EACV,cAAc,EACd,gBAAgB,EACjB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AACvE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAC7E,OAAO,KAAK,EAAE,q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OAAO,CAAC;CACf;AAED;;;GAGG;AACH,MAAM,MAAM,eAAe,CAAC,IAAI,GAAG,OAAO,IAAI,YAAY,CAAC,IAAI,CAAC,GAAG,QAAQ,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toolbox-web/grid-react",
3
- "version": "1.8.1",
3
+ "version": "1.8.2",
4
4
  "description": "React adapter for @toolbox-web/grid data grid component",
5
5
  "type": "module",
6
6
  "main": "./index.js",