@l3mpire/ui 2.16.3 → 2.16.4

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/dist/index.mjs CHANGED
@@ -5248,7 +5248,7 @@ function getValueInputType(type, operator) {
5248
5248
  return ["is any of", "is none of"].includes(operator) ? "MultiRelationPicker" : "RelationPicker";
5249
5249
  return null;
5250
5250
  }
5251
- function formatFilterValue(value) {
5251
+ function formatFilterValue(value, dynamicOptions) {
5252
5252
  if (value == null) return void 0;
5253
5253
  if (typeof value === "boolean") return value ? "Yes" : "No";
5254
5254
  if (value instanceof Date) {
@@ -5267,9 +5267,17 @@ function formatFilterValue(value) {
5267
5267
  const fmt = (d) => d.toLocaleDateString("en-US", { month: "short", day: "numeric", year: "numeric" });
5268
5268
  return `${fmt(value[0])} \u2013 ${value[1] instanceof Date ? fmt(value[1]) : "\u2026"}`;
5269
5269
  }
5270
- return String(value[0]);
5270
+ const resolved = resolveDynamic(String(value[0]), dynamicOptions);
5271
+ return resolved;
5271
5272
  }
5272
- return String(value);
5273
+ return resolveDynamic(String(value), dynamicOptions);
5274
+ }
5275
+ function resolveDynamic(raw, dynamicOptions) {
5276
+ if (dynamicOptions) {
5277
+ const match = dynamicOptions.find((o) => o.value === raw);
5278
+ if (match) return match.label;
5279
+ }
5280
+ return raw;
5273
5281
  }
5274
5282
  function getBadgeCount(value) {
5275
5283
  if (Array.isArray(value) && value.length > 1 && typeof value[0] === "string") {
@@ -6503,7 +6511,6 @@ var PresetTagsValueInput = ({
6503
6511
  PresetTagsValueInput.displayName = "PresetTagsValueInput";
6504
6512
 
6505
6513
  // src/components/ui/filter/value-inputs/select-value-input.tsx
6506
- import { Icon as Icon28 } from "@l3mpire/icons";
6507
6514
  import { jsx as jsx47, jsxs as jsxs42 } from "react/jsx-runtime";
6508
6515
  var DynamicOptionRow = ({
6509
6516
  option,
@@ -6540,14 +6547,6 @@ var DynamicOptionRow = ({
6540
6547
  ) })
6541
6548
  }
6542
6549
  ),
6543
- option.icon && /* @__PURE__ */ jsx47(
6544
- Icon28,
6545
- {
6546
- icon: option.icon,
6547
- size: "sm",
6548
- className: "shrink-0 mt-[1px] text-[var(--color-interactive-text-primary-dark-default,var(--color-primary))]"
6549
- }
6550
- ),
6551
6550
  /* @__PURE__ */ jsxs42("span", { className: "flex-1 flex flex-col gap-2xs min-w-0", children: [
6552
6551
  /* @__PURE__ */ jsx47("span", { className: "text-sm font-regular leading-sm text-[var(--color-foreground)] truncate", children: option.label }),
6553
6552
  option.description && /* @__PURE__ */ jsx47("span", { className: "text-xs font-regular leading-xs text-[var(--color-muted-foreground)]", children: option.description })
@@ -6555,7 +6554,6 @@ var DynamicOptionRow = ({
6555
6554
  ]
6556
6555
  }
6557
6556
  );
6558
- var DynamicOptionsDivider = () => /* @__PURE__ */ jsx47("div", { className: "h-px bg-[var(--color-dropdown-border)] mx-xs my-xs" });
6559
6557
  var SingleSelectValueInput = ({
6560
6558
  value,
6561
6559
  onChange,
@@ -6586,7 +6584,6 @@ var SingleSelectValueInput = ({
6586
6584
  },
6587
6585
  opt.value
6588
6586
  )),
6589
- dynamicOptions && dynamicOptions.length > 0 && options.length > 0 && /* @__PURE__ */ jsx47(DynamicOptionsDivider, {}),
6590
6587
  options.map((opt) => /* @__PURE__ */ jsx47(
6591
6588
  "button",
6592
6589
  {
@@ -6774,7 +6771,7 @@ ValueInput.displayName = "ValueInput";
6774
6771
  import * as React44 from "react";
6775
6772
  import * as PopoverPrimitive6 from "@radix-ui/react-popover";
6776
6773
  import {
6777
- Icon as Icon29,
6774
+ Icon as Icon28,
6778
6775
  faChevronLeftOutline as faChevronLeftOutline3,
6779
6776
  faChevronRightOutline as faChevronRightOutline3,
6780
6777
  faMagnifyingGlassOutline,
@@ -6792,7 +6789,7 @@ var AdvancedFilterFooter = ({ onClick, count }) => /* @__PURE__ */ jsxs44(Fragme
6792
6789
  className: "flex items-center gap-base p-base rounded-base cursor-pointer transition-colors hover:bg-[var(--color-dropdown-item-hover)]",
6793
6790
  children: [
6794
6791
  /* @__PURE__ */ jsx50(
6795
- Icon29,
6792
+ Icon28,
6796
6793
  {
6797
6794
  icon: faFilterOutline3,
6798
6795
  size: "sm",
@@ -6894,7 +6891,7 @@ var PropertySelector = ({
6894
6891
  /* @__PURE__ */ jsxs44("div", { className: "flex flex-col gap-xs", children: [
6895
6892
  /* @__PURE__ */ jsxs44("div", { className: "flex items-center gap-base px-md py-base border border-[var(--color-input)] rounded-md", children: [
6896
6893
  /* @__PURE__ */ jsx50(
6897
- Icon29,
6894
+ Icon28,
6898
6895
  {
6899
6896
  icon: faMagnifyingGlassOutline,
6900
6897
  size: "sm",
@@ -6926,7 +6923,7 @@ var PropertySelector = ({
6926
6923
  className: "flex items-center gap-base p-base rounded-base cursor-pointer transition-colors hover:bg-[var(--color-dropdown-item-hover)]",
6927
6924
  children: [
6928
6925
  /* @__PURE__ */ jsx50(
6929
- Icon29,
6926
+ Icon28,
6930
6927
  {
6931
6928
  icon: prop.icon,
6932
6929
  size: "sm",
@@ -6953,7 +6950,7 @@ var PropertySelector = ({
6953
6950
  className: "flex items-center gap-base p-base rounded-base cursor-pointer transition-colors hover:bg-[var(--color-dropdown-item-hover)]",
6954
6951
  children: [
6955
6952
  /* @__PURE__ */ jsx50(
6956
- Icon29,
6953
+ Icon28,
6957
6954
  {
6958
6955
  icon: g.groupIcon,
6959
6956
  size: "sm",
@@ -6963,7 +6960,7 @@ var PropertySelector = ({
6963
6960
  /* @__PURE__ */ jsx50("span", { className: "flex-1 text-sm font-regular leading-sm text-[var(--color-dropdown-item-text)] text-left truncate", children: g.groupLabel }),
6964
6961
  /* @__PURE__ */ jsx50("span", { className: "text-xs font-semibold leading-xs text-[var(--color-muted-foreground)]", children: g.count }),
6965
6962
  /* @__PURE__ */ jsx50(
6966
- Icon29,
6963
+ Icon28,
6967
6964
  {
6968
6965
  icon: faChevronRightOutline3,
6969
6966
  size: "xs",
@@ -6992,7 +6989,7 @@ var PropertySelector = ({
6992
6989
  className: "flex items-center gap-base p-base rounded-base cursor-pointer transition-colors hover:bg-[var(--color-dropdown-item-hover)]",
6993
6990
  children: [
6994
6991
  /* @__PURE__ */ jsx50(
6995
- Icon29,
6992
+ Icon28,
6996
6993
  {
6997
6994
  icon: faChevronLeftOutline3,
6998
6995
  size: "sm",
@@ -7005,7 +7002,7 @@ var PropertySelector = ({
7005
7002
  ),
7006
7003
  /* @__PURE__ */ jsxs44("div", { className: "flex items-center gap-base px-md py-base border border-[var(--color-input)] rounded-md", children: [
7007
7004
  /* @__PURE__ */ jsx50(
7008
- Icon29,
7005
+ Icon28,
7009
7006
  {
7010
7007
  icon: faMagnifyingGlassOutline,
7011
7008
  size: "sm",
@@ -7036,7 +7033,7 @@ var PropertySelector = ({
7036
7033
  className: "flex items-center gap-base p-base rounded-base cursor-pointer transition-colors hover:bg-[var(--color-dropdown-item-hover)]",
7037
7034
  children: [
7038
7035
  /* @__PURE__ */ jsx50(
7039
- Icon29,
7036
+ Icon28,
7040
7037
  {
7041
7038
  icon: prop.icon,
7042
7039
  size: "sm",
@@ -7068,7 +7065,7 @@ PropertySelector.displayName = "PropertySelector";
7068
7065
 
7069
7066
  // src/components/ui/filter/kebab-menu.tsx
7070
7067
  import * as PopoverPrimitive7 from "@radix-ui/react-popover";
7071
- import { Icon as Icon30, faArrowRightOutline as faArrowRightOutline2, faTrashOutline } from "@l3mpire/icons";
7068
+ import { Icon as Icon29, faArrowRightOutline as faArrowRightOutline2, faTrashOutline } from "@l3mpire/icons";
7072
7069
  import { jsx as jsx51, jsxs as jsxs45 } from "react/jsx-runtime";
7073
7070
  var KebabMenu = ({
7074
7071
  onConvertToAdvanced,
@@ -7103,7 +7100,7 @@ var KebabMenu = ({
7103
7100
  className: "flex items-center gap-base p-base rounded-base cursor-pointer transition-colors hover:bg-[var(--color-dropdown-item-hover)]",
7104
7101
  children: [
7105
7102
  /* @__PURE__ */ jsx51(
7106
- Icon30,
7103
+ Icon29,
7107
7104
  {
7108
7105
  icon: faArrowRightOutline2,
7109
7106
  size: "sm",
@@ -7126,7 +7123,7 @@ var KebabMenu = ({
7126
7123
  className: "flex items-center gap-base p-base rounded-base cursor-pointer transition-colors hover:bg-[var(--color-dropdown-item-hover)]",
7127
7124
  children: [
7128
7125
  /* @__PURE__ */ jsx51(
7129
- Icon30,
7126
+ Icon29,
7130
7127
  {
7131
7128
  icon: faTrashOutline,
7132
7129
  size: "sm",
@@ -7146,7 +7143,7 @@ KebabMenu.displayName = "KebabMenu";
7146
7143
  // src/components/ui/filter/filter-editor.tsx
7147
7144
  import * as React45 from "react";
7148
7145
  import * as PopoverPrimitive8 from "@radix-ui/react-popover";
7149
- import { Icon as Icon31 } from "@l3mpire/icons";
7146
+ import { Icon as Icon30 } from "@l3mpire/icons";
7150
7147
  import { jsx as jsx52, jsxs as jsxs46 } from "react/jsx-runtime";
7151
7148
  var FilterEditor = ({
7152
7149
  propertyDef,
@@ -7210,7 +7207,7 @@ var FilterEditor = ({
7210
7207
  children: [
7211
7208
  /* @__PURE__ */ jsxs46("div", { className: "flex items-center gap-base px-base pt-base pb-xs border-b border-[var(--color-border)]", children: [
7212
7209
  /* @__PURE__ */ jsx52(
7213
- Icon31,
7210
+ Icon30,
7214
7211
  {
7215
7212
  icon: propertyDef.icon,
7216
7213
  size: "sm",
@@ -7337,7 +7334,7 @@ var InteractiveFilterChip = ({
7337
7334
  setValueOpen(false);
7338
7335
  };
7339
7336
  const hasOperator = !!condition.operator;
7340
- const displayValue = formatFilterValue(condition.value);
7337
+ const displayValue = formatFilterValue(condition.value, propertyDef.dynamicOptions);
7341
7338
  const hasValue = hasOperator && displayValue != null;
7342
7339
  const badgeCount = getBadgeCount(condition.value);
7343
7340
  return /* @__PURE__ */ jsxs47(
@@ -7473,11 +7470,11 @@ InteractiveFilterChip.displayName = "InteractiveFilterChip";
7473
7470
 
7474
7471
  // src/components/ui/filter/filter-system.tsx
7475
7472
  import * as React54 from "react";
7476
- import { Icon as Icon38, faXmarkOutline as faXmarkOutline6, faPlusOutline as faPlusOutline5 } from "@l3mpire/icons";
7473
+ import { Icon as Icon37, faXmarkOutline as faXmarkOutline6, faPlusOutline as faPlusOutline5 } from "@l3mpire/icons";
7477
7474
 
7478
7475
  // src/components/ui/filter/advanced-chip.tsx
7479
7476
  import * as React47 from "react";
7480
- import { Icon as Icon32, faXmarkOutline as faXmarkOutline3, faFilterOutline as faFilterOutline4 } from "@l3mpire/icons";
7477
+ import { Icon as Icon31, faXmarkOutline as faXmarkOutline3, faFilterOutline as faFilterOutline4 } from "@l3mpire/icons";
7481
7478
  import { jsx as jsx54, jsxs as jsxs48 } from "react/jsx-runtime";
7482
7479
  var btnBase = [
7483
7480
  "flex items-center justify-center",
@@ -7503,7 +7500,7 @@ var AdvancedChip = React47.forwardRef(
7503
7500
  ...props,
7504
7501
  children: [
7505
7502
  /* @__PURE__ */ jsx54(
7506
- Icon32,
7503
+ Icon31,
7507
7504
  {
7508
7505
  icon: faFilterOutline4,
7509
7506
  size: "sm",
@@ -7529,7 +7526,7 @@ var AdvancedChip = React47.forwardRef(
7529
7526
  "rounded-r-md -ml-px"
7530
7527
  ),
7531
7528
  "aria-label": "Clear all advanced filters",
7532
- children: /* @__PURE__ */ jsx54(Icon32, { icon: faXmarkOutline3, size: "sm", className: "text-[var(--color-foreground)]" })
7529
+ children: /* @__PURE__ */ jsx54(Icon31, { icon: faXmarkOutline3, size: "sm", className: "text-[var(--color-foreground)]" })
7533
7530
  }
7534
7531
  )
7535
7532
  ] })
@@ -7539,18 +7536,18 @@ AdvancedChip.displayName = "AdvancedChip";
7539
7536
  // src/components/ui/filter/advanced-popover.tsx
7540
7537
  import * as React51 from "react";
7541
7538
  import * as PopoverPrimitive12 from "@radix-ui/react-popover";
7542
- import { Icon as Icon36, faPlusOutline as faPlusOutline3, faChevronDownOutline as faChevronDownOutline3, faXmarkOutline as faXmarkOutline4 } from "@l3mpire/icons";
7539
+ import { Icon as Icon35, faPlusOutline as faPlusOutline3, faChevronDownOutline as faChevronDownOutline3, faXmarkOutline as faXmarkOutline4 } from "@l3mpire/icons";
7543
7540
 
7544
7541
  // src/components/ui/filter/advanced-row.tsx
7545
7542
  import * as React49 from "react";
7546
7543
  import * as PopoverPrimitive11 from "@radix-ui/react-popover";
7547
- import { Icon as Icon34, faRefreshOutline, faChevronDownOutline as faChevronDownOutline2 } from "@l3mpire/icons";
7544
+ import { Icon as Icon33, faRefreshOutline, faChevronDownOutline as faChevronDownOutline2 } from "@l3mpire/icons";
7548
7545
 
7549
7546
  // src/components/ui/filter/filter-node-actions.tsx
7550
7547
  import * as React48 from "react";
7551
7548
  import * as PopoverPrimitive10 from "@radix-ui/react-popover";
7552
7549
  import {
7553
- Icon as Icon33,
7550
+ Icon as Icon32,
7554
7551
  faEllipsisOutline as faEllipsisOutline2,
7555
7552
  faCopyOutline,
7556
7553
  faTrashOutline as faTrashOutline2,
@@ -7591,7 +7588,7 @@ var FilterNodeActions = ({
7591
7588
  className: "shrink-0 flex items-center justify-center p-sm rounded-md cursor-pointer transition-colors hover:bg-[var(--color-accent)]",
7592
7589
  "aria-label": "More actions",
7593
7590
  children: /* @__PURE__ */ jsx55(
7594
- Icon33,
7591
+ Icon32,
7595
7592
  {
7596
7593
  icon: faEllipsisOutline2,
7597
7594
  size: "sm",
@@ -7627,7 +7624,7 @@ var FilterNodeActions = ({
7627
7624
  ),
7628
7625
  children: [
7629
7626
  /* @__PURE__ */ jsx55(
7630
- Icon33,
7627
+ Icon32,
7631
7628
  {
7632
7629
  icon: item.icon,
7633
7630
  size: "sm",
@@ -7694,7 +7691,7 @@ var AdvancedRow = ({
7694
7691
  const handleValueChange = (val) => {
7695
7692
  onUpdate({ ...condition, value: val });
7696
7693
  };
7697
- const displayValue = formatFilterValue(condition.value);
7694
+ const displayValue = formatFilterValue(condition.value, propertyDef.dynamicOptions);
7698
7695
  const badgeCount = getBadgeCount(condition.value);
7699
7696
  const hasValue = displayValue != null;
7700
7697
  return /* @__PURE__ */ jsxs50("div", { className: "flex items-center gap-base w-full min-w-0", children: [
@@ -7713,15 +7710,15 @@ var AdvancedRow = ({
7713
7710
  ),
7714
7711
  children: [
7715
7712
  connector,
7716
- /* @__PURE__ */ jsx56(Icon34, { icon: faRefreshOutline, size: "xs", className: "text-[var(--color-foreground)]" })
7713
+ /* @__PURE__ */ jsx56(Icon33, { icon: faRefreshOutline, size: "xs", className: "text-[var(--color-foreground)]" })
7717
7714
  ]
7718
7715
  }
7719
7716
  ),
7720
7717
  /* @__PURE__ */ jsxs50(PopoverPrimitive11.Root, { open: propertyOpen, onOpenChange: setPropertyOpen, children: [
7721
7718
  /* @__PURE__ */ jsx56(PopoverPrimitive11.Trigger, { asChild: true, children: /* @__PURE__ */ jsxs50("button", { type: "button", className: cn(selectBtnStyle, "min-w-0"), children: [
7722
- /* @__PURE__ */ jsx56(Icon34, { icon: propertyDef.icon, size: "sm", className: "shrink-0 text-[var(--color-muted-foreground)]" }),
7719
+ /* @__PURE__ */ jsx56(Icon33, { icon: propertyDef.icon, size: "sm", className: "shrink-0 text-[var(--color-muted-foreground)]" }),
7723
7720
  /* @__PURE__ */ jsx56("span", { className: "text-sm font-regular leading-sm text-[var(--color-foreground)] whitespace-nowrap truncate", children: propertyDef.label }),
7724
- /* @__PURE__ */ jsx56(Icon34, { icon: faChevronDownOutline2, size: "xs", className: "shrink-0 text-[var(--color-foreground)]" })
7721
+ /* @__PURE__ */ jsx56(Icon33, { icon: faChevronDownOutline2, size: "xs", className: "shrink-0 text-[var(--color-foreground)]" })
7725
7722
  ] }) }),
7726
7723
  /* @__PURE__ */ jsx56(PopoverPrimitive11.Portal, { children: /* @__PURE__ */ jsx56(
7727
7724
  PopoverPrimitive11.Content,
@@ -7749,7 +7746,7 @@ var AdvancedRow = ({
7749
7746
  p.id === condition.propertyId && "bg-[var(--color-dropdown-item-hover)]"
7750
7747
  ),
7751
7748
  children: [
7752
- /* @__PURE__ */ jsx56(Icon34, { icon: p.icon, size: "sm", className: "shrink-0 text-[var(--color-dropdown-item-icon)]" }),
7749
+ /* @__PURE__ */ jsx56(Icon33, { icon: p.icon, size: "sm", className: "shrink-0 text-[var(--color-dropdown-item-icon)]" }),
7753
7750
  /* @__PURE__ */ jsx56("span", { className: "text-sm font-regular leading-sm text-[var(--color-dropdown-item-text)] truncate", children: p.label })
7754
7751
  ]
7755
7752
  },
@@ -7761,7 +7758,7 @@ var AdvancedRow = ({
7761
7758
  /* @__PURE__ */ jsxs50(PopoverPrimitive11.Root, { open: operatorOpen, onOpenChange: setOperatorOpen, children: [
7762
7759
  /* @__PURE__ */ jsx56(PopoverPrimitive11.Trigger, { asChild: true, children: /* @__PURE__ */ jsxs50("button", { type: "button", className: cn(selectBtnStyle, "min-w-0"), children: [
7763
7760
  /* @__PURE__ */ jsx56("span", { className: "text-sm font-regular leading-sm text-[var(--color-foreground)] whitespace-nowrap truncate text-left", children: condition.operator ?? "Select" }),
7764
- /* @__PURE__ */ jsx56(Icon34, { icon: faChevronDownOutline2, size: "xs", className: "shrink-0 text-[var(--color-foreground)]" })
7761
+ /* @__PURE__ */ jsx56(Icon33, { icon: faChevronDownOutline2, size: "xs", className: "shrink-0 text-[var(--color-foreground)]" })
7765
7762
  ] }) }),
7766
7763
  /* @__PURE__ */ jsx56(PopoverPrimitive11.Portal, { children: /* @__PURE__ */ jsx56(
7767
7764
  PopoverPrimitive11.Content,
@@ -7812,7 +7809,7 @@ var AdvancedRow = ({
7812
7809
  badgeCount - 1
7813
7810
  ] }),
7814
7811
  /* @__PURE__ */ jsx56(
7815
- Icon34,
7812
+ Icon33,
7816
7813
  {
7817
7814
  icon: faChevronDownOutline2,
7818
7815
  size: "xs",
@@ -7868,7 +7865,7 @@ AdvancedRow.displayName = "AdvancedRow";
7868
7865
 
7869
7866
  // src/components/ui/filter/advanced-group.tsx
7870
7867
  import * as React50 from "react";
7871
- import { Icon as Icon35, faRefreshOutline as faRefreshOutline2, faPlusOutline as faPlusOutline2 } from "@l3mpire/icons";
7868
+ import { Icon as Icon34, faRefreshOutline as faRefreshOutline2, faPlusOutline as faPlusOutline2 } from "@l3mpire/icons";
7872
7869
  import { jsx as jsx57, jsxs as jsxs51 } from "react/jsx-runtime";
7873
7870
  var AdvancedGroup = ({
7874
7871
  connector,
@@ -7897,7 +7894,7 @@ var AdvancedGroup = ({
7897
7894
  ),
7898
7895
  children: [
7899
7896
  connector,
7900
- /* @__PURE__ */ jsx57(Icon35, { icon: faRefreshOutline2, size: "xs", className: "text-[var(--color-foreground)]" })
7897
+ /* @__PURE__ */ jsx57(Icon34, { icon: faRefreshOutline2, size: "xs", className: "text-[var(--color-foreground)]" })
7901
7898
  ]
7902
7899
  }
7903
7900
  ) }),
@@ -7919,7 +7916,7 @@ var AdvancedGroup = ({
7919
7916
  type: "button",
7920
7917
  className: "flex items-center gap-sm px-base py-sm text-sm font-semibold leading-sm text-[var(--color-muted-foreground)] cursor-pointer transition-colors rounded-md hover:bg-[var(--color-accent)] hover:text-[var(--color-foreground)] w-fit",
7921
7918
  children: [
7922
- /* @__PURE__ */ jsx57(Icon35, { icon: faPlusOutline2, size: "sm" }),
7919
+ /* @__PURE__ */ jsx57(Icon34, { icon: faPlusOutline2, size: "sm" }),
7923
7920
  "Add filter"
7924
7921
  ]
7925
7922
  }
@@ -8139,7 +8136,7 @@ var AdvancedPopover = ({
8139
8136
  open: addSelectorOpen,
8140
8137
  onOpenChange: setAddSelectorOpen,
8141
8138
  children: /* @__PURE__ */ jsxs52("button", { type: "button", className: cn(ghostBtn, "text-[var(--color-foreground)]"), children: [
8142
- /* @__PURE__ */ jsx58(Icon36, { icon: faPlusOutline3, size: "sm", className: "text-[var(--color-foreground)]" }),
8139
+ /* @__PURE__ */ jsx58(Icon35, { icon: faPlusOutline3, size: "sm", className: "text-[var(--color-foreground)]" }),
8143
8140
  "Add filter"
8144
8141
  ] })
8145
8142
  }
@@ -8151,7 +8148,7 @@ var AdvancedPopover = ({
8151
8148
  onClick: handleAddGroup,
8152
8149
  className: cn(ghostBtn, "text-[var(--color-foreground)]"),
8153
8150
  children: [
8154
- /* @__PURE__ */ jsx58(Icon36, { icon: faPlusOutline3, size: "sm", className: "text-[var(--color-foreground)]" }),
8151
+ /* @__PURE__ */ jsx58(Icon35, { icon: faPlusOutline3, size: "sm", className: "text-[var(--color-foreground)]" }),
8155
8152
  "Add filters group"
8156
8153
  ]
8157
8154
  }
@@ -8164,7 +8161,7 @@ var AdvancedPopover = ({
8164
8161
  onClick: handleClearAll,
8165
8162
  className: cn(ghostBtn, "text-[var(--color-destructive,#ef4444)]"),
8166
8163
  children: [
8167
- /* @__PURE__ */ jsx58(Icon36, { icon: faXmarkOutline4, size: "sm", className: "text-[var(--color-destructive,#ef4444)]" }),
8164
+ /* @__PURE__ */ jsx58(Icon35, { icon: faXmarkOutline4, size: "sm", className: "text-[var(--color-destructive,#ef4444)]" }),
8168
8165
  "Clear filters"
8169
8166
  ]
8170
8167
  }
@@ -8215,7 +8212,7 @@ var DraftRow = ({
8215
8212
  children: [
8216
8213
  /* @__PURE__ */ jsx58("span", { className: "text-sm font-regular leading-sm text-[var(--color-muted-foreground)] whitespace-nowrap", children: "Select property" }),
8217
8214
  /* @__PURE__ */ jsx58(
8218
- Icon36,
8215
+ Icon35,
8219
8216
  {
8220
8217
  icon: faChevronDownOutline3,
8221
8218
  size: "xs",
@@ -8233,7 +8230,7 @@ var DraftRow = ({
8233
8230
  // src/components/ui/filter/summary-chip.tsx
8234
8231
  import * as React52 from "react";
8235
8232
  import * as PopoverPrimitive13 from "@radix-ui/react-popover";
8236
- import { Icon as Icon37, faFilterOutline as faFilterOutline6, faPlusOutline as faPlusOutline4, faChevronDownOutline as faChevronDownOutline4, faXmarkOutline as faXmarkOutline5 } from "@l3mpire/icons";
8233
+ import { Icon as Icon36, faFilterOutline as faFilterOutline6, faPlusOutline as faPlusOutline4, faChevronDownOutline as faChevronDownOutline4, faXmarkOutline as faXmarkOutline5 } from "@l3mpire/icons";
8237
8234
  import { jsx as jsx59, jsxs as jsxs53 } from "react/jsx-runtime";
8238
8235
  var ghostBtn2 = [
8239
8236
  "flex items-center gap-sm px-base py-sm",
@@ -8411,7 +8408,7 @@ var SummaryChip = ({
8411
8408
  className
8412
8409
  ),
8413
8410
  children: [
8414
- /* @__PURE__ */ jsx59(Icon37, { icon: faFilterOutline6, size: "sm", className: "shrink-0 text-[var(--color-foreground)]" }),
8411
+ /* @__PURE__ */ jsx59(Icon36, { icon: faFilterOutline6, size: "sm", className: "shrink-0 text-[var(--color-foreground)]" }),
8415
8412
  /* @__PURE__ */ jsx59("span", { className: "text-sm font-semibold leading-sm whitespace-nowrap text-[var(--color-foreground)]", children: "Filters" }),
8416
8413
  count > 0 && /* @__PURE__ */ jsx59("span", { className: "flex items-center p-2xs rounded-xs bg-filter-chip-badge-bg", children: /* @__PURE__ */ jsx59("span", { className: "text-[10px] font-semibold leading-2xs text-filter-chip-badge-text", children: count }) })
8417
8414
  ]
@@ -8452,13 +8449,13 @@ var SummaryChip = ({
8452
8449
  open: addSelectorOpen,
8453
8450
  onOpenChange: setAddSelectorOpen,
8454
8451
  children: /* @__PURE__ */ jsxs53("button", { type: "button", className: cn(ghostBtn2, "text-[var(--color-foreground)]"), children: [
8455
- /* @__PURE__ */ jsx59(Icon37, { icon: faPlusOutline4, size: "sm", className: "text-[var(--color-foreground)]" }),
8452
+ /* @__PURE__ */ jsx59(Icon36, { icon: faPlusOutline4, size: "sm", className: "text-[var(--color-foreground)]" }),
8456
8453
  "Add filter"
8457
8454
  ] })
8458
8455
  }
8459
8456
  ),
8460
8457
  /* @__PURE__ */ jsxs53("button", { type: "button", onClick: handleAddGroup, className: cn(ghostBtn2, "text-[var(--color-foreground)]"), children: [
8461
- /* @__PURE__ */ jsx59(Icon37, { icon: faPlusOutline4, size: "sm", className: "text-[var(--color-foreground)]" }),
8458
+ /* @__PURE__ */ jsx59(Icon36, { icon: faPlusOutline4, size: "sm", className: "text-[var(--color-foreground)]" }),
8462
8459
  "Add filters group"
8463
8460
  ] })
8464
8461
  ] }),
@@ -8472,7 +8469,7 @@ var SummaryChip = ({
8472
8469
  },
8473
8470
  className: cn(ghostBtn2, "text-[var(--color-destructive,#ef4444)]"),
8474
8471
  children: [
8475
- /* @__PURE__ */ jsx59(Icon37, { icon: faXmarkOutline5, size: "sm", className: "text-[var(--color-destructive,#ef4444)]" }),
8472
+ /* @__PURE__ */ jsx59(Icon36, { icon: faXmarkOutline5, size: "sm", className: "text-[var(--color-destructive,#ef4444)]" }),
8476
8473
  "Clear filters"
8477
8474
  ]
8478
8475
  }
@@ -8509,7 +8506,7 @@ var DraftRow2 = ({ properties, onSelect, open: openProp, onOpenChange }) => {
8509
8506
  ),
8510
8507
  children: [
8511
8508
  /* @__PURE__ */ jsx59("span", { className: "text-sm font-regular leading-sm text-[var(--color-muted-foreground)] whitespace-nowrap", children: "Select property" }),
8512
- /* @__PURE__ */ jsx59(Icon37, { icon: faChevronDownOutline4, size: "xs", className: "shrink-0 text-[var(--color-foreground)]" })
8509
+ /* @__PURE__ */ jsx59(Icon36, { icon: faChevronDownOutline4, size: "xs", className: "shrink-0 text-[var(--color-foreground)]" })
8513
8510
  ]
8514
8511
  }
8515
8512
  ) })
@@ -8738,7 +8735,7 @@ var FilterSystem = ({
8738
8735
  {
8739
8736
  type: "button",
8740
8737
  className: "shrink-0 inline-flex items-center justify-center size-8 rounded-md border border-[var(--color-btn-outlined-neutral-border-default)] bg-gradient-to-t from-[var(--color-btn-outlined-neutral-bg-default)] from-[10%] to-[var(--color-btn-outlined-neutral-bg-gradient-to-default)] shadow-sm cursor-pointer transition-colors hover:from-[var(--color-btn-outlined-neutral-bg-hover)] hover:to-[var(--color-btn-outlined-neutral-bg-gradient-to-hover)]",
8741
- children: /* @__PURE__ */ jsx60(Icon38, { icon: faPlusOutline5, size: "sm", className: "text-[var(--color-foreground)]" })
8738
+ children: /* @__PURE__ */ jsx60(Icon37, { icon: faPlusOutline5, size: "sm", className: "text-[var(--color-foreground)]" })
8742
8739
  }
8743
8740
  ) : /* @__PURE__ */ jsx60(FilterBarButton, {})
8744
8741
  }
@@ -8751,7 +8748,7 @@ var FilterSystem = ({
8751
8748
  type: "button",
8752
8749
  onClick: handleClearAll,
8753
8750
  className: "shrink-0 flex items-center gap-sm px-base py-sm min-h-[32px] max-h-[32px] rounded-md cursor-pointer transition-colors hover:bg-[var(--color-accent)]",
8754
- children: isMinimal ? /* @__PURE__ */ jsx60(Icon38, { icon: faXmarkOutline6, size: "sm", className: "text-[var(--color-foreground)]" }) : /* @__PURE__ */ jsx60("span", { className: "text-sm font-semibold leading-sm text-[var(--color-foreground)]", children: "Clear" })
8751
+ children: isMinimal ? /* @__PURE__ */ jsx60(Icon37, { icon: faXmarkOutline6, size: "sm", className: "text-[var(--color-foreground)]" }) : /* @__PURE__ */ jsx60("span", { className: "text-sm font-semibold leading-sm text-[var(--color-foreground)]", children: "Clear" })
8755
8752
  }
8756
8753
  )
8757
8754
  ] }),