impact-nova 1.5.14 → 1.6.0

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 (149) hide show
  1. package/dist/components/ui/accordion.d.ts +4 -1
  2. package/dist/components/ui/accordion.js +28 -22
  3. package/dist/components/ui/ag-grid-react/cell-renderers/badge-cell-renderer.js +11 -11
  4. package/dist/components/ui/ag-grid-react/cell-renderers/checkbox-display-renderer.js +12 -12
  5. package/dist/components/ui/ag-grid-react/cell-renderers/date-display-renderer.js +13 -13
  6. package/dist/components/ui/ag-grid-react/cell-renderers/editors/date-cell-editor.js +13 -13
  7. package/dist/components/ui/ag-grid-react/cell-renderers/editors/input-cell-editor.js +30 -30
  8. package/dist/components/ui/ag-grid-react/cell-renderers/editors/percent-progress-cell-editor.js +13 -13
  9. package/dist/components/ui/ag-grid-react/cell-renderers/editors/split-cell-editor.js +16 -16
  10. package/dist/components/ui/ag-grid-react/cell-renderers/editors/textarea-cell-editor.js +17 -17
  11. package/dist/components/ui/ag-grid-react/cell-renderers/input-display-renderer.js +11 -11
  12. package/dist/components/ui/ag-grid-react/cell-renderers/link-with-batch-cell-renderer.js +2 -2
  13. package/dist/components/ui/ag-grid-react/cell-renderers/percent-progress-display-renderer.js +11 -13
  14. package/dist/components/ui/ag-grid-react/cell-renderers/select-display-renderer.js +8 -8
  15. package/dist/components/ui/ag-grid-react/cell-renderers/split-cell-renderer.js +6 -6
  16. package/dist/components/ui/ag-grid-react/cell-renderers/status-badge-renderer.d.ts +1 -1
  17. package/dist/components/ui/ag-grid-react/cell-renderers/status-badge-renderer.js +14 -14
  18. package/dist/components/ui/ag-grid-react/cell-renderers/switch-display-renderer.js +18 -18
  19. package/dist/components/ui/ag-grid-react/cell-renderers/textarea-display-renderer.js +6 -6
  20. package/dist/components/ui/ag-grid-react/headers/advanced-filter/advanced-filter-dialog.js +14 -14
  21. package/dist/components/ui/ag-grid-react/headers/advanced-filter/column-filter-section.js +35 -35
  22. package/dist/components/ui/ag-grid-react/headers/column-menu/column-settings-menu.js +49 -49
  23. package/dist/components/ui/ag-grid-react/headers/components/header-info.js +29 -29
  24. package/dist/components/ui/ag-grid-react/headers/components/info-modal.js +9 -9
  25. package/dist/components/ui/ag-grid-react/headers/components/section-renderers.js +20 -20
  26. package/dist/components/ui/ag-grid-react/headers/custom-header-group.js +10 -10
  27. package/dist/components/ui/ag-grid-react/headers/custom-header.js +76 -76
  28. package/dist/components/ui/ag-grid-react/headers/header-search-input.js +118 -118
  29. package/dist/components/ui/ag-grid-react/index.js +121 -102
  30. package/dist/components/ui/alert-dialog.js +6 -6
  31. package/dist/components/ui/alert.d.ts +4 -3
  32. package/dist/components/ui/alert.js +182 -64
  33. package/dist/components/ui/avatar.js +5 -5
  34. package/dist/components/ui/badge.d.ts +7 -2
  35. package/dist/components/ui/badge.js +105 -32
  36. package/dist/components/ui/breadcrumb.js +26 -21
  37. package/dist/components/ui/button-group.d.ts +7 -0
  38. package/dist/components/ui/button-group.js +116 -91
  39. package/dist/components/ui/button-variants.d.ts +7 -2
  40. package/dist/components/ui/button-variants.js +31 -16
  41. package/dist/components/ui/button.d.ts +2 -2
  42. package/dist/components/ui/button.js +10 -10
  43. package/dist/components/ui/calendar.js +185 -184
  44. package/dist/components/ui/card.js +24 -24
  45. package/dist/components/ui/chart/chart.js +27 -27
  46. package/dist/components/ui/chart/chart.utils.js +50 -50
  47. package/dist/components/ui/checkbox.js +22 -22
  48. package/dist/components/ui/chips.d.ts +19 -3
  49. package/dist/components/ui/chips.js +140 -41
  50. package/dist/components/ui/command-palette/command-palette-layout.d.ts +28 -0
  51. package/dist/components/ui/command-palette/command-palette-layout.js +59 -0
  52. package/dist/components/ui/command-palette/command-palette.js +254 -264
  53. package/dist/components/ui/command-palette/index.d.ts +1 -1
  54. package/dist/components/ui/command-palette/index.js +42 -41
  55. package/dist/components/ui/command-palette/kbd.js +18 -18
  56. package/dist/components/ui/command-palette/shortcut-settings.d.ts +3 -3
  57. package/dist/components/ui/command-palette/shortcut-settings.js +105 -111
  58. package/dist/components/ui/command-palette/utils.d.ts +6 -1
  59. package/dist/components/ui/command-palette/utils.js +81 -74
  60. package/dist/components/ui/data-table/data-table-column-list.js +31 -31
  61. package/dist/components/ui/data-table/data-table-constants.d.ts +6 -0
  62. package/dist/components/ui/data-table/data-table-constants.js +4 -0
  63. package/dist/components/ui/data-table/data-table-context.d.ts +4 -0
  64. package/dist/components/ui/data-table/data-table-format-options.js +35 -35
  65. package/dist/components/ui/data-table/data-table-sheet.d.ts +4 -4
  66. package/dist/components/ui/data-table/data-table-sheet.js +91 -58
  67. package/dist/components/ui/data-table/data-table-view-options.js +29 -29
  68. package/dist/components/ui/data-table/data-table.js +84 -52
  69. package/dist/components/ui/data-table/index.d.ts +1 -0
  70. package/dist/components/ui/data-table/index.js +15 -13
  71. package/dist/components/ui/date-picker/date-picker.js +35 -35
  72. package/dist/components/ui/date-picker/date-range-picker.js +166 -164
  73. package/dist/components/ui/date-picker/month-picker.js +14 -14
  74. package/dist/components/ui/date-picker/month-range-picker.js +198 -189
  75. package/dist/components/ui/date-picker/multi-date-picker.js +14 -14
  76. package/dist/components/ui/date-picker/multi-month-picker.js +1 -1
  77. package/dist/components/ui/date-picker/multi-week-picker.js +1 -1
  78. package/dist/components/ui/date-picker/week-picker.js +2 -2
  79. package/dist/components/ui/date-picker/week-range-picker.js +164 -162
  80. package/dist/components/ui/dialog.js +25 -28
  81. package/dist/components/ui/drawer.js +40 -40
  82. package/dist/components/ui/dropdown-menu.js +72 -72
  83. package/dist/components/ui/empty-container.js +73 -69
  84. package/dist/components/ui/file-upload.js +137 -135
  85. package/dist/components/ui/filter-panel/filter-panel.d.ts +2 -2
  86. package/dist/components/ui/filter-panel/filter-panel.js +175 -97
  87. package/dist/components/ui/filter-strip/filter-strip.d.ts +1 -1
  88. package/dist/components/ui/filter-strip/filter-strip.js +63 -50
  89. package/dist/components/ui/filter-strip/filter-summary.d.ts +4 -1
  90. package/dist/components/ui/filter-strip/filter-summary.js +230 -146
  91. package/dist/components/ui/filter-strip/filter-tag-list.js +125 -91
  92. package/dist/components/ui/header.d.ts +7 -3
  93. package/dist/components/ui/header.js +87 -79
  94. package/dist/components/ui/horizontal-scroller/horizontal-scroller.js +44 -44
  95. package/dist/components/ui/hover-card.js +10 -10
  96. package/dist/components/ui/input.js +79 -70
  97. package/dist/components/ui/loader.js +16 -16
  98. package/dist/components/ui/nested-list/components/NestedListCategoryFilters.js +16 -16
  99. package/dist/components/ui/nested-list/components/NestedListHeader.js +27 -27
  100. package/dist/components/ui/nested-list/components/SortableItem.js +58 -58
  101. package/dist/components/ui/notification-panel/notification-item.js +32 -32
  102. package/dist/components/ui/notification-panel/notification-list.js +24 -24
  103. package/dist/components/ui/notification-panel/notification-panel.js +26 -26
  104. package/dist/components/ui/popover.js +22 -22
  105. package/dist/components/ui/progress.js +34 -34
  106. package/dist/components/ui/prompt.js +48 -48
  107. package/dist/components/ui/radio-group.js +63 -54
  108. package/dist/components/ui/select/components/LabelWithSequence.js +6 -6
  109. package/dist/components/ui/select/components/Submenu.js +33 -33
  110. package/dist/components/ui/select/select.js +425 -376
  111. package/dist/components/ui/sheet.js +88 -66
  112. package/dist/components/ui/sidebar.js +342 -296
  113. package/dist/components/ui/skeleton.js +6 -6
  114. package/dist/components/ui/slider.js +17 -17
  115. package/dist/components/ui/statistics-card.d.ts +86 -0
  116. package/dist/components/ui/statistics-card.hooks.d.ts +150 -0
  117. package/dist/components/ui/statistics-card.hooks.js +100 -0
  118. package/dist/components/ui/statistics-card.js +259 -0
  119. package/dist/components/ui/stepper.js +51 -51
  120. package/dist/components/ui/switch.js +7 -7
  121. package/dist/components/ui/tabs.js +70 -70
  122. package/dist/components/ui/tag-group.d.ts +1 -0
  123. package/dist/components/ui/tag-group.js +14 -13
  124. package/dist/components/ui/tag.js +43 -43
  125. package/dist/components/ui/textarea.js +86 -58
  126. package/dist/components/ui/toast.js +39 -39
  127. package/dist/components/ui/tooltip.js +23 -23
  128. package/dist/components/ui/types/date-picker.types.d.ts +1 -0
  129. package/dist/components/ui/types/filter-panel.types.d.ts +3 -0
  130. package/dist/components/ui/types/filter-strip.types.d.ts +14 -0
  131. package/dist/components/ui/types/horizontal-scroller.types.d.ts +1 -1
  132. package/dist/components/ui/types/statistics-card.types.d.ts +1 -0
  133. package/dist/i18n/defaultMessages.d.ts +8 -0
  134. package/dist/i18n/defaultMessages.js +15 -9
  135. package/dist/i18n/locales/de.js +7 -1
  136. package/dist/i18n/locales/es.js +7 -1
  137. package/dist/i18n/locales/hi.js +7 -1
  138. package/dist/i18n/locales/kn.js +7 -1
  139. package/dist/icons/assets/bulk-edit.svg.js +5 -0
  140. package/dist/icons/assets/clock.svg.js +5 -0
  141. package/dist/icons/assets/statistics.svg.js +5 -0
  142. package/dist/icons/index.d.ts +3 -0
  143. package/dist/icons/index.js +254 -206
  144. package/dist/impact-nova.css +1 -1
  145. package/dist/index.d.ts +1 -0
  146. package/dist/index.js +361 -347
  147. package/package.json +3 -2
  148. package/tailwind.config.js +259 -152
  149. /package/dist/icons/assets/{PivotMode.svg.js → pivotMode.svg.js} +0 -0
