@caratlogic/design-system 0.1.45 → 0.1.47

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 (32) hide show
  1. package/dist/components/molecules/CustomTable/CustomTable.d.ts +1 -1
  2. package/dist/components/molecules/CustomTable/CustomTable.d.ts.map +1 -1
  3. package/dist/components/molecules/CustomTable/CustomTable.types.d.ts +5 -0
  4. package/dist/components/molecules/CustomTable/CustomTable.types.d.ts.map +1 -1
  5. package/dist/components/molecules/DataEditableTable/DataEditableTable.d.ts.map +1 -1
  6. package/dist/components/molecules/DataEditableTable/DataEditableTable.types.d.ts +4 -1
  7. package/dist/components/molecules/DataEditableTable/DataEditableTable.types.d.ts.map +1 -1
  8. package/dist/components/molecules/DataTable/DataTable.d.ts +1 -1
  9. package/dist/components/molecules/DataTable/DataTable.d.ts.map +1 -1
  10. package/dist/components/molecules/DataTable/DataTable.types.d.ts +5 -0
  11. package/dist/components/molecules/DataTable/DataTable.types.d.ts.map +1 -1
  12. package/dist/components/molecules/EmptyState/EmptyState.d.ts +9 -0
  13. package/dist/components/molecules/EmptyState/EmptyState.d.ts.map +1 -0
  14. package/dist/components/molecules/EmptyState/EmptyState.parts.d.ts +12 -0
  15. package/dist/components/molecules/EmptyState/EmptyState.parts.d.ts.map +1 -0
  16. package/dist/components/molecules/EmptyState/EmptyState.types.d.ts +13 -0
  17. package/dist/components/molecules/EmptyState/EmptyState.types.d.ts.map +1 -0
  18. package/dist/components/molecules/EmptyState/EmptyState.utils.d.ts +14 -0
  19. package/dist/components/molecules/EmptyState/EmptyState.utils.d.ts.map +1 -0
  20. package/dist/components/molecules/EmptyState/index.d.ts +4 -0
  21. package/dist/components/molecules/EmptyState/index.d.ts.map +1 -0
  22. package/dist/components/molecules/Filters/FilterEmptyState/FilterEmptyState.d.ts.map +1 -1
  23. package/dist/components/molecules/InvoiceComboBox/InvoiceComboBox.utils.d.ts.map +1 -1
  24. package/dist/index.cjs.js +193 -139
  25. package/dist/index.cjs.js.map +1 -1
  26. package/dist/index.d.ts +1 -0
  27. package/dist/index.d.ts.map +1 -1
  28. package/dist/index.esm.js +192 -140
  29. package/dist/index.esm.js.map +1 -1
  30. package/dist/utils/currencyUtils.d.ts +2 -0
  31. package/dist/utils/currencyUtils.d.ts.map +1 -1
  32. package/package.json +1 -1
