@nice2dev/ui-erp 1.1.6 → 1.1.9
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.cjs +2172 -118
- package/dist/index.mjs +2120 -66
- package/dist/ui-erp.css +48 -19
- package/package.json +2 -2
- package/dist/index.cjs.map +0 -1
- package/dist/index.mjs.map +0 -1
- package/dist/style.css +0 -1511
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,1982 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
1
|
+
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
|
+
import he, { useContext, createContext, memo, useState, useEffect, useMemo, useCallback, forwardRef, useRef } from "react";
|
|
3
|
+
const se = {
|
|
4
|
+
radius: "md",
|
|
5
|
+
shadow: "md",
|
|
6
|
+
fill: "solid",
|
|
7
|
+
buttonStyle: "flat",
|
|
8
|
+
inputStyle: "bordered",
|
|
9
|
+
cardStyle: "elevated",
|
|
10
|
+
badgeStyle: "solid",
|
|
11
|
+
tabStyle: "underline",
|
|
12
|
+
toggleStyle: "default",
|
|
13
|
+
tooltipStyle: "dark",
|
|
14
|
+
modalStyle: "default",
|
|
15
|
+
tableStyle: "default",
|
|
16
|
+
menuStyle: "default",
|
|
17
|
+
animation: "normal",
|
|
18
|
+
density: "normal"
|
|
19
|
+
};
|
|
20
|
+
createContext({
|
|
21
|
+
displayStyle: "default",
|
|
22
|
+
variantConfig: se,
|
|
23
|
+
setDisplayStyle: () => {
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
const er = {
|
|
27
|
+
// Navigation
|
|
28
|
+
"chevron-down": "M6 9l6 6 6-6",
|
|
29
|
+
"chevron-up": "M18 15l-6-6-6 6",
|
|
30
|
+
"chevron-left": "M15 18l-6-6 6-6",
|
|
31
|
+
"chevron-right": "M9 6l6 6-6 6",
|
|
32
|
+
"arrow-left": "M19 12H5m0 0l7 7m-7-7l7-7",
|
|
33
|
+
"arrow-right": "M5 12h14m0 0l-7-7m7 7l-7 7",
|
|
34
|
+
"arrow-up": "M12 19V5m0 0l-7 7m7-7l7 7",
|
|
35
|
+
"arrow-down": "M12 5v14m0 0l7-7m-7 7l-7-7",
|
|
36
|
+
// Actions
|
|
37
|
+
close: "M18 6L6 18M6 6l12 12",
|
|
38
|
+
plus: "M12 5v14m-7-7h14",
|
|
39
|
+
minus: "M5 12h14",
|
|
40
|
+
check: "M5 13l4 4L19 7",
|
|
41
|
+
edit: "M11 4H4a2 2 0 00-2 2v14a2 2 0 002 2h14a2 2 0 002-2v-7M18.5 2.5a2.121 2.121 0 113 3L12 15l-4 1 1-4 9.5-9.5z",
|
|
42
|
+
trash: "M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16",
|
|
43
|
+
copy: "M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z",
|
|
44
|
+
download: "M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4",
|
|
45
|
+
upload: "M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-8l-4-4m0 0L8 8m4-4v12",
|
|
46
|
+
refresh: "M4 4v5h5M20 20v-5h-5M20.49 9A9 9 0 005.64 5.64L1 10m22 4l-4.64 4.36A9 9 0 013.51 15",
|
|
47
|
+
// UI
|
|
48
|
+
search: "M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z",
|
|
49
|
+
filter: "M3 4a1 1 0 011-1h16a1 1 0 011 1v2.586a1 1 0 01-.293.707l-6.414 6.414a1 1 0 00-.293.707V17l-4 4v-6.586a1 1 0 00-.293-.707L3.293 7.293A1 1 0 013 6.586V4z",
|
|
50
|
+
"sort-asc": "M3 4h13M3 8h9m-9 4h6m4 0l4-4m0 0l4 4m-4-4v12",
|
|
51
|
+
"sort-desc": "M3 4h13M3 8h9m-9 4h9m5-4v12m0 0l-4-4m4 4l4-4",
|
|
52
|
+
// Neutral "sortable" indicator: a small up-chevron over a down-chevron.
|
|
53
|
+
sort: "M6 10l6-6 6 6M6 14l6 6 6-6",
|
|
54
|
+
menu: "M4 6h16M4 12h16M4 18h16",
|
|
55
|
+
"more-vertical": "M12 5v.01M12 12v.01M12 19v.01",
|
|
56
|
+
"more-horizontal": "M5 12h.01M12 12h.01M19 12h.01",
|
|
57
|
+
settings: "M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.066 2.573c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.573 1.066c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.066-2.573c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z M15 12a3 3 0 11-6 0 3 3 0 016 0z",
|
|
58
|
+
eye: "M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z M15 12a3 3 0 11-6 0 3 3 0 016 0z",
|
|
59
|
+
"eye-off": "M17.94 17.94A10.07 10.07 0 0112 20c-7 0-11-8-11-8a18.45 18.45 0 015.06-5.94M9.9 4.24A9.12 9.12 0 0112 4c7 0 11 8 11 8a18.5 18.5 0 01-2.16 3.19m-6.72-1.07a3 3 0 11-4.24-4.24 M1 1l22 22",
|
|
60
|
+
lock: "M19 11H5a2 2 0 00-2 2v7a2 2 0 002 2h14a2 2 0 002-2v-7a2 2 0 00-2-2zm-3-4a4 4 0 10-8 0v4h8V7z",
|
|
61
|
+
// Status
|
|
62
|
+
info: "M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z",
|
|
63
|
+
warning: "M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z",
|
|
64
|
+
error: "M10 14l2-2m0 0l2-2m-2 2l-2-2m2 2l2 2m7-2a9 9 0 11-18 0 9 9 0 0118 0z",
|
|
65
|
+
success: "M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z",
|
|
66
|
+
help: "M8.228 9c.549-1.165 2.03-2 3.772-2 2.21 0 4 1.343 4 3 0 1.4-1.278 2.575-3.006 2.907-.542.104-.994.54-.994 1.093m0 3h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z",
|
|
67
|
+
// Content
|
|
68
|
+
calendar: "M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z",
|
|
69
|
+
clock: "M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z",
|
|
70
|
+
file: "M7 21h10a2 2 0 002-2V9.414a1 1 0 00-.293-.707l-5.414-5.414A1 1 0 0012.586 3H7a2 2 0 00-2 2v14a2 2 0 002 2z",
|
|
71
|
+
folder: "M3 7v10a2 2 0 002 2h14a2 2 0 002-2V9a2 2 0 00-2-2h-6l-2-2H5a2 2 0 00-2 2z",
|
|
72
|
+
image: "M4 16l4.586-4.586a2 2 0 012.828 0L16 16m-2-2l1.586-1.586a2 2 0 012.828 0L20 14m-6-6h.01M6 20h12a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v12a2 2 0 002 2z",
|
|
73
|
+
link: "M13.828 10.172a4 4 0 00-5.656 0l-4 4a4 4 0 105.656 5.656l1.102-1.101m-.758-4.899a4 4 0 005.656 0l4-4a4 4 0 00-5.656-5.656l-1.1 1.1",
|
|
74
|
+
mail: "M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z",
|
|
75
|
+
phone: "M3 5a2 2 0 012-2h3.28a1 1 0 01.948.684l1.498 4.493a1 1 0 01-.502 1.21l-2.257 1.13a11.042 11.042 0 005.516 5.516l1.13-2.257a1 1 0 011.21-.502l4.493 1.498a1 1 0 01.684.949V19a2 2 0 01-2 2h-1C9.716 21 3 14.284 3 6V5z",
|
|
76
|
+
user: "M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z",
|
|
77
|
+
users: "M17 20h5v-2a3 3 0 00-5.356-1.857M17 20H7m10 0v-2c0-.656-.126-1.283-.356-1.857M7 20H2v-2a3 3 0 015.356-1.857M7 20v-2c0-.656.126-1.283.356-1.857m0 0a5.002 5.002 0 019.288 0M15 7a3 3 0 11-6 0 3 3 0 016 0zm6 3a2 2 0 11-4 0 2 2 0 014 0zM7 10a2 2 0 11-4 0 2 2 0 014 0z",
|
|
78
|
+
home: "M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6",
|
|
79
|
+
star: "M11.049 2.927c.3-.921 1.603-.921 1.902 0l1.519 4.674a1 1 0 00.95.69h4.915c.969 0 1.371 1.24.588 1.81l-3.976 2.888a1 1 0 00-.363 1.118l1.518 4.674c.3.922-.755 1.688-1.538 1.118l-3.976-2.888a1 1 0 00-1.176 0l-3.976 2.888c-.783.57-1.838-.197-1.538-1.118l1.518-4.674a1 1 0 00-.363-1.118l-3.976-2.888c-.784-.57-.38-1.81.588-1.81h4.914a1 1 0 00.951-.69l1.519-4.674z",
|
|
80
|
+
heart: "M4.318 6.318a4.5 4.5 0 000 6.364L12 20.364l7.682-7.682a4.5 4.5 0 00-6.364-6.364L12 7.636l-1.318-1.318a4.5 4.5 0 00-6.364 0z",
|
|
81
|
+
bell: "M15 17h5l-1.405-1.405A2.032 2.032 0 0118 14.158V11a6.002 6.002 0 00-4-5.659V5a2 2 0 10-4 0v.341C7.67 6.165 6 8.388 6 11v3.159c0 .538-.214 1.055-.595 1.436L4 17h5m6 0v1a3 3 0 11-6 0v-1m6 0H9",
|
|
82
|
+
grip: "M4 6h2m4 0h2m4 0h2M4 12h2m4 0h2m4 0h2M4 18h2m4 0h2m4 0h2",
|
|
83
|
+
hash: "M4 9h16M4 15h16M10 3L8 21M16 3l-2 18",
|
|
84
|
+
list: "M8 6h13M8 12h13M8 18h13M3 6h.01M3 12h.01M3 18h.01",
|
|
85
|
+
circle: "M12 21a9 9 0 100-18 9 9 0 000 18z",
|
|
86
|
+
// UI component / element types (palettes, builders)
|
|
87
|
+
box: "M21 8a2 2 0 00-1-1.73l-7-4a2 2 0 00-2 0l-7 4A2 2 0 003 8v8a2 2 0 001 1.73l7 4a2 2 0 002 0l7-4A2 2 0 0021 16V8z M3.27 6.96L12 12.01l8.73-5.05 M12 22.08V12",
|
|
88
|
+
tabs: "M3 9h18v10H3z M7 9V5h6v4",
|
|
89
|
+
columns: "M4 4h7v16H4z M13 4h7v16h-7z",
|
|
90
|
+
grid: "M3 3h7v7H3z M14 3h7v7h-7z M14 14h7v7h-7z M3 14h7v7H3z",
|
|
91
|
+
table: "M3 5h18v14H3z M3 10h18M3 15h18M9 5v14M15 5v14",
|
|
92
|
+
heading: "M6 4v16M18 4v16M6 12h12",
|
|
93
|
+
type: "M4 7V4h16v3M9 20h6M12 4v16",
|
|
94
|
+
"align-left": "M3 6h18M3 12h12M3 18h15",
|
|
95
|
+
input: "M4 9h16a1 1 0 011 1v4a1 1 0 01-1 1H4a1 1 0 01-1-1v-4a1 1 0 011-1z M7 12h5",
|
|
96
|
+
button: "M5 9h14a2 2 0 012 2v2a2 2 0 01-2 2H5a2 2 0 01-2-2v-2a2 2 0 012-2z",
|
|
97
|
+
select: "M4 6h16a1 1 0 011 1v10a1 1 0 01-1 1H4a1 1 0 01-1-1V7a1 1 0 011-1z M15 11l-3 3-3-3",
|
|
98
|
+
"check-square": "M9 11l3 3L22 4 M21 12v7a2 2 0 01-2 2H5a2 2 0 01-2-2V5a2 2 0 012-2h11",
|
|
99
|
+
video: "M23 7l-7 5 7 5V7z M16 5H3a2 2 0 00-2 2v10a2 2 0 002 2h13a2 2 0 002-2V7a2 2 0 00-2-2z",
|
|
100
|
+
card: "M3 5h18a1 1 0 011 1v12a1 1 0 01-1 1H3a1 1 0 01-1-1V6a1 1 0 011-1z M3 10h18",
|
|
101
|
+
// App / infra / media concepts
|
|
102
|
+
"bar-chart": "M6 20v-6M12 20V4M18 20v-10",
|
|
103
|
+
"line-chart": "M3 3v18h18 M7 15l4-4 3 3 5-6",
|
|
104
|
+
"area-chart": "M3 3v18h18 M7 17v-3l4-4 3 3 5-6v10z",
|
|
105
|
+
"pie-chart": "M21.21 15.89A10 10 0 118 2.83 M22 12A10 10 0 0012 2v10z",
|
|
106
|
+
"donut-chart": "M12 3a9 9 0 100 18 9 9 0 000-18z M12 8a4 4 0 100 8 4 4 0 000-8z",
|
|
107
|
+
"scatter-chart": "M3 3v18h18 M8 16h.01 M11 11h.01 M15 14h.01 M18 8h.01",
|
|
108
|
+
"bars-vertical": "M6 5v14M12 5v14M18 5v14",
|
|
109
|
+
globe: "M12 3a9 9 0 100 18 9 9 0 000-18z M3 12h18 M12 3a14 14 0 010 18 M12 3a14 14 0 000 18",
|
|
110
|
+
monitor: "M3 4h18a1 1 0 011 1v11a1 1 0 01-1 1H3a1 1 0 01-1-1V5a1 1 0 011-1z M8 21h8 M12 17v4",
|
|
111
|
+
camera: "M23 19a2 2 0 01-2 2H3a2 2 0 01-2-2V8a2 2 0 012-2h3l2-3h6l2 3h3a2 2 0 012 2z M12 17a4 4 0 100-8 4 4 0 000 8z",
|
|
112
|
+
plug: "M9 2v5 M15 2v5 M7 7h10v3a5 5 0 01-10 0V7z M12 15v7",
|
|
113
|
+
save: "M19 21H5a2 2 0 01-2-2V5a2 2 0 012-2h11l5 5v11a2 2 0 01-2 2z M17 21v-8H7v8 M7 3v5h8",
|
|
114
|
+
tag: "M20.59 13.41l-7.17 7.17a2 2 0 01-2.83 0L2 12V2h10l8.59 8.59a2 2 0 010 2.82z M7 7h.01",
|
|
115
|
+
palette: "M12 2a10 10 0 000 20 2 2 0 002-2c0-.5-.2-1-.5-1.3a2 2 0 01-.5-1.2 2 2 0 012-2H17a5 5 0 005-5c0-5-4.5-9-10-9z M6.5 11.5h.01 M9.5 7.5h.01 M14.5 7.5h.01",
|
|
116
|
+
book: "M4 19.5A2.5 2.5 0 016.5 17H20 M6.5 2H20v20H6.5A2.5 2.5 0 014 19.5v-15A2.5 2.5 0 016.5 2z",
|
|
117
|
+
cloud: "M18 10h-1.26A8 8 0 109 20h9a5 5 0 000-10z",
|
|
118
|
+
target: "M12 3a9 9 0 100 18 9 9 0 000-18z M12 7a5 5 0 100 10 5 5 0 000-10z M12 11a1 1 0 100 2 1 1 0 000-2z",
|
|
119
|
+
message: "M21 11.5a8.5 8.5 0 01-8.5 8.5 8.4 8.4 0 01-3.8-.9L3 21l1.9-5.7a8.4 8.4 0 01-.9-3.8A8.5 8.5 0 0112.5 3 8.5 8.5 0 0121 11.5z",
|
|
120
|
+
flask: "M9 2h6 M10 2v6.5L4.5 19a1 1 0 00.9 1.5h13.2a1 1 0 00.9-1.5L14 8.5V2 M7 15h10",
|
|
121
|
+
rocket: "M12 15l-3-3a22 22 0 012-3.95A12.88 12.88 0 0122 2c0 2.72-.78 7.5-6 11a22 22 0 01-3.95 2z M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0 M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5 M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 00-2.91-.09z",
|
|
122
|
+
music: "M9 18V5l12-2v13 M9 18a3 3 0 11-6 0 3 3 0 016 0z M21 16a3 3 0 11-6 0 3 3 0 016 0z",
|
|
123
|
+
wifi: "M5 12.55a11 11 0 0114 0 M8.5 16.11a6 6 0 017 0 M12 20h.01 M2 8.82a15 15 0 0120 0",
|
|
124
|
+
database: "M12 8c4.97 0 9-1.34 9-3s-4.03-3-9-3-9 1.34-9 3 4.03 3 9 3z M21 5v6c0 1.66-4.03 3-9 3s-9-1.34-9-3V5 M21 11v6c0 1.66-4.03 3-9 3s-9-1.34-9-3v-6",
|
|
125
|
+
slash: "M12 3a9 9 0 100 18 9 9 0 000-18z M5.6 5.6l12.8 12.8",
|
|
126
|
+
puzzle: "M19.4 13.6a1.6 1.6 0 10.2-3.2H19V7a2 2 0 00-2-2h-3.4v-.4a1.6 1.6 0 10-3.2 0V5H7a2 2 0 00-2 2v3.4h.4a1.6 1.6 0 100 3.2H5V17a2 2 0 002 2h3.4v.4a1.6 1.6 0 103.2 0V19H17a2 2 0 002-2v-3.4z",
|
|
127
|
+
dollar: "M12 1v22 M17 5H9.5a3.5 3.5 0 000 7h5a3.5 3.5 0 010 7H6",
|
|
128
|
+
printer: "M6 9V2h12v7 M6 18H4a2 2 0 01-2-2v-5a2 2 0 012-2h16a2 2 0 012 2v5a2 2 0 01-2 2h-2 M6 14h12v8H6z",
|
|
129
|
+
scale: "M12 3v18 M5 21h14 M5 7l7-2 7 2 M2 13a3 3 0 006 0L5 7zm14 0a3 3 0 006 0L19 7z",
|
|
130
|
+
accessibility: "M12 3a9 9 0 100 18 9 9 0 000-18z M12 9a1.5 1.5 0 100-3 1.5 1.5 0 000 3z M7.5 10.5l4.5 1 4.5-1 M12 11.5v3.5l-2 3.5 M12 15l2 3.5",
|
|
131
|
+
window: "M3 4h18a1 1 0 011 1v14a1 1 0 01-1 1H3a1 1 0 01-1-1V5a1 1 0 011-1z M2 9h20 M6 6.5h.01 M9 6.5h.01",
|
|
132
|
+
"map-pin": "M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0118 0z M12 13a3 3 0 100-6 3 3 0 000 6z",
|
|
133
|
+
cursor: "M5 3l14 7-6 2-2 6-6-15z",
|
|
134
|
+
shuffle: "M16 3h5v5 M4 20L21 3 M21 16v5h-5 M15 15l6 6 M4 4l5 5",
|
|
135
|
+
lightbulb: "M9 18h6 M10 22h4 M12 2a7 7 0 00-4 12.7c.6.5 1 1.3 1 2.1V18h6v-1.2c0-.8.4-1.6 1-2.1A7 7 0 0012 2z",
|
|
136
|
+
server: "M3 4h18a1 1 0 011 1v4a1 1 0 01-1 1H3a1 1 0 01-1-1V5a1 1 0 011-1z M3 14h18a1 1 0 011 1v4a1 1 0 01-1 1H3a1 1 0 01-1-1v-4a1 1 0 011-1z M7 7h.01 M7 17h.01",
|
|
137
|
+
terminal: "M4 17l6-6-6-6 M12 19h8",
|
|
138
|
+
"git-branch": "M6 3v12 M18 9a3 3 0 100-6 3 3 0 000 6z M6 21a3 3 0 100-6 3 3 0 000 6z M18 9a9 9 0 01-9 9",
|
|
139
|
+
send: "M22 2L11 13 M22 2l-7 20-4-9-9-4 20-7z",
|
|
140
|
+
// Media
|
|
141
|
+
play: "M14.752 11.168l-3.197-2.132A1 1 0 0010 9.87v4.263a1 1 0 001.555.832l3.197-2.132a1 1 0 000-1.664z M21 12a9 9 0 11-18 0 9 9 0 0118 0z",
|
|
142
|
+
pause: "M10 9v6m4-6v6m7-3a9 9 0 11-18 0 9 9 0 0118 0z",
|
|
143
|
+
stop: "M21 12a9 9 0 11-18 0 9 9 0 0118 0z M9 10a1 1 0 011-1h4a1 1 0 011 1v4a1 1 0 01-1 1h-4a1 1 0 01-1-1v-4z",
|
|
144
|
+
mic: "M12 1a3 3 0 00-3 3v8a3 3 0 006 0V4a3 3 0 00-3-3zM19 10v2a7 7 0 01-14 0v-2M12 19v4M8 23h8",
|
|
145
|
+
volume: "M11 5L6 9H2v6h4l5 4V5z M15.54 8.46a5 5 0 010 7.07 M19.07 4.93a10 10 0 010 14.14",
|
|
146
|
+
"volume-off": "M11 5L6 9H2v6h4l5 4V5z M23 9l-6 6 M17 9l6 6",
|
|
147
|
+
"skip-back": "M19 20L9 12l10-8v16z M5 19V5",
|
|
148
|
+
// Toggle
|
|
149
|
+
expand: "M4 8V4m0 0h4M4 4l5 5m11-1V4m0 0h-4m4 0l-5 5M4 16v4m0 0h4m-4 0l5-5m11 5l-5-5m5 5v-4m0 4h-4",
|
|
150
|
+
collapse: "M9 9V5m0 4H5m4 0L4 4m11 5h4m-4 0V5m0 4l5-5M9 15v4m0-4H5m4 0l-5 5m15-5h-4m4 0v4m0-4l-5 5",
|
|
151
|
+
"external-link": "M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14",
|
|
152
|
+
// Extended set (entities, gamification, status)
|
|
153
|
+
briefcase: "M20 7H4a2 2 0 00-2 2v9a2 2 0 002 2h16a2 2 0 002-2V9a2 2 0 00-2-2zM16 7V5a2 2 0 00-2-2h-4a2 2 0 00-2 2v2M2 12h20",
|
|
154
|
+
building: "M4 22V4a2 2 0 012-2h12a2 2 0 012 2v18M4 22h16M9 22v-4h6v4M9 6h.01M15 6h.01M9 10h.01M15 10h.01M9 14h.01M15 14h.01",
|
|
155
|
+
medal: "M15.477 12.89L17 22l-5-3-5 3 1.523-9.11M12 15a6 6 0 100-12 6 6 0 000 12z",
|
|
156
|
+
clipboard: "M9 2h6a1 1 0 011 1v1a1 1 0 01-1 1H9a1 1 0 01-1-1V3a1 1 0 011-1zM16 4h2a2 2 0 012 2v14a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2h2",
|
|
157
|
+
"skip-forward": "M5 4l10 8-10 8V4zM19 5v14",
|
|
158
|
+
"at-sign": "M12 16a4 4 0 100-8 4 4 0 000 8zM16 12v1.5a2.5 2.5 0 005 0V12a9 9 0 10-3.5 7.14",
|
|
159
|
+
gift: "M20 12v10H4V12M2 7h20v5H2zM12 22V7M12 7H7.5a2.5 2.5 0 010-5C11 2 12 7 12 7zM12 7h4.5a2.5 2.5 0 000-5C13 2 12 7 12 7z",
|
|
160
|
+
archive: "M21 8v13H3V8M1 3h22v5H1zM10 12h4",
|
|
161
|
+
reply: "M9 17l-5-5 5-5M4 12h11a4 4 0 014 4v2",
|
|
162
|
+
forward: "M15 17l5-5-5-5M20 12H9a4 4 0 00-4 4v2",
|
|
163
|
+
paperclip: "M21.44 11.05l-9.19 9.19a6 6 0 01-8.49-8.49l9.19-9.19a4 4 0 015.66 5.66l-9.2 9.19a2 2 0 01-2.83-2.83l8.49-8.48",
|
|
164
|
+
zap: "M13 2L3 14h9l-1 8 10-12h-9l1-8z",
|
|
165
|
+
// Graphics / drawing tools (vector / pixel / photo / game editors)
|
|
166
|
+
square: "M4 4h16v16H4z",
|
|
167
|
+
triangle: "M12 4L3 20h18z",
|
|
168
|
+
hexagon: "M7.5 3h9l4.5 9-4.5 9h-9L3 12z",
|
|
169
|
+
diamond: "M12 2l10 10-10 10L2 12z",
|
|
170
|
+
line: "M5 19L19 5",
|
|
171
|
+
pen: "M12 19l7-7 3 3-7 7-3-3z M18 13l-1.5-7.5L2 2l3.5 14.5L13 18l5-5z M11 11a2 2 0 100-4 2 2 0 000 4z",
|
|
172
|
+
brush: "M9.06 11.9l8.07-8.06a2.85 2.85 0 114.03 4.03l-8.06 8.08 M7.07 14.94c-1.66 0-3 1.35-3 3.02 0 1.33-2.5 1.52-2 2.02 1.08 1.1 2.49 2.02 4 2.02 2.2 0 4-1.8 4-4.04a3.01 3.01 0 00-3-3.02z",
|
|
173
|
+
droplet: "M12 2.69l5.66 5.66a8 8 0 11-11.31 0z",
|
|
174
|
+
bucket: "M5 8h14l-1.5 11a2 2 0 01-2 1.8H8.5a2 2 0 01-2-1.8L5 8z M5 8l2-4h10l2 4",
|
|
175
|
+
scissors: "M6 9a3 3 0 100-6 3 3 0 000 6z M6 21a3 3 0 100-6 3 3 0 000 6z M20 4L8.12 15.88 M14.47 14.48L20 20 M8.12 8.12L12 12",
|
|
176
|
+
layers: "M12 2l9 5-9 5-9-5 9-5z M3 12l9 5 9-5 M3 17l9 5 9-5",
|
|
177
|
+
crop: "M6 2v14a2 2 0 002 2h14 M2 6h14a2 2 0 012 2v14",
|
|
178
|
+
eyedropper: "M2 22l1-1h3l9-9 M3 21v-3l9-9 M15 6l3.5-3.5a2.12 2.12 0 013 3L18 9l-3-3z",
|
|
179
|
+
ruler: "M21.3 8.7l-6-6a1 1 0 00-1.4 0L2.7 13.9a1 1 0 000 1.4l6 6a1 1 0 001.4 0L21.3 10.1a1 1 0 000-1.4z M7.5 10.5l2 2 M11 7l2 2 M14.5 3.5l2 2",
|
|
180
|
+
wand: "M15 4V2 M15 16v-2 M8 9h2 M20 9h2 M3 21l9-9 M12.2 6.2L11 5 M17.8 6.2L19 5 M17.8 11.8L19 13",
|
|
181
|
+
move: "M5 9l-3 3 3 3 M9 5l3-3 3 3 M15 19l-3 3-3-3 M19 9l3 3-3 3 M2 12h20 M12 2v20",
|
|
182
|
+
gamepad: "M6 12h4 M8 10v4 M15 13h.01 M18 11h.01 M2 12a4 4 0 014-4h12a4 4 0 014 4l-1.5 6a2 2 0 01-2 1.5H5.5a2 2 0 01-2-1.5L2 12z",
|
|
183
|
+
eraser: "M7 21l-4.3-4.3a1 1 0 010-1.4l9.6-9.6a2 2 0 012.8 0l4.6 4.6a2 2 0 010 2.8L13 21H7z M22 21H7 M5 12l5 5",
|
|
184
|
+
// Buildings / interior / fixtures (spatial / floor-plan / smart-home / real-estate editors)
|
|
185
|
+
thermometer: "M14 14.76V3.5a2.5 2.5 0 00-5 0v11.26a4.5 4.5 0 105 0z",
|
|
186
|
+
door: "M18 20V5a1 1 0 00-1-1H7a1 1 0 00-1 1v15 M3 20h18 M13 11.5h.01",
|
|
187
|
+
stairs: "M3 20h3v-3h3v-3h3v-3h3v-3h3",
|
|
188
|
+
elevator: "M5 3h14a1 1 0 011 1v16a1 1 0 01-1 1H5a1 1 0 01-1-1V4a1 1 0 011-1z M9.5 9L12 6.5 14.5 9 M9.5 15l2.5 2.5 2.5-2.5",
|
|
189
|
+
bed: "M2 4v16 M2 8h18a2 2 0 012 2v10 M22 17H2 M6 8v4 M2 12h4",
|
|
190
|
+
sofa: "M3 9V7a2 2 0 012-2h14a2 2 0 012 2v2 M21 9a2 2 0 00-2 2v3H5v-3a2 2 0 00-2-2 2 2 0 00-2 2v4a1 1 0 001 1h18a1 1 0 001-1v-4a2 2 0 00-2-2 M5 18v2 M19 18v2",
|
|
191
|
+
chair: "M6 11V5a2 2 0 012-2h8a2 2 0 012 2v6 M5 11h14 M6 11l-1 8h14l-1-8 M6 19v2 M18 19v2",
|
|
192
|
+
utensils: "M3 2v7a2 2 0 002 2 2 2 0 002-2V2 M5 2v20 M21 2v9c0 1-1 1.8-2 1.8h-1V20 M18 2v9",
|
|
193
|
+
mountain: "M8 3l4 8 5-5 5 15H2L8 3z",
|
|
194
|
+
tree: "M12 2L7 11h10L12 2z M9 11l3 5 3-5 M12 16v6",
|
|
195
|
+
sun: "M12 17a5 5 0 100-10 5 5 0 000 10z M12 1v2 M12 21v2 M4.22 4.22l1.42 1.42 M18.36 18.36l1.42 1.42 M1 12h2 M21 12h2 M4.22 19.78l1.42-1.42 M18.36 5.64l1.42-1.42",
|
|
196
|
+
moon: "M21 12.79A9 9 0 1111.21 3 7 7 0 0021 12.79z",
|
|
197
|
+
// Rich-text editing (NiceHtmlEditor toolbar, document editors)
|
|
198
|
+
"list-ordered": "M10 6h11M10 12h11M10 18h11M4 6h1v4M4 10h2M6 18H4c0-1 2-2 2-3s-1-1.5-2-1",
|
|
199
|
+
unlink: "M18.84 12.25l1.72-1.71a5 5 0 0 0-7.07-7.07L11 5.78M3 3l18 18M9 15l3-3M14 11l3 3M14 21l-1.72-1.72a5 5 0 0 1-7.07-7.07L7 10.49",
|
|
200
|
+
code: "M16 18l6-6-6-6M8 6l-6 6 6 6",
|
|
201
|
+
quote: "M3 21c3-3 3-9 0-12M21 21c-3-3-3-9 0-12M9 7h6v6H9zM15 7h6v6h-6z",
|
|
202
|
+
indent: "M3 8l4 4-4 4M7 6h14M7 12h14M3 18h18",
|
|
203
|
+
outdent: "M7 8l-4 4 4 4M21 6H3M21 12H7M21 18H3",
|
|
204
|
+
"align-center": "M3 6h18M6 12h12M3 18h18",
|
|
205
|
+
"align-right": "M3 6h18M9 12h12M3 18h18",
|
|
206
|
+
"align-justify": "M3 6h18M3 12h18M3 18h18",
|
|
207
|
+
"align-top": "M4 4h16M9 8v12M15 8v7",
|
|
208
|
+
"align-middle": "M4 12h16M9 5v14M15 8v8",
|
|
209
|
+
"align-bottom": "M4 20h16M9 4v12M15 9v7",
|
|
210
|
+
"distribute-h": "M4 4v16M20 4v16M10 7h4v10h-4z",
|
|
211
|
+
"distribute-v": "M4 4h16M4 20h16M7 10h10v4H7z",
|
|
212
|
+
parallelogram: "M7 5h14l-4 14H3z",
|
|
213
|
+
barcode: "M4 5v14M6.5 5v14M10 5v14M13 5v14M15.5 5v14M19 5v14M20.5 5v14",
|
|
214
|
+
"qr-code": "M4 4h6v6H4z M14 4h6v6h-6z M4 14h6v6H4z M14 14h2v2h-2z M18 14h2v2h-2z M14 18h2v2h-2z M18 18h2v2h-2z",
|
|
215
|
+
smile: "M12 22a10 10 0 1 1 0-20 10 10 0 0 1 0 20zM8 14s1.5 2 4 2 4-2 4-2M9 9h.01M15 9h.01",
|
|
216
|
+
undo: "M9 14L4 9l5-5M4 9h10.5a5.5 5.5 0 010 11H11",
|
|
217
|
+
redo: "M15 14l5-5-5-5M20 9H9.5a5.5 5.5 0 000 11H13",
|
|
218
|
+
unlock: "M19 11H5a2 2 0 00-2 2v7a2 2 0 002 2h14a2 2 0 002-2v-7a2 2 0 00-2-2z M7 11V7a5 5 0 019.9-1",
|
|
219
|
+
keyboard: "M4 6h16a2 2 0 012 2v8a2 2 0 01-2 2H4a2 2 0 01-2-2V8a2 2 0 012-2z M6 10h.01 M10 10h.01 M14 10h.01 M18 10h.01 M8 14h8",
|
|
220
|
+
"page-break": "M6 3v5h12V3 M6 21v-5h12v5 M2 12h3 M8 12h3 M13 12h3 M19 12h3",
|
|
221
|
+
shield: "M12 2l8 3v6c0 5-3.4 9.4-8 11-4.6-1.6-8-6-8-11V5z",
|
|
222
|
+
repeat: "M17 2l4 4-4 4 M3 11V9a4 4 0 014-4h14 M7 22l-4-4 4-4 M21 13v2a4 4 0 01-4 4H3"
|
|
223
|
+
}, ca = {
|
|
224
|
+
xs: 12,
|
|
225
|
+
sm: 16,
|
|
226
|
+
md: 20,
|
|
227
|
+
lg: 24,
|
|
228
|
+
xl: 32
|
|
229
|
+
}, gt = createContext({});
|
|
230
|
+
function la({
|
|
231
|
+
path: e,
|
|
232
|
+
size: t,
|
|
233
|
+
className: r,
|
|
234
|
+
style: a,
|
|
235
|
+
color: n,
|
|
236
|
+
title: o,
|
|
237
|
+
onClick: i
|
|
238
|
+
}) {
|
|
239
|
+
return /* @__PURE__ */ jsxs(
|
|
240
|
+
"svg",
|
|
241
|
+
{
|
|
242
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
243
|
+
width: t,
|
|
244
|
+
height: t,
|
|
245
|
+
viewBox: "0 0 24 24",
|
|
246
|
+
fill: "none",
|
|
247
|
+
stroke: n || "currentColor",
|
|
248
|
+
strokeWidth: 2,
|
|
249
|
+
strokeLinecap: "round",
|
|
250
|
+
strokeLinejoin: "round",
|
|
251
|
+
className: `nice-icon ${r || ""}`,
|
|
252
|
+
style: a,
|
|
253
|
+
role: o ? "img" : "presentation",
|
|
254
|
+
"aria-label": o,
|
|
255
|
+
"aria-hidden": !o,
|
|
256
|
+
onClick: i,
|
|
257
|
+
children: [
|
|
258
|
+
o && /* @__PURE__ */ jsx("title", { children: o }),
|
|
259
|
+
/* @__PURE__ */ jsx("path", { d: e })
|
|
260
|
+
]
|
|
261
|
+
}
|
|
262
|
+
);
|
|
263
|
+
}
|
|
264
|
+
const Ae = ({
|
|
265
|
+
name: e,
|
|
266
|
+
size: t = "md",
|
|
267
|
+
className: r,
|
|
268
|
+
style: a,
|
|
269
|
+
color: n,
|
|
270
|
+
title: o,
|
|
271
|
+
onClick: i
|
|
272
|
+
}) => {
|
|
273
|
+
const { resolver: s } = useContext(gt), c = typeof t == "number" ? t : ca[t];
|
|
274
|
+
if (s) {
|
|
275
|
+
const d = s(e, c);
|
|
276
|
+
if (d)
|
|
277
|
+
return /* @__PURE__ */ jsx("span", { className: `nice-icon-wrap ${r || ""}`, style: a, onClick: i, children: d });
|
|
278
|
+
}
|
|
279
|
+
const l = er[e];
|
|
280
|
+
return l ? /* @__PURE__ */ jsx(
|
|
281
|
+
la,
|
|
282
|
+
{
|
|
283
|
+
path: l,
|
|
284
|
+
size: c,
|
|
285
|
+
className: r,
|
|
286
|
+
style: a,
|
|
287
|
+
color: n,
|
|
288
|
+
title: o,
|
|
289
|
+
onClick: i
|
|
290
|
+
}
|
|
291
|
+
) : null;
|
|
292
|
+
};
|
|
293
|
+
createContext({
|
|
294
|
+
direction: "ltr",
|
|
295
|
+
isRTL: false,
|
|
296
|
+
flip: (e) => e,
|
|
297
|
+
flipStyle: (e, t) => ({ [e]: t })
|
|
298
|
+
});
|
|
299
|
+
createContext({
|
|
300
|
+
permissions: {},
|
|
301
|
+
getAccessMode: () => "full"
|
|
302
|
+
});
|
|
303
|
+
createContext(null);
|
|
304
|
+
createContext(null);
|
|
305
|
+
const Ce = {
|
|
306
|
+
space1: "4px",
|
|
307
|
+
space2: "8px",
|
|
308
|
+
space3: "12px",
|
|
309
|
+
space4: "16px",
|
|
310
|
+
space5: "20px",
|
|
311
|
+
space6: "24px",
|
|
312
|
+
space8: "32px"
|
|
313
|
+
}, Le = {
|
|
314
|
+
fontFamily: "'Inter', system-ui, -apple-system, sans-serif",
|
|
315
|
+
fontSizeXs: "0.75rem",
|
|
316
|
+
fontSizeSm: "0.8125rem",
|
|
317
|
+
fontSizeMd: "0.875rem",
|
|
318
|
+
fontSizeLg: "1rem",
|
|
319
|
+
fontSizeXl: "1.125rem",
|
|
320
|
+
fontWeightNormal: 400,
|
|
321
|
+
fontWeightMedium: 500,
|
|
322
|
+
fontWeightSemibold: 600,
|
|
323
|
+
fontWeightBold: 700,
|
|
324
|
+
lineHeight: 1.5
|
|
325
|
+
}, Ne = { fast: "120ms ease", normal: "200ms ease", slow: "300ms ease" }, bt = (e) => ({
|
|
326
|
+
color: e,
|
|
327
|
+
radiusSm: "4px",
|
|
328
|
+
radiusMd: "6px",
|
|
329
|
+
radiusLg: "8px",
|
|
330
|
+
radiusXl: "12px",
|
|
331
|
+
radiusFull: "9999px"
|
|
332
|
+
}), fr = {
|
|
333
|
+
sm: "0 1px 2px rgba(0,0,0,0.05)",
|
|
334
|
+
md: "0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1)",
|
|
335
|
+
lg: "0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1)",
|
|
336
|
+
xl: "0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1)"
|
|
337
|
+
}, _a = {
|
|
338
|
+
sm: "0 1px 2px rgba(0,0,0,0.3)",
|
|
339
|
+
md: "0 4px 6px -1px rgba(0,0,0,0.4)",
|
|
340
|
+
lg: "0 10px 15px -3px rgba(0,0,0,0.4)",
|
|
341
|
+
xl: "0 20px 25px -5px rgba(0,0,0,0.4)"
|
|
342
|
+
};
|
|
343
|
+
function F(e, t, r, a, n) {
|
|
344
|
+
return {
|
|
345
|
+
name: e,
|
|
346
|
+
darkMode: "light",
|
|
347
|
+
colors: {
|
|
348
|
+
...t,
|
|
349
|
+
surface: t.surface ?? r.primary,
|
|
350
|
+
surfaceHover: t.surfaceHover ?? r.secondary
|
|
351
|
+
},
|
|
352
|
+
backgrounds: {
|
|
353
|
+
...r,
|
|
354
|
+
elevated: r.elevated ?? r.primary,
|
|
355
|
+
inset: r.inset ?? r.tertiary,
|
|
356
|
+
canvas: r.canvas ?? r.primary
|
|
357
|
+
},
|
|
358
|
+
text: { ...a, inverse: a.inverse ?? "#ffffff" },
|
|
359
|
+
borders: bt(n),
|
|
360
|
+
shadows: fr,
|
|
361
|
+
spacing: Ce,
|
|
362
|
+
typography: Le,
|
|
363
|
+
transitions: Ne
|
|
364
|
+
};
|
|
365
|
+
}
|
|
366
|
+
function j(e, t, r, a, n) {
|
|
367
|
+
return {
|
|
368
|
+
name: e,
|
|
369
|
+
darkMode: "dark",
|
|
370
|
+
colors: {
|
|
371
|
+
...t,
|
|
372
|
+
surface: t.surface ?? r.secondary,
|
|
373
|
+
surfaceHover: t.surfaceHover ?? r.tertiary
|
|
374
|
+
},
|
|
375
|
+
backgrounds: {
|
|
376
|
+
...r,
|
|
377
|
+
elevated: r.elevated ?? r.secondary,
|
|
378
|
+
inset: r.inset ?? r.primary,
|
|
379
|
+
canvas: r.canvas ?? r.primary
|
|
380
|
+
},
|
|
381
|
+
text: { ...a, inverse: a.inverse ?? "#0f172a" },
|
|
382
|
+
borders: bt(n),
|
|
383
|
+
shadows: _a,
|
|
384
|
+
spacing: Ce,
|
|
385
|
+
typography: Le,
|
|
386
|
+
transitions: Ne
|
|
387
|
+
};
|
|
388
|
+
}
|
|
389
|
+
F(
|
|
390
|
+
"Slate",
|
|
391
|
+
{
|
|
392
|
+
primary: "#64748b",
|
|
393
|
+
primaryHover: "#475569",
|
|
394
|
+
success: "#10b981",
|
|
395
|
+
warning: "#f59e0b",
|
|
396
|
+
error: "#ef4444",
|
|
397
|
+
info: "#06b6d4"
|
|
398
|
+
},
|
|
399
|
+
{ primary: "#f8fafc", secondary: "#f1f5f9", tertiary: "#e2e8f0", hover: "#e2e8f0" },
|
|
400
|
+
{ primary: "#1e293b", secondary: "#475569", muted: "#94a3b8" },
|
|
401
|
+
"#cbd5e1"
|
|
402
|
+
);
|
|
403
|
+
F(
|
|
404
|
+
"Zinc",
|
|
405
|
+
{
|
|
406
|
+
primary: "#71717a",
|
|
407
|
+
primaryHover: "#52525b",
|
|
408
|
+
success: "#22c55e",
|
|
409
|
+
warning: "#eab308",
|
|
410
|
+
error: "#ef4444",
|
|
411
|
+
info: "#06b6d4"
|
|
412
|
+
},
|
|
413
|
+
{ primary: "#fafafa", secondary: "#f4f4f5", tertiary: "#e4e4e7", hover: "#e4e4e7" },
|
|
414
|
+
{ primary: "#18181b", secondary: "#3f3f46", muted: "#a1a1aa" },
|
|
415
|
+
"#d4d4d8"
|
|
416
|
+
);
|
|
417
|
+
F(
|
|
418
|
+
"Stone",
|
|
419
|
+
{
|
|
420
|
+
primary: "#78716c",
|
|
421
|
+
primaryHover: "#57534e",
|
|
422
|
+
success: "#16a34a",
|
|
423
|
+
warning: "#ca8a04",
|
|
424
|
+
error: "#dc2626",
|
|
425
|
+
info: "#0891b2"
|
|
426
|
+
},
|
|
427
|
+
{ primary: "#fafaf9", secondary: "#f5f5f4", tertiary: "#e7e5e4", hover: "#e7e5e4" },
|
|
428
|
+
{ primary: "#1c1917", secondary: "#44403c", muted: "#a8a29e" },
|
|
429
|
+
"#d6d3d1"
|
|
430
|
+
);
|
|
431
|
+
F(
|
|
432
|
+
"Cool Gray",
|
|
433
|
+
{
|
|
434
|
+
primary: "#6b7280",
|
|
435
|
+
primaryHover: "#4b5563",
|
|
436
|
+
success: "#10b981",
|
|
437
|
+
warning: "#f59e0b",
|
|
438
|
+
error: "#ef4444",
|
|
439
|
+
info: "#3b82f6"
|
|
440
|
+
},
|
|
441
|
+
{ primary: "#f9fafb", secondary: "#f3f4f6", tertiary: "#e5e7eb", hover: "#e5e7eb" },
|
|
442
|
+
{ primary: "#111827", secondary: "#374151", muted: "#9ca3af" },
|
|
443
|
+
"#d1d5db"
|
|
444
|
+
);
|
|
445
|
+
F(
|
|
446
|
+
"Warm Gray",
|
|
447
|
+
{
|
|
448
|
+
primary: "#7c7568",
|
|
449
|
+
primaryHover: "#5c564c",
|
|
450
|
+
success: "#4d7c0f",
|
|
451
|
+
warning: "#a16207",
|
|
452
|
+
error: "#b91c1c",
|
|
453
|
+
info: "#0e7490"
|
|
454
|
+
},
|
|
455
|
+
{ primary: "#faf9f7", secondary: "#f5f4f0", tertiary: "#e8e6e1", hover: "#e8e6e1" },
|
|
456
|
+
{ primary: "#1f1d19", secondary: "#4a463d", muted: "#a09888" },
|
|
457
|
+
"#d4d0c8"
|
|
458
|
+
);
|
|
459
|
+
F(
|
|
460
|
+
"Silver",
|
|
461
|
+
{
|
|
462
|
+
primary: "#94a3b8",
|
|
463
|
+
primaryHover: "#64748b",
|
|
464
|
+
success: "#10b981",
|
|
465
|
+
warning: "#f59e0b",
|
|
466
|
+
error: "#ef4444",
|
|
467
|
+
info: "#38bdf8"
|
|
468
|
+
},
|
|
469
|
+
{ primary: "#f8fafc", secondary: "#f1f5f9", tertiary: "#e2e8f0", hover: "#e2e8f0" },
|
|
470
|
+
{ primary: "#334155", secondary: "#64748b", muted: "#94a3b8" },
|
|
471
|
+
"#cbd5e1"
|
|
472
|
+
);
|
|
473
|
+
F(
|
|
474
|
+
"Charcoal",
|
|
475
|
+
{
|
|
476
|
+
primary: "#374151",
|
|
477
|
+
primaryHover: "#1f2937",
|
|
478
|
+
success: "#059669",
|
|
479
|
+
warning: "#d97706",
|
|
480
|
+
error: "#dc2626",
|
|
481
|
+
info: "#0284c7"
|
|
482
|
+
},
|
|
483
|
+
{ primary: "#f9fafb", secondary: "#f3f4f6", tertiary: "#e5e7eb", hover: "#e5e7eb" },
|
|
484
|
+
{ primary: "#111827", secondary: "#374151", muted: "#6b7280" },
|
|
485
|
+
"#d1d5db"
|
|
486
|
+
);
|
|
487
|
+
F(
|
|
488
|
+
"Ivory",
|
|
489
|
+
{
|
|
490
|
+
primary: "#92876d",
|
|
491
|
+
primaryHover: "#7a6f55",
|
|
492
|
+
success: "#4d7c0f",
|
|
493
|
+
warning: "#a16207",
|
|
494
|
+
error: "#b91c1c",
|
|
495
|
+
info: "#0e7490"
|
|
496
|
+
},
|
|
497
|
+
{ primary: "#fffef7", secondary: "#faf6eb", tertiary: "#f0ead6", hover: "#f0ead6" },
|
|
498
|
+
{ primary: "#2b2517", secondary: "#5c5340", muted: "#9c9280" },
|
|
499
|
+
"#ddd8c4"
|
|
500
|
+
);
|
|
501
|
+
F(
|
|
502
|
+
"Rose",
|
|
503
|
+
{
|
|
504
|
+
primary: "#e11d48",
|
|
505
|
+
primaryHover: "#be123c",
|
|
506
|
+
success: "#16a34a",
|
|
507
|
+
warning: "#ea580c",
|
|
508
|
+
error: "#dc2626",
|
|
509
|
+
info: "#0891b2"
|
|
510
|
+
},
|
|
511
|
+
{ primary: "#fff1f2", secondary: "#ffe4e6", tertiary: "#fecdd3", hover: "#ffe4e6" },
|
|
512
|
+
{ primary: "#4c0519", secondary: "#881337", muted: "#f43f5e" },
|
|
513
|
+
"#fda4af"
|
|
514
|
+
);
|
|
515
|
+
F(
|
|
516
|
+
"Emerald",
|
|
517
|
+
{
|
|
518
|
+
primary: "#059669",
|
|
519
|
+
primaryHover: "#047857",
|
|
520
|
+
success: "#16a34a",
|
|
521
|
+
warning: "#d97706",
|
|
522
|
+
error: "#dc2626",
|
|
523
|
+
info: "#0891b2"
|
|
524
|
+
},
|
|
525
|
+
{ primary: "#ecfdf5", secondary: "#d1fae5", tertiary: "#a7f3d0", hover: "#d1fae5" },
|
|
526
|
+
{ primary: "#064e3b", secondary: "#065f46", muted: "#34d399" },
|
|
527
|
+
"#6ee7b7"
|
|
528
|
+
);
|
|
529
|
+
F(
|
|
530
|
+
"Amber",
|
|
531
|
+
{
|
|
532
|
+
primary: "#d97706",
|
|
533
|
+
primaryHover: "#b45309",
|
|
534
|
+
success: "#16a34a",
|
|
535
|
+
warning: "#ca8a04",
|
|
536
|
+
error: "#dc2626",
|
|
537
|
+
info: "#0284c7"
|
|
538
|
+
},
|
|
539
|
+
{ primary: "#fffbeb", secondary: "#fef3c7", tertiary: "#fde68a", hover: "#fef3c7" },
|
|
540
|
+
{ primary: "#451a03", secondary: "#78350f", muted: "#f59e0b" },
|
|
541
|
+
"#fcd34d"
|
|
542
|
+
);
|
|
543
|
+
F(
|
|
544
|
+
"Violet",
|
|
545
|
+
{
|
|
546
|
+
primary: "#7c3aed",
|
|
547
|
+
primaryHover: "#6d28d9",
|
|
548
|
+
success: "#10b981",
|
|
549
|
+
warning: "#f59e0b",
|
|
550
|
+
error: "#ef4444",
|
|
551
|
+
info: "#06b6d4"
|
|
552
|
+
},
|
|
553
|
+
{ primary: "#f5f3ff", secondary: "#ede9fe", tertiary: "#ddd6fe", hover: "#ede9fe" },
|
|
554
|
+
{ primary: "#2e1065", secondary: "#4c1d95", muted: "#a78bfa" },
|
|
555
|
+
"#c4b5fd"
|
|
556
|
+
);
|
|
557
|
+
F(
|
|
558
|
+
"Teal",
|
|
559
|
+
{
|
|
560
|
+
primary: "#0d9488",
|
|
561
|
+
primaryHover: "#0f766e",
|
|
562
|
+
success: "#16a34a",
|
|
563
|
+
warning: "#d97706",
|
|
564
|
+
error: "#dc2626",
|
|
565
|
+
info: "#0284c7"
|
|
566
|
+
},
|
|
567
|
+
{ primary: "#f0fdfa", secondary: "#ccfbf1", tertiary: "#99f6e4", hover: "#ccfbf1" },
|
|
568
|
+
{ primary: "#134e4a", secondary: "#115e59", muted: "#2dd4bf" },
|
|
569
|
+
"#5eead4"
|
|
570
|
+
);
|
|
571
|
+
F(
|
|
572
|
+
"Indigo",
|
|
573
|
+
{
|
|
574
|
+
primary: "#4f46e5",
|
|
575
|
+
primaryHover: "#4338ca",
|
|
576
|
+
success: "#10b981",
|
|
577
|
+
warning: "#f59e0b",
|
|
578
|
+
error: "#ef4444",
|
|
579
|
+
info: "#06b6d4"
|
|
580
|
+
},
|
|
581
|
+
{ primary: "#eef2ff", secondary: "#e0e7ff", tertiary: "#c7d2fe", hover: "#e0e7ff" },
|
|
582
|
+
{ primary: "#1e1b4b", secondary: "#312e81", muted: "#818cf8" },
|
|
583
|
+
"#a5b4fc"
|
|
584
|
+
);
|
|
585
|
+
F(
|
|
586
|
+
"Cyan",
|
|
587
|
+
{
|
|
588
|
+
primary: "#0891b2",
|
|
589
|
+
primaryHover: "#0e7490",
|
|
590
|
+
success: "#10b981",
|
|
591
|
+
warning: "#f59e0b",
|
|
592
|
+
error: "#ef4444",
|
|
593
|
+
info: "#0284c7"
|
|
594
|
+
},
|
|
595
|
+
{ primary: "#ecfeff", secondary: "#cffafe", tertiary: "#a5f3fc", hover: "#cffafe" },
|
|
596
|
+
{ primary: "#164e63", secondary: "#155e75", muted: "#22d3ee" },
|
|
597
|
+
"#67e8f9"
|
|
598
|
+
);
|
|
599
|
+
F(
|
|
600
|
+
"Lime",
|
|
601
|
+
{
|
|
602
|
+
primary: "#65a30d",
|
|
603
|
+
primaryHover: "#4d7c0f",
|
|
604
|
+
success: "#16a34a",
|
|
605
|
+
warning: "#ca8a04",
|
|
606
|
+
error: "#dc2626",
|
|
607
|
+
info: "#0891b2"
|
|
608
|
+
},
|
|
609
|
+
{ primary: "#f7fee7", secondary: "#ecfccb", tertiary: "#d9f99d", hover: "#ecfccb" },
|
|
610
|
+
{ primary: "#1a2e05", secondary: "#365314", muted: "#84cc16" },
|
|
611
|
+
"#bef264"
|
|
612
|
+
);
|
|
613
|
+
F(
|
|
614
|
+
"Pink",
|
|
615
|
+
{
|
|
616
|
+
primary: "#db2777",
|
|
617
|
+
primaryHover: "#be185d",
|
|
618
|
+
success: "#10b981",
|
|
619
|
+
warning: "#f59e0b",
|
|
620
|
+
error: "#dc2626",
|
|
621
|
+
info: "#06b6d4"
|
|
622
|
+
},
|
|
623
|
+
{ primary: "#fdf2f8", secondary: "#fce7f3", tertiary: "#fbcfe8", hover: "#fce7f3" },
|
|
624
|
+
{ primary: "#500724", secondary: "#831843", muted: "#f472b6" },
|
|
625
|
+
"#f9a8d4"
|
|
626
|
+
);
|
|
627
|
+
F(
|
|
628
|
+
"Orange",
|
|
629
|
+
{
|
|
630
|
+
primary: "#ea580c",
|
|
631
|
+
primaryHover: "#c2410c",
|
|
632
|
+
success: "#16a34a",
|
|
633
|
+
warning: "#ca8a04",
|
|
634
|
+
error: "#dc2626",
|
|
635
|
+
info: "#0891b2"
|
|
636
|
+
},
|
|
637
|
+
{ primary: "#fff7ed", secondary: "#ffedd5", tertiary: "#fed7aa", hover: "#ffedd5" },
|
|
638
|
+
{ primary: "#431407", secondary: "#7c2d12", muted: "#fb923c" },
|
|
639
|
+
"#fdba74"
|
|
640
|
+
);
|
|
641
|
+
F(
|
|
642
|
+
"Fuchsia",
|
|
643
|
+
{
|
|
644
|
+
primary: "#c026d3",
|
|
645
|
+
primaryHover: "#a21caf",
|
|
646
|
+
success: "#10b981",
|
|
647
|
+
warning: "#eab308",
|
|
648
|
+
error: "#ef4444",
|
|
649
|
+
info: "#06b6d4"
|
|
650
|
+
},
|
|
651
|
+
{ primary: "#fdf4ff", secondary: "#fae8ff", tertiary: "#f5d0fe", hover: "#fae8ff" },
|
|
652
|
+
{ primary: "#4a044e", secondary: "#701a75", muted: "#d946ef" },
|
|
653
|
+
"#e879f9"
|
|
654
|
+
);
|
|
655
|
+
F(
|
|
656
|
+
"Sky",
|
|
657
|
+
{
|
|
658
|
+
primary: "#0284c7",
|
|
659
|
+
primaryHover: "#0369a1",
|
|
660
|
+
success: "#10b981",
|
|
661
|
+
warning: "#f59e0b",
|
|
662
|
+
error: "#ef4444",
|
|
663
|
+
info: "#06b6d4"
|
|
664
|
+
},
|
|
665
|
+
{ primary: "#f0f9ff", secondary: "#e0f2fe", tertiary: "#bae6fd", hover: "#e0f2fe" },
|
|
666
|
+
{ primary: "#0c4a6e", secondary: "#075985", muted: "#38bdf8" },
|
|
667
|
+
"#7dd3fc"
|
|
668
|
+
);
|
|
669
|
+
F(
|
|
670
|
+
"Ruby",
|
|
671
|
+
{
|
|
672
|
+
primary: "#be123c",
|
|
673
|
+
primaryHover: "#9f1239",
|
|
674
|
+
success: "#059669",
|
|
675
|
+
warning: "#d97706",
|
|
676
|
+
error: "#dc2626",
|
|
677
|
+
info: "#0284c7"
|
|
678
|
+
},
|
|
679
|
+
{ primary: "#fff1f2", secondary: "#ffe4e6", tertiary: "#fecdd3", hover: "#ffe4e6" },
|
|
680
|
+
{ primary: "#4c0519", secondary: "#881337", muted: "#fb7185" },
|
|
681
|
+
"#fda4af"
|
|
682
|
+
);
|
|
683
|
+
F(
|
|
684
|
+
"Coral",
|
|
685
|
+
{
|
|
686
|
+
primary: "#f97316",
|
|
687
|
+
primaryHover: "#ea580c",
|
|
688
|
+
success: "#10b981",
|
|
689
|
+
warning: "#eab308",
|
|
690
|
+
error: "#ef4444",
|
|
691
|
+
info: "#06b6d4"
|
|
692
|
+
},
|
|
693
|
+
{ primary: "#fff7ed", secondary: "#ffedd5", tertiary: "#fed7aa", hover: "#ffedd5" },
|
|
694
|
+
{ primary: "#431407", secondary: "#9a3412", muted: "#fb923c" },
|
|
695
|
+
"#fdba74"
|
|
696
|
+
);
|
|
697
|
+
j(
|
|
698
|
+
"Midnight",
|
|
699
|
+
{
|
|
700
|
+
primary: "#818cf8",
|
|
701
|
+
primaryHover: "#6366f1",
|
|
702
|
+
success: "#34d399",
|
|
703
|
+
warning: "#fbbf24",
|
|
704
|
+
error: "#f87171",
|
|
705
|
+
info: "#22d3ee"
|
|
706
|
+
},
|
|
707
|
+
{ primary: "#020617", secondary: "#0f172a", tertiary: "#1e293b", hover: "#1e293b" },
|
|
708
|
+
{ primary: "#f1f5f9", secondary: "#94a3b8", muted: "#475569" },
|
|
709
|
+
"#1e293b"
|
|
710
|
+
);
|
|
711
|
+
j(
|
|
712
|
+
"Obsidian",
|
|
713
|
+
{
|
|
714
|
+
primary: "#a78bfa",
|
|
715
|
+
primaryHover: "#8b5cf6",
|
|
716
|
+
success: "#4ade80",
|
|
717
|
+
warning: "#facc15",
|
|
718
|
+
error: "#fb7185",
|
|
719
|
+
info: "#38bdf8"
|
|
720
|
+
},
|
|
721
|
+
{ primary: "#09090b", secondary: "#18181b", tertiary: "#27272a", hover: "#27272a" },
|
|
722
|
+
{ primary: "#fafafa", secondary: "#a1a1aa", muted: "#52525b" },
|
|
723
|
+
"#3f3f46"
|
|
724
|
+
);
|
|
725
|
+
j(
|
|
726
|
+
"Eclipse",
|
|
727
|
+
{
|
|
728
|
+
primary: "#c084fc",
|
|
729
|
+
primaryHover: "#a855f7",
|
|
730
|
+
success: "#34d399",
|
|
731
|
+
warning: "#fbbf24",
|
|
732
|
+
error: "#f87171",
|
|
733
|
+
info: "#67e8f9"
|
|
734
|
+
},
|
|
735
|
+
{ primary: "#0c0a1d", secondary: "#1a1533", tertiary: "#2a2248", hover: "#2a2248" },
|
|
736
|
+
{ primary: "#f5f3ff", secondary: "#a78bfa", muted: "#6d5eac" },
|
|
737
|
+
"#3b3266"
|
|
738
|
+
);
|
|
739
|
+
j(
|
|
740
|
+
"Onyx",
|
|
741
|
+
{
|
|
742
|
+
primary: "#60a5fa",
|
|
743
|
+
primaryHover: "#3b82f6",
|
|
744
|
+
success: "#4ade80",
|
|
745
|
+
warning: "#fbbf24",
|
|
746
|
+
error: "#f87171",
|
|
747
|
+
info: "#22d3ee"
|
|
748
|
+
},
|
|
749
|
+
{ primary: "#000000", secondary: "#0a0a0a", tertiary: "#171717", hover: "#171717" },
|
|
750
|
+
{ primary: "#ffffff", secondary: "#a3a3a3", muted: "#525252" },
|
|
751
|
+
"#262626"
|
|
752
|
+
);
|
|
753
|
+
j(
|
|
754
|
+
"Carbon",
|
|
755
|
+
{
|
|
756
|
+
primary: "#38bdf8",
|
|
757
|
+
primaryHover: "#0ea5e9",
|
|
758
|
+
success: "#4ade80",
|
|
759
|
+
warning: "#facc15",
|
|
760
|
+
error: "#f87171",
|
|
761
|
+
info: "#67e8f9"
|
|
762
|
+
},
|
|
763
|
+
{ primary: "#161616", secondary: "#262626", tertiary: "#393939", hover: "#393939" },
|
|
764
|
+
{ primary: "#f4f4f4", secondary: "#c6c6c6", muted: "#6f6f6f" },
|
|
765
|
+
"#525252"
|
|
766
|
+
);
|
|
767
|
+
j(
|
|
768
|
+
"Cosmos",
|
|
769
|
+
{
|
|
770
|
+
primary: "#6366f1",
|
|
771
|
+
primaryHover: "#4f46e5",
|
|
772
|
+
success: "#34d399",
|
|
773
|
+
warning: "#fbbf24",
|
|
774
|
+
error: "#f87171",
|
|
775
|
+
info: "#22d3ee"
|
|
776
|
+
},
|
|
777
|
+
{ primary: "#030712", secondary: "#111827", tertiary: "#1f2937", hover: "#1f2937" },
|
|
778
|
+
{ primary: "#e5e7eb", secondary: "#9ca3af", muted: "#4b5563" },
|
|
779
|
+
"#374151"
|
|
780
|
+
);
|
|
781
|
+
j(
|
|
782
|
+
"Nebula",
|
|
783
|
+
{
|
|
784
|
+
primary: "#e879f9",
|
|
785
|
+
primaryHover: "#d946ef",
|
|
786
|
+
success: "#4ade80",
|
|
787
|
+
warning: "#fbbf24",
|
|
788
|
+
error: "#fb7185",
|
|
789
|
+
info: "#67e8f9"
|
|
790
|
+
},
|
|
791
|
+
{ primary: "#0d0117", secondary: "#1a0533", tertiary: "#2d0a52", hover: "#2d0a52" },
|
|
792
|
+
{ primary: "#fae8ff", secondary: "#d8b4fe", muted: "#7c3aed" },
|
|
793
|
+
"#581c87"
|
|
794
|
+
);
|
|
795
|
+
j(
|
|
796
|
+
"Abyss",
|
|
797
|
+
{
|
|
798
|
+
primary: "#22d3ee",
|
|
799
|
+
primaryHover: "#06b6d4",
|
|
800
|
+
success: "#34d399",
|
|
801
|
+
warning: "#fbbf24",
|
|
802
|
+
error: "#f87171",
|
|
803
|
+
info: "#38bdf8"
|
|
804
|
+
},
|
|
805
|
+
{ primary: "#001219", secondary: "#002a3a", tertiary: "#003e54", hover: "#003e54" },
|
|
806
|
+
{ primary: "#e0f2fe", secondary: "#7dd3fc", muted: "#0369a1" },
|
|
807
|
+
"#075985"
|
|
808
|
+
);
|
|
809
|
+
j(
|
|
810
|
+
"Shadow",
|
|
811
|
+
{
|
|
812
|
+
primary: "#a3a3a3",
|
|
813
|
+
primaryHover: "#737373",
|
|
814
|
+
success: "#4ade80",
|
|
815
|
+
warning: "#facc15",
|
|
816
|
+
error: "#f87171",
|
|
817
|
+
info: "#38bdf8"
|
|
818
|
+
},
|
|
819
|
+
{ primary: "#171717", secondary: "#1f1f1f", tertiary: "#2a2a2a", hover: "#2a2a2a" },
|
|
820
|
+
{ primary: "#e5e5e5", secondary: "#a3a3a3", muted: "#525252" },
|
|
821
|
+
"#404040"
|
|
822
|
+
);
|
|
823
|
+
j(
|
|
824
|
+
"Emerald Dark",
|
|
825
|
+
{
|
|
826
|
+
primary: "#34d399",
|
|
827
|
+
primaryHover: "#10b981",
|
|
828
|
+
success: "#4ade80",
|
|
829
|
+
warning: "#fbbf24",
|
|
830
|
+
error: "#f87171",
|
|
831
|
+
info: "#22d3ee"
|
|
832
|
+
},
|
|
833
|
+
{ primary: "#022c22", secondary: "#064e3b", tertiary: "#065f46", hover: "#065f46" },
|
|
834
|
+
{ primary: "#ecfdf5", secondary: "#6ee7b7", muted: "#047857" },
|
|
835
|
+
"#047857"
|
|
836
|
+
);
|
|
837
|
+
F(
|
|
838
|
+
"Forest",
|
|
839
|
+
{
|
|
840
|
+
primary: "#166534",
|
|
841
|
+
primaryHover: "#14532d",
|
|
842
|
+
success: "#22c55e",
|
|
843
|
+
warning: "#ca8a04",
|
|
844
|
+
error: "#dc2626",
|
|
845
|
+
info: "#0891b2"
|
|
846
|
+
},
|
|
847
|
+
{ primary: "#f0fdf4", secondary: "#dcfce7", tertiary: "#bbf7d0", hover: "#dcfce7" },
|
|
848
|
+
{ primary: "#052e16", secondary: "#166534", muted: "#4ade80" },
|
|
849
|
+
"#86efac"
|
|
850
|
+
);
|
|
851
|
+
F(
|
|
852
|
+
"Ocean",
|
|
853
|
+
{
|
|
854
|
+
primary: "#0369a1",
|
|
855
|
+
primaryHover: "#075985",
|
|
856
|
+
success: "#059669",
|
|
857
|
+
warning: "#d97706",
|
|
858
|
+
error: "#dc2626",
|
|
859
|
+
info: "#0284c7"
|
|
860
|
+
},
|
|
861
|
+
{ primary: "#f0f9ff", secondary: "#e0f2fe", tertiary: "#bae6fd", hover: "#e0f2fe" },
|
|
862
|
+
{ primary: "#0c4a6e", secondary: "#0369a1", muted: "#38bdf8" },
|
|
863
|
+
"#7dd3fc"
|
|
864
|
+
);
|
|
865
|
+
F(
|
|
866
|
+
"Desert",
|
|
867
|
+
{
|
|
868
|
+
primary: "#b45309",
|
|
869
|
+
primaryHover: "#92400e",
|
|
870
|
+
success: "#4d7c0f",
|
|
871
|
+
warning: "#a16207",
|
|
872
|
+
error: "#b91c1c",
|
|
873
|
+
info: "#0e7490"
|
|
874
|
+
},
|
|
875
|
+
{ primary: "#fefce8", secondary: "#fef9c3", tertiary: "#fef08a", hover: "#fef9c3" },
|
|
876
|
+
{ primary: "#422006", secondary: "#713f12", muted: "#ca8a04" },
|
|
877
|
+
"#fde047"
|
|
878
|
+
);
|
|
879
|
+
F(
|
|
880
|
+
"Sunset",
|
|
881
|
+
{
|
|
882
|
+
primary: "#ea580c",
|
|
883
|
+
primaryHover: "#c2410c",
|
|
884
|
+
success: "#16a34a",
|
|
885
|
+
warning: "#d97706",
|
|
886
|
+
error: "#dc2626",
|
|
887
|
+
info: "#0891b2"
|
|
888
|
+
},
|
|
889
|
+
{ primary: "#fff7ed", secondary: "#ffedd5", tertiary: "#fed7aa", hover: "#ffedd5" },
|
|
890
|
+
{ primary: "#431407", secondary: "#9a3412", muted: "#f97316" },
|
|
891
|
+
"#fdba74"
|
|
892
|
+
);
|
|
893
|
+
F(
|
|
894
|
+
"Aurora",
|
|
895
|
+
{
|
|
896
|
+
primary: "#0d9488",
|
|
897
|
+
primaryHover: "#0f766e",
|
|
898
|
+
success: "#22c55e",
|
|
899
|
+
warning: "#eab308",
|
|
900
|
+
error: "#ef4444",
|
|
901
|
+
info: "#06b6d4"
|
|
902
|
+
},
|
|
903
|
+
{ primary: "#f0fdfa", secondary: "#ccfbf1", tertiary: "#99f6e4", hover: "#ccfbf1" },
|
|
904
|
+
{ primary: "#134e4a", secondary: "#115e59", muted: "#2dd4bf" },
|
|
905
|
+
"#5eead4"
|
|
906
|
+
);
|
|
907
|
+
F(
|
|
908
|
+
"Lavender",
|
|
909
|
+
{
|
|
910
|
+
primary: "#7e22ce",
|
|
911
|
+
primaryHover: "#6b21a8",
|
|
912
|
+
success: "#16a34a",
|
|
913
|
+
warning: "#d97706",
|
|
914
|
+
error: "#dc2626",
|
|
915
|
+
info: "#0891b2"
|
|
916
|
+
},
|
|
917
|
+
{ primary: "#faf5ff", secondary: "#f3e8ff", tertiary: "#e9d5ff", hover: "#f3e8ff" },
|
|
918
|
+
{ primary: "#3b0764", secondary: "#581c87", muted: "#a855f7" },
|
|
919
|
+
"#d8b4fe"
|
|
920
|
+
);
|
|
921
|
+
F(
|
|
922
|
+
"Autumn",
|
|
923
|
+
{
|
|
924
|
+
primary: "#c2410c",
|
|
925
|
+
primaryHover: "#9a3412",
|
|
926
|
+
success: "#4d7c0f",
|
|
927
|
+
warning: "#a16207",
|
|
928
|
+
error: "#b91c1c",
|
|
929
|
+
info: "#0e7490"
|
|
930
|
+
},
|
|
931
|
+
{ primary: "#fef2f2", secondary: "#fee2e2", tertiary: "#fecaca", hover: "#fee2e2" },
|
|
932
|
+
{ primary: "#450a0a", secondary: "#7f1d1d", muted: "#f87171" },
|
|
933
|
+
"#fca5a5"
|
|
934
|
+
);
|
|
935
|
+
F(
|
|
936
|
+
"Spring",
|
|
937
|
+
{
|
|
938
|
+
primary: "#16a34a",
|
|
939
|
+
primaryHover: "#15803d",
|
|
940
|
+
success: "#22c55e",
|
|
941
|
+
warning: "#eab308",
|
|
942
|
+
error: "#ef4444",
|
|
943
|
+
info: "#06b6d4"
|
|
944
|
+
},
|
|
945
|
+
{ primary: "#f0fdf4", secondary: "#dcfce7", tertiary: "#bbf7d0", hover: "#dcfce7" },
|
|
946
|
+
{ primary: "#14532d", secondary: "#166534", muted: "#4ade80" },
|
|
947
|
+
"#86efac"
|
|
948
|
+
);
|
|
949
|
+
F(
|
|
950
|
+
"Arctic",
|
|
951
|
+
{
|
|
952
|
+
primary: "#0ea5e9",
|
|
953
|
+
primaryHover: "#0284c7",
|
|
954
|
+
success: "#10b981",
|
|
955
|
+
warning: "#f59e0b",
|
|
956
|
+
error: "#ef4444",
|
|
957
|
+
info: "#06b6d4"
|
|
958
|
+
},
|
|
959
|
+
{ primary: "#f0f9ff", secondary: "#e0f2fe", tertiary: "#bae6fd", hover: "#e0f2fe" },
|
|
960
|
+
{ primary: "#0c4a6e", secondary: "#0369a1", muted: "#7dd3fc" },
|
|
961
|
+
"#bae6fd"
|
|
962
|
+
);
|
|
963
|
+
F(
|
|
964
|
+
"Tropical",
|
|
965
|
+
{
|
|
966
|
+
primary: "#0d9488",
|
|
967
|
+
primaryHover: "#0f766e",
|
|
968
|
+
success: "#16a34a",
|
|
969
|
+
warning: "#f59e0b",
|
|
970
|
+
error: "#ef4444",
|
|
971
|
+
info: "#06b6d4"
|
|
972
|
+
},
|
|
973
|
+
{ primary: "#ecfdf5", secondary: "#d1fae5", tertiary: "#a7f3d0", hover: "#d1fae5" },
|
|
974
|
+
{ primary: "#064e3b", secondary: "#065f46", muted: "#6ee7b7" },
|
|
975
|
+
"#a7f3d0"
|
|
976
|
+
);
|
|
977
|
+
F(
|
|
978
|
+
"Pastel Rose",
|
|
979
|
+
{
|
|
980
|
+
primary: "#f472b6",
|
|
981
|
+
primaryHover: "#ec4899",
|
|
982
|
+
success: "#4ade80",
|
|
983
|
+
warning: "#fcd34d",
|
|
984
|
+
error: "#fb7185",
|
|
985
|
+
info: "#67e8f9"
|
|
986
|
+
},
|
|
987
|
+
{ primary: "#fdf2f8", secondary: "#fce7f3", tertiary: "#fbcfe8", hover: "#fce7f3" },
|
|
988
|
+
{ primary: "#831843", secondary: "#9d174d", muted: "#f9a8d4" },
|
|
989
|
+
"#f9a8d4"
|
|
990
|
+
);
|
|
991
|
+
F(
|
|
992
|
+
"Pastel Sky",
|
|
993
|
+
{
|
|
994
|
+
primary: "#38bdf8",
|
|
995
|
+
primaryHover: "#0ea5e9",
|
|
996
|
+
success: "#4ade80",
|
|
997
|
+
warning: "#fcd34d",
|
|
998
|
+
error: "#fb7185",
|
|
999
|
+
info: "#67e8f9"
|
|
1000
|
+
},
|
|
1001
|
+
{ primary: "#f0f9ff", secondary: "#e0f2fe", tertiary: "#bae6fd", hover: "#e0f2fe" },
|
|
1002
|
+
{ primary: "#075985", secondary: "#0369a1", muted: "#7dd3fc" },
|
|
1003
|
+
"#bae6fd"
|
|
1004
|
+
);
|
|
1005
|
+
F(
|
|
1006
|
+
"Pastel Mint",
|
|
1007
|
+
{
|
|
1008
|
+
primary: "#34d399",
|
|
1009
|
+
primaryHover: "#10b981",
|
|
1010
|
+
success: "#4ade80",
|
|
1011
|
+
warning: "#fcd34d",
|
|
1012
|
+
error: "#fb7185",
|
|
1013
|
+
info: "#67e8f9"
|
|
1014
|
+
},
|
|
1015
|
+
{ primary: "#ecfdf5", secondary: "#d1fae5", tertiary: "#a7f3d0", hover: "#d1fae5" },
|
|
1016
|
+
{ primary: "#065f46", secondary: "#047857", muted: "#6ee7b7" },
|
|
1017
|
+
"#a7f3d0"
|
|
1018
|
+
);
|
|
1019
|
+
F(
|
|
1020
|
+
"Pastel Peach",
|
|
1021
|
+
{
|
|
1022
|
+
primary: "#fb923c",
|
|
1023
|
+
primaryHover: "#f97316",
|
|
1024
|
+
success: "#4ade80",
|
|
1025
|
+
warning: "#fcd34d",
|
|
1026
|
+
error: "#fb7185",
|
|
1027
|
+
info: "#67e8f9"
|
|
1028
|
+
},
|
|
1029
|
+
{ primary: "#fff7ed", secondary: "#ffedd5", tertiary: "#fed7aa", hover: "#ffedd5" },
|
|
1030
|
+
{ primary: "#7c2d12", secondary: "#9a3412", muted: "#fdba74" },
|
|
1031
|
+
"#fed7aa"
|
|
1032
|
+
);
|
|
1033
|
+
F(
|
|
1034
|
+
"Pastel Lavender",
|
|
1035
|
+
{
|
|
1036
|
+
primary: "#a78bfa",
|
|
1037
|
+
primaryHover: "#8b5cf6",
|
|
1038
|
+
success: "#4ade80",
|
|
1039
|
+
warning: "#fcd34d",
|
|
1040
|
+
error: "#fb7185",
|
|
1041
|
+
info: "#67e8f9"
|
|
1042
|
+
},
|
|
1043
|
+
{ primary: "#f5f3ff", secondary: "#ede9fe", tertiary: "#ddd6fe", hover: "#ede9fe" },
|
|
1044
|
+
{ primary: "#4c1d95", secondary: "#5b21b6", muted: "#c4b5fd" },
|
|
1045
|
+
"#ddd6fe"
|
|
1046
|
+
);
|
|
1047
|
+
F(
|
|
1048
|
+
"Pastel Lemon",
|
|
1049
|
+
{
|
|
1050
|
+
primary: "#facc15",
|
|
1051
|
+
primaryHover: "#eab308",
|
|
1052
|
+
success: "#4ade80",
|
|
1053
|
+
warning: "#fcd34d",
|
|
1054
|
+
error: "#fb7185",
|
|
1055
|
+
info: "#67e8f9"
|
|
1056
|
+
},
|
|
1057
|
+
{ primary: "#fefce8", secondary: "#fef9c3", tertiary: "#fef08a", hover: "#fef9c3" },
|
|
1058
|
+
{ primary: "#713f12", secondary: "#854d0e", muted: "#fde047" },
|
|
1059
|
+
"#fef08a"
|
|
1060
|
+
);
|
|
1061
|
+
F(
|
|
1062
|
+
"Pastel Sage",
|
|
1063
|
+
{
|
|
1064
|
+
primary: "#86efac",
|
|
1065
|
+
primaryHover: "#4ade80",
|
|
1066
|
+
success: "#22c55e",
|
|
1067
|
+
warning: "#fcd34d",
|
|
1068
|
+
error: "#fb7185",
|
|
1069
|
+
info: "#67e8f9"
|
|
1070
|
+
},
|
|
1071
|
+
{ primary: "#f0fdf4", secondary: "#dcfce7", tertiary: "#bbf7d0", hover: "#dcfce7" },
|
|
1072
|
+
{ primary: "#166534", secondary: "#15803d", muted: "#86efac" },
|
|
1073
|
+
"#bbf7d0"
|
|
1074
|
+
);
|
|
1075
|
+
F(
|
|
1076
|
+
"Pastel Coral",
|
|
1077
|
+
{
|
|
1078
|
+
primary: "#fb7185",
|
|
1079
|
+
primaryHover: "#f43f5e",
|
|
1080
|
+
success: "#4ade80",
|
|
1081
|
+
warning: "#fcd34d",
|
|
1082
|
+
error: "#ef4444",
|
|
1083
|
+
info: "#67e8f9"
|
|
1084
|
+
},
|
|
1085
|
+
{ primary: "#fff1f2", secondary: "#ffe4e6", tertiary: "#fecdd3", hover: "#ffe4e6" },
|
|
1086
|
+
{ primary: "#881337", secondary: "#9f1239", muted: "#fda4af" },
|
|
1087
|
+
"#fecdd3"
|
|
1088
|
+
);
|
|
1089
|
+
F(
|
|
1090
|
+
"Banking",
|
|
1091
|
+
{
|
|
1092
|
+
primary: "#1e3a5f",
|
|
1093
|
+
primaryHover: "#152c4a",
|
|
1094
|
+
success: "#059669",
|
|
1095
|
+
warning: "#d97706",
|
|
1096
|
+
error: "#dc2626",
|
|
1097
|
+
info: "#0891b2"
|
|
1098
|
+
},
|
|
1099
|
+
{ primary: "#f8fafc", secondary: "#f1f5f9", tertiary: "#e2e8f0", hover: "#e2e8f0" },
|
|
1100
|
+
{ primary: "#0f172a", secondary: "#334155", muted: "#94a3b8" },
|
|
1101
|
+
"#cbd5e1"
|
|
1102
|
+
);
|
|
1103
|
+
F(
|
|
1104
|
+
"Healthcare",
|
|
1105
|
+
{
|
|
1106
|
+
primary: "#0891b2",
|
|
1107
|
+
primaryHover: "#0e7490",
|
|
1108
|
+
success: "#059669",
|
|
1109
|
+
warning: "#d97706",
|
|
1110
|
+
error: "#dc2626",
|
|
1111
|
+
info: "#0284c7"
|
|
1112
|
+
},
|
|
1113
|
+
{ primary: "#f0fdfa", secondary: "#e0f7fa", tertiary: "#b2ebf2", hover: "#e0f7fa" },
|
|
1114
|
+
{ primary: "#134e4a", secondary: "#1a6b6a", muted: "#80cbc4" },
|
|
1115
|
+
"#b2dfdb"
|
|
1116
|
+
);
|
|
1117
|
+
F(
|
|
1118
|
+
"Legal",
|
|
1119
|
+
{
|
|
1120
|
+
primary: "#1e293b",
|
|
1121
|
+
primaryHover: "#0f172a",
|
|
1122
|
+
success: "#059669",
|
|
1123
|
+
warning: "#d97706",
|
|
1124
|
+
error: "#dc2626",
|
|
1125
|
+
info: "#0284c7"
|
|
1126
|
+
},
|
|
1127
|
+
{ primary: "#fafaf9", secondary: "#f5f5f4", tertiary: "#e7e5e4", hover: "#e7e5e4" },
|
|
1128
|
+
{ primary: "#0f172a", secondary: "#44403c", muted: "#a8a29e" },
|
|
1129
|
+
"#d6d3d1"
|
|
1130
|
+
);
|
|
1131
|
+
F(
|
|
1132
|
+
"Tech Startup",
|
|
1133
|
+
{
|
|
1134
|
+
primary: "#7c3aed",
|
|
1135
|
+
primaryHover: "#6d28d9",
|
|
1136
|
+
success: "#10b981",
|
|
1137
|
+
warning: "#f59e0b",
|
|
1138
|
+
error: "#ef4444",
|
|
1139
|
+
info: "#06b6d4"
|
|
1140
|
+
},
|
|
1141
|
+
{ primary: "#faf5ff", secondary: "#f3e8ff", tertiary: "#e9d5ff", hover: "#f3e8ff" },
|
|
1142
|
+
{ primary: "#1e1b4b", secondary: "#4c1d95", muted: "#a78bfa" },
|
|
1143
|
+
"#c4b5fd"
|
|
1144
|
+
);
|
|
1145
|
+
F(
|
|
1146
|
+
"Enterprise",
|
|
1147
|
+
{
|
|
1148
|
+
primary: "#1e40af",
|
|
1149
|
+
primaryHover: "#1e3a8a",
|
|
1150
|
+
success: "#059669",
|
|
1151
|
+
warning: "#d97706",
|
|
1152
|
+
error: "#dc2626",
|
|
1153
|
+
info: "#0891b2"
|
|
1154
|
+
},
|
|
1155
|
+
{ primary: "#eff6ff", secondary: "#dbeafe", tertiary: "#bfdbfe", hover: "#dbeafe" },
|
|
1156
|
+
{ primary: "#1e3a5f", secondary: "#1e40af", muted: "#60a5fa" },
|
|
1157
|
+
"#93c5fd"
|
|
1158
|
+
);
|
|
1159
|
+
F(
|
|
1160
|
+
"Government",
|
|
1161
|
+
{
|
|
1162
|
+
primary: "#1d4ed8",
|
|
1163
|
+
primaryHover: "#1e40af",
|
|
1164
|
+
success: "#059669",
|
|
1165
|
+
warning: "#d97706",
|
|
1166
|
+
error: "#dc2626",
|
|
1167
|
+
info: "#0891b2"
|
|
1168
|
+
},
|
|
1169
|
+
{ primary: "#f8fafc", secondary: "#f1f5f9", tertiary: "#e2e8f0", hover: "#e2e8f0" },
|
|
1170
|
+
{ primary: "#0f172a", secondary: "#1e293b", muted: "#64748b" },
|
|
1171
|
+
"#cbd5e1"
|
|
1172
|
+
);
|
|
1173
|
+
F(
|
|
1174
|
+
"Education",
|
|
1175
|
+
{
|
|
1176
|
+
primary: "#059669",
|
|
1177
|
+
primaryHover: "#047857",
|
|
1178
|
+
success: "#16a34a",
|
|
1179
|
+
warning: "#f59e0b",
|
|
1180
|
+
error: "#ef4444",
|
|
1181
|
+
info: "#0891b2"
|
|
1182
|
+
},
|
|
1183
|
+
{ primary: "#f0fdf9", secondary: "#d1fae5", tertiary: "#a7f3d0", hover: "#d1fae5" },
|
|
1184
|
+
{ primary: "#064e3b", secondary: "#065f46", muted: "#6ee7b7" },
|
|
1185
|
+
"#a7f3d0"
|
|
1186
|
+
);
|
|
1187
|
+
F(
|
|
1188
|
+
"Real Estate",
|
|
1189
|
+
{
|
|
1190
|
+
primary: "#92400e",
|
|
1191
|
+
primaryHover: "#78350f",
|
|
1192
|
+
success: "#059669",
|
|
1193
|
+
warning: "#b45309",
|
|
1194
|
+
error: "#dc2626",
|
|
1195
|
+
info: "#0891b2"
|
|
1196
|
+
},
|
|
1197
|
+
{ primary: "#fffbeb", secondary: "#fef3c7", tertiary: "#fde68a", hover: "#fef3c7" },
|
|
1198
|
+
{ primary: "#422006", secondary: "#713f12", muted: "#d97706" },
|
|
1199
|
+
"#fcd34d"
|
|
1200
|
+
);
|
|
1201
|
+
F(
|
|
1202
|
+
"Nord",
|
|
1203
|
+
{
|
|
1204
|
+
primary: "#5e81ac",
|
|
1205
|
+
primaryHover: "#4c6b90",
|
|
1206
|
+
success: "#a3be8c",
|
|
1207
|
+
warning: "#ebcb8b",
|
|
1208
|
+
error: "#bf616a",
|
|
1209
|
+
info: "#88c0d0"
|
|
1210
|
+
},
|
|
1211
|
+
{ primary: "#eceff4", secondary: "#e5e9f0", tertiary: "#d8dee9", hover: "#d8dee9" },
|
|
1212
|
+
{ primary: "#2e3440", secondary: "#3b4252", muted: "#4c566a" },
|
|
1213
|
+
"#d8dee9"
|
|
1214
|
+
);
|
|
1215
|
+
j(
|
|
1216
|
+
"Dracula",
|
|
1217
|
+
{
|
|
1218
|
+
primary: "#bd93f9",
|
|
1219
|
+
primaryHover: "#9d79d9",
|
|
1220
|
+
success: "#50fa7b",
|
|
1221
|
+
warning: "#f1fa8c",
|
|
1222
|
+
error: "#ff5555",
|
|
1223
|
+
info: "#8be9fd"
|
|
1224
|
+
},
|
|
1225
|
+
{ primary: "#282a36", secondary: "#343746", tertiary: "#44475a", hover: "#44475a" },
|
|
1226
|
+
{ primary: "#f8f8f2", secondary: "#c0c0c0", muted: "#6272a4" },
|
|
1227
|
+
"#44475a"
|
|
1228
|
+
);
|
|
1229
|
+
F(
|
|
1230
|
+
"Solarized Light",
|
|
1231
|
+
{
|
|
1232
|
+
primary: "#268bd2",
|
|
1233
|
+
primaryHover: "#1a6da0",
|
|
1234
|
+
success: "#859900",
|
|
1235
|
+
warning: "#b58900",
|
|
1236
|
+
error: "#dc322f",
|
|
1237
|
+
info: "#2aa198"
|
|
1238
|
+
},
|
|
1239
|
+
{ primary: "#fdf6e3", secondary: "#eee8d5", tertiary: "#e0dbc7", hover: "#eee8d5" },
|
|
1240
|
+
{ primary: "#073642", secondary: "#586e75", muted: "#93a1a1" },
|
|
1241
|
+
"#eee8d5"
|
|
1242
|
+
);
|
|
1243
|
+
j(
|
|
1244
|
+
"Solarized Dark",
|
|
1245
|
+
{
|
|
1246
|
+
primary: "#268bd2",
|
|
1247
|
+
primaryHover: "#3d98db",
|
|
1248
|
+
success: "#859900",
|
|
1249
|
+
warning: "#b58900",
|
|
1250
|
+
error: "#dc322f",
|
|
1251
|
+
info: "#2aa198"
|
|
1252
|
+
},
|
|
1253
|
+
{ primary: "#002b36", secondary: "#073642", tertiary: "#0a4858", hover: "#073642" },
|
|
1254
|
+
{ primary: "#eee8d5", secondary: "#93a1a1", muted: "#586e75" },
|
|
1255
|
+
"#073642"
|
|
1256
|
+
);
|
|
1257
|
+
j(
|
|
1258
|
+
"Monokai",
|
|
1259
|
+
{
|
|
1260
|
+
primary: "#66d9ef",
|
|
1261
|
+
primaryHover: "#45c0d6",
|
|
1262
|
+
success: "#a6e22e",
|
|
1263
|
+
warning: "#e6db74",
|
|
1264
|
+
error: "#f92672",
|
|
1265
|
+
info: "#66d9ef"
|
|
1266
|
+
},
|
|
1267
|
+
{ primary: "#272822", secondary: "#34352e", tertiary: "#3e3d32", hover: "#3e3d32" },
|
|
1268
|
+
{ primary: "#f8f8f2", secondary: "#cfcfc2", muted: "#75715e" },
|
|
1269
|
+
"#3e3d32"
|
|
1270
|
+
);
|
|
1271
|
+
j(
|
|
1272
|
+
"One Dark",
|
|
1273
|
+
{
|
|
1274
|
+
primary: "#61afef",
|
|
1275
|
+
primaryHover: "#4b9ee0",
|
|
1276
|
+
success: "#98c379",
|
|
1277
|
+
warning: "#e5c07b",
|
|
1278
|
+
error: "#e06c75",
|
|
1279
|
+
info: "#56b6c2"
|
|
1280
|
+
},
|
|
1281
|
+
{ primary: "#282c34", secondary: "#2c313a", tertiary: "#353b45", hover: "#353b45" },
|
|
1282
|
+
{ primary: "#abb2bf", secondary: "#828997", muted: "#545862" },
|
|
1283
|
+
"#3e4452"
|
|
1284
|
+
);
|
|
1285
|
+
j(
|
|
1286
|
+
"Synthwave",
|
|
1287
|
+
{
|
|
1288
|
+
primary: "#ff7edb",
|
|
1289
|
+
primaryHover: "#e660c2",
|
|
1290
|
+
success: "#72f1b8",
|
|
1291
|
+
warning: "#fede5d",
|
|
1292
|
+
error: "#fe4450",
|
|
1293
|
+
info: "#36f9f6"
|
|
1294
|
+
},
|
|
1295
|
+
{ primary: "#241b2f", secondary: "#2d2140", tertiary: "#362a50", hover: "#362a50" },
|
|
1296
|
+
{ primary: "#f0e4fc", secondary: "#b4a0cc", muted: "#6c5c84" },
|
|
1297
|
+
"#4a3866"
|
|
1298
|
+
);
|
|
1299
|
+
F(
|
|
1300
|
+
"Vaporwave",
|
|
1301
|
+
{
|
|
1302
|
+
primary: "#ff71ce",
|
|
1303
|
+
primaryHover: "#e655b5",
|
|
1304
|
+
success: "#78dcca",
|
|
1305
|
+
warning: "#ffb86c",
|
|
1306
|
+
error: "#ff5555",
|
|
1307
|
+
info: "#76e8fc"
|
|
1308
|
+
},
|
|
1309
|
+
{ primary: "#fce4f7", secondary: "#e8d0f4", tertiary: "#d4bcf0", hover: "#e8d0f4" },
|
|
1310
|
+
{ primary: "#4a1a4e", secondary: "#7b3f7d", muted: "#c080c0" },
|
|
1311
|
+
"#d8a8e8"
|
|
1312
|
+
);
|
|
1313
|
+
j(
|
|
1314
|
+
"Terminal Green",
|
|
1315
|
+
{
|
|
1316
|
+
primary: "#00ff41",
|
|
1317
|
+
primaryHover: "#00cc34",
|
|
1318
|
+
success: "#00ff41",
|
|
1319
|
+
warning: "#ffff00",
|
|
1320
|
+
error: "#ff0000",
|
|
1321
|
+
info: "#00ffff"
|
|
1322
|
+
},
|
|
1323
|
+
{ primary: "#0a0a0a", secondary: "#0d1a0d", tertiary: "#1a2e1a", hover: "#1a2e1a" },
|
|
1324
|
+
{ primary: "#00ff41", secondary: "#00cc33", muted: "#008822" },
|
|
1325
|
+
"#003300"
|
|
1326
|
+
);
|
|
1327
|
+
F(
|
|
1328
|
+
"Sepia",
|
|
1329
|
+
{
|
|
1330
|
+
primary: "#8b6914",
|
|
1331
|
+
primaryHover: "#704f10",
|
|
1332
|
+
success: "#6b8e23",
|
|
1333
|
+
warning: "#cd853f",
|
|
1334
|
+
error: "#b22222",
|
|
1335
|
+
info: "#5f9ea0"
|
|
1336
|
+
},
|
|
1337
|
+
{ primary: "#faf0e6", secondary: "#f5e6d3", tertiary: "#eddcc7", hover: "#f5e6d3" },
|
|
1338
|
+
{ primary: "#3e2723", secondary: "#5d4037", muted: "#a1887f" },
|
|
1339
|
+
"#d7ccc8"
|
|
1340
|
+
);
|
|
1341
|
+
F(
|
|
1342
|
+
"Vintage",
|
|
1343
|
+
{
|
|
1344
|
+
primary: "#8d6e63",
|
|
1345
|
+
primaryHover: "#6d4c41",
|
|
1346
|
+
success: "#66bb6a",
|
|
1347
|
+
warning: "#ffb300",
|
|
1348
|
+
error: "#e53935",
|
|
1349
|
+
info: "#29b6f6"
|
|
1350
|
+
},
|
|
1351
|
+
{ primary: "#efebe9", secondary: "#d7ccc8", tertiary: "#bcaaa4", hover: "#d7ccc8" },
|
|
1352
|
+
{ primary: "#3e2723", secondary: "#5d4037", muted: "#a1887f" },
|
|
1353
|
+
"#bcaaa4"
|
|
1354
|
+
);
|
|
1355
|
+
j(
|
|
1356
|
+
"Cyberpunk",
|
|
1357
|
+
{
|
|
1358
|
+
primary: "#00f0ff",
|
|
1359
|
+
primaryHover: "#00c8d4",
|
|
1360
|
+
success: "#39ff14",
|
|
1361
|
+
warning: "#ffff00",
|
|
1362
|
+
error: "#ff003c",
|
|
1363
|
+
info: "#bf00ff"
|
|
1364
|
+
},
|
|
1365
|
+
{ primary: "#0a0e17", secondary: "#131824", tertiary: "#1c2333", hover: "#1c2333" },
|
|
1366
|
+
{ primary: "#e0fbfc", secondary: "#80d4dd", muted: "#3a6b72" },
|
|
1367
|
+
"#1c3a44"
|
|
1368
|
+
);
|
|
1369
|
+
j(
|
|
1370
|
+
"Neon",
|
|
1371
|
+
{
|
|
1372
|
+
primary: "#ff00ff",
|
|
1373
|
+
primaryHover: "#cc00cc",
|
|
1374
|
+
success: "#00ff00",
|
|
1375
|
+
warning: "#ffff00",
|
|
1376
|
+
error: "#ff0000",
|
|
1377
|
+
info: "#00ffff"
|
|
1378
|
+
},
|
|
1379
|
+
{ primary: "#0d0d0d", secondary: "#1a1a1a", tertiary: "#262626", hover: "#262626" },
|
|
1380
|
+
{ primary: "#ffffff", secondary: "#cccccc", muted: "#666666" },
|
|
1381
|
+
"#333333"
|
|
1382
|
+
);
|
|
1383
|
+
j(
|
|
1384
|
+
"Retrowave",
|
|
1385
|
+
{
|
|
1386
|
+
primary: "#f77fbe",
|
|
1387
|
+
primaryHover: "#e462a3",
|
|
1388
|
+
success: "#72f1b8",
|
|
1389
|
+
warning: "#ffe261",
|
|
1390
|
+
error: "#ff4444",
|
|
1391
|
+
info: "#79e8fb"
|
|
1392
|
+
},
|
|
1393
|
+
{ primary: "#1b0a2e", secondary: "#261440", tertiary: "#321e52", hover: "#321e52" },
|
|
1394
|
+
{ primary: "#ffe6f7", secondary: "#c9a0c9", muted: "#6b4c7a" },
|
|
1395
|
+
"#4a2d66"
|
|
1396
|
+
);
|
|
1397
|
+
F(
|
|
1398
|
+
"Christmas",
|
|
1399
|
+
{
|
|
1400
|
+
primary: "#c41e3a",
|
|
1401
|
+
primaryHover: "#a01830",
|
|
1402
|
+
success: "#228b22",
|
|
1403
|
+
warning: "#ffd700",
|
|
1404
|
+
error: "#dc2626",
|
|
1405
|
+
info: "#0891b2"
|
|
1406
|
+
},
|
|
1407
|
+
{ primary: "#fef2f2", secondary: "#fde8e8", tertiary: "#f8d0d0", hover: "#fde8e8" },
|
|
1408
|
+
{ primary: "#3b0a0a", secondary: "#7f1d1d", muted: "#dc6868" },
|
|
1409
|
+
"#e8a0a0"
|
|
1410
|
+
);
|
|
1411
|
+
j(
|
|
1412
|
+
"Halloween",
|
|
1413
|
+
{
|
|
1414
|
+
primary: "#ff6600",
|
|
1415
|
+
primaryHover: "#e05500",
|
|
1416
|
+
success: "#4ade80",
|
|
1417
|
+
warning: "#fbbf24",
|
|
1418
|
+
error: "#ff0000",
|
|
1419
|
+
info: "#9333ea"
|
|
1420
|
+
},
|
|
1421
|
+
{ primary: "#1a0a00", secondary: "#2d1500", tertiary: "#402000", hover: "#402000" },
|
|
1422
|
+
{ primary: "#ffedd5", secondary: "#fdba74", muted: "#9a5c28" },
|
|
1423
|
+
"#5c3400"
|
|
1424
|
+
);
|
|
1425
|
+
F(
|
|
1426
|
+
"Valentine",
|
|
1427
|
+
{
|
|
1428
|
+
primary: "#e11d48",
|
|
1429
|
+
primaryHover: "#be123c",
|
|
1430
|
+
success: "#10b981",
|
|
1431
|
+
warning: "#f59e0b",
|
|
1432
|
+
error: "#dc2626",
|
|
1433
|
+
info: "#ec4899"
|
|
1434
|
+
},
|
|
1435
|
+
{ primary: "#fff1f2", secondary: "#ffe4e6", tertiary: "#fecdd3", hover: "#ffe4e6" },
|
|
1436
|
+
{ primary: "#4c0519", secondary: "#881337", muted: "#f9a8d4" },
|
|
1437
|
+
"#fda4af"
|
|
1438
|
+
);
|
|
1439
|
+
F(
|
|
1440
|
+
"Easter",
|
|
1441
|
+
{
|
|
1442
|
+
primary: "#a78bfa",
|
|
1443
|
+
primaryHover: "#8b5cf6",
|
|
1444
|
+
success: "#4ade80",
|
|
1445
|
+
warning: "#fcd34d",
|
|
1446
|
+
error: "#fb7185",
|
|
1447
|
+
info: "#67e8f9"
|
|
1448
|
+
},
|
|
1449
|
+
{ primary: "#fef9ff", secondary: "#f3e8ff", tertiary: "#e8d5ff", hover: "#f3e8ff" },
|
|
1450
|
+
{ primary: "#581c87", secondary: "#6d28d9", muted: "#c4b5fd" },
|
|
1451
|
+
"#ddd6fe"
|
|
1452
|
+
);
|
|
1453
|
+
F(
|
|
1454
|
+
"Summer Beach",
|
|
1455
|
+
{
|
|
1456
|
+
primary: "#0ea5e9",
|
|
1457
|
+
primaryHover: "#0284c7",
|
|
1458
|
+
success: "#10b981",
|
|
1459
|
+
warning: "#f59e0b",
|
|
1460
|
+
error: "#ef4444",
|
|
1461
|
+
info: "#06b6d4"
|
|
1462
|
+
},
|
|
1463
|
+
{ primary: "#fffbeb", secondary: "#fef3c7", tertiary: "#fde68a", hover: "#fef3c7" },
|
|
1464
|
+
{ primary: "#0c4a6e", secondary: "#0369a1", muted: "#7dd3fc" },
|
|
1465
|
+
"#fcd34d"
|
|
1466
|
+
);
|
|
1467
|
+
F(
|
|
1468
|
+
"Winter Frost",
|
|
1469
|
+
{
|
|
1470
|
+
primary: "#3b82f6",
|
|
1471
|
+
primaryHover: "#2563eb",
|
|
1472
|
+
success: "#10b981",
|
|
1473
|
+
warning: "#f59e0b",
|
|
1474
|
+
error: "#ef4444",
|
|
1475
|
+
info: "#06b6d4"
|
|
1476
|
+
},
|
|
1477
|
+
{ primary: "#f0f9ff", secondary: "#e0f2fe", tertiary: "#bae6fd", hover: "#e0f2fe" },
|
|
1478
|
+
{ primary: "#1e3a5f", secondary: "#1e40af", muted: "#93c5fd" },
|
|
1479
|
+
"#bfdbfe"
|
|
1480
|
+
);
|
|
1481
|
+
F(
|
|
1482
|
+
"Cherry Blossom",
|
|
1483
|
+
{
|
|
1484
|
+
primary: "#ec4899",
|
|
1485
|
+
primaryHover: "#db2777",
|
|
1486
|
+
success: "#10b981",
|
|
1487
|
+
warning: "#f59e0b",
|
|
1488
|
+
error: "#ef4444",
|
|
1489
|
+
info: "#06b6d4"
|
|
1490
|
+
},
|
|
1491
|
+
{ primary: "#fdf2f8", secondary: "#fce7f3", tertiary: "#fbcfe8", hover: "#fce7f3" },
|
|
1492
|
+
{ primary: "#831843", secondary: "#9d174d", muted: "#f9a8d4" },
|
|
1493
|
+
"#fbcfe8"
|
|
1494
|
+
);
|
|
1495
|
+
F(
|
|
1496
|
+
"Harvest",
|
|
1497
|
+
{
|
|
1498
|
+
primary: "#b45309",
|
|
1499
|
+
primaryHover: "#92400e",
|
|
1500
|
+
success: "#4d7c0f",
|
|
1501
|
+
warning: "#a16207",
|
|
1502
|
+
error: "#b91c1c",
|
|
1503
|
+
info: "#0e7490"
|
|
1504
|
+
},
|
|
1505
|
+
{ primary: "#fffbeb", secondary: "#fef3c7", tertiary: "#fde68a", hover: "#fef3c7" },
|
|
1506
|
+
{ primary: "#451a03", secondary: "#78350f", muted: "#d97706" },
|
|
1507
|
+
"#fcd34d"
|
|
1508
|
+
);
|
|
1509
|
+
F(
|
|
1510
|
+
"Japanese Zen",
|
|
1511
|
+
{
|
|
1512
|
+
primary: "#6b7280",
|
|
1513
|
+
primaryHover: "#4b5563",
|
|
1514
|
+
success: "#6b8e23",
|
|
1515
|
+
warning: "#d4a017",
|
|
1516
|
+
error: "#c0392b",
|
|
1517
|
+
info: "#5f9ea0"
|
|
1518
|
+
},
|
|
1519
|
+
{ primary: "#faf9f6", secondary: "#f0ece3", tertiary: "#e6e0d4", hover: "#f0ece3" },
|
|
1520
|
+
{ primary: "#2c2c2c", secondary: "#5c5c5c", muted: "#a0998a" },
|
|
1521
|
+
"#d5cec0"
|
|
1522
|
+
);
|
|
1523
|
+
F(
|
|
1524
|
+
"Moroccan",
|
|
1525
|
+
{
|
|
1526
|
+
primary: "#c2410c",
|
|
1527
|
+
primaryHover: "#9a3412",
|
|
1528
|
+
success: "#15803d",
|
|
1529
|
+
warning: "#ca8a04",
|
|
1530
|
+
error: "#b91c1c",
|
|
1531
|
+
info: "#0e7490"
|
|
1532
|
+
},
|
|
1533
|
+
{ primary: "#fffbf0", secondary: "#fef3e0", tertiary: "#fde6c4", hover: "#fef3e0" },
|
|
1534
|
+
{ primary: "#3a1a00", secondary: "#7c2d12", muted: "#d97706" },
|
|
1535
|
+
"#f5d0a0"
|
|
1536
|
+
);
|
|
1537
|
+
F(
|
|
1538
|
+
"Scandinavian",
|
|
1539
|
+
{
|
|
1540
|
+
primary: "#4b5563",
|
|
1541
|
+
primaryHover: "#374151",
|
|
1542
|
+
success: "#059669",
|
|
1543
|
+
warning: "#d97706",
|
|
1544
|
+
error: "#dc2626",
|
|
1545
|
+
info: "#0891b2"
|
|
1546
|
+
},
|
|
1547
|
+
{ primary: "#ffffff", secondary: "#f9fafb", tertiary: "#f3f4f6", hover: "#f3f4f6" },
|
|
1548
|
+
{ primary: "#111827", secondary: "#374151", muted: "#9ca3af" },
|
|
1549
|
+
"#e5e7eb"
|
|
1550
|
+
);
|
|
1551
|
+
F(
|
|
1552
|
+
"Mediterranean",
|
|
1553
|
+
{
|
|
1554
|
+
primary: "#1e40af",
|
|
1555
|
+
primaryHover: "#1e3a8a",
|
|
1556
|
+
success: "#059669",
|
|
1557
|
+
warning: "#d97706",
|
|
1558
|
+
error: "#dc2626",
|
|
1559
|
+
info: "#0891b2"
|
|
1560
|
+
},
|
|
1561
|
+
{ primary: "#eff6ff", secondary: "#dbeafe", tertiary: "#bfdbfe", hover: "#dbeafe" },
|
|
1562
|
+
{ primary: "#1e3a5f", secondary: "#2563eb", muted: "#93c5fd" },
|
|
1563
|
+
"#bfdbfe"
|
|
1564
|
+
);
|
|
1565
|
+
F(
|
|
1566
|
+
"Chinese New Year",
|
|
1567
|
+
{
|
|
1568
|
+
primary: "#dc2626",
|
|
1569
|
+
primaryHover: "#b91c1c",
|
|
1570
|
+
success: "#16a34a",
|
|
1571
|
+
warning: "#d4a017",
|
|
1572
|
+
error: "#ef4444",
|
|
1573
|
+
info: "#0891b2"
|
|
1574
|
+
},
|
|
1575
|
+
{ primary: "#fef2f2", secondary: "#fee2e2", tertiary: "#fecaca", hover: "#fee2e2" },
|
|
1576
|
+
{ primary: "#450a0a", secondary: "#991b1b", muted: "#f87171" },
|
|
1577
|
+
"#fca5a5"
|
|
1578
|
+
);
|
|
1579
|
+
F(
|
|
1580
|
+
"Indian Festive",
|
|
1581
|
+
{
|
|
1582
|
+
primary: "#d97706",
|
|
1583
|
+
primaryHover: "#b45309",
|
|
1584
|
+
success: "#16a34a",
|
|
1585
|
+
warning: "#ca8a04",
|
|
1586
|
+
error: "#dc2626",
|
|
1587
|
+
info: "#7c3aed"
|
|
1588
|
+
},
|
|
1589
|
+
{ primary: "#fffbeb", secondary: "#fef3c7", tertiary: "#fde68a", hover: "#fef3c7" },
|
|
1590
|
+
{ primary: "#451a03", secondary: "#92400e", muted: "#f59e0b" },
|
|
1591
|
+
"#fcd34d"
|
|
1592
|
+
);
|
|
1593
|
+
F(
|
|
1594
|
+
"Brazilian Carnival",
|
|
1595
|
+
{
|
|
1596
|
+
primary: "#16a34a",
|
|
1597
|
+
primaryHover: "#15803d",
|
|
1598
|
+
success: "#22c55e",
|
|
1599
|
+
warning: "#facc15",
|
|
1600
|
+
error: "#ef4444",
|
|
1601
|
+
info: "#0ea5e9"
|
|
1602
|
+
},
|
|
1603
|
+
{ primary: "#f0fdf4", secondary: "#dcfce7", tertiary: "#bbf7d0", hover: "#dcfce7" },
|
|
1604
|
+
{ primary: "#052e16", secondary: "#166534", muted: "#4ade80" },
|
|
1605
|
+
"#86efac"
|
|
1606
|
+
);
|
|
1607
|
+
F(
|
|
1608
|
+
"African Earth",
|
|
1609
|
+
{
|
|
1610
|
+
primary: "#92400e",
|
|
1611
|
+
primaryHover: "#78350f",
|
|
1612
|
+
success: "#4d7c0f",
|
|
1613
|
+
warning: "#a16207",
|
|
1614
|
+
error: "#b91c1c",
|
|
1615
|
+
info: "#0e7490"
|
|
1616
|
+
},
|
|
1617
|
+
{ primary: "#faf5f0", secondary: "#f0e6d6", tertiary: "#e6d5bb", hover: "#f0e6d6" },
|
|
1618
|
+
{ primary: "#2b1a0e", secondary: "#5c3d1e", muted: "#a08060" },
|
|
1619
|
+
"#d4b896"
|
|
1620
|
+
);
|
|
1621
|
+
j(
|
|
1622
|
+
"High Contrast Dark",
|
|
1623
|
+
{
|
|
1624
|
+
primary: "#ffff00",
|
|
1625
|
+
primaryHover: "#cccc00",
|
|
1626
|
+
success: "#00ff00",
|
|
1627
|
+
warning: "#ff8c00",
|
|
1628
|
+
error: "#ff0000",
|
|
1629
|
+
info: "#00ffff"
|
|
1630
|
+
},
|
|
1631
|
+
{ primary: "#000000", secondary: "#1a1a1a", tertiary: "#333333", hover: "#333333" },
|
|
1632
|
+
{ primary: "#ffffff", secondary: "#ffffff", muted: "#cccccc" },
|
|
1633
|
+
"#ffffff"
|
|
1634
|
+
);
|
|
1635
|
+
F(
|
|
1636
|
+
"Monochrome",
|
|
1637
|
+
{
|
|
1638
|
+
primary: "#404040",
|
|
1639
|
+
primaryHover: "#262626",
|
|
1640
|
+
success: "#4d7c0f",
|
|
1641
|
+
warning: "#a16207",
|
|
1642
|
+
error: "#b91c1c",
|
|
1643
|
+
info: "#0e7490"
|
|
1644
|
+
},
|
|
1645
|
+
{ primary: "#fafafa", secondary: "#f0f0f0", tertiary: "#e0e0e0", hover: "#e0e0e0" },
|
|
1646
|
+
{ primary: "#1a1a1a", secondary: "#404040", muted: "#808080" },
|
|
1647
|
+
"#c0c0c0"
|
|
1648
|
+
);
|
|
1649
|
+
F(
|
|
1650
|
+
"Enhanced Contrast",
|
|
1651
|
+
{
|
|
1652
|
+
primary: "#0050b3",
|
|
1653
|
+
primaryHover: "#003d8c",
|
|
1654
|
+
success: "#006400",
|
|
1655
|
+
warning: "#cc7000",
|
|
1656
|
+
error: "#cc0000",
|
|
1657
|
+
info: "#006680"
|
|
1658
|
+
},
|
|
1659
|
+
{ primary: "#ffffff", secondary: "#f5f5f5", tertiary: "#ebebeb", hover: "#ebebeb" },
|
|
1660
|
+
{ primary: "#000000", secondary: "#1a1a1a", muted: "#595959" },
|
|
1661
|
+
"#8c8c8c"
|
|
1662
|
+
);
|
|
1663
|
+
F(
|
|
1664
|
+
"Minimalist",
|
|
1665
|
+
{
|
|
1666
|
+
primary: "#18181b",
|
|
1667
|
+
primaryHover: "#27272a",
|
|
1668
|
+
success: "#22c55e",
|
|
1669
|
+
warning: "#eab308",
|
|
1670
|
+
error: "#ef4444",
|
|
1671
|
+
info: "#3b82f6"
|
|
1672
|
+
},
|
|
1673
|
+
{ primary: "#ffffff", secondary: "#fafafa", tertiary: "#f5f5f5", hover: "#f5f5f5" },
|
|
1674
|
+
{ primary: "#0a0a0a", secondary: "#404040", muted: "#a3a3a3" },
|
|
1675
|
+
"#e5e5e5"
|
|
1676
|
+
);
|
|
1677
|
+
j(
|
|
1678
|
+
"Warm Dark",
|
|
1679
|
+
{
|
|
1680
|
+
primary: "#f59e0b",
|
|
1681
|
+
primaryHover: "#d97706",
|
|
1682
|
+
success: "#10b981",
|
|
1683
|
+
warning: "#fbbf24",
|
|
1684
|
+
error: "#f87171",
|
|
1685
|
+
info: "#38bdf8"
|
|
1686
|
+
},
|
|
1687
|
+
{ primary: "#1c1917", secondary: "#292524", tertiary: "#44403c", hover: "#44403c" },
|
|
1688
|
+
{ primary: "#fafaf9", secondary: "#d6d3d1", muted: "#78716c" },
|
|
1689
|
+
"#57534e"
|
|
1690
|
+
);
|
|
1691
|
+
j(
|
|
1692
|
+
"Soft Dark",
|
|
1693
|
+
{
|
|
1694
|
+
primary: "#a78bfa",
|
|
1695
|
+
primaryHover: "#8b5cf6",
|
|
1696
|
+
success: "#34d399",
|
|
1697
|
+
warning: "#fcd34d",
|
|
1698
|
+
error: "#fb7185",
|
|
1699
|
+
info: "#67e8f9"
|
|
1700
|
+
},
|
|
1701
|
+
{ primary: "#1e1e2e", secondary: "#262637", tertiary: "#313147", hover: "#313147" },
|
|
1702
|
+
{ primary: "#e8e8f0", secondary: "#a0a0b8", muted: "#5c5c74" },
|
|
1703
|
+
"#3e3e58"
|
|
1704
|
+
);
|
|
1705
|
+
F(
|
|
1706
|
+
"Coffee",
|
|
1707
|
+
{
|
|
1708
|
+
primary: "#6f4e37",
|
|
1709
|
+
primaryHover: "#5c3d28",
|
|
1710
|
+
success: "#4d7c0f",
|
|
1711
|
+
warning: "#a16207",
|
|
1712
|
+
error: "#b91c1c",
|
|
1713
|
+
info: "#0e7490"
|
|
1714
|
+
},
|
|
1715
|
+
{ primary: "#faf6f1", secondary: "#f0e8dc", tertiary: "#e6d8c6", hover: "#f0e8dc" },
|
|
1716
|
+
{ primary: "#2c1a0e", secondary: "#5c3d28", muted: "#a08868" },
|
|
1717
|
+
"#d4c4a8"
|
|
1718
|
+
);
|
|
1719
|
+
F(
|
|
1720
|
+
"Wine",
|
|
1721
|
+
{
|
|
1722
|
+
primary: "#7f1d1d",
|
|
1723
|
+
primaryHover: "#641717",
|
|
1724
|
+
success: "#059669",
|
|
1725
|
+
warning: "#d97706",
|
|
1726
|
+
error: "#dc2626",
|
|
1727
|
+
info: "#0891b2"
|
|
1728
|
+
},
|
|
1729
|
+
{ primary: "#fef2f2", secondary: "#fde8e8", tertiary: "#f8d0d0", hover: "#fde8e8" },
|
|
1730
|
+
{ primary: "#3b0a0a", secondary: "#7f1d1d", muted: "#dc6868" },
|
|
1731
|
+
"#e8a0a0"
|
|
1732
|
+
);
|
|
1733
|
+
const gr = process.env.NODE_ENV === "development";
|
|
1734
|
+
let V = {
|
|
1735
|
+
enabled: gr,
|
|
1736
|
+
slowRenderThreshold: 16
|
|
1737
|
+
};
|
|
1738
|
+
const We = [], te = /* @__PURE__ */ new Map(), _e = /* @__PURE__ */ new Map();
|
|
1739
|
+
function yr() {
|
|
1740
|
+
We.length = 0, te.clear(), _e.clear();
|
|
1741
|
+
}
|
|
1742
|
+
function hr(e) {
|
|
1743
|
+
const t = V.slowRenderThreshold;
|
|
1744
|
+
return We.filter((r) => r.actualDuration > t);
|
|
1745
|
+
}
|
|
1746
|
+
function ee(e) {
|
|
1747
|
+
return e < 1 ? `${(e * 1e3).toFixed(0)}μs` : e < 1e3 ? `${e.toFixed(2)}ms` : `${(e / 1e3).toFixed(2)}s`;
|
|
1748
|
+
}
|
|
1749
|
+
function Zo() {
|
|
1750
|
+
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
|
+
return { stats: e, slowRenders: t, totalRenders: r, avgRenderTime: a, marks: n };
|
|
1752
|
+
}
|
|
1753
|
+
function br() {
|
|
1754
|
+
const e = Zo();
|
|
1755
|
+
console.group(
|
|
1756
|
+
"%c[Nice2Dev Performance Report]",
|
|
1757
|
+
"color: var(--nice-info, #6366f1); font-weight: bold; font-size: 14px"
|
|
1758
|
+
), console.log(`Total renders: ${e.totalRenders}`), console.log(`Average render time: ${ee(e.avgRenderTime)}`), console.log(`Slow renders: ${e.slowRenders.length}`), console.group("Component Stats"), console.table(
|
|
1759
|
+
e.stats.sort((t, r) => r.totalRenderTime - t.totalRenderTime).map((t) => ({
|
|
1760
|
+
Name: t.componentName,
|
|
1761
|
+
Renders: t.renderCount,
|
|
1762
|
+
"Avg Time": ee(t.avgRenderTime),
|
|
1763
|
+
"Max Time": ee(t.maxRenderTime),
|
|
1764
|
+
"Total Time": ee(t.totalRenderTime),
|
|
1765
|
+
"Slow Renders": t.slowRenderCount
|
|
1766
|
+
}))
|
|
1767
|
+
), console.groupEnd(), e.slowRenders.length > 0 && (console.group("Slow Renders (last 10)"), console.table(
|
|
1768
|
+
e.slowRenders.slice(-10).map((t) => ({
|
|
1769
|
+
Component: t.componentName,
|
|
1770
|
+
Phase: t.phase,
|
|
1771
|
+
Duration: ee(t.actualDuration),
|
|
1772
|
+
Time: new Date(t.timestamp).toLocaleTimeString()
|
|
1773
|
+
}))
|
|
1774
|
+
), console.groupEnd()), e.marks.length > 0 && (console.group("Custom Marks"), console.table(
|
|
1775
|
+
e.marks.filter((t) => t.duration).map((t) => ({
|
|
1776
|
+
Name: t.name,
|
|
1777
|
+
Duration: ee(t.duration)
|
|
1778
|
+
}))
|
|
1779
|
+
), console.groupEnd()), console.groupEnd();
|
|
1780
|
+
}
|
|
1781
|
+
const ri = memo(
|
|
1782
|
+
({ position: e = "bottom-right", defaultCollapsed: t = true }) => {
|
|
1783
|
+
const [r, a] = useState(t), [n, o] = useState([]), [i, s] = useState({ used: 0, total: 0 });
|
|
1784
|
+
if (useEffect(() => {
|
|
1785
|
+
const l = () => {
|
|
1786
|
+
const u = Array.from(te.values());
|
|
1787
|
+
o(u.sort((y, f) => f.totalRenderTime - y.totalRenderTime).slice(0, 10));
|
|
1788
|
+
const m = window.performance;
|
|
1789
|
+
m.memory && s({
|
|
1790
|
+
used: m.memory.usedJSHeapSize / 1024 / 1024,
|
|
1791
|
+
total: m.memory.totalJSHeapSize / 1024 / 1024
|
|
1792
|
+
});
|
|
1793
|
+
};
|
|
1794
|
+
l();
|
|
1795
|
+
const d = setInterval(l, 2e3);
|
|
1796
|
+
return () => clearInterval(d);
|
|
1797
|
+
}, []), !V.enabled)
|
|
1798
|
+
return null;
|
|
1799
|
+
const c = {
|
|
1800
|
+
position: "fixed",
|
|
1801
|
+
zIndex: 99999,
|
|
1802
|
+
...e.includes("top") ? { top: 8 } : { bottom: 8 },
|
|
1803
|
+
...e.includes("left") ? { left: 8 } : { right: 8 }
|
|
1804
|
+
};
|
|
1805
|
+
return /* @__PURE__ */ jsxs(
|
|
1806
|
+
"div",
|
|
1807
|
+
{
|
|
1808
|
+
style: {
|
|
1809
|
+
...c,
|
|
1810
|
+
background: "var(--nice-overlay-85, rgba(0, 0, 0, 0.85))",
|
|
1811
|
+
color: "var(--nice-text-on-primary, #fff)",
|
|
1812
|
+
borderRadius: 8,
|
|
1813
|
+
fontSize: 11,
|
|
1814
|
+
fontFamily: "Monaco, Consolas, monospace",
|
|
1815
|
+
padding: r ? "4px 8px" : 8,
|
|
1816
|
+
maxWidth: r ? "auto" : 300,
|
|
1817
|
+
maxHeight: r ? "auto" : 400,
|
|
1818
|
+
overflow: "auto"
|
|
1819
|
+
},
|
|
1820
|
+
children: [
|
|
1821
|
+
/* @__PURE__ */ jsxs(
|
|
1822
|
+
"div",
|
|
1823
|
+
{
|
|
1824
|
+
style: { cursor: "pointer", display: "flex", alignItems: "center", gap: 8 },
|
|
1825
|
+
onClick: () => a((l) => !l),
|
|
1826
|
+
children: [
|
|
1827
|
+
/* @__PURE__ */ jsx(
|
|
1828
|
+
"span",
|
|
1829
|
+
{
|
|
1830
|
+
"aria-hidden": "true",
|
|
1831
|
+
style: {
|
|
1832
|
+
width: 8,
|
|
1833
|
+
height: 8,
|
|
1834
|
+
borderRadius: "50%",
|
|
1835
|
+
background: "var(--nice-color-success, #22c55e)"
|
|
1836
|
+
}
|
|
1837
|
+
}
|
|
1838
|
+
),
|
|
1839
|
+
/* @__PURE__ */ jsx("span", { children: "Profiler" }),
|
|
1840
|
+
i.used > 0 && /* @__PURE__ */ jsxs(
|
|
1841
|
+
"span",
|
|
1842
|
+
{
|
|
1843
|
+
style: {
|
|
1844
|
+
color: i.used > 100 ? "var(--nice-color-warning, #f59e0b)" : "var(--nice-text-muted, #64748b)"
|
|
1845
|
+
},
|
|
1846
|
+
children: [
|
|
1847
|
+
i.used.toFixed(0),
|
|
1848
|
+
"MB"
|
|
1849
|
+
]
|
|
1850
|
+
}
|
|
1851
|
+
),
|
|
1852
|
+
/* @__PURE__ */ jsx("span", { style: { marginLeft: "auto", opacity: 0.5, display: "inline-flex" }, children: /* @__PURE__ */ jsx(Ae, { name: r ? "chevron-down" : "chevron-up", size: 12 }) })
|
|
1853
|
+
]
|
|
1854
|
+
}
|
|
1855
|
+
),
|
|
1856
|
+
!r && /* @__PURE__ */ jsxs("div", { style: { marginTop: 8 }, children: [
|
|
1857
|
+
/* @__PURE__ */ jsx(
|
|
1858
|
+
"div",
|
|
1859
|
+
{
|
|
1860
|
+
style: {
|
|
1861
|
+
borderBottom: "1px solid var(--nice-border-color, #333)",
|
|
1862
|
+
paddingBottom: 4,
|
|
1863
|
+
marginBottom: 8
|
|
1864
|
+
},
|
|
1865
|
+
children: /* @__PURE__ */ jsx("strong", { children: "Top Components" })
|
|
1866
|
+
}
|
|
1867
|
+
),
|
|
1868
|
+
n.map((l) => /* @__PURE__ */ jsxs("div", { style: { marginBottom: 4, display: "flex", gap: 8 }, children: [
|
|
1869
|
+
/* @__PURE__ */ jsx("span", { style: { flex: 1, overflow: "hidden", textOverflow: "ellipsis" }, children: l.componentName }),
|
|
1870
|
+
/* @__PURE__ */ jsx(
|
|
1871
|
+
"span",
|
|
1872
|
+
{
|
|
1873
|
+
style: {
|
|
1874
|
+
color: l.avgRenderTime > 16 ? "var(--nice-color-warning, #f59e0b)" : "var(--nice-color-success, #22c55e)"
|
|
1875
|
+
},
|
|
1876
|
+
children: ee(l.avgRenderTime)
|
|
1877
|
+
}
|
|
1878
|
+
),
|
|
1879
|
+
/* @__PURE__ */ jsxs(
|
|
1880
|
+
"span",
|
|
1881
|
+
{
|
|
1882
|
+
style: {
|
|
1883
|
+
color: "var(--nice-text-muted, #64748b)",
|
|
1884
|
+
minWidth: 30,
|
|
1885
|
+
textAlign: "right"
|
|
1886
|
+
},
|
|
1887
|
+
children: [
|
|
1888
|
+
"x",
|
|
1889
|
+
l.renderCount
|
|
1890
|
+
]
|
|
1891
|
+
}
|
|
1892
|
+
)
|
|
1893
|
+
] }, l.componentName)),
|
|
1894
|
+
/* @__PURE__ */ jsxs("div", { style: { marginTop: 8, display: "flex", gap: 8 }, children: [
|
|
1895
|
+
/* @__PURE__ */ jsx(
|
|
1896
|
+
"button",
|
|
1897
|
+
{
|
|
1898
|
+
onClick: br,
|
|
1899
|
+
style: {
|
|
1900
|
+
flex: 1,
|
|
1901
|
+
padding: "4px 8px",
|
|
1902
|
+
background: "var(--nice-bg-tertiary, #333)",
|
|
1903
|
+
border: "none",
|
|
1904
|
+
borderRadius: 4,
|
|
1905
|
+
color: "var(--nice-text-primary, #fff)",
|
|
1906
|
+
cursor: "pointer",
|
|
1907
|
+
fontSize: 10
|
|
1908
|
+
},
|
|
1909
|
+
children: "Print Report"
|
|
1910
|
+
}
|
|
1911
|
+
),
|
|
1912
|
+
/* @__PURE__ */ jsx(
|
|
1913
|
+
"button",
|
|
1914
|
+
{
|
|
1915
|
+
onClick: yr,
|
|
1916
|
+
style: {
|
|
1917
|
+
flex: 1,
|
|
1918
|
+
padding: "4px 8px",
|
|
1919
|
+
background: "var(--nice-bg-tertiary, #333)",
|
|
1920
|
+
border: "none",
|
|
1921
|
+
borderRadius: 4,
|
|
1922
|
+
color: "var(--nice-text-primary, #fff)",
|
|
1923
|
+
cursor: "pointer",
|
|
1924
|
+
fontSize: 10
|
|
1925
|
+
},
|
|
1926
|
+
children: "Clear"
|
|
1927
|
+
}
|
|
1928
|
+
)
|
|
1929
|
+
] })
|
|
1930
|
+
] })
|
|
1931
|
+
]
|
|
1932
|
+
}
|
|
1933
|
+
);
|
|
1934
|
+
}
|
|
1935
|
+
);
|
|
1936
|
+
ri.displayName = "ProfilerOverlay";
|
|
1937
|
+
process.env.NODE_ENV === "development";
|
|
1938
|
+
createContext(null);
|
|
1939
|
+
createContext({
|
|
1940
|
+
enabled: true,
|
|
1941
|
+
active: false,
|
|
1942
|
+
run: () => {
|
|
1943
|
+
}
|
|
1944
|
+
});
|
|
1945
|
+
const Dt = "nice-tutorial-button-styles";
|
|
1946
|
+
if (typeof document < "u" && !document.getElementById(Dt)) {
|
|
1947
|
+
const e = document.createElement("style");
|
|
1948
|
+
e.id = Dt, e.textContent = `
|
|
1949
|
+
.nice-tutorial-button {
|
|
1950
|
+
display: inline-flex;
|
|
1951
|
+
align-items: center;
|
|
1952
|
+
justify-content: center;
|
|
1953
|
+
border: 1px solid var(--nice-border, #cbd5e1);
|
|
1954
|
+
background: var(--nice-bg, #fff);
|
|
1955
|
+
color: var(--nice-text-secondary, #475569);
|
|
1956
|
+
border-radius: var(--nice-radius-full, 9999px);
|
|
1957
|
+
cursor: help;
|
|
1958
|
+
font-weight: 700;
|
|
1959
|
+
line-height: 1;
|
|
1960
|
+
padding: 0;
|
|
1961
|
+
transition: background var(--nice-transition, 200ms ease), color var(--nice-transition, 200ms ease), border-color var(--nice-transition, 200ms ease);
|
|
1962
|
+
}
|
|
1963
|
+
.nice-tutorial-button:hover {
|
|
1964
|
+
background: var(--nice-primary, #2563eb);
|
|
1965
|
+
border-color: var(--nice-primary, #2563eb);
|
|
1966
|
+
color: var(--nice-text-inverse, #fff);
|
|
1967
|
+
}
|
|
1968
|
+
.nice-tutorial-button:focus-visible {
|
|
1969
|
+
outline: none;
|
|
1970
|
+
box-shadow: 0 0 0 2px var(--nice-bg, #fff), 0 0 0 4px var(--nice-primary, #2563eb);
|
|
1971
|
+
}
|
|
1972
|
+
.nice-tutorial-button--sm { width: 16px; height: 16px; font-size: 11px; }
|
|
1973
|
+
.nice-tutorial-button--md { width: 20px; height: 20px; font-size: 12px; }
|
|
1974
|
+
`, document.head.appendChild(e);
|
|
1975
|
+
}
|
|
1976
|
+
createContext(null);
|
|
1977
|
+
createContext(null);
|
|
1978
|
+
createContext(null);
|
|
1979
|
+
createContext(null);
|
|
3
1980
|
const DEFAULT_VIEW_CONFIG$1 = {
|
|
4
1981
|
timeUnit: "day",
|
|
5
1982
|
showUtilization: true,
|
|
@@ -27,7 +2004,7 @@ const NiceResourceAllocation = ({
|
|
|
27
2004
|
readOnly = false,
|
|
28
2005
|
className = ""
|
|
29
2006
|
}) => {
|
|
30
|
-
var
|
|
2007
|
+
var _a2, _b;
|
|
31
2008
|
const config = { ...DEFAULT_VIEW_CONFIG$1, ...externalConfig };
|
|
32
2009
|
const [selectedAllocation, setSelectedAllocation] = useState(null);
|
|
33
2010
|
const [hoveredCell, setHoveredCell] = useState(null);
|
|
@@ -122,8 +2099,8 @@ const NiceResourceAllocation = ({
|
|
|
122
2099
|
[allocations, timeUnit]
|
|
123
2100
|
);
|
|
124
2101
|
const getCellColor = (resourceId, date) => {
|
|
125
|
-
var
|
|
126
|
-
const util = (
|
|
2102
|
+
var _a3;
|
|
2103
|
+
const util = (_a3 = utilizationMap.get(resourceId)) == null ? void 0 : _a3.get(date.getTime());
|
|
127
2104
|
if (!util) {
|
|
128
2105
|
return "transparent";
|
|
129
2106
|
}
|
|
@@ -153,7 +2130,7 @@ const NiceResourceAllocation = ({
|
|
|
153
2130
|
}
|
|
154
2131
|
};
|
|
155
2132
|
const handleCellClick = (resourceId, date) => {
|
|
156
|
-
var
|
|
2133
|
+
var _a3;
|
|
157
2134
|
if (readOnly) {
|
|
158
2135
|
return;
|
|
159
2136
|
}
|
|
@@ -161,7 +2138,7 @@ const NiceResourceAllocation = ({
|
|
|
161
2138
|
resourceId,
|
|
162
2139
|
start: date,
|
|
163
2140
|
end: new Date(date.getTime() + TIME_INCREMENTS[timeUnit]),
|
|
164
|
-
hoursPerDay: ((
|
|
2141
|
+
hoursPerDay: ((_a3 = resources.find((r) => r.id === resourceId)) == null ? void 0 : _a3.maxCapacity) || 8,
|
|
165
2142
|
status: "tentative"
|
|
166
2143
|
});
|
|
167
2144
|
setShowAllocationModal(true);
|
|
@@ -194,17 +2171,17 @@ const NiceResourceAllocation = ({
|
|
|
194
2171
|
const getResourceTypeIcon = (type) => {
|
|
195
2172
|
switch (type) {
|
|
196
2173
|
case "human":
|
|
197
|
-
return "
|
|
2174
|
+
return "user";
|
|
198
2175
|
case "equipment":
|
|
199
|
-
return "
|
|
2176
|
+
return "settings";
|
|
200
2177
|
case "room":
|
|
201
|
-
return "
|
|
2178
|
+
return "building";
|
|
202
2179
|
case "vehicle":
|
|
203
|
-
return "
|
|
2180
|
+
return "map-pin";
|
|
204
2181
|
case "material":
|
|
205
|
-
return "
|
|
2182
|
+
return "box";
|
|
206
2183
|
default:
|
|
207
|
-
return "
|
|
2184
|
+
return "clipboard";
|
|
208
2185
|
}
|
|
209
2186
|
};
|
|
210
2187
|
return /* @__PURE__ */ jsxs("div", { className: `nice-resource-allocation ${className}`, children: [
|
|
@@ -227,7 +2204,7 @@ const NiceResourceAllocation = ({
|
|
|
227
2204
|
unit
|
|
228
2205
|
)) }) }),
|
|
229
2206
|
/* @__PURE__ */ jsx("div", { className: "toolbar__right", children: config.showConflicts && conflicts.length > 0 && /* @__PURE__ */ jsxs("div", { className: "conflicts-badge", children: [
|
|
230
|
-
/* @__PURE__ */ jsx("span", { className: "badge-icon", children: "
|
|
2207
|
+
/* @__PURE__ */ jsx("span", { className: "badge-icon", children: /* @__PURE__ */ jsx(Ae, { name: "warning", size: 14 }) }),
|
|
231
2208
|
conflicts.length,
|
|
232
2209
|
" Conflict",
|
|
233
2210
|
conflicts.length !== 1 ? "s" : ""
|
|
@@ -235,11 +2212,23 @@ const NiceResourceAllocation = ({
|
|
|
235
2212
|
] }),
|
|
236
2213
|
/* @__PURE__ */ jsxs("div", { className: "allocation__legend", children: [
|
|
237
2214
|
/* @__PURE__ */ jsxs("div", { className: "legend-item", children: [
|
|
238
|
-
/* @__PURE__ */ jsx(
|
|
2215
|
+
/* @__PURE__ */ jsx(
|
|
2216
|
+
"span",
|
|
2217
|
+
{
|
|
2218
|
+
className: "legend-color",
|
|
2219
|
+
style: { backgroundColor: "var(--nice-success-tint-20, rgba(34, 197, 94, 0.2))" }
|
|
2220
|
+
}
|
|
2221
|
+
),
|
|
239
2222
|
/* @__PURE__ */ jsx("span", { children: "Allocated" })
|
|
240
2223
|
] }),
|
|
241
2224
|
/* @__PURE__ */ jsxs("div", { className: "legend-item", children: [
|
|
242
|
-
/* @__PURE__ */ jsx(
|
|
2225
|
+
/* @__PURE__ */ jsx(
|
|
2226
|
+
"span",
|
|
2227
|
+
{
|
|
2228
|
+
className: "legend-color",
|
|
2229
|
+
style: { backgroundColor: "var(--nice-warning-tint-30, rgba(245, 158, 11, 0.3))" }
|
|
2230
|
+
}
|
|
2231
|
+
),
|
|
243
2232
|
/* @__PURE__ */ jsxs("span", { children: [
|
|
244
2233
|
"High Utilization (",
|
|
245
2234
|
">",
|
|
@@ -249,7 +2238,13 @@ const NiceResourceAllocation = ({
|
|
|
249
2238
|
] })
|
|
250
2239
|
] }),
|
|
251
2240
|
/* @__PURE__ */ jsxs("div", { className: "legend-item", children: [
|
|
252
|
-
/* @__PURE__ */ jsx(
|
|
2241
|
+
/* @__PURE__ */ jsx(
|
|
2242
|
+
"span",
|
|
2243
|
+
{
|
|
2244
|
+
className: "legend-color",
|
|
2245
|
+
style: { backgroundColor: "var(--nice-danger-tint-40, rgba(239, 68, 68, 0.4))" }
|
|
2246
|
+
}
|
|
2247
|
+
),
|
|
253
2248
|
/* @__PURE__ */ jsx("span", { children: "Overallocated" })
|
|
254
2249
|
] })
|
|
255
2250
|
] }),
|
|
@@ -268,10 +2263,16 @@ const NiceResourceAllocation = ({
|
|
|
268
2263
|
e.stopPropagation();
|
|
269
2264
|
toggleResource(resource.id);
|
|
270
2265
|
},
|
|
271
|
-
children:
|
|
2266
|
+
children: /* @__PURE__ */ jsx(
|
|
2267
|
+
Ae,
|
|
2268
|
+
{
|
|
2269
|
+
name: expandedResources.has(resource.id) ? "chevron-down" : "chevron-right",
|
|
2270
|
+
size: 14
|
|
2271
|
+
}
|
|
2272
|
+
)
|
|
272
2273
|
}
|
|
273
2274
|
),
|
|
274
|
-
/* @__PURE__ */ jsx("span", { className: "resource-icon", children: getResourceTypeIcon(resource.type) }),
|
|
2275
|
+
/* @__PURE__ */ jsx("span", { className: "resource-icon", children: /* @__PURE__ */ jsx(Ae, { name: getResourceTypeIcon(resource.type), size: 16 }) }),
|
|
275
2276
|
/* @__PURE__ */ jsxs("div", { className: "resource-info", children: [
|
|
276
2277
|
/* @__PURE__ */ jsx("span", { className: "resource-name", children: resource.name }),
|
|
277
2278
|
resource.department && /* @__PURE__ */ jsx("span", { className: "resource-dept", children: resource.department })
|
|
@@ -282,9 +2283,9 @@ const NiceResourceAllocation = ({
|
|
|
282
2283
|
] })
|
|
283
2284
|
] }),
|
|
284
2285
|
/* @__PURE__ */ jsx("div", { className: "time-cells", children: timePeriods.map((period, idx) => {
|
|
285
|
-
var
|
|
2286
|
+
var _a3;
|
|
286
2287
|
const cellAllocations = getCellAllocations(resource.id, period);
|
|
287
|
-
const util = (
|
|
2288
|
+
const util = (_a3 = utilizationMap.get(resource.id)) == null ? void 0 : _a3.get(period.getTime());
|
|
288
2289
|
const isHovered = (hoveredCell == null ? void 0 : hoveredCell.resourceId) === resource.id && (hoveredCell == null ? void 0 : hoveredCell.date.getTime()) === period.getTime();
|
|
289
2290
|
return /* @__PURE__ */ jsxs(
|
|
290
2291
|
"div",
|
|
@@ -389,7 +2390,7 @@ const NiceResourceAllocation = ({
|
|
|
389
2390
|
"input",
|
|
390
2391
|
{
|
|
391
2392
|
type: "date",
|
|
392
|
-
value: ((
|
|
2393
|
+
value: ((_a2 = newAllocation.start) == null ? void 0 : _a2.toISOString().split("T")[0]) || "",
|
|
393
2394
|
onChange: (e) => setNewAllocation((prev) => ({ ...prev, start: new Date(e.target.value) }))
|
|
394
2395
|
}
|
|
395
2396
|
)
|
|
@@ -478,7 +2479,7 @@ const NiceInventoryManager = ({
|
|
|
478
2479
|
readOnly = false,
|
|
479
2480
|
className = ""
|
|
480
2481
|
}) => {
|
|
481
|
-
var
|
|
2482
|
+
var _a2, _b;
|
|
482
2483
|
const config = { ...DEFAULT_VIEW_CONFIG, ...externalConfig };
|
|
483
2484
|
const [filters, setFilters] = useState({});
|
|
484
2485
|
const [view, setView] = useState(config.view);
|
|
@@ -495,18 +2496,18 @@ const NiceInventoryManager = ({
|
|
|
495
2496
|
return Array.from(new Set(items.map((item) => item.category))).sort();
|
|
496
2497
|
}, [items]);
|
|
497
2498
|
const filteredItems = useMemo(() => {
|
|
498
|
-
var
|
|
2499
|
+
var _a3, _b2;
|
|
499
2500
|
let result = [...items];
|
|
500
2501
|
if (filters.searchQuery) {
|
|
501
2502
|
const query = filters.searchQuery.toLowerCase();
|
|
502
2503
|
result = result.filter(
|
|
503
2504
|
(item) => {
|
|
504
|
-
var
|
|
505
|
-
return item.name.toLowerCase().includes(query) || item.sku.toLowerCase().includes(query) || ((
|
|
2505
|
+
var _a4;
|
|
2506
|
+
return item.name.toLowerCase().includes(query) || item.sku.toLowerCase().includes(query) || ((_a4 = item.description) == null ? void 0 : _a4.toLowerCase().includes(query));
|
|
506
2507
|
}
|
|
507
2508
|
);
|
|
508
2509
|
}
|
|
509
|
-
if ((
|
|
2510
|
+
if ((_a3 = filters.categories) == null ? void 0 : _a3.length) {
|
|
510
2511
|
result = result.filter((item) => filters.categories.includes(item.category));
|
|
511
2512
|
}
|
|
512
2513
|
if ((_b2 = filters.statuses) == null ? void 0 : _b2.length) {
|
|
@@ -516,7 +2517,7 @@ const NiceInventoryManager = ({
|
|
|
516
2517
|
result = result.filter((item) => item.quantity <= item.reorderLevel);
|
|
517
2518
|
}
|
|
518
2519
|
result.sort((a, b) => {
|
|
519
|
-
var
|
|
2520
|
+
var _a4, _b3;
|
|
520
2521
|
let comparison = 0;
|
|
521
2522
|
switch (sortBy) {
|
|
522
2523
|
case "name":
|
|
@@ -532,7 +2533,7 @@ const NiceInventoryManager = ({
|
|
|
532
2533
|
comparison = a.quantity * a.cost.amount - b.quantity * b.cost.amount;
|
|
533
2534
|
break;
|
|
534
2535
|
case "lastUpdated":
|
|
535
|
-
comparison = (((
|
|
2536
|
+
comparison = (((_a4 = a.lastCountDate) == null ? void 0 : _a4.getTime()) || 0) - (((_b3 = b.lastCountDate) == null ? void 0 : _b3.getTime()) || 0);
|
|
536
2537
|
break;
|
|
537
2538
|
}
|
|
538
2539
|
return sortOrder === "asc" ? comparison : -comparison;
|
|
@@ -564,8 +2565,8 @@ const NiceInventoryManager = ({
|
|
|
564
2565
|
];
|
|
565
2566
|
statuses.forEach((status) => groups.set(status, []));
|
|
566
2567
|
filteredItems.forEach((item) => {
|
|
567
|
-
var
|
|
568
|
-
(
|
|
2568
|
+
var _a3;
|
|
2569
|
+
(_a3 = groups.get(item.status)) == null ? void 0 : _a3.push(item);
|
|
569
2570
|
});
|
|
570
2571
|
return groups;
|
|
571
2572
|
}, [filteredItems, view]);
|
|
@@ -588,21 +2589,21 @@ const NiceInventoryManager = ({
|
|
|
588
2589
|
const getTransactionIcon = (type) => {
|
|
589
2590
|
switch (type) {
|
|
590
2591
|
case "receipt":
|
|
591
|
-
return "
|
|
2592
|
+
return "download";
|
|
592
2593
|
case "issue":
|
|
593
|
-
return "
|
|
2594
|
+
return "upload";
|
|
594
2595
|
case "transfer":
|
|
595
|
-
return "
|
|
2596
|
+
return "shuffle";
|
|
596
2597
|
case "adjustment":
|
|
597
|
-
return "
|
|
2598
|
+
return "edit";
|
|
598
2599
|
case "return":
|
|
599
|
-
return "
|
|
2600
|
+
return "undo";
|
|
600
2601
|
case "count":
|
|
601
|
-
return "
|
|
2602
|
+
return "bar-chart";
|
|
602
2603
|
case "write-off":
|
|
603
|
-
return "
|
|
2604
|
+
return "close";
|
|
604
2605
|
default:
|
|
605
|
-
return "
|
|
2606
|
+
return "clipboard";
|
|
606
2607
|
}
|
|
607
2608
|
};
|
|
608
2609
|
const formatCurrency = (amount, symbol = "$") => {
|
|
@@ -658,12 +2659,12 @@ const NiceInventoryManager = ({
|
|
|
658
2659
|
onChange: (e) => setFilters((prev) => ({ ...prev, searchQuery: e.target.value }))
|
|
659
2660
|
}
|
|
660
2661
|
),
|
|
661
|
-
/* @__PURE__ */ jsx("span", { className: "search-icon", children: "
|
|
2662
|
+
/* @__PURE__ */ jsx("span", { className: "search-icon", children: /* @__PURE__ */ jsx(Ae, { name: "search", size: 14 }) })
|
|
662
2663
|
] }),
|
|
663
2664
|
/* @__PURE__ */ jsxs(
|
|
664
2665
|
"select",
|
|
665
2666
|
{
|
|
666
|
-
value: ((
|
|
2667
|
+
value: ((_a2 = filters.categories) == null ? void 0 : _a2[0]) || "",
|
|
667
2668
|
onChange: (e) => setFilters((prev) => ({
|
|
668
2669
|
...prev,
|
|
669
2670
|
categories: e.target.value ? [e.target.value] : void 0
|
|
@@ -692,7 +2693,13 @@ const NiceInventoryManager = ({
|
|
|
692
2693
|
{
|
|
693
2694
|
className: `view-button ${view === v ? "view-button--active" : ""}`,
|
|
694
2695
|
onClick: () => setView(v),
|
|
695
|
-
children:
|
|
2696
|
+
children: /* @__PURE__ */ jsx(
|
|
2697
|
+
Ae,
|
|
2698
|
+
{
|
|
2699
|
+
name: v === "grid" ? "grid" : v === "list" ? "list" : "table",
|
|
2700
|
+
size: 14
|
|
2701
|
+
}
|
|
2702
|
+
)
|
|
696
2703
|
},
|
|
697
2704
|
v
|
|
698
2705
|
)) }),
|
|
@@ -757,7 +2764,7 @@ const NiceInventoryManager = ({
|
|
|
757
2764
|
/* @__PURE__ */ jsxs("div", { className: "inventory__content", children: [
|
|
758
2765
|
activeTab === "inventory" && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
759
2766
|
view === "grid" && /* @__PURE__ */ jsx("div", { className: "items-grid", children: paginatedItems.map((item) => {
|
|
760
|
-
var
|
|
2767
|
+
var _a3;
|
|
761
2768
|
return /* @__PURE__ */ jsxs(
|
|
762
2769
|
"div",
|
|
763
2770
|
{
|
|
@@ -774,7 +2781,7 @@ const NiceInventoryManager = ({
|
|
|
774
2781
|
onClick: (e) => e.stopPropagation()
|
|
775
2782
|
}
|
|
776
2783
|
),
|
|
777
|
-
config.showImages && /* @__PURE__ */ jsx("div", { className: "item-image", children: ((
|
|
2784
|
+
config.showImages && /* @__PURE__ */ jsx("div", { className: "item-image", children: ((_a3 = item.images) == null ? void 0 : _a3[0]) ? /* @__PURE__ */ jsx("img", { src: item.images[0], alt: item.name }) : /* @__PURE__ */ jsx("span", { className: "placeholder-image", children: /* @__PURE__ */ jsx(Ae, { name: "box", size: 32 }) }) }),
|
|
778
2785
|
/* @__PURE__ */ jsxs("div", { className: "item-info", children: [
|
|
779
2786
|
/* @__PURE__ */ jsx("span", { className: "item-sku", children: item.sku }),
|
|
780
2787
|
/* @__PURE__ */ jsx("h4", { className: "item-name", children: item.name }),
|
|
@@ -794,7 +2801,10 @@ const NiceInventoryManager = ({
|
|
|
794
2801
|
" ",
|
|
795
2802
|
item.unit
|
|
796
2803
|
] }),
|
|
797
|
-
item.quantity <= item.reorderLevel && /* @__PURE__ */
|
|
2804
|
+
item.quantity <= item.reorderLevel && /* @__PURE__ */ jsxs("span", { className: "reorder-alert", children: [
|
|
2805
|
+
/* @__PURE__ */ jsx(Ae, { name: "warning", size: 12 }),
|
|
2806
|
+
" Low Stock"
|
|
2807
|
+
] })
|
|
798
2808
|
] }),
|
|
799
2809
|
/* @__PURE__ */ jsx("div", { className: "item-value", children: formatCurrency(item.quantity * item.cost.amount, item.cost.currency.symbol) })
|
|
800
2810
|
]
|
|
@@ -908,7 +2918,7 @@ const NiceInventoryManager = ({
|
|
|
908
2918
|
setEditingItem(item);
|
|
909
2919
|
setShowItemModal(true);
|
|
910
2920
|
},
|
|
911
|
-
children: "
|
|
2921
|
+
children: /* @__PURE__ */ jsx(Ae, { name: "edit", size: 14 })
|
|
912
2922
|
}
|
|
913
2923
|
),
|
|
914
2924
|
/* @__PURE__ */ jsx(
|
|
@@ -920,7 +2930,7 @@ const NiceInventoryManager = ({
|
|
|
920
2930
|
setNewTransaction({ itemId: item.id });
|
|
921
2931
|
setShowTransactionModal(true);
|
|
922
2932
|
},
|
|
923
|
-
children: "
|
|
2933
|
+
children: /* @__PURE__ */ jsx(Ae, { name: "clipboard", size: 14 })
|
|
924
2934
|
}
|
|
925
2935
|
),
|
|
926
2936
|
/* @__PURE__ */ jsx(
|
|
@@ -931,7 +2941,7 @@ const NiceInventoryManager = ({
|
|
|
931
2941
|
e.stopPropagation();
|
|
932
2942
|
onItemDelete == null ? void 0 : onItemDelete(item.id);
|
|
933
2943
|
},
|
|
934
|
-
children: "
|
|
2944
|
+
children: /* @__PURE__ */ jsx(Ae, { name: "trash", size: 14 })
|
|
935
2945
|
}
|
|
936
2946
|
)
|
|
937
2947
|
] })
|
|
@@ -993,7 +3003,7 @@ const NiceInventoryManager = ({
|
|
|
993
3003
|
/* @__PURE__ */ jsx("div", { className: "transactions-list", children: recentTransactions.map((tx) => {
|
|
994
3004
|
const item = items.find((i) => i.id === tx.itemId);
|
|
995
3005
|
return /* @__PURE__ */ jsxs("div", { className: "transaction-item", children: [
|
|
996
|
-
/* @__PURE__ */ jsx("span", { className: "tx-icon", children: getTransactionIcon(tx.type) }),
|
|
3006
|
+
/* @__PURE__ */ jsx("span", { className: "tx-icon", children: /* @__PURE__ */ jsx(Ae, { name: getTransactionIcon(tx.type), size: 16 }) }),
|
|
997
3007
|
/* @__PURE__ */ jsxs("div", { className: "tx-info", children: [
|
|
998
3008
|
/* @__PURE__ */ jsx("span", { className: "tx-type", children: tx.type }),
|
|
999
3009
|
/* @__PURE__ */ jsx("span", { className: "tx-item", children: (item == null ? void 0 : item.name) || tx.itemId })
|
|
@@ -1017,7 +3027,7 @@ const NiceInventoryManager = ({
|
|
|
1017
3027
|
}) })
|
|
1018
3028
|
] }),
|
|
1019
3029
|
activeTab === "reorder" && /* @__PURE__ */ jsx("div", { className: "reorder-tab", children: reorderItems.length === 0 ? /* @__PURE__ */ jsxs("div", { className: "empty-state", children: [
|
|
1020
|
-
/* @__PURE__ */ jsx("span", { className: "empty-icon", children: "
|
|
3030
|
+
/* @__PURE__ */ jsx("span", { className: "empty-icon", children: /* @__PURE__ */ jsx(Ae, { name: "success", size: 32 }) }),
|
|
1021
3031
|
/* @__PURE__ */ jsx("p", { children: "All items are sufficiently stocked" })
|
|
1022
3032
|
] }) : /* @__PURE__ */ jsx("div", { className: "reorder-list", children: reorderItems.map((item) => /* @__PURE__ */ jsxs("div", { className: "reorder-item", children: [
|
|
1023
3033
|
/* @__PURE__ */ jsxs("div", { className: "reorder-info", children: [
|
|
@@ -1265,13 +3275,13 @@ const NiceInventoryManager = ({
|
|
|
1265
3275
|
] });
|
|
1266
3276
|
};
|
|
1267
3277
|
const STATUS_COLOR = {
|
|
1268
|
-
draft: "var(--nice-
|
|
3278
|
+
draft: "var(--nice-text-muted, #6b7280)",
|
|
1269
3279
|
issued: "var(--nice-color-info, #2563eb)",
|
|
1270
3280
|
sent: "var(--nice-color-info, #2563eb)",
|
|
1271
3281
|
paid: "var(--nice-color-success, #16a34a)",
|
|
1272
3282
|
"partially-paid": "var(--nice-color-warning, #ca8a04)",
|
|
1273
3283
|
overdue: "var(--nice-color-danger, #dc2626)",
|
|
1274
|
-
cancelled: "var(--nice-
|
|
3284
|
+
cancelled: "var(--nice-text-muted, #6b7280)"
|
|
1275
3285
|
};
|
|
1276
3286
|
function lineNet(line) {
|
|
1277
3287
|
const gross = line.quantity * line.unitPrice.amount;
|
|
@@ -1306,8 +3316,8 @@ const NiceInvoiceView = forwardRef(
|
|
|
1306
3316
|
style,
|
|
1307
3317
|
id
|
|
1308
3318
|
}, ref) {
|
|
1309
|
-
var
|
|
1310
|
-
const cur = currency ?? invoice.currency ?? ((
|
|
3319
|
+
var _a2;
|
|
3320
|
+
const cur = currency ?? invoice.currency ?? ((_a2 = invoice.lines[0]) == null ? void 0 : _a2.unitPrice.currency) ?? "EUR";
|
|
1311
3321
|
const L = {
|
|
1312
3322
|
invoiceNumber: "Invoice",
|
|
1313
3323
|
issueDate: "Issue date",
|
|
@@ -1380,7 +3390,19 @@ const NiceInvoiceView = forwardRef(
|
|
|
1380
3390
|
className: "nice-invoice-view__status",
|
|
1381
3391
|
style: { color: STATUS_COLOR[invoice.status] },
|
|
1382
3392
|
children: [
|
|
1383
|
-
/* @__PURE__ */ jsx(
|
|
3393
|
+
/* @__PURE__ */ jsx(
|
|
3394
|
+
"span",
|
|
3395
|
+
{
|
|
3396
|
+
"aria-hidden": true,
|
|
3397
|
+
style: {
|
|
3398
|
+
display: "inline-block",
|
|
3399
|
+
width: 8,
|
|
3400
|
+
height: 8,
|
|
3401
|
+
borderRadius: "50%",
|
|
3402
|
+
background: "currentColor"
|
|
3403
|
+
}
|
|
3404
|
+
}
|
|
3405
|
+
),
|
|
1384
3406
|
" ",
|
|
1385
3407
|
invoice.status
|
|
1386
3408
|
]
|
|
@@ -1388,8 +3410,26 @@ const NiceInvoiceView = forwardRef(
|
|
|
1388
3410
|
),
|
|
1389
3411
|
showActions && /* @__PURE__ */ jsxs("div", { className: "nice-invoice-view__actions", children: [
|
|
1390
3412
|
/* @__PURE__ */ jsx("button", { type: "button", onClick: () => onAction == null ? void 0 : onAction("download"), children: "↓" }),
|
|
1391
|
-
/* @__PURE__ */ jsx(
|
|
1392
|
-
|
|
3413
|
+
/* @__PURE__ */ jsx(
|
|
3414
|
+
"button",
|
|
3415
|
+
{
|
|
3416
|
+
type: "button",
|
|
3417
|
+
onClick: () => onAction == null ? void 0 : onAction("print"),
|
|
3418
|
+
"aria-label": "Print",
|
|
3419
|
+
title: "Print",
|
|
3420
|
+
children: /* @__PURE__ */ jsx(Ae, { name: "printer", size: 14 })
|
|
3421
|
+
}
|
|
3422
|
+
),
|
|
3423
|
+
/* @__PURE__ */ jsx(
|
|
3424
|
+
"button",
|
|
3425
|
+
{
|
|
3426
|
+
type: "button",
|
|
3427
|
+
onClick: () => onAction == null ? void 0 : onAction("send"),
|
|
3428
|
+
"aria-label": "Send",
|
|
3429
|
+
title: "Send",
|
|
3430
|
+
children: /* @__PURE__ */ jsx(Ae, { name: "mail", size: 14 })
|
|
3431
|
+
}
|
|
3432
|
+
)
|
|
1393
3433
|
] })
|
|
1394
3434
|
] }),
|
|
1395
3435
|
!(hideSections == null ? void 0 : hideSections.header) && /* @__PURE__ */ jsxs("section", { className: "nice-invoice-view__parties", children: [
|
|
@@ -1555,7 +3595,7 @@ const NiceWarehouseView = forwardRef(
|
|
|
1555
3595
|
/* @__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) => {
|
|
1556
3596
|
const key = [c.location.rack, c.location.aisle, c.location.shelf, c.location.bin].filter(Boolean).join("-") || String(idx);
|
|
1557
3597
|
const aisleBreak = aisleEvery > 0 && idx > 0 && idx % aisleEvery === 0;
|
|
1558
|
-
return /* @__PURE__ */ jsxs(
|
|
3598
|
+
return /* @__PURE__ */ jsxs(he.Fragment, { children: [
|
|
1559
3599
|
aisleBreak && /* @__PURE__ */ jsx("div", { className: "nice-warehouse-view__aisle", "aria-hidden": true }),
|
|
1560
3600
|
/* @__PURE__ */ jsx(
|
|
1561
3601
|
"button",
|
|
@@ -1644,9 +3684,9 @@ const NicePurchaseOrder = forwardRef(
|
|
|
1644
3684
|
style,
|
|
1645
3685
|
id
|
|
1646
3686
|
}, ref) {
|
|
1647
|
-
var
|
|
3687
|
+
var _a2;
|
|
1648
3688
|
const [selectedId, setSelectedId] = useState(
|
|
1649
|
-
initialSelectedId ?? ((
|
|
3689
|
+
initialSelectedId ?? ((_a2 = orders[0]) == null ? void 0 : _a2.id)
|
|
1650
3690
|
);
|
|
1651
3691
|
const L = {
|
|
1652
3692
|
orderNumber: "PO #",
|
|
@@ -1690,7 +3730,20 @@ const NicePurchaseOrder = forwardRef(
|
|
|
1690
3730
|
/* @__PURE__ */ jsx("td", { children: o.orderNumber }),
|
|
1691
3731
|
/* @__PURE__ */ jsx("td", { children: o.supplier.name }),
|
|
1692
3732
|
/* @__PURE__ */ jsx("td", { children: /* @__PURE__ */ jsxs("span", { style: { color: STATUS_TINT[o.status] }, children: [
|
|
1693
|
-
|
|
3733
|
+
/* @__PURE__ */ jsx(
|
|
3734
|
+
"span",
|
|
3735
|
+
{
|
|
3736
|
+
"aria-hidden": true,
|
|
3737
|
+
style: {
|
|
3738
|
+
display: "inline-block",
|
|
3739
|
+
width: 8,
|
|
3740
|
+
height: 8,
|
|
3741
|
+
borderRadius: "50%",
|
|
3742
|
+
background: "currentColor"
|
|
3743
|
+
}
|
|
3744
|
+
}
|
|
3745
|
+
),
|
|
3746
|
+
" ",
|
|
1694
3747
|
o.status
|
|
1695
3748
|
] }) }),
|
|
1696
3749
|
/* @__PURE__ */ jsx("td", { children: fmtDate(o.orderDate, locale) }),
|
|
@@ -1879,11 +3932,12 @@ const NiceHRDashboard = forwardRef(
|
|
|
1879
3932
|
const wait = (ms) => new Promise((r) => setTimeout(r, ms));
|
|
1880
3933
|
const NICE_VAT_PRESETS = {
|
|
1881
3934
|
PL: [
|
|
1882
|
-
{ code: "PL-23", rate: 0.23, label: "23%", description: "
|
|
1883
|
-
{ code: "PL-8", rate: 0.08, label: "8%", description: "
|
|
1884
|
-
{ code: "PL-5", rate: 0.05, label: "5%", description: "
|
|
1885
|
-
{ code: "PL-0", rate: 0, label: "0%", description: "
|
|
1886
|
-
|
|
3935
|
+
{ code: "PL-23", rate: 0.23, label: "23%", description: "Standard rate" },
|
|
3936
|
+
{ code: "PL-8", rate: 0.08, label: "8%", description: "Reduced rate" },
|
|
3937
|
+
{ code: "PL-5", rate: 0.05, label: "5%", description: "Reduced rate" },
|
|
3938
|
+
{ code: "PL-0", rate: 0, label: "0%", description: "Zero rate (export)" },
|
|
3939
|
+
// 'zw.' is the statutory marking printed on Polish invoices — not a UI string.
|
|
3940
|
+
{ code: "PL-zw", rate: 0, label: "zw.", description: "Exempt" }
|
|
1887
3941
|
],
|
|
1888
3942
|
EU: [
|
|
1889
3943
|
{ code: "EU-21", rate: 0.21, label: "21%" },
|