impact-nova 2.1.0-alpha.9 → 2.2.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.
Files changed (75) hide show
  1. package/README.md +6 -0
  2. package/dist/components/data/ag-grid-react/cell-renderers/editors/split-cell-editor.js +73 -94
  3. package/dist/components/data/ag-grid-react/cell-renderers/editors/split-cell-focus.d.ts +53 -0
  4. package/dist/components/data/ag-grid-react/cell-renderers/editors/split-cell-focus.js +98 -0
  5. package/dist/components/data/ag-grid-react/headers/column-menu/column-settings-menu.js +15 -13
  6. package/dist/components/data/ag-grid-react/headers/custom-header.js +56 -58
  7. package/dist/components/data/ag-grid-react/headers/custom-inner-header-group.d.ts +12 -0
  8. package/dist/components/data/ag-grid-react/headers/custom-inner-header-group.js +31 -0
  9. package/dist/components/data/ag-grid-react/headers/header-search-active-state.d.ts +10 -0
  10. package/dist/components/data/ag-grid-react/headers/header-search-active-state.js +38 -0
  11. package/dist/components/data/ag-grid-react/index.js +166 -163
  12. package/dist/components/data/ag-grid-react/notify-column-indicator-sync.d.ts +3 -4
  13. package/dist/components/data/ag-grid-react/theme.js +0 -2
  14. package/dist/components/data/data-table/data-table-column-list.js +1 -1
  15. package/dist/components/data/data-table/data-table-saved-views.js +1 -1
  16. package/dist/components/data/expandable-list-item/expandable-list-item-attributes.js +7 -6
  17. package/dist/components/data/nested-list/components/SortableItem.d.ts +3 -1
  18. package/dist/components/data/nested-list/components/SortableItem.js +111 -109
  19. package/dist/components/data-display/calendar/calendar-footer-emphasis.d.ts +28 -0
  20. package/dist/components/data-display/calendar/calendar-footer-emphasis.js +8 -0
  21. package/dist/components/data-display/calendar/calendar-footer.d.ts +4 -1
  22. package/dist/components/data-display/calendar/calendar-footer.js +60 -38
  23. package/dist/components/data-display/calendar/calendar.js +86 -82
  24. package/dist/components/data-display/calendar/calendar.types.d.ts +2 -0
  25. package/dist/components/data-display/calendar/use-calendar-state.d.ts +3 -0
  26. package/dist/components/feedback/tooltip/tab-tooltip-render.js +3 -2
  27. package/dist/components/flows/filter-strip/filter-strip.js +36 -29
  28. package/dist/components/flows/filter-strip/filter-summary.js +2 -2
  29. package/dist/components/forms/date-picker/date-input-behavior.d.ts +118 -0
  30. package/dist/components/forms/date-picker/date-input-behavior.js +164 -0
  31. package/dist/components/forms/date-picker/date-picker.js +202 -138
  32. package/dist/components/forms/date-picker/date-range-picker.js +302 -215
  33. package/dist/components/forms/date-picker/month-picker.js +160 -119
  34. package/dist/components/forms/date-picker/month-range-picker.js +302 -245
  35. package/dist/components/forms/date-picker/multi-date-picker.js +94 -80
  36. package/dist/components/forms/date-picker/multi-month-picker.js +97 -83
  37. package/dist/components/forms/date-picker/multi-week-picker.js +107 -93
  38. package/dist/components/forms/date-picker/week-picker.js +230 -140
  39. package/dist/components/forms/date-picker/week-range-picker.js +332 -226
  40. package/dist/components/forms/file-upload/file-upload.js +312 -174
  41. package/dist/components/forms/file-upload/file-upload.types.d.ts +17 -2
  42. package/dist/components/layout/dynamic-layout/dynamic-layout.variants.d.ts +1 -1
  43. package/dist/components/layout/header/header.js +45 -38
  44. package/dist/components/layout/horizontal-scroller/index.d.ts +1 -0
  45. package/dist/components/layout/horizontal-scroller/index.js +3 -2
  46. package/dist/components/ui/local-raster-icons/assets/excel-error-icon.webp.js +4 -0
  47. package/dist/components/ui/local-raster-icons/assets/file-upload-error.webp.js +4 -0
  48. package/dist/components/ui/local-raster-icons/rasterIcons.d.ts +2 -0
  49. package/dist/components/ui/local-raster-icons/rasterIcons.js +32 -22
  50. package/dist/components/ui/show.d.ts +10 -0
  51. package/dist/components/ui/show.js +7 -0
  52. package/dist/components/ui/show.types.d.ts +5 -0
  53. package/dist/i18n/defaultMessages.d.ts +17 -0
  54. package/dist/i18n/defaultMessages.js +29 -17
  55. package/dist/i18n/index.d.ts +1 -1
  56. package/dist/i18n/locales/de.js +12 -0
  57. package/dist/i18n/locales/es.js +12 -0
  58. package/dist/i18n/locales/hi.js +12 -0
  59. package/dist/i18n/locales/kn.js +12 -0
  60. package/dist/impact-nova-base.scss +6 -2
  61. package/dist/impact-nova-components.css +141 -16
  62. package/dist/impact-nova-tokens.scss +12 -0
  63. package/dist/impact-nova.css +1 -1
  64. package/dist/index.d.ts +2 -0
  65. package/dist/index.js +273 -271
  66. package/dist/lib/utils.js +40 -24
  67. package/dist/llms/rules/ag-grid.js +1 -1
  68. package/dist/llms/rules/installation.js +1 -1
  69. package/dist/llms/rules/requirements.js +1 -1
  70. package/dist/tailwind.config.js +36 -4
  71. package/dist/theme/tailwind-colors.js +3 -1
  72. package/package.json +15 -6
  73. package/tailwind.config.d.ts +3 -0
  74. package/dist/components/data/ag-grid-react/headers/custom-header-group.d.ts +0 -10
  75. package/dist/components/data/ag-grid-react/headers/custom-header-group.js +0 -58
