@nice2dev/ui-erp 1.1.9 → 1.2.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.
- package/README.md +3 -3
- package/dist/index.cjs +159 -155
- package/dist/index.d.ts +15 -15
- package/dist/index.mjs +91 -87
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import be, { useContext, createContext, memo, useState, useEffect, useMemo, useCallback, forwardRef, useRef } from "react";
|
|
3
3
|
const se = {
|
|
4
4
|
radius: "md",
|
|
5
5
|
shadow: "md",
|
|
@@ -340,7 +340,7 @@ const Ce = {
|
|
|
340
340
|
lg: "0 10px 15px -3px rgba(0,0,0,0.4)",
|
|
341
341
|
xl: "0 20px 25px -5px rgba(0,0,0,0.4)"
|
|
342
342
|
};
|
|
343
|
-
function
|
|
343
|
+
function $(e, t, r, a, n) {
|
|
344
344
|
return {
|
|
345
345
|
name: e,
|
|
346
346
|
darkMode: "light",
|
|
@@ -386,7 +386,7 @@ function j(e, t, r, a, n) {
|
|
|
386
386
|
transitions: Ne
|
|
387
387
|
};
|
|
388
388
|
}
|
|
389
|
-
|
|
389
|
+
$(
|
|
390
390
|
"Slate",
|
|
391
391
|
{
|
|
392
392
|
primary: "#64748b",
|
|
@@ -400,7 +400,7 @@ F(
|
|
|
400
400
|
{ primary: "#1e293b", secondary: "#475569", muted: "#94a3b8" },
|
|
401
401
|
"#cbd5e1"
|
|
402
402
|
);
|
|
403
|
-
|
|
403
|
+
$(
|
|
404
404
|
"Zinc",
|
|
405
405
|
{
|
|
406
406
|
primary: "#71717a",
|
|
@@ -414,7 +414,7 @@ F(
|
|
|
414
414
|
{ primary: "#18181b", secondary: "#3f3f46", muted: "#a1a1aa" },
|
|
415
415
|
"#d4d4d8"
|
|
416
416
|
);
|
|
417
|
-
|
|
417
|
+
$(
|
|
418
418
|
"Stone",
|
|
419
419
|
{
|
|
420
420
|
primary: "#78716c",
|
|
@@ -428,7 +428,7 @@ F(
|
|
|
428
428
|
{ primary: "#1c1917", secondary: "#44403c", muted: "#a8a29e" },
|
|
429
429
|
"#d6d3d1"
|
|
430
430
|
);
|
|
431
|
-
|
|
431
|
+
$(
|
|
432
432
|
"Cool Gray",
|
|
433
433
|
{
|
|
434
434
|
primary: "#6b7280",
|
|
@@ -442,7 +442,7 @@ F(
|
|
|
442
442
|
{ primary: "#111827", secondary: "#374151", muted: "#9ca3af" },
|
|
443
443
|
"#d1d5db"
|
|
444
444
|
);
|
|
445
|
-
|
|
445
|
+
$(
|
|
446
446
|
"Warm Gray",
|
|
447
447
|
{
|
|
448
448
|
primary: "#7c7568",
|
|
@@ -456,7 +456,7 @@ F(
|
|
|
456
456
|
{ primary: "#1f1d19", secondary: "#4a463d", muted: "#a09888" },
|
|
457
457
|
"#d4d0c8"
|
|
458
458
|
);
|
|
459
|
-
|
|
459
|
+
$(
|
|
460
460
|
"Silver",
|
|
461
461
|
{
|
|
462
462
|
primary: "#94a3b8",
|
|
@@ -470,7 +470,7 @@ F(
|
|
|
470
470
|
{ primary: "#334155", secondary: "#64748b", muted: "#94a3b8" },
|
|
471
471
|
"#cbd5e1"
|
|
472
472
|
);
|
|
473
|
-
|
|
473
|
+
$(
|
|
474
474
|
"Charcoal",
|
|
475
475
|
{
|
|
476
476
|
primary: "#374151",
|
|
@@ -484,7 +484,7 @@ F(
|
|
|
484
484
|
{ primary: "#111827", secondary: "#374151", muted: "#6b7280" },
|
|
485
485
|
"#d1d5db"
|
|
486
486
|
);
|
|
487
|
-
|
|
487
|
+
$(
|
|
488
488
|
"Ivory",
|
|
489
489
|
{
|
|
490
490
|
primary: "#92876d",
|
|
@@ -498,7 +498,7 @@ F(
|
|
|
498
498
|
{ primary: "#2b2517", secondary: "#5c5340", muted: "#9c9280" },
|
|
499
499
|
"#ddd8c4"
|
|
500
500
|
);
|
|
501
|
-
|
|
501
|
+
$(
|
|
502
502
|
"Rose",
|
|
503
503
|
{
|
|
504
504
|
primary: "#e11d48",
|
|
@@ -512,7 +512,7 @@ F(
|
|
|
512
512
|
{ primary: "#4c0519", secondary: "#881337", muted: "#f43f5e" },
|
|
513
513
|
"#fda4af"
|
|
514
514
|
);
|
|
515
|
-
|
|
515
|
+
$(
|
|
516
516
|
"Emerald",
|
|
517
517
|
{
|
|
518
518
|
primary: "#059669",
|
|
@@ -526,7 +526,7 @@ F(
|
|
|
526
526
|
{ primary: "#064e3b", secondary: "#065f46", muted: "#34d399" },
|
|
527
527
|
"#6ee7b7"
|
|
528
528
|
);
|
|
529
|
-
|
|
529
|
+
$(
|
|
530
530
|
"Amber",
|
|
531
531
|
{
|
|
532
532
|
primary: "#d97706",
|
|
@@ -540,7 +540,7 @@ F(
|
|
|
540
540
|
{ primary: "#451a03", secondary: "#78350f", muted: "#f59e0b" },
|
|
541
541
|
"#fcd34d"
|
|
542
542
|
);
|
|
543
|
-
|
|
543
|
+
$(
|
|
544
544
|
"Violet",
|
|
545
545
|
{
|
|
546
546
|
primary: "#7c3aed",
|
|
@@ -554,7 +554,7 @@ F(
|
|
|
554
554
|
{ primary: "#2e1065", secondary: "#4c1d95", muted: "#a78bfa" },
|
|
555
555
|
"#c4b5fd"
|
|
556
556
|
);
|
|
557
|
-
|
|
557
|
+
$(
|
|
558
558
|
"Teal",
|
|
559
559
|
{
|
|
560
560
|
primary: "#0d9488",
|
|
@@ -568,7 +568,7 @@ F(
|
|
|
568
568
|
{ primary: "#134e4a", secondary: "#115e59", muted: "#2dd4bf" },
|
|
569
569
|
"#5eead4"
|
|
570
570
|
);
|
|
571
|
-
|
|
571
|
+
$(
|
|
572
572
|
"Indigo",
|
|
573
573
|
{
|
|
574
574
|
primary: "#4f46e5",
|
|
@@ -582,7 +582,7 @@ F(
|
|
|
582
582
|
{ primary: "#1e1b4b", secondary: "#312e81", muted: "#818cf8" },
|
|
583
583
|
"#a5b4fc"
|
|
584
584
|
);
|
|
585
|
-
|
|
585
|
+
$(
|
|
586
586
|
"Cyan",
|
|
587
587
|
{
|
|
588
588
|
primary: "#0891b2",
|
|
@@ -596,7 +596,7 @@ F(
|
|
|
596
596
|
{ primary: "#164e63", secondary: "#155e75", muted: "#22d3ee" },
|
|
597
597
|
"#67e8f9"
|
|
598
598
|
);
|
|
599
|
-
|
|
599
|
+
$(
|
|
600
600
|
"Lime",
|
|
601
601
|
{
|
|
602
602
|
primary: "#65a30d",
|
|
@@ -610,7 +610,7 @@ F(
|
|
|
610
610
|
{ primary: "#1a2e05", secondary: "#365314", muted: "#84cc16" },
|
|
611
611
|
"#bef264"
|
|
612
612
|
);
|
|
613
|
-
|
|
613
|
+
$(
|
|
614
614
|
"Pink",
|
|
615
615
|
{
|
|
616
616
|
primary: "#db2777",
|
|
@@ -624,7 +624,7 @@ F(
|
|
|
624
624
|
{ primary: "#500724", secondary: "#831843", muted: "#f472b6" },
|
|
625
625
|
"#f9a8d4"
|
|
626
626
|
);
|
|
627
|
-
|
|
627
|
+
$(
|
|
628
628
|
"Orange",
|
|
629
629
|
{
|
|
630
630
|
primary: "#ea580c",
|
|
@@ -638,7 +638,7 @@ F(
|
|
|
638
638
|
{ primary: "#431407", secondary: "#7c2d12", muted: "#fb923c" },
|
|
639
639
|
"#fdba74"
|
|
640
640
|
);
|
|
641
|
-
|
|
641
|
+
$(
|
|
642
642
|
"Fuchsia",
|
|
643
643
|
{
|
|
644
644
|
primary: "#c026d3",
|
|
@@ -652,7 +652,7 @@ F(
|
|
|
652
652
|
{ primary: "#4a044e", secondary: "#701a75", muted: "#d946ef" },
|
|
653
653
|
"#e879f9"
|
|
654
654
|
);
|
|
655
|
-
|
|
655
|
+
$(
|
|
656
656
|
"Sky",
|
|
657
657
|
{
|
|
658
658
|
primary: "#0284c7",
|
|
@@ -666,7 +666,7 @@ F(
|
|
|
666
666
|
{ primary: "#0c4a6e", secondary: "#075985", muted: "#38bdf8" },
|
|
667
667
|
"#7dd3fc"
|
|
668
668
|
);
|
|
669
|
-
|
|
669
|
+
$(
|
|
670
670
|
"Ruby",
|
|
671
671
|
{
|
|
672
672
|
primary: "#be123c",
|
|
@@ -680,7 +680,7 @@ F(
|
|
|
680
680
|
{ primary: "#4c0519", secondary: "#881337", muted: "#fb7185" },
|
|
681
681
|
"#fda4af"
|
|
682
682
|
);
|
|
683
|
-
|
|
683
|
+
$(
|
|
684
684
|
"Coral",
|
|
685
685
|
{
|
|
686
686
|
primary: "#f97316",
|
|
@@ -775,7 +775,8 @@ j(
|
|
|
775
775
|
info: "#22d3ee"
|
|
776
776
|
},
|
|
777
777
|
{ primary: "#030712", secondary: "#111827", tertiary: "#1f2937", hover: "#1f2937" },
|
|
778
|
-
|
|
778
|
+
// indigo-500 is a dark fill: white on it reads better than the dark default of dark themes
|
|
779
|
+
{ primary: "#e5e7eb", secondary: "#9ca3af", muted: "#4b5563", onPrimary: "#ffffff" },
|
|
779
780
|
"#374151"
|
|
780
781
|
);
|
|
781
782
|
j(
|
|
@@ -834,7 +835,7 @@ j(
|
|
|
834
835
|
{ primary: "#ecfdf5", secondary: "#6ee7b7", muted: "#047857" },
|
|
835
836
|
"#047857"
|
|
836
837
|
);
|
|
837
|
-
|
|
838
|
+
$(
|
|
838
839
|
"Forest",
|
|
839
840
|
{
|
|
840
841
|
primary: "#166534",
|
|
@@ -848,7 +849,7 @@ F(
|
|
|
848
849
|
{ primary: "#052e16", secondary: "#166534", muted: "#4ade80" },
|
|
849
850
|
"#86efac"
|
|
850
851
|
);
|
|
851
|
-
|
|
852
|
+
$(
|
|
852
853
|
"Ocean",
|
|
853
854
|
{
|
|
854
855
|
primary: "#0369a1",
|
|
@@ -862,7 +863,7 @@ F(
|
|
|
862
863
|
{ primary: "#0c4a6e", secondary: "#0369a1", muted: "#38bdf8" },
|
|
863
864
|
"#7dd3fc"
|
|
864
865
|
);
|
|
865
|
-
|
|
866
|
+
$(
|
|
866
867
|
"Desert",
|
|
867
868
|
{
|
|
868
869
|
primary: "#b45309",
|
|
@@ -876,7 +877,7 @@ F(
|
|
|
876
877
|
{ primary: "#422006", secondary: "#713f12", muted: "#ca8a04" },
|
|
877
878
|
"#fde047"
|
|
878
879
|
);
|
|
879
|
-
|
|
880
|
+
$(
|
|
880
881
|
"Sunset",
|
|
881
882
|
{
|
|
882
883
|
primary: "#ea580c",
|
|
@@ -890,7 +891,7 @@ F(
|
|
|
890
891
|
{ primary: "#431407", secondary: "#9a3412", muted: "#f97316" },
|
|
891
892
|
"#fdba74"
|
|
892
893
|
);
|
|
893
|
-
|
|
894
|
+
$(
|
|
894
895
|
"Aurora",
|
|
895
896
|
{
|
|
896
897
|
primary: "#0d9488",
|
|
@@ -904,7 +905,7 @@ F(
|
|
|
904
905
|
{ primary: "#134e4a", secondary: "#115e59", muted: "#2dd4bf" },
|
|
905
906
|
"#5eead4"
|
|
906
907
|
);
|
|
907
|
-
|
|
908
|
+
$(
|
|
908
909
|
"Lavender",
|
|
909
910
|
{
|
|
910
911
|
primary: "#7e22ce",
|
|
@@ -918,7 +919,7 @@ F(
|
|
|
918
919
|
{ primary: "#3b0764", secondary: "#581c87", muted: "#a855f7" },
|
|
919
920
|
"#d8b4fe"
|
|
920
921
|
);
|
|
921
|
-
|
|
922
|
+
$(
|
|
922
923
|
"Autumn",
|
|
923
924
|
{
|
|
924
925
|
primary: "#c2410c",
|
|
@@ -932,7 +933,7 @@ F(
|
|
|
932
933
|
{ primary: "#450a0a", secondary: "#7f1d1d", muted: "#f87171" },
|
|
933
934
|
"#fca5a5"
|
|
934
935
|
);
|
|
935
|
-
|
|
936
|
+
$(
|
|
936
937
|
"Spring",
|
|
937
938
|
{
|
|
938
939
|
primary: "#16a34a",
|
|
@@ -946,7 +947,7 @@ F(
|
|
|
946
947
|
{ primary: "#14532d", secondary: "#166534", muted: "#4ade80" },
|
|
947
948
|
"#86efac"
|
|
948
949
|
);
|
|
949
|
-
|
|
950
|
+
$(
|
|
950
951
|
"Arctic",
|
|
951
952
|
{
|
|
952
953
|
primary: "#0ea5e9",
|
|
@@ -960,7 +961,7 @@ F(
|
|
|
960
961
|
{ primary: "#0c4a6e", secondary: "#0369a1", muted: "#7dd3fc" },
|
|
961
962
|
"#bae6fd"
|
|
962
963
|
);
|
|
963
|
-
|
|
964
|
+
$(
|
|
964
965
|
"Tropical",
|
|
965
966
|
{
|
|
966
967
|
primary: "#0d9488",
|
|
@@ -974,7 +975,7 @@ F(
|
|
|
974
975
|
{ primary: "#064e3b", secondary: "#065f46", muted: "#6ee7b7" },
|
|
975
976
|
"#a7f3d0"
|
|
976
977
|
);
|
|
977
|
-
|
|
978
|
+
$(
|
|
978
979
|
"Pastel Rose",
|
|
979
980
|
{
|
|
980
981
|
primary: "#f472b6",
|
|
@@ -988,7 +989,7 @@ F(
|
|
|
988
989
|
{ primary: "#831843", secondary: "#9d174d", muted: "#f9a8d4" },
|
|
989
990
|
"#f9a8d4"
|
|
990
991
|
);
|
|
991
|
-
|
|
992
|
+
$(
|
|
992
993
|
"Pastel Sky",
|
|
993
994
|
{
|
|
994
995
|
primary: "#38bdf8",
|
|
@@ -1002,7 +1003,7 @@ F(
|
|
|
1002
1003
|
{ primary: "#075985", secondary: "#0369a1", muted: "#7dd3fc" },
|
|
1003
1004
|
"#bae6fd"
|
|
1004
1005
|
);
|
|
1005
|
-
|
|
1006
|
+
$(
|
|
1006
1007
|
"Pastel Mint",
|
|
1007
1008
|
{
|
|
1008
1009
|
primary: "#34d399",
|
|
@@ -1016,7 +1017,7 @@ F(
|
|
|
1016
1017
|
{ primary: "#065f46", secondary: "#047857", muted: "#6ee7b7" },
|
|
1017
1018
|
"#a7f3d0"
|
|
1018
1019
|
);
|
|
1019
|
-
|
|
1020
|
+
$(
|
|
1020
1021
|
"Pastel Peach",
|
|
1021
1022
|
{
|
|
1022
1023
|
primary: "#fb923c",
|
|
@@ -1030,7 +1031,7 @@ F(
|
|
|
1030
1031
|
{ primary: "#7c2d12", secondary: "#9a3412", muted: "#fdba74" },
|
|
1031
1032
|
"#fed7aa"
|
|
1032
1033
|
);
|
|
1033
|
-
|
|
1034
|
+
$(
|
|
1034
1035
|
"Pastel Lavender",
|
|
1035
1036
|
{
|
|
1036
1037
|
primary: "#a78bfa",
|
|
@@ -1044,7 +1045,7 @@ F(
|
|
|
1044
1045
|
{ primary: "#4c1d95", secondary: "#5b21b6", muted: "#c4b5fd" },
|
|
1045
1046
|
"#ddd6fe"
|
|
1046
1047
|
);
|
|
1047
|
-
|
|
1048
|
+
$(
|
|
1048
1049
|
"Pastel Lemon",
|
|
1049
1050
|
{
|
|
1050
1051
|
primary: "#facc15",
|
|
@@ -1058,7 +1059,7 @@ F(
|
|
|
1058
1059
|
{ primary: "#713f12", secondary: "#854d0e", muted: "#fde047" },
|
|
1059
1060
|
"#fef08a"
|
|
1060
1061
|
);
|
|
1061
|
-
|
|
1062
|
+
$(
|
|
1062
1063
|
"Pastel Sage",
|
|
1063
1064
|
{
|
|
1064
1065
|
primary: "#86efac",
|
|
@@ -1072,7 +1073,7 @@ F(
|
|
|
1072
1073
|
{ primary: "#166534", secondary: "#15803d", muted: "#86efac" },
|
|
1073
1074
|
"#bbf7d0"
|
|
1074
1075
|
);
|
|
1075
|
-
|
|
1076
|
+
$(
|
|
1076
1077
|
"Pastel Coral",
|
|
1077
1078
|
{
|
|
1078
1079
|
primary: "#fb7185",
|
|
@@ -1086,7 +1087,7 @@ F(
|
|
|
1086
1087
|
{ primary: "#881337", secondary: "#9f1239", muted: "#fda4af" },
|
|
1087
1088
|
"#fecdd3"
|
|
1088
1089
|
);
|
|
1089
|
-
|
|
1090
|
+
$(
|
|
1090
1091
|
"Banking",
|
|
1091
1092
|
{
|
|
1092
1093
|
primary: "#1e3a5f",
|
|
@@ -1100,7 +1101,7 @@ F(
|
|
|
1100
1101
|
{ primary: "#0f172a", secondary: "#334155", muted: "#94a3b8" },
|
|
1101
1102
|
"#cbd5e1"
|
|
1102
1103
|
);
|
|
1103
|
-
|
|
1104
|
+
$(
|
|
1104
1105
|
"Healthcare",
|
|
1105
1106
|
{
|
|
1106
1107
|
primary: "#0891b2",
|
|
@@ -1114,7 +1115,7 @@ F(
|
|
|
1114
1115
|
{ primary: "#134e4a", secondary: "#1a6b6a", muted: "#80cbc4" },
|
|
1115
1116
|
"#b2dfdb"
|
|
1116
1117
|
);
|
|
1117
|
-
|
|
1118
|
+
$(
|
|
1118
1119
|
"Legal",
|
|
1119
1120
|
{
|
|
1120
1121
|
primary: "#1e293b",
|
|
@@ -1128,7 +1129,7 @@ F(
|
|
|
1128
1129
|
{ primary: "#0f172a", secondary: "#44403c", muted: "#a8a29e" },
|
|
1129
1130
|
"#d6d3d1"
|
|
1130
1131
|
);
|
|
1131
|
-
|
|
1132
|
+
$(
|
|
1132
1133
|
"Tech Startup",
|
|
1133
1134
|
{
|
|
1134
1135
|
primary: "#7c3aed",
|
|
@@ -1142,7 +1143,7 @@ F(
|
|
|
1142
1143
|
{ primary: "#1e1b4b", secondary: "#4c1d95", muted: "#a78bfa" },
|
|
1143
1144
|
"#c4b5fd"
|
|
1144
1145
|
);
|
|
1145
|
-
|
|
1146
|
+
$(
|
|
1146
1147
|
"Enterprise",
|
|
1147
1148
|
{
|
|
1148
1149
|
primary: "#1e40af",
|
|
@@ -1156,7 +1157,7 @@ F(
|
|
|
1156
1157
|
{ primary: "#1e3a5f", secondary: "#1e40af", muted: "#60a5fa" },
|
|
1157
1158
|
"#93c5fd"
|
|
1158
1159
|
);
|
|
1159
|
-
|
|
1160
|
+
$(
|
|
1160
1161
|
"Government",
|
|
1161
1162
|
{
|
|
1162
1163
|
primary: "#1d4ed8",
|
|
@@ -1170,7 +1171,7 @@ F(
|
|
|
1170
1171
|
{ primary: "#0f172a", secondary: "#1e293b", muted: "#64748b" },
|
|
1171
1172
|
"#cbd5e1"
|
|
1172
1173
|
);
|
|
1173
|
-
|
|
1174
|
+
$(
|
|
1174
1175
|
"Education",
|
|
1175
1176
|
{
|
|
1176
1177
|
primary: "#059669",
|
|
@@ -1184,7 +1185,7 @@ F(
|
|
|
1184
1185
|
{ primary: "#064e3b", secondary: "#065f46", muted: "#6ee7b7" },
|
|
1185
1186
|
"#a7f3d0"
|
|
1186
1187
|
);
|
|
1187
|
-
|
|
1188
|
+
$(
|
|
1188
1189
|
"Real Estate",
|
|
1189
1190
|
{
|
|
1190
1191
|
primary: "#92400e",
|
|
@@ -1198,7 +1199,7 @@ F(
|
|
|
1198
1199
|
{ primary: "#422006", secondary: "#713f12", muted: "#d97706" },
|
|
1199
1200
|
"#fcd34d"
|
|
1200
1201
|
);
|
|
1201
|
-
|
|
1202
|
+
$(
|
|
1202
1203
|
"Nord",
|
|
1203
1204
|
{
|
|
1204
1205
|
primary: "#5e81ac",
|
|
@@ -1226,7 +1227,7 @@ j(
|
|
|
1226
1227
|
{ primary: "#f8f8f2", secondary: "#c0c0c0", muted: "#6272a4" },
|
|
1227
1228
|
"#44475a"
|
|
1228
1229
|
);
|
|
1229
|
-
|
|
1230
|
+
$(
|
|
1230
1231
|
"Solarized Light",
|
|
1231
1232
|
{
|
|
1232
1233
|
primary: "#268bd2",
|
|
@@ -1251,7 +1252,8 @@ j(
|
|
|
1251
1252
|
info: "#2aa198"
|
|
1252
1253
|
},
|
|
1253
1254
|
{ primary: "#002b36", secondary: "#073642", tertiary: "#0a4858", hover: "#073642" },
|
|
1254
|
-
|
|
1255
|
+
// Solarized red is a dark fill: white on it is 4.63 : 1, the dark default 3.86
|
|
1256
|
+
{ primary: "#eee8d5", secondary: "#93a1a1", muted: "#586e75", onError: "#ffffff" },
|
|
1255
1257
|
"#073642"
|
|
1256
1258
|
);
|
|
1257
1259
|
j(
|
|
@@ -1296,7 +1298,7 @@ j(
|
|
|
1296
1298
|
{ primary: "#f0e4fc", secondary: "#b4a0cc", muted: "#6c5c84" },
|
|
1297
1299
|
"#4a3866"
|
|
1298
1300
|
);
|
|
1299
|
-
|
|
1301
|
+
$(
|
|
1300
1302
|
"Vaporwave",
|
|
1301
1303
|
{
|
|
1302
1304
|
primary: "#ff71ce",
|
|
@@ -1324,7 +1326,7 @@ j(
|
|
|
1324
1326
|
{ primary: "#00ff41", secondary: "#00cc33", muted: "#008822" },
|
|
1325
1327
|
"#003300"
|
|
1326
1328
|
);
|
|
1327
|
-
|
|
1329
|
+
$(
|
|
1328
1330
|
"Sepia",
|
|
1329
1331
|
{
|
|
1330
1332
|
primary: "#8b6914",
|
|
@@ -1338,7 +1340,7 @@ F(
|
|
|
1338
1340
|
{ primary: "#3e2723", secondary: "#5d4037", muted: "#a1887f" },
|
|
1339
1341
|
"#d7ccc8"
|
|
1340
1342
|
);
|
|
1341
|
-
|
|
1343
|
+
$(
|
|
1342
1344
|
"Vintage",
|
|
1343
1345
|
{
|
|
1344
1346
|
primary: "#8d6e63",
|
|
@@ -1363,7 +1365,8 @@ j(
|
|
|
1363
1365
|
info: "#bf00ff"
|
|
1364
1366
|
},
|
|
1365
1367
|
{ primary: "#0a0e17", secondary: "#131824", tertiary: "#1c2333", hover: "#1c2333" },
|
|
1366
|
-
|
|
1368
|
+
// the purple info fill is dark: white on it is 4.51 : 1, the dark default 3.96
|
|
1369
|
+
{ primary: "#e0fbfc", secondary: "#80d4dd", muted: "#3a6b72", onInfo: "#ffffff" },
|
|
1367
1370
|
"#1c3a44"
|
|
1368
1371
|
);
|
|
1369
1372
|
j(
|
|
@@ -1394,7 +1397,7 @@ j(
|
|
|
1394
1397
|
{ primary: "#ffe6f7", secondary: "#c9a0c9", muted: "#6b4c7a" },
|
|
1395
1398
|
"#4a2d66"
|
|
1396
1399
|
);
|
|
1397
|
-
|
|
1400
|
+
$(
|
|
1398
1401
|
"Christmas",
|
|
1399
1402
|
{
|
|
1400
1403
|
primary: "#c41e3a",
|
|
@@ -1419,10 +1422,11 @@ j(
|
|
|
1419
1422
|
info: "#9333ea"
|
|
1420
1423
|
},
|
|
1421
1424
|
{ primary: "#1a0a00", secondary: "#2d1500", tertiary: "#402000", hover: "#402000" },
|
|
1422
|
-
|
|
1425
|
+
// purple-600 info is a dark fill: white on it is 5.38 : 1, the dark default 3.32
|
|
1426
|
+
{ primary: "#ffedd5", secondary: "#fdba74", muted: "#9a5c28", onInfo: "#ffffff" },
|
|
1423
1427
|
"#5c3400"
|
|
1424
1428
|
);
|
|
1425
|
-
|
|
1429
|
+
$(
|
|
1426
1430
|
"Valentine",
|
|
1427
1431
|
{
|
|
1428
1432
|
primary: "#e11d48",
|
|
@@ -1436,7 +1440,7 @@ F(
|
|
|
1436
1440
|
{ primary: "#4c0519", secondary: "#881337", muted: "#f9a8d4" },
|
|
1437
1441
|
"#fda4af"
|
|
1438
1442
|
);
|
|
1439
|
-
|
|
1443
|
+
$(
|
|
1440
1444
|
"Easter",
|
|
1441
1445
|
{
|
|
1442
1446
|
primary: "#a78bfa",
|
|
@@ -1450,7 +1454,7 @@ F(
|
|
|
1450
1454
|
{ primary: "#581c87", secondary: "#6d28d9", muted: "#c4b5fd" },
|
|
1451
1455
|
"#ddd6fe"
|
|
1452
1456
|
);
|
|
1453
|
-
|
|
1457
|
+
$(
|
|
1454
1458
|
"Summer Beach",
|
|
1455
1459
|
{
|
|
1456
1460
|
primary: "#0ea5e9",
|
|
@@ -1464,7 +1468,7 @@ F(
|
|
|
1464
1468
|
{ primary: "#0c4a6e", secondary: "#0369a1", muted: "#7dd3fc" },
|
|
1465
1469
|
"#fcd34d"
|
|
1466
1470
|
);
|
|
1467
|
-
|
|
1471
|
+
$(
|
|
1468
1472
|
"Winter Frost",
|
|
1469
1473
|
{
|
|
1470
1474
|
primary: "#3b82f6",
|
|
@@ -1478,7 +1482,7 @@ F(
|
|
|
1478
1482
|
{ primary: "#1e3a5f", secondary: "#1e40af", muted: "#93c5fd" },
|
|
1479
1483
|
"#bfdbfe"
|
|
1480
1484
|
);
|
|
1481
|
-
|
|
1485
|
+
$(
|
|
1482
1486
|
"Cherry Blossom",
|
|
1483
1487
|
{
|
|
1484
1488
|
primary: "#ec4899",
|
|
@@ -1492,7 +1496,7 @@ F(
|
|
|
1492
1496
|
{ primary: "#831843", secondary: "#9d174d", muted: "#f9a8d4" },
|
|
1493
1497
|
"#fbcfe8"
|
|
1494
1498
|
);
|
|
1495
|
-
|
|
1499
|
+
$(
|
|
1496
1500
|
"Harvest",
|
|
1497
1501
|
{
|
|
1498
1502
|
primary: "#b45309",
|
|
@@ -1506,7 +1510,7 @@ F(
|
|
|
1506
1510
|
{ primary: "#451a03", secondary: "#78350f", muted: "#d97706" },
|
|
1507
1511
|
"#fcd34d"
|
|
1508
1512
|
);
|
|
1509
|
-
|
|
1513
|
+
$(
|
|
1510
1514
|
"Japanese Zen",
|
|
1511
1515
|
{
|
|
1512
1516
|
primary: "#6b7280",
|
|
@@ -1520,7 +1524,7 @@ F(
|
|
|
1520
1524
|
{ primary: "#2c2c2c", secondary: "#5c5c5c", muted: "#a0998a" },
|
|
1521
1525
|
"#d5cec0"
|
|
1522
1526
|
);
|
|
1523
|
-
|
|
1527
|
+
$(
|
|
1524
1528
|
"Moroccan",
|
|
1525
1529
|
{
|
|
1526
1530
|
primary: "#c2410c",
|
|
@@ -1534,7 +1538,7 @@ F(
|
|
|
1534
1538
|
{ primary: "#3a1a00", secondary: "#7c2d12", muted: "#d97706" },
|
|
1535
1539
|
"#f5d0a0"
|
|
1536
1540
|
);
|
|
1537
|
-
|
|
1541
|
+
$(
|
|
1538
1542
|
"Scandinavian",
|
|
1539
1543
|
{
|
|
1540
1544
|
primary: "#4b5563",
|
|
@@ -1548,7 +1552,7 @@ F(
|
|
|
1548
1552
|
{ primary: "#111827", secondary: "#374151", muted: "#9ca3af" },
|
|
1549
1553
|
"#e5e7eb"
|
|
1550
1554
|
);
|
|
1551
|
-
|
|
1555
|
+
$(
|
|
1552
1556
|
"Mediterranean",
|
|
1553
1557
|
{
|
|
1554
1558
|
primary: "#1e40af",
|
|
@@ -1562,7 +1566,7 @@ F(
|
|
|
1562
1566
|
{ primary: "#1e3a5f", secondary: "#2563eb", muted: "#93c5fd" },
|
|
1563
1567
|
"#bfdbfe"
|
|
1564
1568
|
);
|
|
1565
|
-
|
|
1569
|
+
$(
|
|
1566
1570
|
"Chinese New Year",
|
|
1567
1571
|
{
|
|
1568
1572
|
primary: "#dc2626",
|
|
@@ -1576,7 +1580,7 @@ F(
|
|
|
1576
1580
|
{ primary: "#450a0a", secondary: "#991b1b", muted: "#f87171" },
|
|
1577
1581
|
"#fca5a5"
|
|
1578
1582
|
);
|
|
1579
|
-
|
|
1583
|
+
$(
|
|
1580
1584
|
"Indian Festive",
|
|
1581
1585
|
{
|
|
1582
1586
|
primary: "#d97706",
|
|
@@ -1590,7 +1594,7 @@ F(
|
|
|
1590
1594
|
{ primary: "#451a03", secondary: "#92400e", muted: "#f59e0b" },
|
|
1591
1595
|
"#fcd34d"
|
|
1592
1596
|
);
|
|
1593
|
-
|
|
1597
|
+
$(
|
|
1594
1598
|
"Brazilian Carnival",
|
|
1595
1599
|
{
|
|
1596
1600
|
primary: "#16a34a",
|
|
@@ -1604,7 +1608,7 @@ F(
|
|
|
1604
1608
|
{ primary: "#052e16", secondary: "#166534", muted: "#4ade80" },
|
|
1605
1609
|
"#86efac"
|
|
1606
1610
|
);
|
|
1607
|
-
|
|
1611
|
+
$(
|
|
1608
1612
|
"African Earth",
|
|
1609
1613
|
{
|
|
1610
1614
|
primary: "#92400e",
|
|
@@ -1632,7 +1636,7 @@ j(
|
|
|
1632
1636
|
{ primary: "#ffffff", secondary: "#ffffff", muted: "#cccccc" },
|
|
1633
1637
|
"#ffffff"
|
|
1634
1638
|
);
|
|
1635
|
-
|
|
1639
|
+
$(
|
|
1636
1640
|
"Monochrome",
|
|
1637
1641
|
{
|
|
1638
1642
|
primary: "#404040",
|
|
@@ -1646,7 +1650,7 @@ F(
|
|
|
1646
1650
|
{ primary: "#1a1a1a", secondary: "#404040", muted: "#808080" },
|
|
1647
1651
|
"#c0c0c0"
|
|
1648
1652
|
);
|
|
1649
|
-
|
|
1653
|
+
$(
|
|
1650
1654
|
"Enhanced Contrast",
|
|
1651
1655
|
{
|
|
1652
1656
|
primary: "#0050b3",
|
|
@@ -1660,7 +1664,7 @@ F(
|
|
|
1660
1664
|
{ primary: "#000000", secondary: "#1a1a1a", muted: "#595959" },
|
|
1661
1665
|
"#8c8c8c"
|
|
1662
1666
|
);
|
|
1663
|
-
|
|
1667
|
+
$(
|
|
1664
1668
|
"Minimalist",
|
|
1665
1669
|
{
|
|
1666
1670
|
primary: "#18181b",
|
|
@@ -1702,7 +1706,7 @@ j(
|
|
|
1702
1706
|
{ primary: "#e8e8f0", secondary: "#a0a0b8", muted: "#5c5c74" },
|
|
1703
1707
|
"#3e3e58"
|
|
1704
1708
|
);
|
|
1705
|
-
|
|
1709
|
+
$(
|
|
1706
1710
|
"Coffee",
|
|
1707
1711
|
{
|
|
1708
1712
|
primary: "#6f4e37",
|
|
@@ -1716,7 +1720,7 @@ F(
|
|
|
1716
1720
|
{ primary: "#2c1a0e", secondary: "#5c3d28", muted: "#a08868" },
|
|
1717
1721
|
"#d4c4a8"
|
|
1718
1722
|
);
|
|
1719
|
-
|
|
1723
|
+
$(
|
|
1720
1724
|
"Wine",
|
|
1721
1725
|
{
|
|
1722
1726
|
primary: "#7f1d1d",
|
|
@@ -1746,12 +1750,12 @@ function hr(e) {
|
|
|
1746
1750
|
function ee(e) {
|
|
1747
1751
|
return e < 1 ? `${(e * 1e3).toFixed(0)}μs` : e < 1e3 ? `${e.toFixed(2)}ms` : `${(e / 1e3).toFixed(2)}s`;
|
|
1748
1752
|
}
|
|
1749
|
-
function
|
|
1753
|
+
function ei() {
|
|
1750
1754
|
const e = Array.from(te.values()), t = hr(), r = e.reduce((o, i) => o + i.renderCount, 0), a = e.length > 0 ? e.reduce((o, i) => o + i.avgRenderTime, 0) / e.length : 0, n = Array.from(_e.values());
|
|
1751
1755
|
return { stats: e, slowRenders: t, totalRenders: r, avgRenderTime: a, marks: n };
|
|
1752
1756
|
}
|
|
1753
1757
|
function br() {
|
|
1754
|
-
const e =
|
|
1758
|
+
const e = ei();
|
|
1755
1759
|
console.group(
|
|
1756
1760
|
"%c[Nice2Dev Performance Report]",
|
|
1757
1761
|
"color: var(--nice-info, #6366f1); font-weight: bold; font-size: 14px"
|
|
@@ -1778,7 +1782,7 @@ function br() {
|
|
|
1778
1782
|
}))
|
|
1779
1783
|
), console.groupEnd()), console.groupEnd();
|
|
1780
1784
|
}
|
|
1781
|
-
const
|
|
1785
|
+
const ai = memo(
|
|
1782
1786
|
({ position: e = "bottom-right", defaultCollapsed: t = true }) => {
|
|
1783
1787
|
const [r, a] = useState(t), [n, o] = useState([]), [i, s] = useState({ used: 0, total: 0 });
|
|
1784
1788
|
if (useEffect(() => {
|
|
@@ -1808,7 +1812,7 @@ const ri = memo(
|
|
|
1808
1812
|
style: {
|
|
1809
1813
|
...c,
|
|
1810
1814
|
background: "var(--nice-overlay-85, rgba(0, 0, 0, 0.85))",
|
|
1811
|
-
color: "var(--nice-
|
|
1815
|
+
color: "var(--nice-color-white, #fff)",
|
|
1812
1816
|
borderRadius: 8,
|
|
1813
1817
|
fontSize: 11,
|
|
1814
1818
|
fontFamily: "Monaco, Consolas, monospace",
|
|
@@ -1933,7 +1937,7 @@ const ri = memo(
|
|
|
1933
1937
|
);
|
|
1934
1938
|
}
|
|
1935
1939
|
);
|
|
1936
|
-
|
|
1940
|
+
ai.displayName = "ProfilerOverlay";
|
|
1937
1941
|
process.env.NODE_ENV === "development";
|
|
1938
1942
|
createContext(null);
|
|
1939
1943
|
createContext({
|
|
@@ -1992,7 +1996,7 @@ const TIME_INCREMENTS = {
|
|
|
1992
1996
|
quarter: 90 * 24 * 60 * 60 * 1e3,
|
|
1993
1997
|
year: 365 * 24 * 60 * 60 * 1e3
|
|
1994
1998
|
};
|
|
1995
|
-
const
|
|
1999
|
+
const NiceCapacityPlanner = ({
|
|
1996
2000
|
resources,
|
|
1997
2001
|
allocations,
|
|
1998
2002
|
dateRange,
|
|
@@ -3595,7 +3599,7 @@ const NiceWarehouseView = forwardRef(
|
|
|
3595
3599
|
/* @__PURE__ */ jsx("div", { className: "nice-warehouse-view__grid", role: "grid", "aria-label": warehouseName, children: grid.map(({ rowKey, cells: row }) => /* @__PURE__ */ jsx("div", { className: "nice-warehouse-view__row", role: "row", children: row.map((c, idx) => {
|
|
3596
3600
|
const key = [c.location.rack, c.location.aisle, c.location.shelf, c.location.bin].filter(Boolean).join("-") || String(idx);
|
|
3597
3601
|
const aisleBreak = aisleEvery > 0 && idx > 0 && idx % aisleEvery === 0;
|
|
3598
|
-
return /* @__PURE__ */ jsxs(
|
|
3602
|
+
return /* @__PURE__ */ jsxs(be.Fragment, { children: [
|
|
3599
3603
|
aisleBreak && /* @__PURE__ */ jsx("div", { className: "nice-warehouse-view__aisle", "aria-hidden": true }),
|
|
3600
3604
|
/* @__PURE__ */ jsx(
|
|
3601
3605
|
"button",
|
|
@@ -4264,12 +4268,12 @@ const NiceJpkExporter = forwardRef(
|
|
|
4264
4268
|
);
|
|
4265
4269
|
export {
|
|
4266
4270
|
NICE_VAT_PRESETS,
|
|
4271
|
+
NiceCapacityPlanner,
|
|
4267
4272
|
NiceHRDashboard,
|
|
4268
4273
|
NiceInventoryManager,
|
|
4269
4274
|
NiceInvoiceView,
|
|
4270
4275
|
NiceJpkExporter,
|
|
4271
4276
|
NicePurchaseOrder,
|
|
4272
|
-
NiceResourceAllocation,
|
|
4273
4277
|
NiceVatTable,
|
|
4274
4278
|
NiceWarehouseView,
|
|
4275
4279
|
defaultBuildXml as buildJpkXml,
|