@toolbox-web/grid-react 1.8.0 → 1.8.1

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/index.js CHANGED
@@ -14,19 +14,19 @@ import { G as N } from "./chunks/grid-element-context-BU3WvNtM.js";
14
14
  import { G as Sr } from "./chunks/grid-detail-panel-BZFcujsZ.js";
15
15
  import { G as Er } from "./chunks/grid-responsive-card-CSZhDCoN.js";
16
16
  const q = /* @__PURE__ */ new Map();
17
- function Ce(t, r) {
17
+ function ye(t, r) {
18
18
  q.set(t, r);
19
19
  }
20
20
  function ke(t) {
21
21
  const r = {};
22
- return q.size === 0 || ve.forEach(t, (l) => {
23
- if (!we(l)) return;
24
- const n = l.type?.displayName;
25
- if (typeof n != "string") return;
26
- const c = q.get(n);
27
- if (!c) return;
28
- const f = c(l);
29
- f && Object.assign(r, f);
22
+ return q.size === 0 || ve.forEach(t, (f) => {
23
+ if (!we(f)) return;
24
+ const n = f.type, c = typeof n == "string" ? void 0 : n?.displayName;
25
+ if (typeof c != "string") return;
26
+ const d = q.get(c);
27
+ if (!d) return;
28
+ const l = d(f);
29
+ l && Object.assign(r, l);
30
30
  }), r;
31
31
  }
32
32
  function Ie(t) {
@@ -39,13 +39,13 @@ const Le = /* @__PURE__ */ new Set(["string", "number", "boolean", "date", "date
39
39
  function Ae(t) {
40
40
  const r = t.lastIndexOf(":");
41
41
  if (r > 0) {
42
- const l = t.slice(r + 1).toLowerCase();
43
- if (Le.has(l)) {
42
+ const f = t.slice(r + 1).toLowerCase();
43
+ if (Le.has(f)) {
44
44
  const n = t.slice(0, r);
45
45
  return {
46
46
  field: n,
47
47
  header: ie(n),
48
- type: l
48
+ type: f
49
49
  };
50
50
  }
51
51
  }
@@ -58,7 +58,7 @@ function Me(t) {
58
58
  return t.map((r) => typeof r == "string" ? Ae(r) : r);
59
59
  }
60
60
  function Oe(t, r) {
61
- return r ? t.map((l) => ({ ...r, ...l })) : t;
61
+ return r ? t.map((f) => ({ ...r, ...f })) : t;
62
62
  }
63
63
  function or(t) {
64
64
  return t.some((r) => typeof r == "string");
@@ -130,30 +130,30 @@ class He extends be {
130
130
  return this.state.failed ? null : this.props.children;
131
131
  }
132
132
  }
133
- const Ke = le(function(r, l) {
134
- const n = P(/* @__PURE__ */ new Map()), [, c] = Re((C) => C + 1, 0), f = P(!1), d = P(0), u = P(0), h = P(!1), g = P(!1), v = () => {
135
- f.current || (f.current = !0, queueMicrotask(() => {
136
- f.current = !1, !g.current && (oe(c), w());
133
+ const Ke = le(function(r, f) {
134
+ const n = P(/* @__PURE__ */ new Map()), [, c] = Re((y) => y + 1, 0), d = P(!1), l = P(0), u = P(0), h = P(!1), g = P(!1), v = () => {
135
+ d.current || (d.current = !0, queueMicrotask(() => {
136
+ d.current = !1, !g.current && (oe(c), w());
137
137
  }));
138
138
  }, w = () => {
139
- d.current || (d.current = requestAnimationFrame(() => {
140
- d.current = 0, !g.current && c();
139
+ l.current || (l.current = requestAnimationFrame(() => {
140
+ l.current = 0, !g.current && c();
141
141
  }));
142
- }, R = (C, o) => {
143
- console.error(`[grid-react] Portal "${C}" crashed; dropping.`, o), n.current.delete(C), w();
142
+ }, R = (y, o) => {
143
+ console.error(`[grid-react] Portal "${y}" crashed; dropping.`, o), n.current.delete(y), w();
144
144
  };
145
145
  fe(
146
- l,
146
+ f,
147
147
  () => ({
148
- renderPortal(C, o, m) {
149
- g.current || (n.current.set(C, { container: o, element: m }), v());
148
+ renderPortal(y, o, m) {
149
+ g.current || (n.current.set(y, { container: o, element: m }), v());
150
150
  },
151
- removePortal(C, o) {
151
+ removePortal(y, o) {
152
152
  if (g.current) {
153
- n.current.delete(C);
153
+ n.current.delete(y);
154
154
  return;
155
155
  }
156
- n.current.delete(C) && (u.current > 0 ? h.current = !0 : o ? oe(c) : v());
156
+ n.current.delete(y) && (u.current > 0 ? h.current = !0 : o ? oe(c) : v());
157
157
  },
158
158
  beginBatch() {
159
159
  u.current++;
@@ -166,7 +166,7 @@ const Ke = le(function(r, l) {
166
166
  n.current.clear();
167
167
  return;
168
168
  }
169
- n.current.size > 0 && (n.current.clear(), d.current && (cancelAnimationFrame(d.current), d.current = 0), v());
169
+ n.current.size > 0 && (n.current.clear(), l.current && (cancelAnimationFrame(l.current), l.current = 0), v());
170
170
  }
171
171
  }),
172
172
  // forceRender is stable (useReducer dispatch), refs are stable
@@ -174,30 +174,30 @@ const Ke = le(function(r, l) {
174
174
  []
175
175
  ), de(() => {
176
176
  g.current = !1;
177
- const C = n.current;
177
+ const y = n.current;
178
178
  return () => {
179
- g.current = !0, d.current && (cancelAnimationFrame(d.current), d.current = 0), C.clear();
179
+ g.current = !0, l.current && (cancelAnimationFrame(l.current), l.current = 0), y.clear();
180
180
  };
181
181
  }, []);
182
182
  const G = [];
183
183
  let x = null;
184
- for (const [C, { container: o, element: m }] of n.current) {
184
+ for (const [y, { container: o, element: m }] of n.current) {
185
185
  if (!o.isConnected) {
186
- (x ??= []).push(C);
186
+ (x ??= []).push(y);
187
187
  continue;
188
188
  }
189
189
  G.push(
190
190
  Ee(
191
- /* @__PURE__ */ S(He, { portalKey: C, onError: R, children: m }),
191
+ /* @__PURE__ */ S(He, { portalKey: y, onError: R, children: m }),
192
192
  o,
193
- C
193
+ y
194
194
  )
195
195
  );
196
196
  }
197
197
  if (x) {
198
- const C = x;
198
+ const y = x;
199
199
  queueMicrotask(() => {
200
- for (const o of C) n.current.delete(o);
200
+ for (const o of y) n.current.delete(o);
201
201
  });
202
202
  }
203
203
  return /* @__PURE__ */ S(U, { children: G });
@@ -207,19 +207,19 @@ const Ke = le(function(r, l) {
207
207
  };
208
208
  function _e(t) {
209
209
  const r = new Set(t);
210
- for (const l of t) {
211
- const n = Be[l];
210
+ for (const f of t) {
211
+ const n = Be[f];
212
212
  if (n)
213
213
  for (const c of n)
214
214
  r.has(c) || console.warn(
215
- `[DataGrid] Feature "${l}" requires "${c}" to be enabled. Add the "${c}" prop to your DataGrid.`
215
+ `[DataGrid] Feature "${f}" requires "${c}" to be enabled. Add the "${c}" prop to your DataGrid.`
216
216
  );
217
217
  }
218
218
  }
219
219
  function qe(t) {
220
220
  const r = [];
221
- for (const [l, n] of Object.entries(t))
222
- n === void 0 || n === !1 || r.push(l);
221
+ for (const [f, n] of Object.entries(t))
222
+ n === void 0 || n === !1 || r.push(f);
223
223
  return _e(r), Te(t);
224
224
  }
225
225
  let se = !1, _ = null;
@@ -233,7 +233,7 @@ function Ue(t) {
233
233
  let r = ce.get(t);
234
234
  return r === void 0 && (r = ++Ve, ce.set(t, r)), r;
235
235
  }
236
- Ce("GridDetailPanel", (t) => {
236
+ ye("GridDetailPanel", (t) => {
237
237
  const r = t.props;
238
238
  return {
239
239
  masterDetail: {
@@ -243,18 +243,18 @@ Ce("GridDetailPanel", (t) => {
243
243
  }
244
244
  };
245
245
  });
246
- Ce("GridResponsiveCard", () => ({
246
+ ye("GridResponsiveCard", () => ({
247
247
  // GridResponsiveCard only carries cardRowHeight; breakpoint is set via the
248
248
  // responsive prop. Enable the plugin with defaults — user can override.
249
249
  responsive: !0
250
250
  }));
251
- const ur = le(function(r, l) {
251
+ const ur = le(function(r, f) {
252
252
  const {
253
253
  // Core props
254
254
  rows: n,
255
255
  gridConfig: c,
256
- columns: f,
257
- columnDefaults: d,
256
+ columns: d,
257
+ columnDefaults: l,
258
258
  fitMode: u,
259
259
  sortable: h,
260
260
  filterable: g,
@@ -263,16 +263,16 @@ const ur = le(function(r, l) {
263
263
  customStyles: R,
264
264
  className: G,
265
265
  style: x,
266
- children: C,
266
+ children: y,
267
267
  // Plugin props
268
268
  plugins: o,
269
269
  // SSR mode (deprecated - see SSRProps)
270
270
  ssr: m,
271
271
  // Legacy event handlers
272
- onRowsChange: y,
272
+ onRowsChange: C,
273
273
  // Feature props and event props are in ...rest
274
274
  ...p
275
- } = r, a = P(null), M = P(null), J = P(!1), Y = T(ze), j = T($e), ye = F(() => te().map((e) => {
275
+ } = r, a = P(null), M = P(null), J = P(!1), Y = T(ze), j = T($e), Ce = F(() => te().map((e) => {
276
276
  const i = p[e];
277
277
  if (i === void 0) return "";
278
278
  let s;
@@ -289,7 +289,7 @@ const ur = le(function(r, l) {
289
289
  E !== void 0 && (e[s] = E);
290
290
  }
291
291
  return e;
292
- }, [ye]), Q = F(() => ke(C), [C]), X = F(() => {
292
+ }, [Ce]), Q = F(() => ke(y), [y]), X = F(() => {
293
293
  const e = c?.features, i = {};
294
294
  for (const [s, E] of Object.entries(Q))
295
295
  e && s in e && e[s] !== void 0 && e[s] !== !1 || (i[s] = E);
@@ -300,7 +300,7 @@ const ur = le(function(r, l) {
300
300
  return [...o, ...i];
301
301
  }
302
302
  return z;
303
- }, [o, z]), I = F(() => f && Oe(Me(f), d), [f, d]), L = F(() => {
303
+ }, [o, z]), I = F(() => d && Oe(Me(d), l), [d, l]), L = F(() => {
304
304
  const e = Fe(c), i = {};
305
305
  if (h !== void 0 && (i.sortable = h), g !== void 0 && (i.filterable = g), v !== void 0 && (i.selectable = v), j) {
306
306
  const s = e?.icons || c?.icons || {};
@@ -353,10 +353,10 @@ const ur = le(function(r, l) {
353
353
  const e = a.current;
354
354
  if (!e) return;
355
355
  const i = [];
356
- return y && i.push(e.on("rows-change", (s) => y(s.rows))), () => {
356
+ return C && i.push(e.on("rows-change", (s) => C(s.rows))), () => {
357
357
  i.forEach((s) => s());
358
358
  };
359
- }, [y]);
359
+ }, [C]);
360
360
  const ee = F(() => Object.keys(B).filter((e) => typeof p[e] == "function").sort().join("|"), [p]), re = P({});
361
361
  for (const e of Object.keys(B))
362
362
  re.current[e] = p[e];
@@ -374,7 +374,7 @@ const ur = le(function(r, l) {
374
374
  i.forEach((s) => s());
375
375
  };
376
376
  }, [ee]), fe(
377
- l,
377
+ f,
378
378
  () => ({
379
379
  get element() {
380
380
  return a.current;
@@ -436,18 +436,18 @@ const ur = le(function(r, l) {
436
436
  class: G,
437
437
  style: x
438
438
  },
439
- /* @__PURE__ */ S(N.Provider, { value: a, children: C })
439
+ /* @__PURE__ */ S(N.Provider, { value: a, children: y })
440
440
  )
441
441
  ] });
442
442
  });
443
443
  function ar(t) {
444
444
  const {
445
445
  field: r,
446
- header: l,
446
+ header: f,
447
447
  type: n,
448
448
  editable: c,
449
- sortable: f,
450
- resizable: d,
449
+ sortable: d,
450
+ resizable: l,
451
451
  width: u,
452
452
  minWidth: h,
453
453
  hidden: g,
@@ -456,22 +456,22 @@ function ar(t) {
456
456
  editor: R,
457
457
  options: G,
458
458
  multi: x,
459
- format: C
459
+ format: y
460
460
  } = t, o = P(null), m = D(
461
461
  (a) => {
462
462
  o.current = a, a && (w && Se(a, w), R && xe(a, R));
463
463
  },
464
464
  [w, R]
465
- ), y = typeof u == "number" ? `${u}px` : u, p = {
465
+ ), C = typeof u == "number" ? `${u}px` : u, p = {
466
466
  field: r,
467
467
  ref: m
468
468
  };
469
- return l !== void 0 && (p.header = l), n !== void 0 && (p.type = n), c !== void 0 && (p.editable = c), f !== void 0 && (p.sortable = f), d !== void 0 && (p.resizable = d), y !== void 0 && (p.width = y), h !== void 0 && (p["min-width"] = h), g !== void 0 && (p.hidden = g), v !== void 0 && (p["lock-visible"] = v), x !== void 0 && (p.multi = x), C && (p["data-has-format"] = "true"), G && (p["data-has-options"] = "true"), /* @__PURE__ */ S("tbw-grid-column", { ...p });
469
+ return f !== void 0 && (p.header = f), n !== void 0 && (p.type = n), c !== void 0 && (p.editable = c), d !== void 0 && (p.sortable = d), l !== void 0 && (p.resizable = l), C !== void 0 && (p.width = C), h !== void 0 && (p["min-width"] = h), g !== void 0 && (p.hidden = g), v !== void 0 && (p["lock-visible"] = v), x !== void 0 && (p.multi = x), y && (p["data-has-format"] = "true"), G && (p["data-has-options"] = "true"), /* @__PURE__ */ S("tbw-grid-column", { ...p });
470
470
  }
471
- function lr({ id: t, order: r = 100, children: l }) {
472
- const n = ge(), c = t ?? `tbw-header-content-${n}`, f = T(N), [d, u] = O(null), h = P(null);
471
+ function lr({ id: t, order: r = 100, children: f }) {
472
+ const n = ge(), c = t ?? `tbw-header-content-${n}`, d = T(N), [l, u] = O(null), h = P(null);
473
473
  return b(() => {
474
- const g = f?.current;
474
+ const g = d?.current;
475
475
  if (!g) return;
476
476
  const v = h;
477
477
  let w = !1;
@@ -492,19 +492,19 @@ function lr({ id: t, order: r = 100, children: l }) {
492
492
  })(), () => {
493
493
  w = !0, g.unregisterHeaderContent?.(c), v.current && (pe(v.current, { sync: !0 }), v.current = null), u(null);
494
494
  };
495
- }, [f, c, r]), b(() => {
496
- if (!d) return;
497
- const g = f?.current ?? void 0;
498
- h.current = me(d, l, h.current ?? void 0, g);
499
- }, [l, d, f]), null;
495
+ }, [d, c, r]), b(() => {
496
+ if (!l) return;
497
+ const g = d?.current ?? void 0;
498
+ h.current = me(l, f, h.current ?? void 0, g);
499
+ }, [f, l, d]), null;
500
500
  }
501
501
  function fr({ children: t }) {
502
502
  return /* @__PURE__ */ S("tbw-grid-tool-buttons", { children: t });
503
503
  }
504
- function dr({ id: t, order: r = 100, children: l }) {
505
- const n = ge(), c = t ?? `tbw-toolbar-content-${n}`, f = T(N), [d, u] = O(null), h = P(null);
504
+ function dr({ id: t, order: r = 100, children: f }) {
505
+ const n = ge(), c = t ?? `tbw-toolbar-content-${n}`, d = T(N), [l, u] = O(null), h = P(null);
506
506
  return b(() => {
507
- const g = f?.current;
507
+ const g = d?.current;
508
508
  if (!g) return;
509
509
  const v = h;
510
510
  let w = !1;
@@ -525,37 +525,37 @@ function dr({ id: t, order: r = 100, children: l }) {
525
525
  })(), () => {
526
526
  w = !0, g.unregisterToolbarContent?.(c), v.current && (pe(v.current, { sync: !0 }), v.current = null), u(null);
527
527
  };
528
- }, [f, c, r]), b(() => {
529
- if (!d) return;
530
- const g = f?.current ?? void 0;
531
- h.current = me(d, l, h.current ?? void 0, g);
532
- }, [l, d, f]), null;
528
+ }, [d, c, r]), b(() => {
529
+ if (!l) return;
530
+ const g = d?.current ?? void 0;
531
+ h.current = me(l, f, h.current ?? void 0, g);
532
+ }, [f, l, d]), null;
533
533
  }
534
- const gr = ({ icons: t, defaults: r, children: l }) => {
535
- let n = l;
534
+ const gr = ({ icons: t, defaults: r, children: f }) => {
535
+ let n = f;
536
536
  return r && (n = /* @__PURE__ */ S(je, { defaults: r, children: n })), t && (n = /* @__PURE__ */ S(Ne, { icons: t, children: n })), /* @__PURE__ */ S(U, { children: n });
537
537
  };
538
538
  function pr(t) {
539
- const r = P(null), [l, n] = O(!1), [c, f] = O(null), d = P(null), u = D(() => t ? (d.current ??= document.querySelector(t), d.current) : r.current?.element ?? null, [t]);
539
+ const r = P(null), [f, n] = O(!1), [c, d] = O(null), l = P(null), u = D(() => t ? (l.current ??= document.querySelector(t), l.current) : r.current?.element ?? null, [t]);
540
540
  b(() => {
541
541
  let o = !0;
542
542
  return (async () => {
543
543
  try {
544
544
  if (t) {
545
- const y = document.querySelector(t);
546
- if (!y) return;
547
- if (d.current = y, await y.ready?.(), o) {
545
+ const C = document.querySelector(t);
546
+ if (!C) return;
547
+ if (l.current = C, await C.ready?.(), o) {
548
548
  n(!0);
549
- const p = await y.getConfig?.();
550
- o && p && f(p);
549
+ const p = await C.getConfig?.();
550
+ o && p && d(p);
551
551
  }
552
552
  } else {
553
- const y = r.current;
554
- if (!y) return;
555
- if (await y.ready?.(), o) {
553
+ const C = r.current;
554
+ if (!C) return;
555
+ if (await C.ready?.(), o) {
556
556
  n(!0);
557
- const p = await y.getConfig?.();
558
- o && p && f(p);
557
+ const p = await C.getConfig?.();
558
+ o && p && d(p);
559
559
  }
560
560
  }
561
561
  } catch {
@@ -585,8 +585,8 @@ function pr(t) {
585
585
  await m.toggleGroup?.(o);
586
586
  return;
587
587
  }
588
- const y = r.current;
589
- y && await y.toggleGroup?.(o);
588
+ const C = r.current;
589
+ C && await C.toggleGroup?.(o);
590
590
  },
591
591
  [u]
592
592
  ), w = D(
@@ -597,9 +597,9 @@ function pr(t) {
597
597
  [u]
598
598
  ), G = D(
599
599
  (o, m) => {
600
- const y = u();
601
- if (y) {
602
- y.registerStyles?.(o, m);
600
+ const C = u();
601
+ if (C) {
602
+ C.registerStyles?.(o, m);
603
603
  return;
604
604
  }
605
605
  r.current?.registerStyles?.(o, m);
@@ -615,11 +615,11 @@ function pr(t) {
615
615
  r.current?.unregisterStyles?.(o);
616
616
  },
617
617
  [u]
618
- ), C = D(() => c?.columns ? c.columns.filter((o) => !o.hidden) : [], [c]);
618
+ ), y = D(() => c?.columns ? c.columns.filter((o) => !o.hidden) : [], [c]);
619
619
  return {
620
620
  ref: r,
621
621
  element: u(),
622
- isReady: l,
622
+ isReady: f,
623
623
  config: c,
624
624
  getConfig: h,
625
625
  forceLayout: g,
@@ -628,21 +628,21 @@ function pr(t) {
628
628
  getPluginByName: R,
629
629
  registerStyles: G,
630
630
  unregisterStyles: x,
631
- getVisibleColumns: C
631
+ getVisibleColumns: y
632
632
  };
633
633
  }
634
634
  function mr(t, r = {}) {
635
- const { open: l = !0, gridElement: n } = r, c = T(N);
635
+ const { open: f = !0, gridElement: n } = r, c = T(N);
636
636
  b(() => {
637
- if (!l) return;
638
- const f = t.current;
639
637
  if (!f) return;
640
- const d = n ?? f.closest("tbw-grid, [data-tbw-grid]") ?? c?.current ?? null;
641
- if (d)
642
- return d.registerExternalFocusContainer?.(f), () => {
643
- d.unregisterExternalFocusContainer?.(f);
638
+ const d = t.current;
639
+ if (!d) return;
640
+ const l = n ?? d.closest("tbw-grid, [data-tbw-grid]") ?? c?.current ?? null;
641
+ if (l)
642
+ return l.registerExternalFocusContainer?.(d), () => {
643
+ l.unregisterExternalFocusContainer?.(d);
644
644
  };
645
- }, [l, n, c, t]);
645
+ }, [f, n, c, t]);
646
646
  }
647
647
  export {
648
648
  ur as DataGrid,
@@ -661,7 +661,7 @@ export {
661
661
  or as hasColumnShorthands,
662
662
  Me as normalizeColumns,
663
663
  Ae as parseColumnShorthand,
664
- Ce as registerChildFeatureDetector,
664
+ ye as registerChildFeatureDetector,
665
665
  Pr as registerEditorMountHook,
666
666
  vr as registerFeaturePropKey,
667
667
  Rr as registerPostMountRefresh,
@@ -1 +1 @@
1
- {"version":3,"file":"child-feature-detector.d.ts","sourceRoot":"","sources":["../../../../libs/grid-react/src/lib/child-feature-detector.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAA4B,KAAK,YAAY,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAEpF;;;;;;GAMG;AACH,MAAM,MAAM,oBAAoB,CAAC,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI,CACtE,OAAO,EAAE,YAAY,KAClB,OAAO,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC;AAIpC;;;;;;GAMG;AACH,wBAAgB,4BAA4B,CAAC,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC9E,WAAW,EAAE,MAAM,EACnB,QAAQ,EAAE,oBAAoB,CAAC,SAAS,CAAC,GACxC,IAAI,CAEN;AAED;;;;;;;GAOG;AACH,wBAAgB,mBAAmB,CAAC,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,QAAQ,EAAE,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC,CAehH;AAED;;;;GAIG;AACH,wBAAgB,0BAA0B,IAAI,IAAI,CAEjD"}
1
+ {"version":3,"file":"child-feature-detector.d.ts","sourceRoot":"","sources":["../../../../libs/grid-react/src/lib/child-feature-detector.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAA4B,KAAK,YAAY,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAEpF;;;;;;GAMG;AACH,MAAM,MAAM,oBAAoB,CAAC,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI,CACtE,OAAO,EAAE,YAAY,KAClB,OAAO,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC;AAIpC;;;;;;GAMG;AACH,wBAAgB,4BAA4B,CAAC,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC9E,WAAW,EAAE,MAAM,EACnB,QAAQ,EAAE,oBAAoB,CAAC,SAAS,CAAC,GACxC,IAAI,CAEN;AAED;;;;;;;GAOG;AACH,wBAAgB,mBAAmB,CAAC,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,QAAQ,EAAE,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC,CAoBhH;AAED;;;;GAIG;AACH,wBAAgB,0BAA0B,IAAI,IAAI,CAEjD"}
@@ -16,7 +16,7 @@ import { FeatureConfig } from '@toolbox-web/grid/all';
16
16
  * <DataGrid selection="range" filtering={{ debounceMs: 200 }} />
17
17
  * ```
18
18
  */
19
- export { clearFeatureRegistry, createPluginFromFeature, getFeatureFactory, getRegisteredFeatures, isFeatureRegistered, registerFeature, } from '@toolbox-web/grid/features/registry';
19
+ export { clearFeatureRegistry, createPluginFromFeature, getFeatureFactory, getRegisteredFeatures, isFeatureRegistered, registerFeature } from '@toolbox-web/grid/features/registry';
20
20
  export type { PluginFactory } from '@toolbox-web/grid/features/registry';
21
21
  export type FeatureName = Exclude<keyof FeatureConfig, '__brand'>;
22
22
  //# sourceMappingURL=feature-registry.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"feature-registry.d.ts","sourceRoot":"","sources":["../../../../libs/grid-react/src/lib/feature-registry.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAGH,OAAO,EACL,oBAAoB,EACpB,uBAAuB,EACvB,iBAAiB,EACjB,qBAAqB,EACrB,mBAAmB,EACnB,eAAe,GAChB,MAAM,qCAAqC,CAAC;AAE7C,YAAY,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAEzE;;;;;;;;;GASG;AACH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAC3D,MAAM,MAAM,WAAW,GAAG,OAAO,CAAC,MAAM,aAAa,EAAE,SAAS,CAAC,CAAC"}
1
+ {"version":3,"file":"feature-registry.d.ts","sourceRoot":"","sources":["../../../../libs/grid-react/src/lib/feature-registry.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAGH,OAAO,EACH,oBAAoB,EACpB,uBAAuB,EACvB,iBAAiB,EACjB,qBAAqB,EACrB,mBAAmB,EACnB,eAAe,EAClB,MAAM,qCAAqC,CAAC;AAE7C,YAAY,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAEzE;;;;;;;;;GASG;AACH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAQ3D,OAAO,kCAAkC,CAAC;AAC1C,MAAM,MAAM,WAAW,GAAG,OAAO,CAAC,MAAM,aAAa,EAAE,SAAS,CAAC,CAAC"}
@@ -0,0 +1,26 @@
1
+ export type { _Augmentation as _ClipboardAugmentation } from '@toolbox-web/grid/features/clipboard';
2
+ export type { _Augmentation as _ColumnVirtualizationAugmentation } from '@toolbox-web/grid/features/column-virtualization';
3
+ export type { _Augmentation as _ContextMenuAugmentation } from '@toolbox-web/grid/features/context-menu';
4
+ export type { _Augmentation as _EditingAugmentation } from '@toolbox-web/grid/features/editing';
5
+ export type { _Augmentation as _ExportAugmentation } from '@toolbox-web/grid/features/export';
6
+ export type { _Augmentation as _FilteringAugmentation } from '@toolbox-web/grid/features/filtering';
7
+ export type { _Augmentation as _GroupingColumnsAugmentation } from '@toolbox-web/grid/features/grouping-columns';
8
+ export type { _Augmentation as _GroupingRowsAugmentation } from '@toolbox-web/grid/features/grouping-rows';
9
+ export type { _Augmentation as _MasterDetailAugmentation } from '@toolbox-web/grid/features/master-detail';
10
+ export type { _Augmentation as _MultiSortAugmentation } from '@toolbox-web/grid/features/multi-sort';
11
+ export type { _Augmentation as _PinnedColumnsAugmentation } from '@toolbox-web/grid/features/pinned-columns';
12
+ export type { _Augmentation as _PinnedRowsAugmentation } from '@toolbox-web/grid/features/pinned-rows';
13
+ export type { _Augmentation as _PivotAugmentation } from '@toolbox-web/grid/features/pivot';
14
+ export type { _Augmentation as _PrintAugmentation } from '@toolbox-web/grid/features/print';
15
+ export type { _Augmentation as _ReorderColumnsAugmentation } from '@toolbox-web/grid/features/reorder-columns';
16
+ export type { _Augmentation as _ReorderRowsAugmentation } from '@toolbox-web/grid/features/reorder-rows';
17
+ export type { _Augmentation as _ResponsiveAugmentation } from '@toolbox-web/grid/features/responsive';
18
+ export type { _Augmentation as _RowDragDropAugmentation } from '@toolbox-web/grid/features/row-drag-drop';
19
+ export type { _Augmentation as _SelectionAugmentation } from '@toolbox-web/grid/features/selection';
20
+ export type { _Augmentation as _ServerSideAugmentation } from '@toolbox-web/grid/features/server-side';
21
+ export type { _Augmentation as _StickyRowsAugmentation } from '@toolbox-web/grid/features/sticky-rows';
22
+ export type { _Augmentation as _TooltipAugmentation } from '@toolbox-web/grid/features/tooltip';
23
+ export type { _Augmentation as _TreeAugmentation } from '@toolbox-web/grid/features/tree';
24
+ export type { _Augmentation as _UndoRedoAugmentation } from '@toolbox-web/grid/features/undo-redo';
25
+ export type { _Augmentation as _VisibilityAugmentation } from '@toolbox-web/grid/features/visibility';
26
+ //# sourceMappingURL=feature-augmentations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"feature-augmentations.d.ts","sourceRoot":"","sources":["../../../../../libs/grid-react/src/lib/internal/feature-augmentations.ts"],"names":[],"mappings":"AAgBA,YAAY,EAAE,aAAa,IAAI,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AACpG,YAAY,EAAE,aAAa,IAAI,iCAAiC,EAAE,MAAM,kDAAkD,CAAC;AAC3H,YAAY,EAAE,aAAa,IAAI,wBAAwB,EAAE,MAAM,yCAAyC,CAAC;AACzG,YAAY,EAAE,aAAa,IAAI,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAChG,YAAY,EAAE,aAAa,IAAI,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AAC9F,YAAY,EAAE,aAAa,IAAI,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AACpG,YAAY,EAAE,aAAa,IAAI,4BAA4B,EAAE,MAAM,6CAA6C,CAAC;AACjH,YAAY,EAAE,aAAa,IAAI,yBAAyB,EAAE,MAAM,0CAA0C,CAAC;AAC3G,YAAY,EAAE,aAAa,IAAI,yBAAyB,EAAE,MAAM,0CAA0C,CAAC;AAC3G,YAAY,EAAE,aAAa,IAAI,sBAAsB,EAAE,MAAM,uCAAuC,CAAC;AACrG,YAAY,EAAE,aAAa,IAAI,0BAA0B,EAAE,MAAM,2CAA2C,CAAC;AAC7G,YAAY,EAAE,aAAa,IAAI,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AACvG,YAAY,EAAE,aAAa,IAAI,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAC5F,YAAY,EAAE,aAAa,IAAI,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAC5F,YAAY,EAAE,aAAa,IAAI,2BAA2B,EAAE,MAAM,4CAA4C,CAAC;AAC/G,YAAY,EAAE,aAAa,IAAI,wBAAwB,EAAE,MAAM,yCAAyC,CAAC;AACzG,YAAY,EAAE,aAAa,IAAI,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AACtG,YAAY,EAAE,aAAa,IAAI,wBAAwB,EAAE,MAAM,0CAA0C,CAAC;AAC1G,YAAY,EAAE,aAAa,IAAI,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AACpG,YAAY,EAAE,aAAa,IAAI,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AACvG,YAAY,EAAE,aAAa,IAAI,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AACvG,YAAY,EAAE,aAAa,IAAI,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAChG,YAAY,EAAE,aAAa,IAAI,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AAC1F,YAAY,EAAE,aAAa,IAAI,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AACnG,YAAY,EAAE,aAAa,IAAI,uBAAuB,EAAE,MAAM,uCAAuC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toolbox-web/grid-react",
3
- "version": "1.8.0",
3
+ "version": "1.8.1",
4
4
  "description": "React adapter for @toolbox-web/grid data grid component",
5
5
  "type": "module",
6
6
  "main": "./index.js",