@@ -1,69 +1,70 @@
1
- import { jsxs as be, jsx as v } from "react/jsx-runtime";
2
- import { lazy as xe, useRef as S, useState as T, useEffect as $, useCallback as f, useMemo as y, Suspense as Se } from "react";
3
- import { ModuleRegistry as Fe, AllCommunityModule as Me, ValidationModule as Ee } from "ag-grid-community";
4
- import { AllEnterpriseModule as Ae } from "ag-grid-enterprise";
5
- import { AgGridReact as Re } from "ag-grid-react";
6
- import { customAgGridTheme as Ge } from "./theme.js";
7
- import { syncAgGridThemeMode as ke } from "./sync-ag-grid-theme-mode.js";
8
- import { CustomHeader as we } from "./headers/custom-header.js";
9
- import { CustomHeaderGroup as Te } from "./headers/custom-header-group.js";
1
+ import { jsxs as Se, jsx as y } from "react/jsx-runtime";
2
+ import { lazy as Fe, useRef as S, useState as I, useEffect as q, useCallback as m, useMemo as v, Suspense as Me } from "react";
3
+ import { ModuleRegistry as Ae, AllCommunityModule as Ee, ValidationModule as Ge } from "ag-grid-community";
4
+ import { AllEnterpriseModule as Re } from "ag-grid-enterprise";
5
+ import { AgGridReact as ke } from "ag-grid-react";
6
+ import { customAgGridTheme as we } from "./theme.js";
7
+ import { syncAgGridThemeMode as Ie } from "./sync-ag-grid-theme-mode.js";
8
+ import { CustomHeader as Te } from "./headers/custom-header.js";
9
+ import { CustomHeaderGroup as z } from "./headers/custom-inner-header-group.js";
10
10
  import { DefaultTextCellRenderer as je } from "./cell-renderers/default-text-cell-renderer.js";
11
- import { GridHeaderContext as Ie } from "./headers/context/grid-header-context.js";
11
+ import { GridHeaderContext as He } from "./headers/context/grid-header-context.js";
12
12
  import { convertToAgGridFilterModel as Oe, getMultiFilterIndices as Pe, convertFromAgGridFilterModel as De } from "./headers/utils/filter-utils.js";
13
- import { ColumnSettingsMenu as He } from "./headers/column-menu/column-settings-menu.js";
14
- import { AG_GRID_VALUE_FORMATTERS as Le } from "./value-formatters.js";
15
- import { useGridAutoSizeStrategyOnResize as Ne } from "./useGridAutoSizeStrategyOnResize.js";
16
- import { subscribeGridApiEvent as ct, subscribeGridApiEvents as ut } from "./grid-api-event-subscription.js";
17
- import { notifyColumnIndicatorSync as q } from "./notify-column-indicator-sync.js";
13
+ import { ColumnSettingsMenu as Le } from "./headers/column-menu/column-settings-menu.js";
14
+ import { AG_GRID_VALUE_FORMATTERS as Ne } from "./value-formatters.js";
15
+ import { useGridAutoSizeStrategyOnResize as _e } from "./useGridAutoSizeStrategyOnResize.js";
16
+ import { subscribeGridApiEvent as pt, subscribeGridApiEvents as mt } from "./grid-api-event-subscription.js";
17
+ import { notifyColumnIndicatorSync as B } from "./notify-column-indicator-sync.js";
18
+ import { setActiveSearchColumnId as N, clearHeaderSearchActiveState as Ve } from "./headers/header-search-active-state.js";
18
19
  /* empty css */