@@ -1,9 +1,9 @@
1
- import { jsx as d } from "react/jsx-runtime";
1
+ import { jsx as n } from "react/jsx-runtime";
2
2
  import { applyValueFormatter as F } from "./cell-renderer-utils.js";
3
3
  const w = (h) => {
4
- const { valueFormatted: l, value: e, placeholder: g, disabled: n, colDef: s, className: y, data: t, valueFormatter: v } = h, c = e && typeof e == "object" && "cellMetadata" in e ? e.cellMetadata?._isDisabled : void 0, u = t && typeof t == "object" && "rowMetadata" in t ? t.rowMetadata?._isDisabled : void 0;
4
+ const { valueFormatted: l, value: e, placeholder: v, disabled: d, colDef: s, className: y, data: t, valueFormatter: g } = h, c = e && typeof e == "object" && "cellMetadata" in e ? e.cellMetadata?._isDisabled : void 0, u = t && typeof t == "object" && "rowMetadata" in t ? t.rowMetadata?._isDisabled : void 0;
5
5
  let a = !1;
6
- if (!n) {
6
+ if (!d) {
7
7
  const o = s?._originalEditable;
8
8
  s?.editable === !1 ? a = !1 : c === !1 ? a = !0 : c === !0 ? a = !1 : u === !1 ? a = !0 : u === !0 ? a = !1 : a = o === !0 || s?.editable === !0;
9
9
  }
@@ -12,24 +12,24 @@ const w = (h) => {
12
12
  if (l != null && l !== "Invalid Number" && l !== "")
13
13
  i = l;
14
14
  else if (m) {
15
- const o = e.cellMetadata?.valueFormatter, x = t && typeof t == "object" && "rowMetadata" in t ? t.rowMetadata?.valueFormatter : void 0, b = o ?? x ?? v;
15
+ const o = e.cellMetadata?.valueFormatter, x = t && typeof t == "object" && "rowMetadata" in t ? t.rowMetadata?.valueFormatter : void 0, b = o ?? x ?? g;
16
16
  i = b ? F(b, r) : r;
17
17
  } else
18
18
  i = l ?? r;
19
19
  const p = !i;
20
- return /* @__PURE__ */ d(
20
+ return /* @__PURE__ */ n(
21
21
  "div",
22
22
  {
23
- className: `w-full h-full flex items-center ag-cell-inner-padding ${y} ${n ? "opacity-60 cursor-not-allowed" : a ? "in-ag-editable-cell-highlight" : ""}`,
24
- children: /* @__PURE__ */ d(
23
+ className: `w-full h-full flex items-center ag-cell-inner-padding ${y} ${d ? "opacity-60 cursor-not-allowed" : a ? "in-ag-editable-cell-highlight" : ""}`,
24
+ children: /* @__PURE__ */ n(
25
25
  "div",
26
26
  {
27
- className: `flex w-full items-center rounded-[8px] px-1.5 h-7 ${f ? "justify-end text-right" : ""} ${a ? "bg-white" : "bg-inherit"}`,
28
- children: /* @__PURE__ */ d(
27
+ className: `flex w-full items-center rounded-[8px] px-1.5 h-7 ${f ? "justify-end text-right" : ""} ${a ? "bg-canvas-elevated" : "bg-inherit"}`,
28
+ children: /* @__PURE__ */ n(
29
29
  "span",
30
30
  {
31
- className: `flex h-full w-full bg-transparent p-0 text-sm font-medium items-center truncate text-[#1f2b4d] ${p ? "text-[#dfe2e7]" : ""} ${f ? "justify-end text-right" : ""}`,
32
- children: p ? g ?? "--" : i
31
+ className: `flex h-full w-full bg-transparent p-0 text-sm font-medium items-center truncate text-content ${p ? "text-content-empty" : ""} ${f ? "justify-end text-right" : ""}`,
32
+ children: p ? v ?? "--" : i
33
33
  }
34
34
  )
35
35
  }
@@ -20,7 +20,7 @@ const Q = (e, l, r, a) => {
20
20
  let t = null;
21
21
  const i = m(e.iconField, e.icon, l);
22
22
  if (typeof i == "string" ? t = H(i, { size: 16 }) : t = i, !t) return null;
23
- const o = m(e.backgroundColorField, e.backgroundColor, l), s = m(e.colorField, e.color, l) ?? "#60697D", f = m(e.tooltipField, e.tooltip, l), g = /* @__PURE__ */ c(
23
+ const o = m(e.backgroundColorField, e.backgroundColor, l), s = m(e.colorField, e.color, l) ?? "var(--color-foreground-icon)", f = m(e.tooltipField, e.tooltip, l), g = /* @__PURE__ */ c(
24
24
  "div",
25
25
  {
26
26
  className: `flex items-center justify-center ${e.onClick ? "cursor-pointer" : ""} ${e.showOnHover ? "opacity-0 group-hover:opacity-100 transition-opacity" : ""}`,
@@ -135,7 +135,7 @@ const Q = (e, l, r, a) => {
135
135
  /* @__PURE__ */ c(
136
136
  "div",
137
137
  {
138
- className: `flex-1 truncate min-w-0 ${F ? "text-blue-600 cursor-pointer hover:underline font-medium" : ""}`,
138
+ className: `flex-1 truncate min-w-0 ${F ? "text-brand cursor-pointer hover:underline font-medium" : ""}`,
139
139
  onClick: F ? C : void 0,
140
140
  children: N
141
141
  }
@@ -1,4 +1,4 @@
1
- import { jsx as o, jsxs as V } from "react/jsx-runtime";
1
+ import { jsx as c, jsxs as V } from "react/jsx-runtime";
2
2
  import { Badge as j } from "../../badge.js";
3
3
  import { cn as w } from "../../../../lib/utils.js";
4
4
  import { Progress as $ } from "../../progress.js";
@@ -15,19 +15,19 @@ function S(e, a, n) {
15
15
  return Math.min(n, Math.max(a, e));
16
16
  }
17
17
  const _ = (e) => {
18
- const { value: a, disabled: n, colDef: c, className: b, data: s } = e, l = e.min ?? 0, d = e.max ?? 100, u = e.fractionDigits ?? 0, x = e.badgeVariant ?? "subtle", h = e.badgeColor ?? "neutral", p = e.badgeShape ?? "circle", N = e.progressVariant ?? "default", f = a && typeof a == "object" && "cellMetadata" in a ? a.cellMetadata?._isDisabled : void 0, m = s && typeof s == "object" && "rowMetadata" in s ? s.rowMetadata?._isDisabled : void 0;
18
+ const { value: a, disabled: n, colDef: o, className: b, data: s } = e, l = e.min ?? 0, d = e.max ?? 100, u = e.fractionDigits ?? 0, h = e.badgeVariant ?? "subtle", x = e.badgeColor ?? "neutral", p = e.badgeShape ?? "circle", N = e.progressVariant ?? "default", f = a && typeof a == "object" && "cellMetadata" in a ? a.cellMetadata?._isDisabled : void 0, m = s && typeof s == "object" && "rowMetadata" in s ? s.rowMetadata?._isDisabled : void 0;
19
19
  let t = !1;
20
20
  if (!n) {
21
- const P = c?._originalEditable;
22
- c?.editable === !1 ? t = !1 : f === !1 ? t = !0 : f === !0 ? t = !1 : m === !1 ? t = !0 : m === !0 ? t = !1 : t = P === !0 || c?.editable === !0;
21
+ const P = o?._originalEditable;
22
+ o?.editable === !1 ? t = !1 : f === !1 ? t = !0 : f === !0 ? t = !1 : m === !1 ? t = !0 : m === !0 ? t = !1 : t = P === !0 || o?.editable === !0;
23
23
  }
24
24
  const v = E(a), g = F(v), i = g != null, r = i ? S(g, l, d) : l, y = d - l || 1, D = i ? (r - l) / y * 100 : 0, M = i ? u > 0 ? `${r.toFixed(u)}%` : `${Math.round(r)}%` : "--";
25
- return /* @__PURE__ */ o(
25
+ return /* @__PURE__ */ c(
26
26
  "div",
27
27
  {
28
28
  className: `w-full h-full flex items-center ag-cell-inner-padding ${b ?? ""} ${n ? "opacity-60 cursor-not-allowed" : t ? "in-ag-editable-cell-highlight" : ""}`,
29
29
  children: /* @__PURE__ */ V("div", { className: "flex w-full min-w-0 items-center gap-2", children: [
30
- /* @__PURE__ */ o("div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ o(
30
+ /* @__PURE__ */ c("div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ c(
31
31
  $,
32
32
  {
33
33
  label: !1,
@@ -40,16 +40,14 @@ const _ = (e) => {
40
40
  className: "h-2.5"
41
41
  }
42
42
  ) }),
43
- /* @__PURE__ */ o(
43
+ /* @__PURE__ */ c(
44
44
  j,
45
45
  {
46
- variant: x,
47
- color: h,
46
+ variant: h,
47
+ color: x,
48
48
  shape: p,
49
- className: w(
50
- "shrink-0 tabular-nums px-2 py-0.5 text-xs font-medium leading-none border-0",
51
- !i && "text-[#dfe2e7]"
52
- ),
49
+ size: "sm",
50
+ className: w("shrink-0 tabular-nums leading-none", !i && "text-content-empty"),
53
51
  children: M
54
52
  }
55
53
  )
@@ -1,24 +1,24 @@
1
1
  import { jsx as n, jsxs as m } from "react/jsx-runtime";
2
2
  import { ChevronDown as g } from "lucide-react";
3
3
  const h = (u) => {
4
- const { value: e, options: b = [], placeholder: p = "Select...", disabled: o, colDef: i, data: t } = u, r = e && typeof e == "object" && "cellMetadata" in e ? e.cellMetadata?._isDisabled : void 0, d = t && typeof t == "object" && "rowMetadata" in t ? t.rowMetadata?._isDisabled : void 0;
5
- let l = !1;
4
+ const { value: e, options: p = [], placeholder: b = "Select...", disabled: o, colDef: i, data: l } = u, c = e && typeof e == "object" && "cellMetadata" in e ? e.cellMetadata?._isDisabled : void 0, r = l && typeof l == "object" && "rowMetadata" in l ? l.rowMetadata?._isDisabled : void 0;
5
+ let t = !1;
6
6
  if (!o) {
7
7
  const s = i?._originalEditable;
8
- i?.editable === !1 ? l = !1 : r === !1 ? l = !0 : r === !0 ? l = !1 : d === !1 ? l = !0 : d === !0 ? l = !1 : l = s === !0 || i?.editable === !0;
8
+ i?.editable === !1 ? t = !1 : c === !1 ? t = !0 : c === !0 ? t = !1 : r === !1 ? t = !0 : r === !0 ? t = !1 : t = s === !0 || i?.editable === !0;
9
9
  }
10
- const a = e && typeof e == "object" && "value" in e ? e.value : e, c = b.find((s) => s.value === String(a ?? ""))?.label ?? (a != null && a !== "" ? String(a) : ""), f = !c;
10
+ const a = e && typeof e == "object" && "value" in e ? e.value : e, d = p.find((s) => s.value === String(a ?? ""))?.label ?? (a != null && a !== "" ? String(a) : ""), f = !d;
11
11
  return /* @__PURE__ */ n(
12
12
  "div",
13
13
  {
14
- className: `w-full h-full flex items-center ag-cell-inner-padding ${o ? "opacity-60 cursor-not-allowed" : l ? "in-ag-editable-cell-highlight" : ""}`,
14
+ className: `w-full h-full flex items-center ag-cell-inner-padding ${o ? "opacity-60 cursor-not-allowed" : t ? "in-ag-editable-cell-highlight" : ""}`,
15
15
  children: /* @__PURE__ */ m(
16
16
  "div",
17
17
  {
18
- className: `flex w-full items-center justify-between rounded-[8px] px-1.5 h-7 ${l ? "bg-white cursor-pointer" : "bg-inherit"}`,
18
+ className: `flex w-full items-center justify-between rounded-[8px] px-1.5 h-7 ${t ? "bg-canvas-elevated cursor-pointer" : "bg-inherit"}`,
19
19
  children: [
20
- /* @__PURE__ */ n("span", { className: `truncate text-sm font-medium text-[#1f2b4d] ${f ? "text-[#dfe2e7]" : ""}`, children: f ? p : c }),
21
- l && /* @__PURE__ */ n(g, { className: "h-3.5 w-3.5 shrink-0 text-muted-foreground" })
20
+ /* @__PURE__ */ n("span", { className: `truncate text-sm font-medium text-content ${f ? "text-content-empty" : ""}`, children: f ? b : d }),
21
+ t && /* @__PURE__ */ n(g, { className: "h-3.5 w-3.5 shrink-0 text-content-muted" })
22
22
  ]
23
23
  }
24
24
  )
@@ -2,18 +2,18 @@ import { jsx as o } from "react/jsx-runtime";
2
2
  import "react";
3
3
  import { resolveCellEditable as V, resolveValueFormatter as x, applyValueFormatter as N } from "./cell-renderer-utils.js";
4
4
  const E = (v) => {
5
- const { splits: l, commonParams: n, data: i, node: g, api: c, column: b, context: d, value: h, colDef: s, valueFormatter: y } = v;
5
+ const { splits: l, commonParams: n, data: i, node: h, api: c, column: b, context: s, value: g, colDef: d, valueFormatter: y } = v;
6
6
  if (!l || !Array.isArray(l)) return null;
7
7
  const w = (t) => {
8
8
  const e = t;
9
9
  if (typeof e == "string") {
10
10
  const a = c?.getGridOption("components");
11
- return d?.frameworkComponents?.[e] || a?.[e];
11
+ return s?.frameworkComponents?.[e] || a?.[e];
12
12
  }
13
13
  return e;
14
14
  };
15
15
  return /* @__PURE__ */ o("div", { style: { display: "grid", gridTemplateRows: `repeat(${l?.length}, 1fr)`, height: "100%", width: "100%" }, children: l?.map((t, e) => {
16
- const a = t?.field?.split(".")?.pop(), r = h?.[a], m = r?.value?.toString(), p = i, C = typeof s?.editable == "boolean" ? s.editable : void 0, F = V(C, t.editable, p, r), u = x(r, p, t?.valueFormatter, y ?? null), R = u ? N(u, m) : m, f = n?.cellRenderer && typeof n?.cellRenderer == "string" ? w(n?.cellRenderer) : void 0;
16
+ const a = t?.field?.split(".")?.pop(), r = g?.[a], m = r?.value?.toString(), p = i, C = typeof d?.editable == "boolean" ? d.editable : void 0, F = V(C, t.editable, p, r), u = x(r, p, t?.valueFormatter, y ?? null), R = u ? N(u, m) : m, f = n?.cellRenderer && typeof n?.cellRenderer == "string" ? w(n?.cellRenderer) : void 0;
17
17
  return /* @__PURE__ */ o(
18
18
  "div",
19
19
  {
@@ -22,15 +22,15 @@ const E = (v) => {
22
22
  children: f ? /* @__PURE__ */ o(
23
23
  f,
24
24
  {
25
- node: g,
25
+ node: h,
26
26
  api: c,
27
27
  column: b,
28
- context: d,
28
+ context: s,
29
29
  data: i,
30
30
  value: r,
31
31
  colDef: { ...t, editable: F },
32
32
  valueFormatted: R,
33
- className: e !== l.length - 1 ? "border-b border-gray-200" : ""
33
+ className: e !== l.length - 1 ? "border-b border-stroke-hairline" : ""
34
34
  }
35
35
  ) : /* @__PURE__ */ o(
36
36
  "div",
@@ -22,7 +22,7 @@ export interface StatusBadgeRendererProps extends ICellRendererParams {
22
22
  * cellRenderer: StatusBadgeRenderer,
23
23
  * cellRendererParams: {
24
24
  * statusConfig: {
25
- * draft: { label: 'Draft', className: 'bg-purple-100 text-purple-800' },
25
+ * draft: { label: 'Draft', className: 'bg-accent text-accent-foreground' },
26
26
  * }
27
27
  * }
28
28
  * }
@@ -1,26 +1,26 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- const r = {
3
- active: { label: "Active", className: "bg-green-100 text-green-800" },
4
- inactive: { label: "Inactive", className: "bg-gray-100 text-gray-800" },
5
- pending: { label: "Pending", className: "bg-yellow-100 text-yellow-800" },
6
- approved: { label: "Approved", className: "bg-blue-100 text-blue-800" },
7
- rejected: { label: "Rejected", className: "bg-red-100 text-red-800" }
8
- }, c = (t) => {
9
- const { value: e, statusConfig: s = r } = t;
2
+ const c = {
3
+ active: { label: "Active", className: "bg-feedback-success-surface text-success" },
4
+ inactive: { label: "Inactive", className: "bg-muted text-content-charcoal" },
5
+ pending: { label: "Pending", className: "bg-feedback-warning-surface text-content" },
6
+ approved: { label: "Approved", className: "bg-brand-tint text-brand-strong" },
7
+ rejected: { label: "Rejected", className: "bg-feedback-error-surface text-destructive" }
8
+ }, r = (s) => {
9
+ const { value: e, statusConfig: l = c } = s;
10
10
  if (e == null || e === "") return null;
11
- const n = String(e).toLowerCase(), l = s[n] ?? {
11
+ const n = String(e).toLowerCase(), t = l[n] ?? {
12
12
  label: String(e),
13
- className: "bg-gray-100 text-gray-800"
13
+ className: "bg-muted text-content-charcoal"
14
14
  };
15
15
  return /* @__PURE__ */ a("div", { className: "w-full h-full flex items-center ag-cell-inner-padding", children: /* @__PURE__ */ a(
16
16
  "span",
17
17
  {
18
- className: `inline-flex px-2 py-0.5 text-xs font-semibold rounded-full ${l.className}`,
19
- children: l.label
18
+ className: `inline-flex px-2 py-0.5 text-xs font-semibold rounded-full ${t.className}`,
19
+ children: t.label
20
20
  }
21
21
  ) });
22
22
  };
23
- c.displayName = "StatusBadgeRenderer";
23
+ r.displayName = "StatusBadgeRenderer";
24
24
  export {
25
- c as StatusBadgeRenderer
25
+ r as StatusBadgeRenderer
26
26
  };
@@ -1,35 +1,35 @@
1
- import { jsxs as b, jsx as t } from "react/jsx-runtime";
2
- import { useCallback as d } from "react";
3
- const p = (c) => {
4
- const { value: u, node: i, column: l, leftLabel: o, rightLabel: s, disabled: e } = c, r = !!u, n = d(() => {
5
- e || !l || i.setDataValue(l.getColId(), !r);
6
- }, [e, l, i, r]), h = d(
7
- (a) => {
8
- e || (a.key === " " || a.key === "Enter") && (a.preventDefault(), n());
1
+ import { jsxs as b, jsx as n } from "react/jsx-runtime";
2
+ import { useCallback as c } from "react";
3
+ const p = (d) => {
4
+ const { value: h, node: i, column: a, leftLabel: s, rightLabel: o, disabled: e } = d, t = !!h, l = c(() => {
5
+ e || !a || i.setDataValue(a.getColId(), !t);
6
+ }, [e, a, i, t]), u = c(
7
+ (r) => {
8
+ e || (r.key === " " || r.key === "Enter") && (r.preventDefault(), l());
9
9
  },
10
- [e, n]
10
+ [e, l]
11
11
  );
12
12
  return /* @__PURE__ */ b("div", { className: `flex items-center justify-center h-full w-full gap-2 ag-cell-inner-padding ${e ? "opacity-60 cursor-not-allowed" : !e ? "in-ag-editable-cell-highlight" : ""}`, children: [
13
- o && /* @__PURE__ */ t("span", { className: "text-xs text-muted-foreground", children: o }),
14
- /* @__PURE__ */ t(
13
+ s && /* @__PURE__ */ n("span", { className: "text-xs text-content-muted", children: s }),
14
+ /* @__PURE__ */ n(
15
15
  "div",
16
16
  {
17
- onClick: n,
18
- onKeyDown: h,
17
+ onClick: l,
18
+ onKeyDown: u,
19
19
  role: "switch",
20
- "aria-checked": r,
20
+ "aria-checked": t,
21
21
  "aria-disabled": e,
22
22
  tabIndex: e ? -1 : 0,
23
- className: `inline-flex h-4 w-6 shrink-0 items-center rounded-full border transition-colors ${e ? "cursor-not-allowed opacity-50" : "cursor-pointer"} ${r ? "bg-[#eceefd] border-accordion-bg" : "bg-white border-light-blue"}`,
24
- children: /* @__PURE__ */ t(
23
+ className: `inline-flex h-4 w-6 shrink-0 items-center rounded-full border transition-colors ${e ? "cursor-not-allowed opacity-50" : "cursor-pointer"} ${t ? "bg-brand-tint border-canvas-accordion" : "bg-canvas-elevated border-canvas-tint"}`,
24
+ children: /* @__PURE__ */ n(
25
25
  "div",
26
26
  {
27
- className: `pointer-events-none block h-[10px] w-[10px] rounded-full shadow-lg transition-transform ${r ? "translate-x-[10px] bg-primary" : "translate-x-[2px] bg-tertiary-border"}`
27
+ className: `pointer-events-none block h-[10px] w-[10px] rounded-full shadow-lg transition-transform ${t ? "translate-x-[10px] bg-brand" : "translate-x-[2px] bg-stroke-field"}`
28
28
  }
29
29
  )
30
30
  }
31
31
  ),
32
- s && /* @__PURE__ */ t("span", { className: "text-xs text-muted-foreground", children: s })
32
+ o && /* @__PURE__ */ n("span", { className: "text-xs text-content-muted", children: o })
33
33
  ] });
34
34
  };
35
35
  p.displayName = "SwitchDisplayRenderer";
@@ -1,24 +1,24 @@
1
1
  import { jsx as l } from "react/jsx-runtime";
2
- const m = (r) => {
3
- const { valueFormatted: n, value: t, placeholder: s, disabled: i, maxLines: d = 2, colDef: o } = r, c = !i && o?.editable === !0, e = n ?? (t != null ? String(t) : ""), a = e === "" || e == null;
2
+ const m = (n) => {
3
+ const { valueFormatted: r, value: t, placeholder: s, disabled: a, maxLines: d = 2, colDef: c } = n, o = !a && c?.editable === !0, e = r ?? (t != null ? String(t) : ""), i = e === "" || e == null;
4
4
  return /* @__PURE__ */ l(
5
5
  "div",
6
6
  {
7
- className: `w-full h-full flex items-center ag-cell-inner-padding ${i ? "opacity-60 cursor-not-allowed" : c ? "in-ag-editable-cell-highlight" : ""}`,
7
+ className: `w-full h-full flex items-center ag-cell-inner-padding ${a ? "opacity-60 cursor-not-allowed" : o ? "in-ag-editable-cell-highlight" : ""}`,
8
8
  children: /* @__PURE__ */ l(
9
9
  "div",
10
10
  {
11
- className: "flex w-full items-center rounded-[8px] bg-white px-1.5 h-7 cursor-text",
11
+ className: "flex w-full items-center rounded-[8px] bg-canvas-elevated px-1.5 h-7 cursor-text",
12
12
  children: /* @__PURE__ */ l(
13
13
  "span",
14
14
  {
15
- className: `w-full text-sm font-medium text-[#1f2b4d] overflow-hidden ${a ? "text-[#dfe2e7]" : ""}`,
15
+ className: `w-full text-sm font-medium text-content overflow-hidden ${i ? "text-content-empty" : ""}`,
16
16
  style: {
17
17
  display: "-webkit-box",
18
18
  WebkitLineClamp: d,
19
19
  WebkitBoxOrient: "vertical"
20
20
  },
21
- children: a ? s ?? "" : e
21
+ children: i ? s ?? "" : e
22
22
  }
23
23
  )
24
24
  }
@@ -1,5 +1,5 @@
1
1
  import { jsxs as f, jsx as r, Fragment as U } from "react/jsx-runtime";
2
- import { useState as R } from "react";
2
+ import { useState as D } from "react";
3
3
  import { Dialog as W, DialogContent as X, DialogHeader as Y, DialogTitle as Z, DialogClose as _, DialogBody as I, DialogFooter as ee } from "../../../dialog.js";
4
4
  import { Button as C } from "../../../button.js";
5
5
  import { ButtonGroup as te } from "../../../button-group.js";
@@ -21,17 +21,17 @@ const B = (S) => {
21
21
  columnType: v,
22
22
  selectOptions: j,
23
23
  isMultiSelect: $,
24
- initialModel: T,
24
+ initialModel: k,
25
25
  api: h
26
26
  // Add api to props
27
27
  }) => {
28
- const { t: d } = ne(), k = () => (T?.rules || []).filter((e) => !("logic" in e)), [y, G] = R("column"), [F, O] = R(() => {
29
- const e = {}, n = k(), t = B(n);
28
+ const { t: d } = ne(), T = () => (k?.rules || []).filter((e) => !("logic" in e)), [y, G] = D("column"), [F, O] = D(() => {
29
+ const e = {}, n = T(), t = B(n);
30
30
  return Object.keys(t).forEach((a) => {
31
- e[a] = T?.logic || "OR";
31
+ e[a] = k?.logic || "OR";
32
32
  }), e[s] || (e[s] = "OR"), e;
33
- }), [g, L] = R(() => {
34
- const e = k();
33
+ }), [g, L] = D(() => {
34
+ const e = T();
35
35
  if (h) {
36
36
  const t = h.getFilterModel();
37
37
  t && Object.keys(t).forEach((i) => {
@@ -63,7 +63,7 @@ const B = (S) => {
63
63
  value: l.values
64
64
  };
65
65
  else if (l.filterType === "multi") {
66
- const c = l.filterModels?.find((D) => D && D.filterType === "set");
66
+ const c = l.filterModels?.find((R) => R && R.filterType === "set");
67
67
  c && (o = {
68
68
  id: Math.random().toString(36).substr(2, 9),
69
69
  columnId: i,
@@ -78,7 +78,7 @@ const B = (S) => {
78
78
  });
79
79
  }
80
80
  return e.some((t) => t.columnId === s) || e.push(N(s, v)), e;
81
- }), [x] = R(() => ({
81
+ }), [x] = D(() => ({
82
82
  allRules: g,
83
83
  // Use the computed rules (potentially synced)
84
84
  columnLogic: { ...F }
@@ -143,7 +143,7 @@ const B = (S) => {
143
143
  ]
144
144
  }
145
145
  ) }),
146
- /* @__PURE__ */ r(_, { asChild: !0, children: /* @__PURE__ */ r(C, { variant: "ghost", size: "icon", className: "h-8 w-8 p-0 text-[#60697D] hover:text-[#3649C6]", onClick: u, "aria-label": d("aria.close"), children: /* @__PURE__ */ r(le, { size: 14 }) }) })
146
+ /* @__PURE__ */ r(_, { asChild: !0, children: /* @__PURE__ */ r(C, { variant: "ghost", size: "icon", className: "h-8 w-8 p-0 text-content-tertiary hover:text-brand-variant-hover", onClick: u, "aria-label": d("aria.close"), children: /* @__PURE__ */ r(le, { size: 14 }) }) })
147
147
  ] }),
148
148
  /* @__PURE__ */ r(I, { className: "px-0 py-4 min-h-[300px] max-h-[400px] overflow-y-auto", children: /* @__PURE__ */ r("div", { className: "flex flex-col gap-6 w-full px-4", children: y === "column" ? (
149
149
  // Column Mode: Single column section
@@ -163,7 +163,7 @@ const B = (S) => {
163
163
  )
164
164
  ) : (
165
165
  // Global Mode: All columns with filters
166
- /* @__PURE__ */ r(U, { children: A.length === 0 ? /* @__PURE__ */ r("div", { className: "text-center py-8 text-slate-400", children: d("advancedFilter.noFiltersApplied") }) : A.map((e, n) => {
166
+ /* @__PURE__ */ r(U, { children: A.length === 0 ? /* @__PURE__ */ r("div", { className: "text-center py-8 text-content-placeholder", children: d("advancedFilter.noFiltersApplied") }) : A.map((e, n) => {
167
167
  let t = null;
168
168
  if (h) {
169
169
  const p = h.getColumn(e);
@@ -171,9 +171,9 @@ const B = (S) => {
171
171
  }
172
172
  const a = t?.headerComponentParams, i = t?.headerName || e, l = q(e, i), o = t?.filter === "agNumberColumnFilter" ? "number" : t?.filter === "agDateColumnFilter" ? "date" : t?.filter === "agMultiColumnFilter" ? "multi" : t?.filter === "agSetColumnFilter" || a?.selectOptions ? "select" : "text";
173
173
  console.log(`[AdvancedFilterDialog] Column: ${e}, Type: ${o}, Filter: ${t?.filter}`);
174
- const c = a?.selectOptions, D = a?.isMultiSelect;
174
+ const c = a?.selectOptions, R = a?.isMultiSelect;
175
175
  return /* @__PURE__ */ f("div", { children: [
176
- n > 0 && /* @__PURE__ */ r("hr", { className: "border-slate-200 mb-6" }),
176
+ n > 0 && /* @__PURE__ */ r("hr", { className: "border-stroke-hairline mb-6" }),
177
177
  /* @__PURE__ */ r(
178
178
  z,
179
179
  {
@@ -181,7 +181,7 @@ const B = (S) => {
181
181
  columnLabel: l,
182
182
  columnType: o,
183
183
  selectOptions: c,
184
- isMultiSelect: D,
184
+ isMultiSelect: R,
185
185
  rules: E(e),
186
186
  logic: M(e),
187
187
  onLogicChange: (p) => w(e, p),
@@ -8,7 +8,7 @@ import p from "../../../select/select.js";
8
8
  import { Bin as E } from "../../../../../icons/index.js";
9
9
  import { createEmptyRule as q } from "../utils/filter-utils.js";
10
10
  import { useImpactNovaI18n as I } from "../../../../../i18n/ImpactNovaI18nContext.js";
11
- const C = {
11
+ const y = {
12
12
  text: ["contains", "notContains", "equals", "notEqual", "startsWith", "endsWith", "empty", "notEmpty"],
13
13
  number: ["equals", "notEqual", "greaterThan", "greaterThanOrEqual", "lessThan", "lessThanOrEqual", "inRange", "empty", "notEmpty"],
14
14
  date: ["equals", "notEqual", "greaterThan", "lessThan", "inRange"],
@@ -16,36 +16,36 @@ const C = {
16
16
  multi: ["contains", "notContains", "startsWith", "endsWith", "equals", "notEqual", "empty", "notEmpty"]
17
17
  }, $ = ({
18
18
  columnId: h,
19
- columnLabel: R,
20
- columnType: n,
19
+ columnLabel: C,
20
+ columnType: l,
21
21
  selectOptions: g,
22
22
  isMultiSelect: c,
23
23
  rules: s,
24
- logic: y,
24
+ logic: R,
25
25
  onLogicChange: O,
26
26
  onRulesChange: m,
27
27
  canDeleteLastRule: f = !1,
28
28
  onDeleteColumnFilter: x
29
29
  }) => {
30
- const { t: r } = I(), b = w(() => (C[n] ?? C.text).map((l) => ({ label: r(`filter.operators.${n === "date" && l === "greaterThan" ? "after" : n === "date" && l === "lessThan" ? "before" : n === "date" && l === "inRange" ? "between" : l}`), value: l })), [n, r]), N = w(
30
+ const { t: r } = I(), b = w(() => (y[l] ?? y.text).map((n) => ({ label: r(`filter.operators.${l === "date" && n === "greaterThan" ? "after" : l === "date" && n === "lessThan" ? "before" : l === "date" && n === "inRange" ? "between" : n}`), value: n })), [l, r]), N = w(
31
31
  () => [
32
32
  { label: r("filter.logicAll"), value: "AND" },
33
33
  { label: r("filter.logicAny"), value: "OR" }
34
34
  ],
35
35
  [r]
36
36
  ), A = () => {
37
- m([...s, q(h, n)]);
37
+ m([...s, q(h, l)]);
38
38
  }, F = (e) => {
39
39
  if (s.length > 1 || f) {
40
- const l = s.filter((t) => t.id !== e);
41
- l.length === 0 && f ? m([]) : m(l.length > 0 ? l : [q(h, n)]);
40
+ const n = s.filter((t) => t.id !== e);
41
+ n.length === 0 && f ? m([]) : m(n.length > 0 ? n : [q(h, l)]);
42
42
  }
43
- }, i = (e, l) => {
44
- m(s.map((t) => t.id === e ? { ...t, ...l } : t));
43
+ }, o = (e, n) => {
44
+ m(s.map((t) => t.id === e ? { ...t, ...n } : t));
45
45
  }, S = (e) => {
46
46
  if (e.operator === "empty" || e.operator === "notEmpty")
47
- return /* @__PURE__ */ a("span", { className: "text-slate-400 italic text-sm", children: r("advancedFilter.noValueNeeded") });
48
- if (n === "date")
47
+ return /* @__PURE__ */ a("span", { className: "text-content-placeholder italic text-sm", children: r("advancedFilter.noValueNeeded") });
48
+ if (l === "date")
49
49
  return e.operator === "inRange" ? /* @__PURE__ */ a(
50
50
  T,
51
51
  {
@@ -54,7 +54,7 @@ const C = {
54
54
  to: e.valueTo ? new Date(e.valueTo) : void 0
55
55
  },
56
56
  onChange: (t) => {
57
- i(e.id, {
57
+ o(e.id, {
58
58
  value: t?.from?.toISOString() || "",
59
59
  valueTo: t?.to?.toISOString() || ""
60
60
  });
@@ -65,22 +65,22 @@ const C = {
65
65
  P,
66
66
  {
67
67
  value: e.value ? new Date(e.value) : void 0,
68
- onChange: (t) => i(e.id, { value: t?.toISOString() || "" }),
68
+ onChange: (t) => o(e.id, { value: t?.toISOString() || "" }),
69
69
  placeholder: r("filter.selectDate"),
70
70
  showFooter: !0
71
71
  }
72
72
  );
73
- const l = e.operator === "equals" || e.operator === "notEqual";
74
- return n === "select" || n === "multi" && l ? /* @__PURE__ */ a(
73
+ const n = e.operator === "equals" || e.operator === "notEqual";
74
+ return l === "select" || l === "multi" && n ? /* @__PURE__ */ a(
75
75
  p,
76
76
  {
77
77
  options: g || [],
78
78
  value: (() => {
79
- const t = (g || []).filter((o) => Array.isArray(e.value) ? e.value.includes(o.value) : String(e.value) === String(o.value));
79
+ const t = (g || []).filter((i) => Array.isArray(e.value) ? e.value.includes(i.value) : String(e.value) === String(i.value));
80
80
  return t.length === 0 ? null : c !== !1 ? t : t[0];
81
81
  })(),
82
82
  onChange: (t) => {
83
- Array.isArray(t) ? i(e.id, { value: t.map((o) => o.value) }) : i(e.id, { value: t?.value || "" });
83
+ Array.isArray(t) ? o(e.id, { value: t.map((i) => i.value) }) : o(e.id, { value: t?.value || "" });
84
84
  },
85
85
  isMulti: c !== void 0 ? c : !0,
86
86
  placeholder: r(c === !1 ? "filter.selectValue" : "filter.selectValues"),
@@ -92,20 +92,20 @@ const C = {
92
92
  v,
93
93
  {
94
94
  value: e.value,
95
- onChange: (t) => i(e.id, { value: t.target.value }),
95
+ onChange: (t) => o(e.id, { value: t.target.value }),
96
96
  placeholder: r("filter.from"),
97
- type: n === "number" ? "number" : "text",
97
+ type: l === "number" ? "number" : "text",
98
98
  className: "flex-1"
99
99
  }
100
100
  ),
101
- /* @__PURE__ */ a("span", { className: "text-slate-400 shrink-0", children: r("filter.to") }),
101
+ /* @__PURE__ */ a("span", { className: "text-content-placeholder shrink-0", children: r("filter.to") }),
102
102
  /* @__PURE__ */ a(
103
103
  v,
104
104
  {
105
105
  value: e.valueTo || "",
106
- onChange: (t) => i(e.id, { valueTo: t.target.value }),
106
+ onChange: (t) => o(e.id, { valueTo: t.target.value }),
107
107
  placeholder: r("filter.to"),
108
- type: n === "number" ? "number" : "text",
108
+ type: l === "number" ? "number" : "text",
109
109
  className: "flex-1"
110
110
  }
111
111
  )
@@ -113,23 +113,23 @@ const C = {
113
113
  v,
114
114
  {
115
115
  value: e.value,
116
- onChange: (t) => i(e.id, { value: t.target.value }),
116
+ onChange: (t) => o(e.id, { value: t.target.value }),
117
117
  placeholder: r("filter.enterValue"),
118
- type: n === "number" ? "number" : "text",
118
+ type: l === "number" ? "number" : "text",
119
119
  className: "w-full"
120
120
  }
121
121
  );
122
122
  }, k = (e) => {
123
- const l = b.find((t) => t.value === e.operator);
123
+ const n = b.find((t) => t.value === e.operator);
124
124
  return /* @__PURE__ */ d("div", { className: "flex items-center gap-2", children: [
125
125
  /* @__PURE__ */ a("div", { className: "w-[120px] shrink-0", children: /* @__PURE__ */ a(
126
126
  p,
127
127
  {
128
128
  options: b,
129
- value: l || null,
129
+ value: n || null,
130
130
  onChange: (t) => {
131
- const o = t;
132
- o && i(e.id, { operator: o.value });
131
+ const i = t;
132
+ i && o(e.id, { operator: i.value });
133
133
  },
134
134
  placeholder: r("filter.operator"),
135
135
  className: "w-full",
@@ -151,16 +151,16 @@ const C = {
151
151
  ] }, e.id);
152
152
  };
153
153
  return /* @__PURE__ */ d("div", { className: "flex flex-col gap-4", children: [
154
- /* @__PURE__ */ d("div", { className: "text-slate-500 text-sm flex items-center gap-2 flex-wrap", children: [
154
+ /* @__PURE__ */ d("div", { className: "text-content-muted text-sm flex items-center gap-2 flex-wrap", children: [
155
155
  /* @__PURE__ */ a("span", { children: r("advancedFilter.match") }),
156
156
  /* @__PURE__ */ a("div", { className: "w-[80px]", children: /* @__PURE__ */ a(
157
157
  p,
158
158
  {
159
159
  options: N,
160
- value: N.find((e) => e.value === y),
160
+ value: N.find((e) => e.value === R),
161
161
  onChange: (e) => {
162
- const l = e;
163
- l && O(l.value);
162
+ const n = e;
163
+ n && O(n.value);
164
164
  },
165
165
  className: "h-8",
166
166
  menuPortalTarget: document.body,
@@ -168,7 +168,7 @@ const C = {
168
168
  }
169
169
  ) }),
170
170
  /* @__PURE__ */ a("span", { children: r("advancedFilter.ofTheFollowingRulesForColumn") }),
171
- /* @__PURE__ */ a("span", { className: "font-semibold text-slate-700", children: R })
171
+ /* @__PURE__ */ a("span", { className: "font-semibold text-content-tertiary", children: C })
172
172
  ] }),
173
173
  /* @__PURE__ */ a("div", { className: "flex flex-col gap-3", children: s.map((e) => k(e)) }),
174
174
  /* @__PURE__ */ d("div", { className: "flex items-center justify-between mt-1", children: [
@@ -179,7 +179,7 @@ const C = {
179
179
  variant: "outline",
180
180
  size: "sm",
181
181
  onClick: x,
182
- className: "text-red-500 hover:text-red-600 hover:bg-red-50 border-red-300",
182
+ className: "text-validation hover:text-destructive hover:bg-feedback-error-surface border-destructive",
183
183
  children: [
184
184
  /* @__PURE__ */ a(E, { size: "xs" }),
185
185
  r("advancedFilter.deleteColumn")