package/dist/index.cjs.js CHANGED
@@ -2698,12 +2698,12 @@ const createLucideIcon = (iconName, iconNode) => {
2698
2698
  */
2699
2699
 
2700
2700
 
2701
- const __iconNode$1x = [
2701
+ const __iconNode$1y = [
2702
2702
  ["path", { d: "M15 12H3", key: "6jk70r" }],
2703
2703
  ["path", { d: "M17 18H3", key: "1amg6g" }],
2704
2704
  ["path", { d: "M21 6H3", key: "1jwq7v" }]
2705
2705
  ];
2706
- const AlignLeft = createLucideIcon("align-left", __iconNode$1x);
2706
+ const AlignLeft = createLucideIcon("align-left", __iconNode$1y);
2707
2707
 
2708
2708
  /**
2709
2709
  * @license lucide-react v0.539.0 - ISC
@@ -2713,12 +2713,12 @@ const AlignLeft = createLucideIcon("align-left", __iconNode$1x);
2713
2713
  */
2714
2714
 
2715
2715
 
2716
- const __iconNode$1w = [
2716
+ const __iconNode$1x = [
2717
2717
  ["rect", { width: "20", height: "5", x: "2", y: "3", rx: "1", key: "1wp1u1" }],
2718
2718
  ["path", { d: "M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8", key: "1s80jp" }],
2719
2719
  ["path", { d: "M10 12h4", key: "a56b0p" }]
2720
2720
  ];
2721
- const Archive = createLucideIcon("archive", __iconNode$1w);
2721
+ const Archive = createLucideIcon("archive", __iconNode$1x);
2722
2722
 
2723
2723
  /**
2724
2724
  * @license lucide-react v0.539.0 - ISC
@@ -2728,11 +2728,11 @@ const Archive = createLucideIcon("archive", __iconNode$1w);
2728
2728
  */
2729
2729
 
2730
2730
 
2731
- const __iconNode$1v = [
2731
+ const __iconNode$1w = [
2732
2732
  ["path", { d: "m12 19-7-7 7-7", key: "1l729n" }],
2733
2733
  ["path", { d: "M19 12H5", key: "x3x0zl" }]
2734
2734
  ];
2735
- const ArrowLeft = createLucideIcon("arrow-left", __iconNode$1v);
2735
+ const ArrowLeft = createLucideIcon("arrow-left", __iconNode$1w);
2736
2736
 
2737
2737
  /**
2738
2738
  * @license lucide-react v0.539.0 - ISC
@@ -2742,11 +2742,11 @@ const ArrowLeft = createLucideIcon("arrow-left", __iconNode$1v);
2742
2742
  */
2743
2743
 
2744
2744
 
2745
- const __iconNode$1u = [
2745
+ const __iconNode$1v = [
2746
2746
  ["path", { d: "M5 12h14", key: "1ays0h" }],
2747
2747
  ["path", { d: "m12 5 7 7-7 7", key: "xquz4c" }]
2748
2748
  ];
2749
- const ArrowRight = createLucideIcon("arrow-right", __iconNode$1u);
2749
+ const ArrowRight = createLucideIcon("arrow-right", __iconNode$1v);
2750
2750
 
2751
2751
  /**
2752
2752
  * @license lucide-react v0.539.0 - ISC
@@ -2756,11 +2756,11 @@ const ArrowRight = createLucideIcon("arrow-right", __iconNode$1u);
2756
2756
  */
2757
2757
 
2758
2758
 
2759
- const __iconNode$1t = [
2759
+ const __iconNode$1u = [
2760
2760
  ["path", { d: "M4.929 4.929 19.07 19.071", key: "196cmz" }],
2761
2761
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }]
2762
2762
  ];
2763
- const Ban = createLucideIcon("ban", __iconNode$1t);
2763
+ const Ban = createLucideIcon("ban", __iconNode$1u);
2764
2764
 
2765
2765
  /**
2766
2766
  * @license lucide-react v0.539.0 - ISC
@@ -2770,7 +2770,7 @@ const Ban = createLucideIcon("ban", __iconNode$1t);
2770
2770
  */
2771
2771
 
2772
2772
 
2773
- const __iconNode$1s = [
2773
+ const __iconNode$1t = [
2774
2774
  ["path", { d: "M10.268 21a2 2 0 0 0 3.464 0", key: "vwvbt9" }],
2775
2775
  [
2776
2776
  "path",
@@ -2781,7 +2781,7 @@ const __iconNode$1s = [
2781
2781
  ],
2782
2782
  ["circle", { cx: "18", cy: "8", r: "3", key: "1g0gzu" }]
2783
2783
  ];
2784
- const BellDot = createLucideIcon("bell-dot", __iconNode$1s);
2784
+ const BellDot = createLucideIcon("bell-dot", __iconNode$1t);
2785
2785
 
2786
2786
  /**
2787
2787
  * @license lucide-react v0.539.0 - ISC
@@ -2791,7 +2791,7 @@ const BellDot = createLucideIcon("bell-dot", __iconNode$1s);
2791
2791
  */
2792
2792
 
2793
2793
 
2794
- const __iconNode$1r = [
2794
+ const __iconNode$1s = [
2795
2795
  ["path", { d: "M10.268 21a2 2 0 0 0 3.464 0", key: "vwvbt9" }],
2796
2796
  ["path", { d: "M22 8c0-2.3-.8-4.3-2-6", key: "5bb3ad" }],
2797
2797
  [
@@ -2803,7 +2803,7 @@ const __iconNode$1r = [
2803
2803
  ],
2804
2804
  ["path", { d: "M4 2C2.8 3.7 2 5.7 2 8", key: "tap9e0" }]
2805
2805
  ];
2806
- const BellRing = createLucideIcon("bell-ring", __iconNode$1r);
2806
+ const BellRing = createLucideIcon("bell-ring", __iconNode$1s);
2807
2807
 
2808
2808
  /**
2809
2809
  * @license lucide-react v0.539.0 - ISC
@@ -2813,7 +2813,7 @@ const BellRing = createLucideIcon("bell-ring", __iconNode$1r);
2813
2813
  */
2814
2814
 
2815
2815
 
2816
- const __iconNode$1q = [
2816
+ const __iconNode$1r = [
2817
2817
  ["path", { d: "M10.268 21a2 2 0 0 0 3.464 0", key: "vwvbt9" }],
2818
2818
  [
2819
2819
  "path",
@@ -2823,7 +2823,7 @@ const __iconNode$1q = [
2823
2823
  }
2824
2824
  ]
2825
2825
  ];
2826
- const Bell = createLucideIcon("bell", __iconNode$1q);
2826
+ const Bell = createLucideIcon("bell", __iconNode$1r);
2827
2827
 
2828
2828
  /**
2829
2829
  * @license lucide-react v0.539.0 - ISC
@@ -2833,13 +2833,13 @@ const Bell = createLucideIcon("bell", __iconNode$1q);
2833
2833
  */
2834
2834
 
2835
2835
 
2836
- const __iconNode$1p = [
2836
+ const __iconNode$1q = [
2837
2837
  [
2838
2838
  "path",
2839
2839
  { d: "M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8", key: "mg9rjx" }
2840
2840
  ]
2841
2841
  ];
2842
- const Bold$1 = createLucideIcon("bold", __iconNode$1p);
2842
+ const Bold$1 = createLucideIcon("bold", __iconNode$1q);
2843
2843
 
2844
2844
  /**
2845
2845
  * @license lucide-react v0.539.0 - ISC
@@ -2849,10 +2849,10 @@ const Bold$1 = createLucideIcon("bold", __iconNode$1p);
2849
2849
  */
2850
2850
 
2851
2851
 
2852
- const __iconNode$1o = [
2852
+ const __iconNode$1p = [
2853
2853
  ["path", { d: "m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v16z", key: "1fy3hk" }]
2854
2854
  ];
2855
- const Bookmark = createLucideIcon("bookmark", __iconNode$1o);
2855
+ const Bookmark = createLucideIcon("bookmark", __iconNode$1p);
2856
2856
 
2857
2857
  /**
2858
2858
  * @license lucide-react v0.539.0 - ISC
@@ -2862,7 +2862,7 @@ const Bookmark = createLucideIcon("bookmark", __iconNode$1o);
2862
2862
  */
2863
2863
 
2864
2864
 
2865
- const __iconNode$1n = [
2865
+ const __iconNode$1o = [
2866
2866
  [
2867
2867
  "path",
2868
2868
  {
@@ -2873,7 +2873,7 @@ const __iconNode$1n = [
2873
2873
  ["path", { d: "m3.3 7 8.7 5 8.7-5", key: "g66t2b" }],
2874
2874
  ["path", { d: "M12 22V12", key: "d0xqtd" }]
2875
2875
  ];
2876
- const Box = createLucideIcon("box", __iconNode$1n);
2876
+ const Box = createLucideIcon("box", __iconNode$1o);
2877
2877
 
2878
2878
  /**
2879
2879
  * @license lucide-react v0.539.0 - ISC
@@ -2883,7 +2883,7 @@ const Box = createLucideIcon("box", __iconNode$1n);
2883
2883
  */
2884
2884
 
2885
2885
 
2886
- const __iconNode$1m = [
2886
+ const __iconNode$1n = [
2887
2887
  ["path", { d: "M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z", key: "1b4qmf" }],
2888
2888
  ["path", { d: "M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2", key: "i71pzd" }],
2889
2889
  ["path", { d: "M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2", key: "10jefs" }],
@@ -2892,7 +2892,7 @@ const __iconNode$1m = [
2892
2892
  ["path", { d: "M10 14h4", key: "kelpxr" }],
2893
2893
  ["path", { d: "M10 18h4", key: "1ulq68" }]
2894
2894
  ];
2895
- const Building2 = createLucideIcon("building-2", __iconNode$1m);
2895
+ const Building2 = createLucideIcon("building-2", __iconNode$1n);
2896
2896
 
2897
2897
  /**
2898
2898
  * @license lucide-react v0.539.0 - ISC
@@ -2902,7 +2902,7 @@ const Building2 = createLucideIcon("building-2", __iconNode$1m);
2902
2902
  */
2903
2903
 
2904
2904
 
2905
- const __iconNode$1l = [
2905
+ const __iconNode$1m = [
2906
2906
  ["path", { d: "M8 2v4", key: "1cmpym" }],
2907
2907
  ["path", { d: "M16 2v4", key: "4m81vk" }],
2908
2908
  ["rect", { width: "18", height: "18", x: "3", y: "4", rx: "2", key: "1hopcy" }],
@@ -2914,7 +2914,7 @@ const __iconNode$1l = [
2914
2914
  ["path", { d: "M12 18h.01", key: "mhygvu" }],
2915
2915
  ["path", { d: "M16 18h.01", key: "kzsmim" }]
2916
2916
  ];
2917
- const CalendarDays = createLucideIcon("calendar-days", __iconNode$1l);
2917
+ const CalendarDays = createLucideIcon("calendar-days", __iconNode$1m);
2918
2918
 
2919
2919
  /**
2920
2920
  * @license lucide-react v0.539.0 - ISC
@@ -2924,13 +2924,13 @@ const CalendarDays = createLucideIcon("calendar-days", __iconNode$1l);
2924
2924
  */
2925
2925
 
2926
2926
 
2927
- const __iconNode$1k = [
2927
+ const __iconNode$1l = [
2928
2928
  ["path", { d: "M8 2v4", key: "1cmpym" }],
2929
2929
  ["path", { d: "M16 2v4", key: "4m81vk" }],
2930
2930
  ["rect", { width: "18", height: "18", x: "3", y: "4", rx: "2", key: "1hopcy" }],
2931
2931
  ["path", { d: "M3 10h18", key: "8toen8" }]
2932
2932
  ];
2933
- const Calendar$1 = createLucideIcon("calendar", __iconNode$1k);
2933
+ const Calendar$1 = createLucideIcon("calendar", __iconNode$1l);
2934
2934
 
2935
2935
  /**
2936
2936
  * @license lucide-react v0.539.0 - ISC
@@ -2940,11 +2940,11 @@ const Calendar$1 = createLucideIcon("calendar", __iconNode$1k);
2940
2940
  */
2941
2941
 
2942
2942
 
2943
- const __iconNode$1j = [
2943
+ const __iconNode$1k = [
2944
2944
  ["path", { d: "M18 6 7 17l-5-5", key: "116fxf" }],
2945
2945
  ["path", { d: "m22 10-7.5 7.5L13 16", key: "ke71qq" }]
2946
2946
  ];
2947
- const CheckCheck = createLucideIcon("check-check", __iconNode$1j);
2947
+ const CheckCheck = createLucideIcon("check-check", __iconNode$1k);
2948
2948
 
2949
2949
  /**
2950
2950
  * @license lucide-react v0.539.0 - ISC
@@ -2954,8 +2954,8 @@ const CheckCheck = createLucideIcon("check-check", __iconNode$1j);
2954
2954
  */
2955
2955
 
2956
2956
 
2957
- const __iconNode$1i = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]];
2958
- const Check = createLucideIcon("check", __iconNode$1i);
2957
+ const __iconNode$1j = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]];
2958
+ const Check = createLucideIcon("check", __iconNode$1j);
2959
2959
 
2960
2960
  /**
2961
2961
  * @license lucide-react v0.539.0 - ISC
@@ -2965,8 +2965,8 @@ const Check = createLucideIcon("check", __iconNode$1i);
2965
2965
  */
2966
2966
 
2967
2967
 
2968
- const __iconNode$1h = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]];
2969
- const ChevronDown = createLucideIcon("chevron-down", __iconNode$1h);
2968
+ const __iconNode$1i = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]];
2969
+ const ChevronDown = createLucideIcon("chevron-down", __iconNode$1i);
2970
2970
 
2971
2971
  /**
2972
2972
  * @license lucide-react v0.539.0 - ISC
@@ -2976,8 +2976,8 @@ const ChevronDown = createLucideIcon("chevron-down", __iconNode$1h);
2976
2976
  */
2977
2977
 
2978
2978
 
2979
- const __iconNode$1g = [["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]];
2980
- const ChevronLeft = createLucideIcon("chevron-left", __iconNode$1g);
2979
+ const __iconNode$1h = [["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]];
2980
+ const ChevronLeft = createLucideIcon("chevron-left", __iconNode$1h);
2981
2981
 
2982
2982
  /**
2983
2983
  * @license lucide-react v0.539.0 - ISC
@@ -2987,8 +2987,8 @@ const ChevronLeft = createLucideIcon("chevron-left", __iconNode$1g);
2987
2987
  */
2988
2988
 
2989
2989
 
2990
- const __iconNode$1f = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]];
2991
- const ChevronRight = createLucideIcon("chevron-right", __iconNode$1f);
2990
+ const __iconNode$1g = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]];
2991
+ const ChevronRight = createLucideIcon("chevron-right", __iconNode$1g);
2992
2992
 
2993
2993
  /**
2994
2994
  * @license lucide-react v0.539.0 - ISC
@@ -2998,8 +2998,8 @@ const ChevronRight = createLucideIcon("chevron-right", __iconNode$1f);
2998
2998
  */
2999
2999
 
3000
3000
 
3001
- const __iconNode$1e = [["path", { d: "m18 15-6-6-6 6", key: "153udz" }]];
3002
- const ChevronUp = createLucideIcon("chevron-up", __iconNode$1e);
3001
+ const __iconNode$1f = [["path", { d: "m18 15-6-6-6 6", key: "153udz" }]];
3002
+ const ChevronUp = createLucideIcon("chevron-up", __iconNode$1f);
3003
3003
 
3004
3004
  /**
3005
3005
  * @license lucide-react v0.539.0 - ISC
@@ -3009,11 +3009,11 @@ const ChevronUp = createLucideIcon("chevron-up", __iconNode$1e);
3009
3009
  */
3010
3010
 
3011
3011
 
3012
- const __iconNode$1d = [
3012
+ const __iconNode$1e = [
3013
3013
  ["path", { d: "m11 17-5-5 5-5", key: "13zhaf" }],
3014
3014
  ["path", { d: "m18 17-5-5 5-5", key: "h8a8et" }]
3015
3015
  ];
3016
- const ChevronsLeft = createLucideIcon("chevrons-left", __iconNode$1d);
3016
+ const ChevronsLeft = createLucideIcon("chevrons-left", __iconNode$1e);
3017
3017
 
3018
3018
  /**
3019
3019
  * @license lucide-react v0.539.0 - ISC
@@ -3023,11 +3023,11 @@ const ChevronsLeft = createLucideIcon("chevrons-left", __iconNode$1d);
3023
3023
  */
3024
3024
 
3025
3025
 
3026
- const __iconNode$1c = [
3026
+ const __iconNode$1d = [
3027
3027
  ["path", { d: "m6 17 5-5-5-5", key: "xnjwq" }],
3028
3028
  ["path", { d: "m13 17 5-5-5-5", key: "17xmmf" }]
3029
3029
  ];
3030
- const ChevronsRight = createLucideIcon("chevrons-right", __iconNode$1c);
3030
+ const ChevronsRight = createLucideIcon("chevrons-right", __iconNode$1d);
3031
3031
 
3032
3032
  /**
3033
3033
  * @license lucide-react v0.539.0 - ISC
@@ -3037,12 +3037,12 @@ const ChevronsRight = createLucideIcon("chevrons-right", __iconNode$1c);
3037
3037
  */
3038
3038
 
3039
3039
 
3040
- const __iconNode$1b = [
3040
+ const __iconNode$1c = [
3041
3041
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
3042
3042
  ["line", { x1: "12", x2: "12", y1: "8", y2: "12", key: "1pkeuh" }],
3043
3043
  ["line", { x1: "12", x2: "12.01", y1: "16", y2: "16", key: "4dfq90" }]
3044
3044
  ];
3045
- const CircleAlert = createLucideIcon("circle-alert", __iconNode$1b);
3045
+ const CircleAlert = createLucideIcon("circle-alert", __iconNode$1c);
3046
3046
 
3047
3047
  /**
3048
3048
  * @license lucide-react v0.539.0 - ISC
@@ -3052,11 +3052,11 @@ const CircleAlert = createLucideIcon("circle-alert", __iconNode$1b);
3052
3052
  */
3053
3053
 
3054
3054
 
3055
- const __iconNode$1a = [
3055
+ const __iconNode$1b = [
3056
3056
  ["path", { d: "M21.801 10A10 10 0 1 1 17 3.335", key: "yps3ct" }],
3057
3057
  ["path", { d: "m9 11 3 3L22 4", key: "1pflzl" }]
3058
3058
  ];
3059
- const CircleCheckBig = createLucideIcon("circle-check-big", __iconNode$1a);
3059
+ const CircleCheckBig = createLucideIcon("circle-check-big", __iconNode$1b);
3060
3060
 
3061
3061
  /**
3062
3062
  * @license lucide-react v0.539.0 - ISC
@@ -3066,11 +3066,11 @@ const CircleCheckBig = createLucideIcon("circle-check-big", __iconNode$1a);
3066
3066
  */
3067
3067
 
3068
3068
 
3069
- const __iconNode$19 = [
3069
+ const __iconNode$1a = [
3070
3070
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
3071
3071
  ["path", { d: "m9 12 2 2 4-4", key: "dzmm74" }]
3072
3072
  ];
3073
- const CircleCheck = createLucideIcon("circle-check", __iconNode$19);
3073
+ const CircleCheck = createLucideIcon("circle-check", __iconNode$1a);
3074
3074
 
3075
3075
  /**
3076
3076
  * @license lucide-react v0.539.0 - ISC
@@ -3080,11 +3080,11 @@ const CircleCheck = createLucideIcon("circle-check", __iconNode$19);
3080
3080
  */
3081
3081
 
3082
3082
 
3083
- const __iconNode$18 = [
3083
+ const __iconNode$19 = [
3084
3084
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
3085
3085
  ["path", { d: "m16 10-4 4-4-4", key: "894hmk" }]
3086
3086
  ];
3087
- const CircleChevronDown = createLucideIcon("circle-chevron-down", __iconNode$18);
3087
+ const CircleChevronDown = createLucideIcon("circle-chevron-down", __iconNode$19);
3088
3088
 
3089
3089
  /**
3090
3090
  * @license lucide-react v0.539.0 - ISC
@@ -3094,11 +3094,11 @@ const CircleChevronDown = createLucideIcon("circle-chevron-down", __iconNode$18)
3094
3094
  */
3095
3095
 
3096
3096
 
3097
- const __iconNode$17 = [
3097
+ const __iconNode$18 = [
3098
3098
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
3099
3099
  ["circle", { cx: "12", cy: "12", r: "1", key: "41hilf" }]
3100
3100
  ];
3101
- const CircleDot = createLucideIcon("circle-dot", __iconNode$17);
3101
+ const CircleDot = createLucideIcon("circle-dot", __iconNode$18);
3102
3102
 
3103
3103
  /**
3104
3104
  * @license lucide-react v0.539.0 - ISC
@@ -3108,12 +3108,12 @@ const CircleDot = createLucideIcon("circle-dot", __iconNode$17);
3108
3108
  */
3109
3109
 
3110
3110
 
3111
- const __iconNode$16 = [
3111
+ const __iconNode$17 = [
3112
3112
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
3113
3113
  ["path", { d: "m15 9-6 6", key: "1uzhvr" }],
3114
3114
  ["path", { d: "m9 9 6 6", key: "z0biqf" }]
3115
3115
  ];
3116
- const CircleX = createLucideIcon("circle-x", __iconNode$16);
3116
+ const CircleX = createLucideIcon("circle-x", __iconNode$17);
3117
3117
 
3118
3118
  /**
3119
3119
  * @license lucide-react v0.539.0 - ISC
@@ -3123,8 +3123,8 @@ const CircleX = createLucideIcon("circle-x", __iconNode$16);
3123
3123
  */
3124
3124
 
3125
3125
 
3126
- const __iconNode$15 = [["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }]];
3127
- const Circle = createLucideIcon("circle", __iconNode$15);
3126
+ const __iconNode$16 = [["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }]];
3127
+ const Circle = createLucideIcon("circle", __iconNode$16);
3128
3128
 
3129
3129
  /**
3130
3130
  * @license lucide-react v0.539.0 - ISC
@@ -3134,11 +3134,11 @@ const Circle = createLucideIcon("circle", __iconNode$15);
3134
3134
  */
3135
3135
 
3136
3136
 
3137
- const __iconNode$14 = [
3137
+ const __iconNode$15 = [
3138
3138
  ["path", { d: "M12 6v6l4 2", key: "mmk7yg" }],
3139
3139
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }]
3140
3140
  ];
3141
- const Clock = createLucideIcon("clock", __iconNode$14);
3141
+ const Clock = createLucideIcon("clock", __iconNode$15);
3142
3142
 
3143
3143
  /**
3144
3144
  * @license lucide-react v0.539.0 - ISC
@@ -3148,11 +3148,11 @@ const Clock = createLucideIcon("clock", __iconNode$14);
3148
3148
  */
3149
3149
 
3150
3150
 
3151
- const __iconNode$13 = [
3151
+ const __iconNode$14 = [
3152
3152
  ["rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2", key: "17jyea" }],
3153
3153
  ["path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2", key: "zix9uf" }]
3154
3154
  ];
3155
- const Copy = createLucideIcon("copy", __iconNode$13);
3155
+ const Copy = createLucideIcon("copy", __iconNode$14);
3156
3156
 
3157
3157
  /**
3158
3158
  * @license lucide-react v0.539.0 - ISC
@@ -3162,11 +3162,11 @@ const Copy = createLucideIcon("copy", __iconNode$13);
3162
3162
  */
3163
3163
 
3164
3164
 
3165
- const __iconNode$12 = [
3165
+ const __iconNode$13 = [
3166
3166
  ["path", { d: "M6 2v14a2 2 0 0 0 2 2h14", key: "ron5a4" }],
3167
3167
  ["path", { d: "M18 22V8a2 2 0 0 0-2-2H2", key: "7s9ehn" }]
3168
3168
  ];
3169
- const Crop = createLucideIcon("crop", __iconNode$12);
3169
+ const Crop = createLucideIcon("crop", __iconNode$13);
3170
3170
 
3171
3171
  /**
3172
3172
  * @license lucide-react v0.539.0 - ISC
@@ -3176,12 +3176,12 @@ const Crop = createLucideIcon("crop", __iconNode$12);
3176
3176
  */
3177
3177
 
3178
3178
 
3179
- const __iconNode$11 = [
3179
+ const __iconNode$12 = [
3180
3180
  ["path", { d: "M12 15V3", key: "m9g1x1" }],
3181
3181
  ["path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4", key: "ih7n3h" }],
3182
3182
  ["path", { d: "m7 10 5 5 5-5", key: "brsn70" }]
3183
3183
  ];
3184
- const Download = createLucideIcon("download", __iconNode$11);
3184
+ const Download = createLucideIcon("download", __iconNode$12);
3185
3185
 
3186
3186
  /**
3187
3187
  * @license lucide-react v0.539.0 - ISC
@@ -3191,12 +3191,12 @@ const Download = createLucideIcon("download", __iconNode$11);
3191
3191
  */
3192
3192
 
3193
3193
 
3194
- const __iconNode$10 = [
3194
+ const __iconNode$11 = [
3195
3195
  ["circle", { cx: "12", cy: "12", r: "1", key: "41hilf" }],
3196
3196
  ["circle", { cx: "12", cy: "5", r: "1", key: "gxeob9" }],
3197
3197
  ["circle", { cx: "12", cy: "19", r: "1", key: "lyex9k" }]
3198
3198
  ];
3199
- const EllipsisVertical = createLucideIcon("ellipsis-vertical", __iconNode$10);
3199
+ const EllipsisVertical = createLucideIcon("ellipsis-vertical", __iconNode$11);
3200
3200
 
3201
3201
  /**
3202
3202
  * @license lucide-react v0.539.0 - ISC
@@ -3206,12 +3206,12 @@ const EllipsisVertical = createLucideIcon("ellipsis-vertical", __iconNode$10);
3206
3206
  */
3207
3207
 
3208
3208
 
3209
- const __iconNode$$ = [
3209
+ const __iconNode$10 = [
3210
3210
  ["circle", { cx: "12", cy: "12", r: "1", key: "41hilf" }],
3211
3211
  ["circle", { cx: "19", cy: "12", r: "1", key: "1wjl8i" }],
3212
3212
  ["circle", { cx: "5", cy: "12", r: "1", key: "1pcz8c" }]
3213
3213
  ];
3214
- const Ellipsis = createLucideIcon("ellipsis", __iconNode$$);
3214
+ const Ellipsis = createLucideIcon("ellipsis", __iconNode$10);
3215
3215
 
3216
3216
  /**
3217
3217
  * @license lucide-react v0.539.0 - ISC
@@ -3221,12 +3221,12 @@ const Ellipsis = createLucideIcon("ellipsis", __iconNode$$);
3221
3221
  */
3222
3222
 
3223
3223
 
3224
- const __iconNode$_ = [
3224
+ const __iconNode$$ = [
3225
3225
  ["path", { d: "M15 3h6v6", key: "1q9fwt" }],
3226
3226
  ["path", { d: "M10 14 21 3", key: "gplh6r" }],
3227
3227
  ["path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6", key: "a6xqqp" }]
3228
3228
  ];
3229
- const ExternalLink = createLucideIcon("external-link", __iconNode$_);
3229
+ const ExternalLink = createLucideIcon("external-link", __iconNode$$);
3230
3230
 
3231
3231
  /**
3232
3232
  * @license lucide-react v0.539.0 - ISC
@@ -3236,7 +3236,7 @@ const ExternalLink = createLucideIcon("external-link", __iconNode$_);
3236
3236
  */
3237
3237
 
3238
3238
 
3239
- const __iconNode$Z = [
3239
+ const __iconNode$_ = [
3240
3240
  [
3241
3241
  "path",
3242
3242
  {
@@ -3246,7 +3246,7 @@ const __iconNode$Z = [
3246
3246
  ],
3247
3247
  ["circle", { cx: "12", cy: "12", r: "3", key: "1v7zrd" }]
3248
3248
  ];
3249
- const Eye = createLucideIcon("eye", __iconNode$Z);
3249
+ const Eye = createLucideIcon("eye", __iconNode$_);
3250
3250
 
3251
3251
  /**
3252
3252
  * @license lucide-react v0.539.0 - ISC
@@ -3256,13 +3256,13 @@ const Eye = createLucideIcon("eye", __iconNode$Z);
3256
3256
  */
3257
3257
 
3258
3258
 
3259
- const __iconNode$Y = [
3259
+ const __iconNode$Z = [
3260
3260
  [
3261
3261
  "path",
3262
3262
  { d: "M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z", key: "1jg4f8" }
3263
3263
  ]
3264
3264
  ];
3265
- const Facebook = createLucideIcon("facebook", __iconNode$Y);
3265
+ const Facebook = createLucideIcon("facebook", __iconNode$Z);
3266
3266
 
3267
3267
  /**
3268
3268
  * @license lucide-react v0.539.0 - ISC
@@ -3272,7 +3272,7 @@ const Facebook = createLucideIcon("facebook", __iconNode$Y);
3272
3272
  */
3273
3273
 
3274
3274
 
3275
- const __iconNode$X = [
3275
+ const __iconNode$Y = [
3276
3276
  ["path", { d: "M12 22h6a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v3.072", key: "n6s66f" }],
3277
3277
  ["path", { d: "M14 2v4a2 2 0 0 0 2 2h4", key: "tnqrlb" }],
3278
3278
  [
@@ -3284,7 +3284,7 @@ const __iconNode$X = [
3284
3284
  ],
3285
3285
  ["circle", { cx: "5", cy: "14", r: "3", key: "ufru5t" }]
3286
3286
  ];
3287
- const FileBadge = createLucideIcon("file-badge", __iconNode$X);
3287
+ const FileBadge = createLucideIcon("file-badge", __iconNode$Y);
3288
3288
 
3289
3289
  /**
3290
3290
  * @license lucide-react v0.539.0 - ISC
@@ -3294,12 +3294,12 @@ const FileBadge = createLucideIcon("file-badge", __iconNode$X);
3294
3294
  */
3295
3295
 
3296
3296
 
3297
- const __iconNode$W = [
3297
+ const __iconNode$X = [
3298
3298
  ["path", { d: "M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4", key: "1pf5j1" }],
3299
3299
  ["path", { d: "M14 2v4a2 2 0 0 0 2 2h4", key: "tnqrlb" }],
3300
3300
  ["path", { d: "m3 15 2 2 4-4", key: "1lhrkk" }]
3301
3301
  ];
3302
- const FileCheck2 = createLucideIcon("file-check-2", __iconNode$W);
3302
+ const FileCheck2 = createLucideIcon("file-check-2", __iconNode$X);
3303
3303
 
3304
3304
  /**
3305
3305
  * @license lucide-react v0.539.0 - ISC
@@ -3309,14 +3309,14 @@ const FileCheck2 = createLucideIcon("file-check-2", __iconNode$W);
3309
3309
  */
3310
3310
 
3311
3311
 
3312
- const __iconNode$V = [
3312
+ const __iconNode$W = [
3313
3313
  ["path", { d: "M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z", key: "1rqfz7" }],
3314
3314
  ["path", { d: "M14 2v4a2 2 0 0 0 2 2h4", key: "tnqrlb" }],
3315
3315
  ["path", { d: "M10 9H8", key: "b1mrlr" }],
3316
3316
  ["path", { d: "M16 13H8", key: "t4e002" }],
3317
3317
  ["path", { d: "M16 17H8", key: "z1uh3a" }]
3318
3318
  ];
3319
- const FileText = createLucideIcon("file-text", __iconNode$V);
3319
+ const FileText = createLucideIcon("file-text", __iconNode$W);
3320
3320
 
3321
3321
  /**
3322
3322
  * @license lucide-react v0.539.0 - ISC
@@ -3326,7 +3326,7 @@ const FileText = createLucideIcon("file-text", __iconNode$V);
3326
3326
  */
3327
3327
 
3328
3328
 
3329
- const __iconNode$U = [
3329
+ const __iconNode$V = [
3330
3330
  [
3331
3331
  "path",
3332
3332
  {
@@ -3337,7 +3337,7 @@ const __iconNode$U = [
3337
3337
  ["path", { d: "m16.5 3.5 5 5", key: "15e6fa" }],
3338
3338
  ["path", { d: "m21.5 3.5-5 5", key: "m0lwru" }]
3339
3339
  ];
3340
- const FunnelX = createLucideIcon("funnel-x", __iconNode$U);
3340
+ const FunnelX = createLucideIcon("funnel-x", __iconNode$V);
3341
3341
 
3342
3342
  /**
3343
3343
  * @license lucide-react v0.539.0 - ISC
@@ -3347,7 +3347,7 @@ const FunnelX = createLucideIcon("funnel-x", __iconNode$U);
3347
3347
  */
3348
3348
 
3349
3349
 
3350
- const __iconNode$T = [
3350
+ const __iconNode$U = [
3351
3351
  [
3352
3352
  "path",
3353
3353
  {
@@ -3356,7 +3356,7 @@ const __iconNode$T = [
3356
3356
  }
3357
3357
  ]
3358
3358
  ];
3359
- const Funnel = createLucideIcon("funnel", __iconNode$T);
3359
+ const Funnel = createLucideIcon("funnel", __iconNode$U);
3360
3360
 
3361
3361
  /**
3362
3362
  * @license lucide-react v0.539.0 - ISC
@@ -3366,7 +3366,7 @@ const Funnel = createLucideIcon("funnel", __iconNode$T);
3366
3366
  */
3367
3367
 
3368
3368
 
3369
- const __iconNode$S = [
3369
+ const __iconNode$T = [
3370
3370
  ["path", { d: "M10.5 3 8 9l4 13 4-13-2.5-6", key: "b3dvk1" }],
3371
3371
  [
3372
3372
  "path",
@@ -3377,7 +3377,7 @@ const __iconNode$S = [
3377
3377
  ],
3378
3378
  ["path", { d: "M2 9h20", key: "16fsjt" }]
3379
3379
  ];
3380
- const Gem = createLucideIcon("gem", __iconNode$S);
3380
+ const Gem = createLucideIcon("gem", __iconNode$T);
3381
3381
 
3382
3382
  /**
3383
3383
  * @license lucide-react v0.539.0 - ISC
@@ -3387,7 +3387,7 @@ const Gem = createLucideIcon("gem", __iconNode$S);
3387
3387
  */
3388
3388
 
3389
3389
 
3390
- const __iconNode$R = [
3390
+ const __iconNode$S = [
3391
3391
  ["circle", { cx: "12", cy: "9", r: "1", key: "124mty" }],
3392
3392
  ["circle", { cx: "19", cy: "9", r: "1", key: "1ruzo2" }],
3393
3393
  ["circle", { cx: "5", cy: "9", r: "1", key: "1a8b28" }],
@@ -3395,7 +3395,7 @@ const __iconNode$R = [
3395
3395
  ["circle", { cx: "19", cy: "15", r: "1", key: "1a92ep" }],
3396
3396
  ["circle", { cx: "5", cy: "15", r: "1", key: "5r1jwy" }]
3397
3397
  ];
3398
- const GripHorizontal = createLucideIcon("grip-horizontal", __iconNode$R);
3398
+ const GripHorizontal = createLucideIcon("grip-horizontal", __iconNode$S);
3399
3399
 
3400
3400
  /**
3401
3401
  * @license lucide-react v0.539.0 - ISC
@@ -3405,7 +3405,7 @@ const GripHorizontal = createLucideIcon("grip-horizontal", __iconNode$R);
3405
3405
  */
3406
3406
 
3407
3407
 
3408
- const __iconNode$Q = [
3408
+ const __iconNode$R = [
3409
3409
  ["circle", { cx: "9", cy: "12", r: "1", key: "1vctgf" }],
3410
3410
  ["circle", { cx: "9", cy: "5", r: "1", key: "hp0tcf" }],
3411
3411
  ["circle", { cx: "9", cy: "19", r: "1", key: "fkjjf6" }],
@@ -3413,7 +3413,7 @@ const __iconNode$Q = [
3413
3413
  ["circle", { cx: "15", cy: "5", r: "1", key: "19l28e" }],
3414
3414
  ["circle", { cx: "15", cy: "19", r: "1", key: "f4zoj3" }]
3415
3415
  ];
3416
- const GripVertical = createLucideIcon("grip-vertical", __iconNode$Q);
3416
+ const GripVertical = createLucideIcon("grip-vertical", __iconNode$R);
3417
3417
 
3418
3418
  /**
3419
3419
  * @license lucide-react v0.539.0 - ISC
@@ -3423,13 +3423,13 @@ const GripVertical = createLucideIcon("grip-vertical", __iconNode$Q);
3423
3423
  */
3424
3424
 
3425
3425
 
3426
- const __iconNode$P = [
3426
+ const __iconNode$Q = [
3427
3427
  ["line", { x1: "4", x2: "20", y1: "9", y2: "9", key: "4lhtct" }],
3428
3428
  ["line", { x1: "4", x2: "20", y1: "15", y2: "15", key: "vyu0kd" }],
3429
3429
  ["line", { x1: "10", x2: "8", y1: "3", y2: "21", key: "1ggp8o" }],
3430
3430
  ["line", { x1: "16", x2: "14", y1: "3", y2: "21", key: "weycgp" }]
3431
3431
  ];
3432
- const Hash = createLucideIcon("hash", __iconNode$P);
3432
+ const Hash = createLucideIcon("hash", __iconNode$Q);
3433
3433
 
3434
3434
  /**
3435
3435
  * @license lucide-react v0.539.0 - ISC
@@ -3439,13 +3439,13 @@ const Hash = createLucideIcon("hash", __iconNode$P);
3439
3439
  */
3440
3440
 
3441
3441
 
3442
- const __iconNode$O = [
3442
+ const __iconNode$P = [
3443
3443
  ["path", { d: "M4 12h8", key: "17cfdx" }],
3444
3444
  ["path", { d: "M4 18V6", key: "1rz3zl" }],
3445
3445
  ["path", { d: "M12 18V6", key: "zqpxq5" }],
3446
3446
  ["path", { d: "m17 12 3-2v8", key: "1hhhft" }]
3447
3447
  ];
3448
- const Heading1 = createLucideIcon("heading-1", __iconNode$O);
3448
+ const Heading1 = createLucideIcon("heading-1", __iconNode$P);
3449
3449
 
3450
3450
  /**
3451
3451
  * @license lucide-react v0.539.0 - ISC
@@ -3455,13 +3455,13 @@ const Heading1 = createLucideIcon("heading-1", __iconNode$O);
3455
3455
  */
3456
3456
 
3457
3457
 
3458
- const __iconNode$N = [
3458
+ const __iconNode$O = [
3459
3459
  ["path", { d: "M4 12h8", key: "17cfdx" }],
3460
3460
  ["path", { d: "M4 18V6", key: "1rz3zl" }],
3461
3461
  ["path", { d: "M12 18V6", key: "zqpxq5" }],
3462
3462
  ["path", { d: "M21 18h-4c0-4 4-3 4-6 0-1.5-2-2.5-4-1", key: "9jr5yi" }]
3463
3463
  ];
3464
- const Heading2 = createLucideIcon("heading-2", __iconNode$N);
3464
+ const Heading2 = createLucideIcon("heading-2", __iconNode$O);
3465
3465
 
3466
3466
  /**
3467
3467
  * @license lucide-react v0.539.0 - ISC
@@ -3471,14 +3471,14 @@ const Heading2 = createLucideIcon("heading-2", __iconNode$N);
3471
3471
  */
3472
3472
 
3473
3473
 
3474
- const __iconNode$M = [
3474
+ const __iconNode$N = [
3475
3475
  ["path", { d: "M4 12h8", key: "17cfdx" }],
3476
3476
  ["path", { d: "M4 18V6", key: "1rz3zl" }],
3477
3477
  ["path", { d: "M12 18V6", key: "zqpxq5" }],
3478
3478
  ["path", { d: "M17.5 10.5c1.7-1 3.5 0 3.5 1.5a2 2 0 0 1-2 2", key: "68ncm8" }],
3479
3479
  ["path", { d: "M17 17.5c2 1.5 4 .3 4-1.5a2 2 0 0 0-2-2", key: "1ejuhz" }]
3480
3480
  ];
3481
- const Heading3 = createLucideIcon("heading-3", __iconNode$M);
3481
+ const Heading3 = createLucideIcon("heading-3", __iconNode$N);
3482
3482
 
3483
3483
  /**
3484
3484
  * @license lucide-react v0.539.0 - ISC
@@ -3488,12 +3488,12 @@ const Heading3 = createLucideIcon("heading-3", __iconNode$M);
3488
3488
  */
3489
3489
 
3490
3490
 
3491
- const __iconNode$L = [
3491
+ const __iconNode$M = [
3492
3492
  ["path", { d: "M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8", key: "1357e3" }],
3493
3493
  ["path", { d: "M3 3v5h5", key: "1xhq8a" }],
3494
3494
  ["path", { d: "M12 7v5l4 2", key: "1fdv2h" }]
3495
3495
  ];
3496
- const History = createLucideIcon("history", __iconNode$L);
3496
+ const History = createLucideIcon("history", __iconNode$M);
3497
3497
 
3498
3498
  /**
3499
3499
  * @license lucide-react v0.539.0 - ISC
@@ -3503,12 +3503,32 @@ const History = createLucideIcon("history", __iconNode$L);
3503
3503
  */
3504
3504
 
3505
3505
 
3506
- const __iconNode$K = [
3506
+ const __iconNode$L = [
3507
3507
  ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", ry: "2", key: "1m3agn" }],
3508
3508
  ["circle", { cx: "9", cy: "9", r: "2", key: "af1f0g" }],
3509
3509
  ["path", { d: "m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21", key: "1xmnt7" }]
3510
3510
  ];
3511
- const Image$1 = createLucideIcon("image", __iconNode$K);
3511
+ const Image$1 = createLucideIcon("image", __iconNode$L);
3512
+
3513
+ /**
3514
+ * @license lucide-react v0.539.0 - ISC
3515
+ *
3516
+ * This source code is licensed under the ISC license.
3517
+ * See the LICENSE file in the root directory of this source tree.
3518
+ */
3519
+
3520
+
3521
+ const __iconNode$K = [
3522
+ ["polyline", { points: "22 12 16 12 14 15 10 15 8 12 2 12", key: "o97t9d" }],
3523
+ [
3524
+ "path",
3525
+ {
3526
+ d: "M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",
3527
+ key: "oot6mr"
3528
+ }
3529
+ ]
3530
+ ];
3531
+ const Inbox = createLucideIcon("inbox", __iconNode$K);
3512
3532
 
3513
3533
  /**
3514
3534
  * @license lucide-react v0.539.0 - ISC
@@ -14021,9 +14041,15 @@ const getCurrencySymbol = (code) => {
14021
14041
  CAD: 'CA$',
14022
14042
  CHF: 'CHF',
14023
14043
  INR: '₹',
14044
+ PLN: 'zł',
14024
14045
  };
14025
14046
  return symbols[c] ?? c;
14026
14047
  };
14048
+ /** Intl prints the bare code for currencies with no English symbol (PLN 1,230.00); use our symbol instead. */
14049
+ const withCurrencySymbol = (formatted, code) => {
14050
+ const symbol = getCurrencySymbol(code);
14051
+ return symbol === code ? formatted : formatted.replace(code, symbol);
14052
+ };
14027
14053
  /**
14028
14054
  * Format currency amount with proper symbol, ensuring USD always shows as "$" not "US$"
14029
14055
  * This normalizes browser inconsistencies in Intl.NumberFormat output
@@ -14047,7 +14073,7 @@ function formatCurrencyAmount(amount, currency, options) {
14047
14073
  if (currencyCode === 'USD' && formatted.includes('US$')) {
14048
14074
  formatted = formatted.replace(/US\$/g, '$');
14049
14075
  }
14050
- return formatted;
14076
+ return withCurrencySymbol(formatted, currencyCode);
14051
14077
  }
14052
14078
  catch (error) {
14053
14079
  // Fallback if currency code is invalid
@@ -22006,6 +22032,34 @@ function CustomCombobox({ options, placeholder = 'Select option...', value, onCh
22006
22032
  return (jsxRuntime.jsx(SearchableSelect, { selectedItem: selectedItem, onChange: (opt) => onChange(opt.label), getOptionKey: (o) => o.value, getOptionLabel: (o) => o.label, options: options, searchPlaceholder: placeholder, emptyMessage: emptyMessage, className: className }));
22007
22033
  }
22008
22034
 
22035
+ /** A table's empty title when its page gives none. */
22036
+ const DEFAULT_TABLE_EMPTY_TITLE = 'No records yet';
22037
+ /** Placeholder rows of the empty list, fading out; the middle one is nudged so the stack reads as loose cards. */
22038
+ const EMPTY_STATE_ROWS = [
22039
+ { key: 'first', className: '' },
22040
+ { key: 'second', className: 'translate-x-3 opacity-70' },
22041
+ { key: 'third', className: 'opacity-40' },
22042
+ ];
22043
+
22044
+ /**
22045
+ * A list or table with nothing to show: a quiet sketch of empty rows with `icon` as a badge, then the
22046
+ * title, description and an optional action.
22047
+ */
22048
+ function EmptyState({ icon: Icon, title, description, action, className, }) {
22049
+ return (jsxRuntime.jsxs("div", { className: cn('flex flex-col items-center py-12 text-center', className), children: [jsxRuntime.jsxs("div", { "aria-hidden": "true", className: "relative w-44", children: [jsxRuntime.jsx("div", { className: "space-y-2", children: EMPTY_STATE_ROWS.map((row) => (jsxRuntime.jsxs("div", { className: cn('flex items-center gap-2 rounded-lg border border-border bg-card px-3 py-2 shadow-xs', row.className), children: [jsxRuntime.jsx("span", { className: "size-5 shrink-0 rounded-md bg-muted" }), jsxRuntime.jsx("span", { className: "h-1.5 flex-1 rounded-full bg-muted" }), jsxRuntime.jsx("span", { className: "h-1.5 w-6 rounded-full bg-muted" })] }, row.key))) }), jsxRuntime.jsx("span", { className: "absolute -right-3 -top-3 flex size-9 items-center justify-center rounded-full border border-border bg-card text-primary shadow-sm", children: jsxRuntime.jsx(Icon, { className: "size-4" }) })] }), jsxRuntime.jsx("p", { className: "mt-5 text-base font-semibold text-foreground", children: title }), description && (jsxRuntime.jsx("p", { className: "mt-1.5 max-w-md text-sm text-muted-foreground", children: description })), action && jsxRuntime.jsx("div", { className: "mt-5", children: action })] }));
22050
+ }
22051
+
22052
+ /**
22053
+ * A table's empty content: its own `EmptyState` (or other element) as given, a string as the title of the
22054
+ * standard empty state, or the neutral default when the table passes nothing.
22055
+ *
22056
+ * Render it in the table's scroll container, after the `<table>`: it is pinned to the visible width there,
22057
+ * so it stays centered however wide the columns are or however far the table is scrolled sideways.
22058
+ */
22059
+ function TableEmptyState({ content, }) {
22060
+ return (jsxRuntime.jsx("div", { "data-slot": "table-empty-state", className: "sticky left-0 w-full", children: content === undefined || content === null || typeof content === 'string' ? (jsxRuntime.jsx(EmptyState, { icon: Inbox, title: content || DEFAULT_TABLE_EMPTY_TITLE })) : (content) }));
22061
+ }
22062
+
22009
22063
  function useExpandableRows() {
22010
22064
  const [expanded, setExpanded] = React.useState(new Set());
22011
22065
  const toggleExpand = (key) => {
@@ -22048,7 +22102,7 @@ function renderCellContent(row, col) {
22048
22102
  return typeof raw === 'number' ? raw.toLocaleString() : raw;
22049
22103
  }
22050
22104
 
22051
- function CustomTable({ data, columns, expandable, rowKey = (row) => row.id, className = '', columnStyles = {}, comfortableRows = false, compactRows = false, mutedCellFallback = false, pagination, enableSelection = false, selectedRowIds, onSelectionChange, }) {
22105
+ function CustomTable({ data, columns, expandable, rowKey = (row) => row.id, className = '', columnStyles = {}, comfortableRows = false, compactRows = false, mutedCellFallback = false, pagination, enableSelection = false, selectedRowIds, onSelectionChange, emptyState, }) {
22052
22106
  const { isExpanded, toggleExpand } = useExpandableRows();
22053
22107
  const selectedIds = selectedRowIds ?? [];
22054
22108
  const allKeys = data.map(rowKey);
@@ -22063,22 +22117,22 @@ function CustomTable({ data, columns, expandable, rowKey = (row) => row.id, clas
22063
22117
  ? selectedIds.filter((id) => id !== key)
22064
22118
  : [...selectedIds, key]);
22065
22119
  };
22066
- return (jsxRuntime.jsxs("div", { className: `h-full w-full flex flex-col overflow-hidden rounded-lg border border-border bg-card ${className}`, "data-slot": "table-container", children: [jsxRuntime.jsx("div", { className: "overflow-auto flex-1 isolate", children: jsxRuntime.jsxs("table", { "data-slot": "table", className: "min-w-full w-full text-left text-sm", children: [jsxRuntime.jsx("thead", { className: "sticky top-0 z-40 border-b border-border !bg-table-header", children: jsxRuntime.jsxs("tr", { children: [expandable && (jsxRuntime.jsx("th", { className: "h-12 w-[52px] min-w-[52px] whitespace-nowrap px-3 text-left align-middle text-secondary-foreground" })), enableSelection && (jsxRuntime.jsx("th", { className: "h-12 w-[52px] min-w-[52px] whitespace-nowrap px-3 text-left align-middle", children: jsxRuntime.jsx(Checkbox, { checked: allSelected
22067
- ? true
22068
- : someSelected
22069
- ? 'indeterminate'
22070
- : false, onCheckedChange: toggleSelectAll, "aria-label": "Select all rows" }) })), columns.map((col) => (jsxRuntime.jsx("th", { className: cn('h-12 whitespace-nowrap px-4 text-left align-middle text-sm font-semibold text-secondary-foreground', alignClass(col.align), col.key === 'actions' && stickyActionsHeaderClass(), col.headerClassName), style: { width: col.width }, children: col.header }, col.key)))] }) }), jsxRuntime.jsx("tbody", { children: data.length === 0 ? (jsxRuntime.jsx("tr", { children: jsxRuntime.jsx("td", { colSpan: columns.length + leadingCols, className: "p-4 text-center text-muted-foreground", children: "No data available" }) })) : (data.map((row, idx) => {
22071
- const key = rowKey(row);
22072
- const expandedRow = isExpanded(key);
22073
- return (jsxRuntime.jsxs(React.Fragment, { children: [jsxRuntime.jsxs("tr", { className: `cursor-pointer border-b border-border transition-colors hover:bg-muted/30 ${idx % 2 === 0 ? 'bg-card' : 'bg-alternativeTableColor'} ${comfortableRows ? 'h-[76px]' : ''} ${compactRows ? 'h-[52px]' : ''}`, children: [expandable && (jsxRuntime.jsx("td", { className: "border-b border-border px-3 align-middle whitespace-nowrap", children: jsxRuntime.jsx("button", { type: "button", onClick: (e) => {
22074
- e.stopPropagation();
22075
- toggleExpand(key);
22076
- }, className: "flex size-8 cursor-pointer items-center justify-center rounded-md text-muted-foreground hover:bg-muted hover:text-foreground", "aria-expanded": expandedRow, "aria-label": expandedRow ? 'Collapse row' : 'Expand row', children: expandedRow ? (jsxRuntime.jsx(ChevronDown, { className: "size-4" })) : (jsxRuntime.jsx(ChevronRight, { className: "size-4" })) }) })), enableSelection && (jsxRuntime.jsx("td", { className: "border-b border-border px-3 align-middle", onClick: (e) => e.stopPropagation(), children: jsxRuntime.jsx(Checkbox, { checked: selectedIds.includes(key), onCheckedChange: () => toggleRow(key), "aria-label": "Select row" }) })), columns.map((col) => (jsxRuntime.jsx("td", { className: cn('border-b border-border px-4 align-middle text-foreground', compactRows || comfortableRows ? 'py-0' : 'py-3', col.cellClassName?.(row), columnStyles?.[col.key] ??
22077
- (mutedCellFallback
22078
- ? 'text-muted-foreground'
22079
- : ''), alignClass(col.align), col.key === 'actions' &&
22080
- stickyActionsCellClass(idx % 2 === 0)), "data-slot": "table-cell", children: renderCellContent(row, col) }, col.key)))] }), expandable && expandedRow && (jsxRuntime.jsx("tr", { children: jsxRuntime.jsx("td", { colSpan: columns.length + leadingCols, className: "border-b bg-background p-0", children: expandable.render(row) }) }))] }, key));
22081
- })) })] }) }), pagination] }));
22120
+ return (jsxRuntime.jsxs("div", { className: `h-full w-full flex flex-col overflow-hidden rounded-lg border border-border bg-card ${className}`, "data-slot": "table-container", children: [jsxRuntime.jsxs("div", { className: "overflow-auto flex-1 isolate", children: [jsxRuntime.jsxs("table", { "data-slot": "table", className: "min-w-full w-full text-left text-sm", children: [jsxRuntime.jsx("thead", { className: "sticky top-0 z-40 border-b border-border !bg-table-header", children: jsxRuntime.jsxs("tr", { children: [expandable && (jsxRuntime.jsx("th", { className: "h-12 w-[52px] min-w-[52px] whitespace-nowrap px-3 text-left align-middle text-secondary-foreground" })), enableSelection && (jsxRuntime.jsx("th", { className: "h-12 w-[52px] min-w-[52px] whitespace-nowrap px-3 text-left align-middle", children: jsxRuntime.jsx(Checkbox, { checked: allSelected
22121
+ ? true
22122
+ : someSelected
22123
+ ? 'indeterminate'
22124
+ : false, onCheckedChange: toggleSelectAll, "aria-label": "Select all rows" }) })), columns.map((col) => (jsxRuntime.jsx("th", { className: cn('h-12 whitespace-nowrap px-4 text-left align-middle text-sm font-semibold text-secondary-foreground', alignClass(col.align), col.key === 'actions' && stickyActionsHeaderClass(), col.headerClassName), style: { width: col.width }, children: col.header }, col.key)))] }) }), jsxRuntime.jsx("tbody", { children: data.map((row, idx) => {
22125
+ const key = rowKey(row);
22126
+ const expandedRow = isExpanded(key);
22127
+ return (jsxRuntime.jsxs(React.Fragment, { children: [jsxRuntime.jsxs("tr", { className: `cursor-pointer border-b border-border transition-colors hover:bg-muted/30 ${idx % 2 === 0 ? 'bg-card' : 'bg-alternativeTableColor'} ${comfortableRows ? 'h-[76px]' : ''} ${compactRows ? 'h-[52px]' : ''}`, children: [expandable && (jsxRuntime.jsx("td", { className: "border-b border-border px-3 align-middle whitespace-nowrap", children: jsxRuntime.jsx("button", { type: "button", onClick: (e) => {
22128
+ e.stopPropagation();
22129
+ toggleExpand(key);
22130
+ }, className: "flex size-8 cursor-pointer items-center justify-center rounded-md text-muted-foreground hover:bg-muted hover:text-foreground", "aria-expanded": expandedRow, "aria-label": expandedRow ? 'Collapse row' : 'Expand row', children: expandedRow ? (jsxRuntime.jsx(ChevronDown, { className: "size-4" })) : (jsxRuntime.jsx(ChevronRight, { className: "size-4" })) }) })), enableSelection && (jsxRuntime.jsx("td", { className: "border-b border-border px-3 align-middle", onClick: (e) => e.stopPropagation(), children: jsxRuntime.jsx(Checkbox, { checked: selectedIds.includes(key), onCheckedChange: () => toggleRow(key), "aria-label": "Select row" }) })), columns.map((col) => (jsxRuntime.jsx("td", { className: cn('border-b border-border px-4 align-middle text-foreground', compactRows || comfortableRows ? 'py-0' : 'py-3', col.cellClassName?.(row), columnStyles?.[col.key] ??
22131
+ (mutedCellFallback
22132
+ ? 'text-muted-foreground'
22133
+ : ''), alignClass(col.align), col.key === 'actions' &&
22134
+ stickyActionsCellClass(idx % 2 === 0)), "data-slot": "table-cell", children: renderCellContent(row, col) }, col.key)))] }), expandable && expandedRow && (jsxRuntime.jsx("tr", { children: jsxRuntime.jsx("td", { colSpan: columns.length + leadingCols, className: "border-b bg-background p-0", children: expandable.render(row) }) }))] }, key));
22135
+ }) })] }), data.length === 0 && jsxRuntime.jsx(TableEmptyState, { content: emptyState })] }), pagination] }));
22082
22136
  }
22083
22137
 
22084
22138
  function useCombinedRefs() {
@@ -27148,7 +27202,7 @@ function DataEditableTable({ data, columns, onRowClick, enableSelection = false,
27148
27202
  top: overlay.top,
27149
27203
  width: overlay.width,
27150
27204
  height: overlay.height,
27151
- }, children: jsxRuntime.jsx("div", { className: "sticky left-0 p-3", style: { width: overlay.visibleWidth }, children: jsxRuntime.jsx(TableRowsSkeleton, { rows: getSkeletonRowCount(overlay.height) }) }) })) : (loading && (jsxRuntime.jsx("div", { className: "sticky left-0 w-full p-3", children: jsxRuntime.jsx(TableRowsSkeleton, { rows: loadingRows }) }))), !loading && data.length === 0 && (jsxRuntime.jsx("div", { className: "sticky left-0 flex w-full items-center justify-center p-6 text-sm text-muted-foreground", children: emptyState ?? 'No data available' }))] }), loading && pagination ? (jsxRuntime.jsx(PaginationLoading, { children: pagination })) : (pagination)] }));
27205
+ }, children: jsxRuntime.jsx("div", { className: "sticky left-0 p-3", style: { width: overlay.visibleWidth }, children: jsxRuntime.jsx(TableRowsSkeleton, { rows: getSkeletonRowCount(overlay.height) }) }) })) : (loading && (jsxRuntime.jsx("div", { className: "sticky left-0 w-full p-3", children: jsxRuntime.jsx(TableRowsSkeleton, { rows: loadingRows }) }))), !loading && data.length === 0 && (jsxRuntime.jsx(TableEmptyState, { content: emptyState }))] }), loading && pagination ? (jsxRuntime.jsx(PaginationLoading, { children: pagination })) : (pagination)] }));
27152
27206
  if (!reorder.enabled)
27153
27207
  return table;
27154
27208
  return (jsxRuntime.jsx(DndContext, { sensors: reorder.sensors, onDragStart: reorder.onDragStart, onDragMove: reorder.onDragMove, onDragEnd: reorder.onDragEnd, onDragCancel: reorder.onDragCancel, children: table }));
@@ -27160,7 +27214,7 @@ function DataEditableTable({ data, columns, onRowClick, enableSelection = false,
27160
27214
  * `actions` column, and a pagination slot. For editable/resizable grids use
27161
27215
  * `DataEditableTable` instead.
27162
27216
  */
27163
- function DataTable({ data, columns, onRowClick, enableSelection = false, columnStyles = {}, pagination, }) {
27217
+ function DataTable({ data, columns, onRowClick, enableSelection = false, columnStyles = {}, pagination, emptyState, }) {
27164
27218
  const [selected, setSelected] = React.useState([]);
27165
27219
  const allSelected = data.length > 0 && selected.length === data.length;
27166
27220
  const someSelected = selected.length > 0 && selected.length < data.length;
@@ -27173,13 +27227,13 @@ function DataTable({ data, columns, onRowClick, enableSelection = false, columnS
27173
27227
  const toggleRow = (id) => {
27174
27228
  setSelected((prev) => prev.includes(id) ? prev.filter((x) => x !== id) : [...prev, id]);
27175
27229
  };
27176
- return (jsxRuntime.jsxs("div", { className: "h-full w-full rounded-lg border border-border bg-card flex flex-col overflow-hidden", children: [jsxRuntime.jsx("div", { className: "overflow-auto flex-1 isolate", children: jsxRuntime.jsxs("table", { className: "min-w-[70vh] w-full text-left text-sm", children: [jsxRuntime.jsx("thead", { className: "sticky top-0 z-50 border-b border-border bg-table-header text-secondary-foreground", children: jsxRuntime.jsxs("tr", { className: "border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted", children: [enableSelection && (jsxRuntime.jsx("th", { className: "h-10 whitespace-nowrap p-2 pl-5 text-left align-middle font-semibold text-secondary-foreground", children: jsxRuntime.jsx(Checkbox, { checked: allSelected ? true : someSelected ? 'indeterminate' : false, onCheckedChange: toggleSelectAll }) })), columns.map((col) => (jsxRuntime.jsx("th", { className: cn('h-10 cursor-pointer whitespace-nowrap p-2 pl-5 text-left align-middle text-sm text-secondary-foreground', col.key === 'actions' &&
27177
- 'sticky !right-0 top-0 z-40 w-[92px] min-w-[92px] max-w-[92px] px-2 text-center bg-table-header before:pointer-events-none before:absolute before:left-0 before:top-0 before:h-full before:w-px before:bg-border before:content-[""] shadow-[-3px_0_6px_-3px_rgba(0,0,0,0.08)]', col.key === 'id' || col.key === 'userId'
27178
- ? 'font-bold'
27179
- : 'font-semibold', col.headerClassName), children: col.header }, col.key.toString())))] }) }), jsxRuntime.jsx("tbody", { children: data.length === 0 ? (jsxRuntime.jsx("tr", { children: jsxRuntime.jsx("td", { colSpan: columns.length + (enableSelection ? 1 : 0), className: "p-0", children: jsxRuntime.jsx("div", { className: "flex w-full items-center justify-center py-16 text-muted-foreground", children: "No data available" }) }) })) : (data.map((row, idx) => (jsxRuntime.jsxs("tr", { className: cn('cursor-pointer border-b border-border transition-colors hover:bg-muted/40', idx % 2 === 0 ? 'bg-card' : 'bg-alternativeTableColor'), onClick: () => onRowClick?.(row), children: [enableSelection && (jsxRuntime.jsx("td", { className: "border-b border-border p-2 pl-5", children: jsxRuntime.jsx(Checkbox, { checked: selected.includes(row.id), onCheckedChange: () => toggleRow(row.id) }) })), columns.map((col) => (jsxRuntime.jsx("td", { className: cn('whitespace-nowrap border-b border-border p-2 pl-5 text-foreground', col.key === 'actions' &&
27180
- cn('sticky !right-0 z-30 w-[92px] min-w-[92px] max-w-[92px] px-2 text-center before:pointer-events-none before:absolute before:left-0 before:top-0 before:h-full before:w-px before:bg-border before:content-[""] shadow-[-3px_0_6px_-3px_rgba(0,0,0,0.08)]', idx % 2 === 0 ? 'bg-card' : 'bg-alternativeTableColor'), col.cellClassName?.(row), columnStyles[col.key.toString()] ?? 'text-muted-foreground'), children: col.render
27181
- ? col.render(row)
27182
- : row[col.key] }, col.key.toString())))] }, row.id)))) })] }) }), pagination] }));
27230
+ return (jsxRuntime.jsxs("div", { className: "h-full w-full rounded-lg border border-border bg-card flex flex-col overflow-hidden", children: [jsxRuntime.jsxs("div", { className: "overflow-auto flex-1 isolate", children: [jsxRuntime.jsxs("table", { className: "min-w-[70vh] w-full text-left text-sm", children: [jsxRuntime.jsx("thead", { className: "sticky top-0 z-50 border-b border-border bg-table-header text-secondary-foreground", children: jsxRuntime.jsxs("tr", { className: "border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted", children: [enableSelection && (jsxRuntime.jsx("th", { className: "h-10 whitespace-nowrap p-2 pl-5 text-left align-middle font-semibold text-secondary-foreground", children: jsxRuntime.jsx(Checkbox, { checked: allSelected ? true : someSelected ? 'indeterminate' : false, onCheckedChange: toggleSelectAll }) })), columns.map((col) => (jsxRuntime.jsx("th", { className: cn('h-10 cursor-pointer whitespace-nowrap p-2 pl-5 text-left align-middle text-sm text-secondary-foreground', col.key === 'actions' &&
27231
+ 'sticky !right-0 top-0 z-40 w-[92px] min-w-[92px] max-w-[92px] px-2 text-center bg-table-header before:pointer-events-none before:absolute before:left-0 before:top-0 before:h-full before:w-px before:bg-border before:content-[""] shadow-[-3px_0_6px_-3px_rgba(0,0,0,0.08)]', col.key === 'id' || col.key === 'userId'
27232
+ ? 'font-bold'
27233
+ : 'font-semibold', col.headerClassName), children: col.header }, col.key.toString())))] }) }), jsxRuntime.jsx("tbody", { children: data.map((row, idx) => (jsxRuntime.jsxs("tr", { className: cn('cursor-pointer border-b border-border transition-colors hover:bg-muted/40', idx % 2 === 0 ? 'bg-card' : 'bg-alternativeTableColor'), onClick: () => onRowClick?.(row), children: [enableSelection && (jsxRuntime.jsx("td", { className: "border-b border-border p-2 pl-5", children: jsxRuntime.jsx(Checkbox, { checked: selected.includes(row.id), onCheckedChange: () => toggleRow(row.id) }) })), columns.map((col) => (jsxRuntime.jsx("td", { className: cn('whitespace-nowrap border-b border-border p-2 pl-5 text-foreground', col.key === 'actions' &&
27234
+ cn('sticky !right-0 z-30 w-[92px] min-w-[92px] max-w-[92px] px-2 text-center before:pointer-events-none before:absolute before:left-0 before:top-0 before:h-full before:w-px before:bg-border before:content-[""] shadow-[-3px_0_6px_-3px_rgba(0,0,0,0.08)]', idx % 2 === 0 ? 'bg-card' : 'bg-alternativeTableColor'), col.cellClassName?.(row), columnStyles[col.key.toString()] ?? 'text-muted-foreground'), children: col.render
27235
+ ? col.render(row)
27236
+ : row[col.key] }, col.key.toString())))] }, row.id))) })] }), data.length === 0 && jsxRuntime.jsx(TableEmptyState, { content: emptyState })] }), pagination] }));
27183
27237
  }
27184
27238
 
27185
27239
  /**
@@ -43452,7 +43506,7 @@ function getEmptyStateDescription(itemNoun, activeCount) {
43452
43506
 
43453
43507
  /** Shown in place of rows when the applied column filters match nothing. */
43454
43508
  function FilterEmptyState({ itemNoun, title, description, activeCount, onClearAll, className, }) {
43455
- return (jsxRuntime.jsxs("div", { className: cn('flex flex-col items-center py-12 text-center', className), children: [jsxRuntime.jsx("div", { className: "flex size-10 items-center justify-center rounded-full bg-muted text-primary", children: jsxRuntime.jsx(FunnelX, { "aria-hidden": "true", className: "size-5" }) }), jsxRuntime.jsx("p", { className: "mt-4 text-base font-semibold text-foreground", children: title ?? getEmptyStateTitle(itemNoun) }), jsxRuntime.jsx("p", { className: "mt-1.5 max-w-sm text-sm text-muted-foreground", children: description ?? getEmptyStateDescription(itemNoun, activeCount) }), jsxRuntime.jsx(Button, { appearance: "outline", color: "primary", size: "md", onClick: onClearAll, leftIcon: jsxRuntime.jsx(RotateCcw, {}), className: "mt-5", children: "Clear all filters" })] }));
43509
+ return (jsxRuntime.jsx(EmptyState, { icon: FunnelX, title: title ?? getEmptyStateTitle(itemNoun), description: description ?? getEmptyStateDescription(itemNoun, activeCount), action: jsxRuntime.jsx(Button, { appearance: "outline", color: "primary", size: "md", onClick: onClearAll, leftIcon: jsxRuntime.jsx(RotateCcw, {}), children: "Clear all filters" }), className: className }));
43456
43510
  }
43457
43511
 
43458
43512
  function getScalePosition(options, value, option) {
@@ -44597,17 +44651,15 @@ const WarehouseFilter = ({ getWarehouseList, ...props }) => {
44597
44651
  };
44598
44652
 
44599
44653
  function formatInvoiceLabel(invoice) {
44600
- const amount = new Intl.NumberFormat('en-US', {
44601
- style: 'currency',
44602
- currency: invoice.baseCurrency || 'USD',
44603
- }).format(invoice.totalAmount);
44654
+ const amount = formatCurrency(invoice.totalAmount, invoice.baseCurrency);
44604
44655
  return `${invoice.invoiceNumber} - ${invoice.customer?.contactName || 'N/A'} (${amount})`;
44605
44656
  }
44606
44657
  function formatCurrency(amount, currency) {
44607
- return new Intl.NumberFormat('en-US', {
44658
+ const code = currency || 'USD';
44659
+ return withCurrencySymbol(new Intl.NumberFormat('en-US', {
44608
44660
  style: 'currency',
44609
- currency: currency || 'USD',
44610
- }).format(amount);
44661
+ currency: code,
44662
+ }).format(amount), code);
44611
44663
  }
44612
44664
  /** The currency the invoice was issued in; `baseCurrency` is only its ledger currency. */
44613
44665
  function getInvoiceCurrency(invoice) {
@@ -81187,6 +81239,7 @@ exports.DropdownMenuSub = DropdownMenuSub;
81187
81239
  exports.DropdownMenuSubContent = DropdownMenuSubContent;
81188
81240
  exports.DropdownMenuSubTrigger = DropdownMenuSubTrigger;
81189
81241
  exports.DropdownMenuTrigger = DropdownMenuTrigger;
81242
+ exports.EmptyState = EmptyState;
81190
81243
  exports.EmptyValue = EmptyValue;
81191
81244
  exports.EntityHeader = EntityHeader;
81192
81245
  exports.FILTER_COUNT_BADGE_CLASS_NAME = FILTER_COUNT_BADGE_CLASS_NAME;
@@ -81330,6 +81383,7 @@ exports.StatusBadge = StatusBadge$1;
81330
81383
  exports.StatusFilter = StatusFilter;
81331
81384
  exports.Stepper = Stepper;
81332
81385
  exports.StockTypeFilter = StockTypeFilter;
81386
+ exports.TableEmptyState = TableEmptyState;
81333
81387
  exports.TablePagination = TablePagination;
81334
81388
  exports.TableRowsSkeleton = TableRowsSkeleton;
81335
81389
  exports.TableSkeleton = TableSkeleton;