19
- const _e = xe(
20
+ const We = Fe(
20
21
  () => import("./headers/advanced-filter/advanced-filter-dialog.js").then((l) => ({
21
22
  default: l.AdvancedFilterDialog
22
23
  }))
23
24
  );
24
- Fe.registerModules([Me, Ae, Ee]);
25
- const F = "", N = "";
26
- function z(l) {
25
+ Ae.registerModules([Ee, Re, Ge]);
26
+ const F = "", _ = "";
27
+ function J(l) {
27
28
  return l.getColumns()?.some((n) => n.getColDef().headerCheckboxSelection) ?? !1;
28
29
  }
29
- const B = (l) => {
30
+ const X = (l) => {
30
31
  if (!l) return;
31
32
  const n = l.cellRendererParams?.splits;
32
33
  if (Array.isArray(n) && n.length > 0) return n;
33
34
  const i = l.cellEditorParams?.splits;
34
35
  if (Array.isArray(i) && i.length > 0) return i;
35
- }, J = (l, n) => {
36
+ }, Q = (l, n) => {
36
37
  const i = [];
37
38
  for (const g of n) {
38
- const m = g?.field?.split(".").pop();
39
- if (!m) {
39
+ const f = g?.field?.split(".").pop();
40
+ if (!f) {
40
41
  i.push("");
41
42
  continue;
42
43
  }
43
- const c = l[m];
44
- if (c == null) {
44
+ const a = l[f];
45
+ if (a == null) {
45
46
  i.push("");
46
47
  continue;
47
48
  }
48
- if (typeof c == "object" && "value" in c) {
49
- const u = c.value;
49
+ if (typeof a == "object" && "value" in a) {
50
+ const u = a.value;
50
51
  i.push(u == null ? "" : String(u));
51
52
  continue;
52
53
  }
53
- if (typeof c != "object") {
54
- i.push(String(c));
54
+ if (typeof a != "object") {
55
+ i.push(String(a));
55
56
  continue;
56
57
  }
57
58
  i.push("");
58
59
  }
59
60
  return i;
60
- }, X = (l) => {
61
+ }, Y = (l) => {
61
62
  if (typeof navigator < "u" && navigator.clipboard?.writeText) {
62
- navigator.clipboard.writeText(l).catch(() => Q(l));
63
+ navigator.clipboard.writeText(l).catch(() => Z(l));
63
64
  return;
64
65
  }
65
- Q(l);
66
- }, Q = (l) => {
66
+ Z(l);
67
+ }, Z = (l) => {
67
68
  if (typeof document > "u") return;
68
69
  const n = document.createElement("textarea");
69
70
  n.value = l, n.setAttribute("readonly", ""), n.style.position = "fixed", n.style.top = "0", n.style.left = "0", n.style.opacity = "0", n.style.pointerEvents = "none", document.body.appendChild(n);
@@ -73,36 +74,36 @@ const B = (l) => {
73
74
  document.body.removeChild(n);
74
75
  }
75
76
  };
76
- function it({
77
+ function ct({
77
78
  children: l,
78
79
  defaultColDef: n,
79
80
  defaultColGroupDef: i,
80
81
  columnDefs: g,
81
- valueFormatters: m,
82
- onGridReady: c,
82
+ valueFormatters: f,
83
+ onGridReady: a,
83
84
  onGridPreDestroyed: u,
84
85
  onFilterChanged: b,
85
86
  onSelectionChanged: h,
86
87
  onModelUpdated: M,
87
- ensureDomOrder: j = !1,
88
- autoSizeStrategy: I,
89
- tooltipShowMode: O = "whenTruncated",
90
- tooltipShowDelay: P = 500,
91
- tooltipHideDelay: Y = 5e3,
92
- tooltipInteraction: Z = !0,
93
- themeOverride: ee,
88
+ ensureDomOrder: T = !1,
89
+ autoSizeStrategy: j,
90
+ tooltipShowMode: H = "whenTruncated",
91
+ tooltipShowDelay: O = 500,
92
+ tooltipHideDelay: ee = 5e3,
93
+ tooltipInteraction: te = !0,
94
+ themeOverride: re,
94
95
  ...C
95
96
  }) {
96
- const a = S(null), D = S(null), [H, _] = T(null);
97
- Ne(H, D, I), $(() => {
97
+ const c = S(null), P = S(null), [D, V] = I(null);
98
+ _e(D, P, j), q(() => {
98
99
  const e = document.documentElement, t = () => {
99
- ke(e.classList.contains("dark") ? "dark" : "light", e);
100
+ Ie(e.classList.contains("dark") ? "dark" : "light", e);
100
101
  };
101
102
  t();
102
103
  const o = new MutationObserver(t);
103
104
  return o.observe(e, { attributes: !0, attributeFilter: ["class"] }), () => o.disconnect();
104
105
  }, []);
105
- const [te, V] = T(!1), [re, W] = T(null), [ne, K] = T(!1), E = S(null), L = S(null), A = S(null), oe = f(() => [], []), le = y(() => ({
106
+ const [ne, W] = I(!1), [oe, K] = I(null), [le, U] = I(!1), A = S(null), L = S(null), E = S(null), ie = m(() => [], []), se = v(() => ({
106
107
  numericColumn: {
107
108
  cellClass: "ag-right-aligned-cell",
108
109
  headerClass: "ag-right-aligned-header",
@@ -123,68 +124,68 @@ function it({
123
124
  dateColumn: {
124
125
  filter: "agDateColumnFilter"
125
126
  }
126
- }), []), R = y(() => ({
127
+ }), []), G = v(() => ({
127
128
  openSearch: (e) => {
128
- if (!a.current) return;
129
- const t = a.current.getGridOption("context") || {};
130
- a.current.setGridOption("context", { ...t, activeSearchColumnId: e }), a.current.refreshHeader(), q(a.current);
129
+ if (!c.current) return;
130
+ const t = c.current.getGridOption("context") || {};
131
+ c.current.setGridOption("context", { ...t, activeSearchColumnId: e }), N(e), B(c.current);
131
132
  },
132
133
  closeSearch: () => {
133
- if (!a.current) return;
134
- const e = a.current.getGridOption("context") || {};
135
- a.current.setGridOption("context", { ...e, activeSearchColumnId: null }), a.current.refreshHeader(), q(a.current);
134
+ if (!c.current) return;
135
+ const e = c.current.getGridOption("context") || {};
136
+ c.current.setGridOption("context", { ...e, activeSearchColumnId: null }), N(null), B(c.current);
136
137
  },
137
138
  openAdvancedFilter: (e) => {
138
- W(e || null), V(!0);
139
+ K(e || null), W(!0);
139
140
  },
140
141
  closeAdvancedFilter: () => {
141
- V(!1), W(null);
142
+ W(!1), K(null);
142
143
  },
143
144
  applyAdvancedFilter: (e) => {
144
- if (!a.current) return;
145
+ if (!c.current) return;
145
146
  const t = Oe(e);
146
- a.current.setFilterModel(t), a.current.onFilterChanged(), a.current.refreshHeader();
147
+ c.current.setFilterModel(t), c.current.onFilterChanged(), c.current.refreshHeader();
147
148
  },
148
149
  openMenu: (e, t, o = "column") => {
149
- E.current = e, L.current = t, A.current = o, K(!0);
150
+ A.current = e, L.current = t, E.current = o, U(!0);
150
151
  },
151
152
  closeMenu: () => {
152
- E.current = null, L.current = null, A.current = null, K(!1);
153
+ A.current = null, L.current = null, E.current = null, U(!1);
153
154
  },
154
155
  // Getters read from refs - O(1) per header, no memory allocation
155
156
  get activeMenuColumnId() {
156
- return E.current;
157
+ return A.current;
157
158
  },
158
159
  get activeMenuVariant() {
159
- return A.current;
160
+ return E.current;
160
161
  }
161
- }), []), ie = f((e) => {
162
- a.current = e.api, _(e.api);
162
+ }), []), ae = m((e) => {
163
+ c.current = e.api, V(e.api);
163
164
  const t = e.api.getGridOption("context") || {};
164
- e.api.setGridOption("context", { ...t, activeSearchColumnId: null }), c && c(e);
165
- }, [c]), se = f(
165
+ e.api.setGridOption("context", { ...t, activeSearchColumnId: null }), N(null), a && a(e);
166
+ }, [a]), ce = m(
166
167
  (e) => {
167
- a.current = null, _(null), u?.(e);
168
+ c.current = null, V(null), Ve(), u?.(e);
168
169
  },
169
170
  [u]
170
- ), ae = f(
171
+ ), ue = m(
171
172
  (e) => {
172
173
  e.api.getGridOption("context")?.activeSearchColumnId || e.api.refreshHeader(), b?.(e);
173
174
  },
174
175
  [b]
175
- ), ce = f(
176
+ ), de = m(
176
177
  (e) => {
177
- z(e.api) && e.api.refreshHeader(), h?.(e);
178
+ J(e.api) && e.api.refreshHeader(), h?.(e);
178
179
  },
179
180
  [h]
180
- ), ue = f(
181
+ ), pe = m(
181
182
  (e) => {
182
- e.api.getGridOption("rowModelType") !== "serverSide" && z(e.api) && e.api.refreshHeader(), M?.(e);
183
+ e.api.getGridOption("rowModelType") !== "serverSide" && J(e.api) && e.api.refreshHeader(), M?.(e);
183
184
  },
184
185
  [M]
185
186
  );
186
- $(() => {
187
- const e = D.current;
187
+ q(() => {
188
+ const e = P.current;
188
189
  if (!e) return;
189
190
  const t = (o) => {
190
191
  if (o.key !== "Enter" && o.key !== " ") return;
@@ -197,8 +198,8 @@ function it({
197
198
  };
198
199
  return e.addEventListener("keydown", t, !0), () => e.removeEventListener("keydown", t, !0);
199
200
  }, []);
200
- const de = y(() => ({
201
- headerComponent: we,
201
+ const me = v(() => ({
202
+ headerComponent: Te,
202
203
  // Default cell renderer wraps text in a span so display:flex centering
203
204
  // and text-overflow:ellipsis both work (ellipsis doesn't work on
204
205
  // anonymous flex text nodes, but works on flex child elements).
@@ -221,34 +222,36 @@ function it({
221
222
  headerComponentParams: {
222
223
  ...n?.headerComponentParams
223
224
  }
224
- }), [n]), pe = y(() => ({
225
- headerGroupComponent: Te,
225
+ }), [n]), fe = v(() => ({
226
226
  ...i,
227
227
  headerGroupComponentParams: {
228
- ...i?.headerGroupComponentParams
228
+ ...i?.headerGroupComponentParams,
229
+ innerHeaderGroupComponent: i?.headerGroupComponentParams?.innerHeaderGroupComponent ?? "CustomInnerHeaderGroup"
229
230
  }
230
- }), [i]), fe = y(() => ({
231
- ...Le,
231
+ }), [i]), ge = v(() => ({
232
+ ...Ne,
232
233
  // Always available - value formatters
234
+ CustomInnerHeaderGroup: z,
235
+ CustomHeaderGroup: z,
233
236
  ...C.components,
234
237
  // User components override
235
- ...m
238
+ ...f
236
239
  // Optional custom formatters override defaults
237
- }), [m, C.components]), me = f((e) => {
240
+ }), [f, C.components]), he = m((e) => {
238
241
  const t = e.value;
239
242
  if (t == null || typeof t != "object") return t;
240
- const o = B(e.column?.getColDef());
243
+ const o = X(e.column?.getColDef());
241
244
  if (o && o.length > 0) {
242
- const r = J(t, o);
245
+ const r = Q(t, o);
243
246
  if (o.length === 1) {
244
247
  const d = o[0]?.field?.split(".").pop(), x = d ? t[d] : void 0;
245
248
  return x && typeof x == "object" && "value" in x ? x.value ?? "" : r[0];
246
249
  }
247
- return N + r.join(F);
250
+ return _ + r.join(F);
248
251
  }
249
252
  const s = Object.entries(t).map(([, r]) => r && typeof r == "object" && "value" in r ? r.value : typeof r != "object" && typeof r < "u" ? r : null).filter((r) => r != null);
250
253
  return s.length === 0 ? "" : s.length === 1 ? s[0] : s.join(F);
251
- }, []), ge = f((e) => {
254
+ }, []), Ce = m((e) => {
252
255
  if (typeof e.value == "string") {
253
256
  const t = e.value.trim();
254
257
  if (t.startsWith("{") || t.startsWith("["))
@@ -259,10 +262,10 @@ function it({
259
262
  }
260
263
  }
261
264
  return e.value;
262
- }, []), he = f((e) => {
265
+ }, []), ve = m((e) => {
263
266
  const t = e?.data ?? "";
264
- if (!t.includes(F) && !t.includes(N)) {
265
- X(t);
267
+ if (!t.includes(F) && !t.includes(_)) {
268
+ Y(t);
266
269
  return;
267
270
  }
268
271
  const o = [], s = t.split(`
@@ -273,25 +276,25 @@ function it({
273
276
  o.push("");
274
277
  continue;
275
278
  }
276
- const k = d.split(" ").map((p) => p.startsWith(N) ? { isSplit: !0, slots: p.slice(1).split(F) } : { isSplit: !1, slots: p.split(F) }), U = Math.max(1, ...k.map((p) => p.slots.length));
277
- if (U === 1) {
279
+ const k = d.split(" ").map((p) => p.startsWith(_) ? { isSplit: !0, slots: p.slice(1).split(F) } : { isSplit: !1, slots: p.split(F) }), $ = Math.max(1, ...k.map((p) => p.slots.length));
280
+ if ($ === 1) {
278
281
  o.push(k.map((p) => p.slots[0] ?? "").join(" "));
279
282
  continue;
280
283
  }
281
- for (let p = 0; p < U; p++) {
282
- const ve = k.map((w) => !w.isSplit && w.slots.length === 1 ? w.slots[0] : w.slots[p] ?? "");
283
- o.push(ve.join(" "));
284
+ for (let p = 0; p < $; p++) {
285
+ const xe = k.map((w) => !w.isSplit && w.slots.length === 1 ? w.slots[0] : w.slots[p] ?? "");
286
+ o.push(xe.join(" "));
284
287
  }
285
288
  }
286
- X(o.join(`
289
+ Y(o.join(`
287
290
  `));
288
- }, []), G = f((e) => {
291
+ }, []), R = m((e) => {
289
292
  const t = e.value;
290
293
  if (t == null) return "";
291
294
  if (typeof t != "object") return String(t);
292
- const o = B(e.column?.getColDef());
295
+ const o = X(e.column?.getColDef());
293
296
  if (o && o.length > 0) {
294
- const r = J(t, o);
297
+ const r = Q(t, o);
295
298
  return o.length === 1 ? r[0] : r.join(`
296
299
  `);
297
300
  }
@@ -307,122 +310,122 @@ function it({
307
310
  }
308
311
  return s.length === 0 ? "" : s.length === 1 ? s[0] : s.join(`
309
312
  `);
310
- }, []), Ce = y(() => ({
311
- processCellCallback: G,
313
+ }, []), ye = v(() => ({
314
+ processCellCallback: R,
312
315
  ...C.defaultCsvExportParams ?? {}
313
- }), [G, C.defaultCsvExportParams]), ye = y(() => ({
314
- processCellCallback: G,
316
+ }), [R, C.defaultCsvExportParams]), be = v(() => ({
317
+ processCellCallback: R,
315
318
  ...C.defaultExcelExportParams ?? {}
316
- }), [G, C.defaultExcelExportParams]);
317
- return /* @__PURE__ */ be(Ie.Provider, { value: R, children: [
318
- /* @__PURE__ */ v("div", { ref: D, "data-component": "ag-grid-react", style: { width: "100%", height: "100%" }, children: /* @__PURE__ */ v(
319
- Re,
319
+ }), [R, C.defaultExcelExportParams]);
320
+ return /* @__PURE__ */ Se(He.Provider, { value: G, children: [
321
+ /* @__PURE__ */ y("div", { ref: P, "data-component": "ag-grid-react", style: { width: "100%", height: "100%" }, children: /* @__PURE__ */ y(
322
+ ke,
320
323
  {
321
- theme: ee ?? Ge,
322
- defaultColDef: de,
324
+ theme: re ?? we,
325
+ defaultColDef: me,
323
326
  columnDefs: g,
324
327
  cellSelection: !0,
325
- defaultColGroupDef: pe,
326
- onGridReady: ie,
327
- onGridPreDestroyed: se,
328
- onFilterChanged: ae,
329
- onSelectionChanged: ce,
330
- onModelUpdated: ue,
331
- components: fe,
332
- tooltipShowMode: O,
333
- tooltipShowDelay: P,
334
- tooltipHideDelay: Y,
335
- tooltipInteraction: Z,
336
- processCellForClipboard: me,
337
- processCellFromClipboard: ge,
338
- sendToClipboard: he,
339
- ensureDomOrder: j,
328
+ defaultColGroupDef: fe,
329
+ onGridReady: ae,
330
+ onGridPreDestroyed: ce,
331
+ onFilterChanged: ue,
332
+ onSelectionChanged: de,
333
+ onModelUpdated: pe,
334
+ components: ge,
335
+ tooltipShowMode: H,
336
+ tooltipShowDelay: O,
337
+ tooltipHideDelay: ee,
338
+ tooltipInteraction: te,
339
+ processCellForClipboard: he,
340
+ processCellFromClipboard: Ce,
341
+ sendToClipboard: ve,
342
+ ensureDomOrder: T,
340
343
  suppressHeaderFocus: !1,
341
344
  suppressFocusAfterRefresh: !0,
342
345
  suppressGroupRowsSticky: !0,
343
346
  hidePaddedHeaderRows: !0,
344
347
  suppressServerSideFullWidthLoadingRow: !0,
345
- columnTypes: le,
346
- autoSizeStrategy: I,
348
+ columnTypes: se,
349
+ autoSizeStrategy: j,
347
350
  ...C,
348
- defaultCsvExportParams: Ce,
349
- defaultExcelExportParams: ye,
350
- getMainMenuItems: oe
351
+ defaultCsvExportParams: ye,
352
+ defaultExcelExportParams: be,
353
+ getMainMenuItems: ie
351
354
  }
352
355
  ) }),
353
356
  l,
354
- /* @__PURE__ */ v(
355
- Ve,
357
+ /* @__PURE__ */ y(
358
+ Ke,
356
359
  {
357
- isOpen: te,
358
- columnId: re,
359
- gridApi: H,
360
- onClose: R.closeAdvancedFilter,
361
- onApply: R.applyAdvancedFilter
360
+ isOpen: ne,
361
+ columnId: oe,
362
+ gridApi: D,
363
+ onClose: G.closeAdvancedFilter,
364
+ onApply: G.applyAdvancedFilter
362
365
  }
363
366
  ),
364
- /* @__PURE__ */ v(
365
- We,
367
+ /* @__PURE__ */ y(
368
+ Ue,
366
369
  {
367
- isOpen: ne,
368
- columnId: E.current,
369
- gridApi: H,
370
+ isOpen: le,
371
+ columnId: A.current,
372
+ gridApi: D,
370
373
  anchor: L.current,
371
- variant: A.current,
372
- onClose: R.closeMenu
374
+ variant: E.current,
375
+ onClose: G.closeMenu
373
376
  }
374
377
  )
375
378
  ] });
376
379
  }
377
- function Ve({
380
+ function Ke({
378
381
  isOpen: l,
379
382
  columnId: n,
380
383
  gridApi: i,
381
384
  onClose: g,
382
- onApply: m
385
+ onApply: f
383
386
  }) {
384
387
  if (!l || !n || !i) return null;
385
- const c = i.getColumn(n);
386
- if (!c) return null;
387
- const u = c.getColDef(), b = u.headerComponentParams, h = Pe(u), M = h.text !== -1 || h.number !== -1 || h.date !== -1, j = h.set !== -1, O = u.filter === "agMultiColumnFilter" && (M || j) ? "multi" : u.filter === "agNumberColumnFilter" ? "number" : u.filter === "agDateColumnFilter" ? "date" : u.filter === "agSetColumnFilter" || b?.selectOptions ? "select" : "text", P = De(i.getFilterModel());
388
- return /* @__PURE__ */ v(Se, { fallback: null, children: /* @__PURE__ */ v(
389
- _e,
388
+ const a = i.getColumn(n);
389
+ if (!a) return null;
390
+ const u = a.getColDef(), b = u.headerComponentParams, h = Pe(u), M = h.text !== -1 || h.number !== -1 || h.date !== -1, T = h.set !== -1, H = u.filter === "agMultiColumnFilter" && (M || T) ? "multi" : u.filter === "agNumberColumnFilter" ? "number" : u.filter === "agDateColumnFilter" ? "date" : u.filter === "agSetColumnFilter" || b?.selectOptions ? "select" : "text", O = De(i.getFilterModel());
391
+ return /* @__PURE__ */ y(Me, { fallback: null, children: /* @__PURE__ */ y(
392
+ We,
390
393
  {
391
394
  isOpen: l,
392
395
  onClose: g,
393
- onApply: m,
396
+ onApply: f,
394
397
  columnId: n,
395
398
  columnLabel: u.headerName || n,
396
- columnType: O,
399
+ columnType: H,
397
400
  selectOptions: b?.selectOptions,
398
401
  isMultiSelect: b?.isMultiSelect,
399
- initialModel: P,
402
+ initialModel: O,
400
403
  api: i
401
404
  }
402
405
  ) });
403
406
  }
404
- function We({
407
+ function Ue({
405
408
  isOpen: l,
406
409
  columnId: n,
407
410
  gridApi: i,
408
411
  anchor: g,
409
- variant: m,
410
- onClose: c
412
+ variant: f,
413
+ onClose: a
411
414
  }) {
412
- return !l || !n || !i ? null : /* @__PURE__ */ v(
413
- He,
415
+ return !l || !n || !i ? null : /* @__PURE__ */ y(
416
+ Le,
414
417
  {
415
418
  isOpen: l,
416
419
  columnId: n,
417
420
  gridApi: i,
418
421
  anchor: g,
419
- variant: m || "column",
420
- onClose: c
422
+ variant: f || "column",
423
+ onClose: a
421
424
  }
422
425
  );
423
426
  }
424
427
  export {
425
- it as AgGridWrapper,
426
- ct as subscribeGridApiEvent,
427
- ut as subscribeGridApiEvents
428
+ ct as AgGridWrapper,
429
+ pt as subscribeGridApiEvent,
430
+ mt as subscribeGridApiEvents
428
431
  };
@@ -1,8 +1,7 @@
1
1
  import { GridApi } from 'ag-grid-community';
2
2
  /**
3
- * Column-picker indicators read `activeSearchColumnId` from grid context.
4
- * Opening/closing inline header search only updates context + refreshHeader.
5
- * Notify column-list listeners via the indicator bus NOT `onFilterChanged`,
6
- * which would refetch SSRM rows when the filter model is unchanged.
3
+ * Opening/closing inline header search updates grid context and the column-scoped
4
+ * header search store. Notify column-list listeners via the indicator bus — NOT
5
+ * `onFilterChanged`, which would refetch SSRM rows when the filter model is unchanged.
7
6
  */
8
7
  export declare function notifyColumnIndicatorSync<TData = unknown>(gridApi: GridApi<TData>): void;
@@ -37,7 +37,6 @@ const d = e.withPart(o).withParams({
37
37
  columnBorder: !0,
38
38
  columnDropCellBorder: !0,
39
39
  fontFamily: "inherit",
40
- fontWeight: "inherit",
41
40
  footerRowBorder: !0,
42
41
  headerColumnBorder: !0,
43
42
  headerFontFamily: "inherit",
@@ -97,7 +96,6 @@ const d = e.withPart(o).withParams({
97
96
  columnBorder: !0,
98
97
  columnDropCellBorder: !0,
99
98
  fontFamily: "inherit",
100
- fontWeight: "inherit",
101
99
  footerRowBorder: !0,
102
100
  headerColumnBorder: !0,
103
101
  headerFontFamily: "inherit",
@@ -35,7 +35,7 @@ const Q = ({
35
35
  (e, r) => {
36
36
  if (!r.isLeaf) return null;
37
37
  const l = e.data;
38
- return !l?.hasSortApplied && !l?.hasFilterApplied ? null : /* @__PURE__ */ A("span", { className: "inline-flex items-center gap-1 ml-1.5 shrink-0", children: [
38
+ return !l?.hasSortApplied && !l?.hasFilterApplied ? null : /* @__PURE__ */ A("span", { className: "inline-flex items-center gap-1 shrink-0", children: [
39
39
  l?.hasSortApplied && /* @__PURE__ */ n(c, { type: "sort" }),
40
40
  l?.hasFilterApplied && /* @__PURE__ */ n(c, { type: "filter" })
41
41
  ] });
@@ -196,7 +196,7 @@ const Ae = ["default", "active", "system"], _e = ({
196
196
  {
197
197
  "data-component": "data-table-saved-views",
198
198
  className: k(
199
- "mb-2 mx-4 flex min-w-0 flex-nowrap items-center justify-between gap-2 rounded-lg bg-feedback-success-surface px-2 py-3",
199
+ "saved-view-bar-gradient mb-2 mx-4 flex min-w-0 flex-nowrap items-center justify-between gap-2 rounded-lg px-2 py-3",
200
200
  re
201
201
  ),
202
202
  children: [
@@ -4,13 +4,14 @@ import { FilterPopoverContent as h } from "../../flows/filter-strip/filter-tag-l
4
4
  import { Popover as u, PopoverTrigger as f } from "../../feedback/popover/popover.js";
5
5
  import { Tag as x } from "../../primitives/tag/tag.js";
6
6
  import { Tooltip as b, TooltipTrigger as g, TooltipContent as v } from "../../feedback/tooltip/tooltip.js";
7
- function I({
7
+ import "react";
8
+ function P({
8
9
  tags: n,
9
10
  title: i = "Attributes",
10
11
  maxVisibleTags: a = 4,
11
12
  formatOverflow: s
12
13
  }) {
13
- const c = n.slice(0, a), t = n.slice(a), o = t.length, d = s?.(o) ?? (o > 0 ? `+${o}` : null);
14
+ const c = n.slice(0, a), t = n.slice(a), o = t.length, m = s?.(o) ?? (o > 0 ? `+${o}` : null);
14
15
  return /* @__PURE__ */ r(
15
16
  "div",
16
17
  {
@@ -19,7 +20,7 @@ function I({
19
20
  children: [
20
21
  /* @__PURE__ */ e("p", { className: "text-xs font-semibold leading-5 text-content-heading", children: i }),
21
22
  /* @__PURE__ */ r("div", { className: "mt-2 flex flex-wrap gap-1.5", children: [
22
- c.map((l, m) => /* @__PURE__ */ e(
23
+ c.map((l, d) => /* @__PURE__ */ e(
23
24
  p,
24
25
  {
25
26
  variant: "subtle",
@@ -29,7 +30,7 @@ function I({
29
30
  className: "max-w-full",
30
31
  children: l
31
32
  },
32
- `${m}-${l}`
33
+ `${d}-${l}`
33
34
  )),
34
35
  t.length > 0 ? /* @__PURE__ */ r(u, { children: [
35
36
  /* @__PURE__ */ r(b, { children: [
@@ -43,7 +44,7 @@ function I({
43
44
  tabIndex: 0,
44
45
  role: "button",
45
46
  "aria-label": `${t.length} more attributes for ${i}`,
46
- children: d
47
+ children: m
47
48
  }
48
49
  ) }) }),
49
50
  /* @__PURE__ */ r(v, { variant: "tertiary", side: "top", children: [
@@ -68,5 +69,5 @@ function I({
68
69
  );
69
70
  }
70
71
  export {
71
- I as ExpandableListItemAttributes
72
+ P as ExpandableListItemAttributes
72
73
  };
@@ -25,5 +25,7 @@ interface SortableItemProps {
25
25
  level: number;
26
26
  }) => React.ReactNode;
27
27
  }
28
+ declare const LEADING_RAIL_CLASS = "flex shrink-0 items-center h-5 gap-0.5";
29
+ declare const DRAG_HANDLE_CLASS = "flex h-5 w-5 shrink-0 cursor-grab active:cursor-grabbing items-center justify-center rounded-sm text-content-icon transition-colors hover:bg-canvas-muted hover:text-content";
30
+ export { LEADING_RAIL_CLASS, DRAG_HANDLE_CLASS };
28
31
  export declare const SortableItem: React.NamedExoticComponent<SortableItemProps>;
29
- export {};