@nice2dev/ui 1.3.18 → 1.4.1
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/CHANGELOG.md +82 -0
- package/README.md +27 -0
- package/dist/{NiceDataGrid-CFibAGHt.cjs → NiceDataGrid-BT6iCUgP.cjs} +1 -1
- package/dist/{NiceForm-ChRj4r3f.cjs → NiceForm-Bysp66Ef.cjs} +1 -1
- package/dist/{NiceMention-DNx3d9L7.cjs → NiceMention-sc8W-DwH.cjs} +1 -1
- package/dist/NiceModuleLifecyclePanel-DBQPCa_V.cjs +1 -0
- package/dist/{NiceSavedQueryPanel-BuRAgrBk.cjs → NiceSavedQueryPanel-BbznsXFd.cjs} +1 -1
- package/dist/{NiceScheduler-DAoo1eyo.cjs → NiceScheduler-3Ez0zSQJ.cjs} +1 -1
- package/dist/{core-lazy-DohJQ33c.cjs → core-lazy-CL4ZIxF-.cjs} +1 -1
- package/dist/data.cjs +1 -1
- package/dist/editors/pickers/pickerCommons.mjs +284 -87
- package/dist/editors/pickers/themePickerHelpers.mjs +10 -8
- package/dist/editors.cjs +1 -1
- package/dist/index.cjs +166 -166
- package/dist/index.d.ts +142 -10
- package/dist/index.mjs +1517 -1488
- package/dist/navigation/sidebarColors.mjs +61 -50
- package/dist/navigation.cjs +1 -1
- package/dist/navigation.d.ts +7 -0
- package/dist/pickerCommons-CwcCc8Qi.cjs +1 -0
- package/dist/planning/NiceResourceAllocation.mjs +31 -31
- package/dist/style.css +4 -4
- package/dist/tools/NiceThemeDesigner.mjs +781 -708
- package/dist/tools/NiceThemePreview.mjs +344 -282
- package/dist/tools/themeCatalog.mjs +28 -44
- package/dist/tools/themeCatalogArchive.mjs +38 -0
- package/dist/tools/themeDesigner/ThemeSetEditors.mjs +400 -0
- package/dist/tools/themeDesigner/ThemeValueField.mjs +146 -0
- package/dist/tools/themeDesigner/themeDesignerPaths.mjs +105 -0
- package/package.json +4 -4
- package/dist/NiceModuleLifecyclePanel-D8Q081R6.cjs +0 -1
- package/dist/pickerCommons-BWglYl6J.cjs +0 -1
|
@@ -1,36 +1,68 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { useNiceTranslation as
|
|
3
|
-
import { forwardRef as
|
|
4
|
-
import { NiceTreeView as
|
|
5
|
-
import { NiceMenu as
|
|
1
|
+
import { jsx as e, jsxs as s, Fragment as w } from "react/jsx-runtime";
|
|
2
|
+
import { resolveTheme as E, useNiceTranslation as k, useControlId as L, themeToCssVars as F, NiceIcon as d } from "@nice2dev/ui-core";
|
|
3
|
+
import { forwardRef as I, useMemo as y, useState as A, useCallback as N } from "react";
|
|
4
|
+
import { NiceTreeView as O } from "../data/NiceTreeView.mjs";
|
|
5
|
+
import { NiceMenu as B } from "../navigation/NiceMenu.mjs";
|
|
6
|
+
import { NiceSidebarNav as j } from "../navigation/NiceSidebarNav.mjs";
|
|
6
7
|
/* empty css */
|
|
7
|
-
function
|
|
8
|
-
token:
|
|
9
|
-
onClick:
|
|
10
|
-
children:
|
|
11
|
-
as:
|
|
12
|
-
className:
|
|
13
|
-
style:
|
|
8
|
+
function P({
|
|
9
|
+
token: n,
|
|
10
|
+
onClick: h,
|
|
11
|
+
children: o,
|
|
12
|
+
as: p = "span",
|
|
13
|
+
className: _,
|
|
14
|
+
style: b
|
|
14
15
|
}) {
|
|
15
|
-
const { t:
|
|
16
|
-
return /* @__PURE__ */
|
|
17
|
-
|
|
16
|
+
const { t: u } = k();
|
|
17
|
+
return /* @__PURE__ */ e(
|
|
18
|
+
p,
|
|
18
19
|
{
|
|
19
|
-
className: `nice-theme-preview__token ${
|
|
20
|
-
style:
|
|
21
|
-
onClick: (
|
|
22
|
-
|
|
20
|
+
className: `nice-theme-preview__token ${_ ?? ""}`,
|
|
21
|
+
style: b,
|
|
22
|
+
onClick: (g) => {
|
|
23
|
+
g.stopPropagation(), h?.(n);
|
|
23
24
|
},
|
|
24
|
-
title:
|
|
25
|
+
title: u("themePreview.clickToEdit", "Click to edit: {token}").replace(
|
|
25
26
|
"{token}",
|
|
26
|
-
String(
|
|
27
|
+
String(n)
|
|
27
28
|
),
|
|
28
|
-
"data-token":
|
|
29
|
-
children:
|
|
29
|
+
"data-token": n,
|
|
30
|
+
children: o
|
|
30
31
|
}
|
|
31
32
|
);
|
|
32
33
|
}
|
|
33
|
-
const
|
|
34
|
+
const U = (n) => [
|
|
35
|
+
{
|
|
36
|
+
source: { id: "acme", label: n("themePreview.appName", "Acme ERP"), icon: null },
|
|
37
|
+
modules: [
|
|
38
|
+
{
|
|
39
|
+
id: "sales",
|
|
40
|
+
label: n("themePreview.navSales", "Sales"),
|
|
41
|
+
views: [
|
|
42
|
+
{
|
|
43
|
+
id: "orders",
|
|
44
|
+
label: n("themePreview.navOrders", "Orders"),
|
|
45
|
+
children: [
|
|
46
|
+
{
|
|
47
|
+
id: "archive",
|
|
48
|
+
label: n("themePreview.navArchive", "Archive"),
|
|
49
|
+
children: [{ id: "q4", label: "Q4", route: "/sales/orders/archive/q4" }]
|
|
50
|
+
},
|
|
51
|
+
{ id: "open", label: n("themePreview.navOpen", "Open"), route: "/sales/orders/open" }
|
|
52
|
+
]
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
id: "invoices",
|
|
56
|
+
label: n("themePreview.navInvoices", "Invoices"),
|
|
57
|
+
route: "/sales/invoices"
|
|
58
|
+
}
|
|
59
|
+
]
|
|
60
|
+
}
|
|
61
|
+
],
|
|
62
|
+
roles: [],
|
|
63
|
+
units: []
|
|
64
|
+
}
|
|
65
|
+
], W = [
|
|
34
66
|
{
|
|
35
67
|
id: "file",
|
|
36
68
|
label: "File",
|
|
@@ -61,56 +93,56 @@ const A = [
|
|
|
61
93
|
]
|
|
62
94
|
},
|
|
63
95
|
{ id: "view", label: "View" }
|
|
64
|
-
],
|
|
65
|
-
return
|
|
96
|
+
], G = /* @__PURE__ */ (function n(h, o = "n") {
|
|
97
|
+
return h === 0 ? [] : [
|
|
66
98
|
{
|
|
67
|
-
key: `${
|
|
68
|
-
text: `Node ${
|
|
99
|
+
key: `${o}-a`,
|
|
100
|
+
text: `Node ${o}-a (L${o.length})`,
|
|
69
101
|
expanded: !0,
|
|
70
|
-
children:
|
|
102
|
+
children: n(h - 1, `${o}a`)
|
|
71
103
|
},
|
|
72
|
-
{ key: `${
|
|
104
|
+
{ key: `${o}-b`, text: `Node ${o}-b (L${o.length})` }
|
|
73
105
|
];
|
|
74
|
-
})(6),
|
|
75
|
-
/* @__PURE__ */
|
|
106
|
+
})(6), V = ["n-a", "na-a", "naa-a", "naaa-a", "naaaa-a"], Z = /* @__PURE__ */ Object.assign(
|
|
107
|
+
/* @__PURE__ */ I((n, h) => {
|
|
76
108
|
const {
|
|
77
|
-
theme:
|
|
78
|
-
onTokenClick:
|
|
79
|
-
activeTab:
|
|
80
|
-
onTabChange:
|
|
81
|
-
className:
|
|
82
|
-
style:
|
|
83
|
-
id:
|
|
84
|
-
"data-testid":
|
|
85
|
-
} =
|
|
109
|
+
theme: o,
|
|
110
|
+
onTokenClick: p,
|
|
111
|
+
activeTab: _,
|
|
112
|
+
onTabChange: b,
|
|
113
|
+
className: u,
|
|
114
|
+
style: g,
|
|
115
|
+
id: x,
|
|
116
|
+
"data-testid": f
|
|
117
|
+
} = n, r = y(() => E(o).theme, [o]), { t: i } = k(), S = y(() => U(i), [i]), T = L(x), [C, R] = A("general"), v = _ ?? C, $ = N(
|
|
86
118
|
(c) => {
|
|
87
|
-
|
|
119
|
+
b ? b(c) : R(c);
|
|
88
120
|
},
|
|
89
|
-
[
|
|
90
|
-
),
|
|
91
|
-
const c =
|
|
92
|
-
for (const [
|
|
93
|
-
|
|
94
|
-
const t =
|
|
121
|
+
[b]
|
|
122
|
+
), M = y(() => {
|
|
123
|
+
const c = F(r), l = {};
|
|
124
|
+
for (const [m, D] of Object.entries(c))
|
|
125
|
+
l[m] = D;
|
|
126
|
+
const t = r.backgroundImage;
|
|
95
127
|
if (t && t.type && t.type !== "none") {
|
|
96
|
-
let
|
|
97
|
-
t.type === "gradient" && t.gradient ?
|
|
128
|
+
let m = "";
|
|
129
|
+
t.type === "gradient" && t.gradient ? m = t.gradient : t.type === "image" && t.imageUrl ? m = `url("${t.imageUrl}")` : t.type === "pattern" && t.pattern && (m = t.pattern.startsWith("url") || t.pattern.includes("gradient") ? t.pattern : ""), m && (l.backgroundImage = m), t.imageSize && (l.backgroundSize = t.imageSize), t.imagePosition && (l.backgroundPosition = t.imagePosition), t.imageAttachment && (l.backgroundAttachment = t.imageAttachment), t.imageRepeat && (l.backgroundRepeat = t.imageRepeat), t.blendMode && (l.backgroundBlendMode = t.blendMode), typeof t.opacity == "number" && (l["--ntd-bg-image-opacity"] = String(t.opacity));
|
|
98
130
|
}
|
|
99
|
-
return { ...
|
|
100
|
-
}, [
|
|
101
|
-
(c,
|
|
102
|
-
|
|
131
|
+
return { ...l, ...g };
|
|
132
|
+
}, [r, g]), a = N(
|
|
133
|
+
(c, l, t) => /* @__PURE__ */ e(
|
|
134
|
+
P,
|
|
103
135
|
{
|
|
104
136
|
token: c,
|
|
105
|
-
onClick:
|
|
137
|
+
onClick: p,
|
|
106
138
|
as: t?.as,
|
|
107
139
|
className: t?.className,
|
|
108
140
|
style: t?.style,
|
|
109
|
-
children:
|
|
141
|
+
children: l
|
|
110
142
|
}
|
|
111
143
|
),
|
|
112
|
-
[
|
|
113
|
-
),
|
|
144
|
+
[p]
|
|
145
|
+
), z = [
|
|
114
146
|
{ key: "general", label: i("themePreview.tabGeneral", "General"), icon: "palette" },
|
|
115
147
|
{ key: "forms", label: i("themePreview.tabForms", "Forms"), icon: "edit" },
|
|
116
148
|
{ key: "data", label: i("themePreview.tabData", "Data"), icon: "bar-chart" },
|
|
@@ -120,169 +152,169 @@ const A = [
|
|
|
120
152
|
return /* @__PURE__ */ s(
|
|
121
153
|
"div",
|
|
122
154
|
{
|
|
123
|
-
ref:
|
|
124
|
-
id:
|
|
125
|
-
className: `nice-theme-preview ${
|
|
126
|
-
style:
|
|
127
|
-
"data-testid":
|
|
155
|
+
ref: h,
|
|
156
|
+
id: T,
|
|
157
|
+
className: `nice-theme-preview ${u ?? ""}`,
|
|
158
|
+
style: M,
|
|
159
|
+
"data-testid": f,
|
|
128
160
|
children: [
|
|
129
|
-
/* @__PURE__ */
|
|
161
|
+
/* @__PURE__ */ e("div", { className: "nice-theme-preview__tabs", children: z.map((c) => /* @__PURE__ */ s(
|
|
130
162
|
"button",
|
|
131
163
|
{
|
|
132
|
-
className: `nice-theme-preview__tab ${
|
|
133
|
-
onClick: () =>
|
|
164
|
+
className: `nice-theme-preview__tab ${v === c.key ? "nice-theme-preview__tab--active" : ""}`,
|
|
165
|
+
onClick: () => $(c.key),
|
|
134
166
|
children: [
|
|
135
|
-
/* @__PURE__ */
|
|
167
|
+
/* @__PURE__ */ e("span", { className: "nice-theme-preview__tab-icon", children: /* @__PURE__ */ e(d, { name: c.icon, size: 16 }) }),
|
|
136
168
|
c.label
|
|
137
169
|
]
|
|
138
170
|
},
|
|
139
171
|
c.key
|
|
140
172
|
)) }),
|
|
141
173
|
/* @__PURE__ */ s("div", { className: "nice-theme-preview__body", children: [
|
|
142
|
-
|
|
143
|
-
/* @__PURE__ */
|
|
174
|
+
v === "general" && /* @__PURE__ */ s("div", { className: "nice-theme-preview__section", children: [
|
|
175
|
+
/* @__PURE__ */ e("h4", { className: "nice-theme-preview__heading", children: i("themePreview.colors", "Colors") }),
|
|
144
176
|
/* @__PURE__ */ s("div", { className: "nice-theme-preview__swatches", children: [
|
|
145
177
|
a(
|
|
146
178
|
"colors.primary",
|
|
147
|
-
/* @__PURE__ */ s(
|
|
148
|
-
/* @__PURE__ */
|
|
179
|
+
/* @__PURE__ */ s(w, { children: [
|
|
180
|
+
/* @__PURE__ */ e(
|
|
149
181
|
"div",
|
|
150
182
|
{
|
|
151
183
|
className: "nice-theme-preview__swatch",
|
|
152
|
-
style: { background:
|
|
184
|
+
style: { background: r.colors.primary }
|
|
153
185
|
}
|
|
154
186
|
),
|
|
155
|
-
/* @__PURE__ */
|
|
187
|
+
/* @__PURE__ */ e("span", { children: i("themePreview.primary", "Primary") })
|
|
156
188
|
] })
|
|
157
189
|
),
|
|
158
190
|
a(
|
|
159
191
|
"colors.success",
|
|
160
|
-
/* @__PURE__ */ s(
|
|
161
|
-
/* @__PURE__ */
|
|
192
|
+
/* @__PURE__ */ s(w, { children: [
|
|
193
|
+
/* @__PURE__ */ e(
|
|
162
194
|
"div",
|
|
163
195
|
{
|
|
164
196
|
className: "nice-theme-preview__swatch",
|
|
165
|
-
style: { background:
|
|
197
|
+
style: { background: r.colors.success }
|
|
166
198
|
}
|
|
167
199
|
),
|
|
168
|
-
/* @__PURE__ */
|
|
200
|
+
/* @__PURE__ */ e("span", { children: i("themePreview.success", "Success") })
|
|
169
201
|
] })
|
|
170
202
|
),
|
|
171
203
|
a(
|
|
172
204
|
"colors.warning",
|
|
173
|
-
/* @__PURE__ */ s(
|
|
174
|
-
/* @__PURE__ */
|
|
205
|
+
/* @__PURE__ */ s(w, { children: [
|
|
206
|
+
/* @__PURE__ */ e(
|
|
175
207
|
"div",
|
|
176
208
|
{
|
|
177
209
|
className: "nice-theme-preview__swatch",
|
|
178
|
-
style: { background:
|
|
210
|
+
style: { background: r.colors.warning }
|
|
179
211
|
}
|
|
180
212
|
),
|
|
181
|
-
/* @__PURE__ */
|
|
213
|
+
/* @__PURE__ */ e("span", { children: i("themePreview.warning", "Warning") })
|
|
182
214
|
] })
|
|
183
215
|
),
|
|
184
216
|
a(
|
|
185
217
|
"colors.error",
|
|
186
|
-
/* @__PURE__ */ s(
|
|
187
|
-
/* @__PURE__ */
|
|
218
|
+
/* @__PURE__ */ s(w, { children: [
|
|
219
|
+
/* @__PURE__ */ e(
|
|
188
220
|
"div",
|
|
189
221
|
{
|
|
190
222
|
className: "nice-theme-preview__swatch",
|
|
191
|
-
style: { background:
|
|
223
|
+
style: { background: r.colors.error }
|
|
192
224
|
}
|
|
193
225
|
),
|
|
194
|
-
/* @__PURE__ */
|
|
226
|
+
/* @__PURE__ */ e("span", { children: i("themePreview.error", "Error") })
|
|
195
227
|
] })
|
|
196
228
|
),
|
|
197
229
|
a(
|
|
198
230
|
"colors.info",
|
|
199
|
-
/* @__PURE__ */ s(
|
|
200
|
-
/* @__PURE__ */
|
|
231
|
+
/* @__PURE__ */ s(w, { children: [
|
|
232
|
+
/* @__PURE__ */ e(
|
|
201
233
|
"div",
|
|
202
234
|
{
|
|
203
235
|
className: "nice-theme-preview__swatch",
|
|
204
|
-
style: { background:
|
|
236
|
+
style: { background: r.colors.info }
|
|
205
237
|
}
|
|
206
238
|
),
|
|
207
|
-
/* @__PURE__ */
|
|
239
|
+
/* @__PURE__ */ e("span", { children: i("themePreview.info", "Info") })
|
|
208
240
|
] })
|
|
209
241
|
)
|
|
210
242
|
] }),
|
|
211
|
-
/* @__PURE__ */
|
|
243
|
+
/* @__PURE__ */ e("h4", { className: "nice-theme-preview__heading", children: i("themePreview.backgrounds", "Backgrounds") }),
|
|
212
244
|
/* @__PURE__ */ s("div", { className: "nice-theme-preview__bg-row", children: [
|
|
213
245
|
a(
|
|
214
246
|
"backgrounds.primary",
|
|
215
|
-
/* @__PURE__ */
|
|
247
|
+
/* @__PURE__ */ e(
|
|
216
248
|
"div",
|
|
217
249
|
{
|
|
218
250
|
className: "nice-theme-preview__bg-card",
|
|
219
|
-
style: { background:
|
|
251
|
+
style: { background: r.backgrounds.primary },
|
|
220
252
|
children: i("themePreview.primary", "Primary")
|
|
221
253
|
}
|
|
222
254
|
)
|
|
223
255
|
),
|
|
224
256
|
a(
|
|
225
257
|
"backgrounds.secondary",
|
|
226
|
-
/* @__PURE__ */
|
|
258
|
+
/* @__PURE__ */ e(
|
|
227
259
|
"div",
|
|
228
260
|
{
|
|
229
261
|
className: "nice-theme-preview__bg-card",
|
|
230
|
-
style: { background:
|
|
262
|
+
style: { background: r.backgrounds.secondary },
|
|
231
263
|
children: i("themePreview.secondary", "Secondary")
|
|
232
264
|
}
|
|
233
265
|
)
|
|
234
266
|
),
|
|
235
267
|
a(
|
|
236
268
|
"backgrounds.tertiary",
|
|
237
|
-
/* @__PURE__ */
|
|
269
|
+
/* @__PURE__ */ e(
|
|
238
270
|
"div",
|
|
239
271
|
{
|
|
240
272
|
className: "nice-theme-preview__bg-card",
|
|
241
|
-
style: { background:
|
|
273
|
+
style: { background: r.backgrounds.tertiary },
|
|
242
274
|
children: i("themePreview.tertiary", "Tertiary")
|
|
243
275
|
}
|
|
244
276
|
)
|
|
245
277
|
)
|
|
246
278
|
] }),
|
|
247
|
-
/* @__PURE__ */
|
|
279
|
+
/* @__PURE__ */ e("h4", { className: "nice-theme-preview__heading", children: i("themePreview.typography", "Typography") }),
|
|
248
280
|
/* @__PURE__ */ s("div", { className: "nice-theme-preview__typo", children: [
|
|
249
281
|
a(
|
|
250
282
|
"typography.fontFamily",
|
|
251
|
-
/* @__PURE__ */
|
|
283
|
+
/* @__PURE__ */ e("p", { style: { fontFamily: r.typography.fontFamily }, children: r.typography.fontFamily })
|
|
252
284
|
),
|
|
253
285
|
a(
|
|
254
286
|
"text.primary",
|
|
255
|
-
/* @__PURE__ */
|
|
287
|
+
/* @__PURE__ */ e("p", { style: { color: r.text.primary, fontSize: r.typography.fontSizeLg }, children: i(
|
|
256
288
|
"themePreview.samplePrimaryText",
|
|
257
289
|
"Primary Text — The quick brown fox jumps over the lazy dog"
|
|
258
290
|
) })
|
|
259
291
|
),
|
|
260
292
|
a(
|
|
261
293
|
"text.secondary",
|
|
262
|
-
/* @__PURE__ */
|
|
294
|
+
/* @__PURE__ */ e("p", { style: { color: r.text.secondary, fontSize: r.typography.fontSizeMd }, children: i(
|
|
263
295
|
"themePreview.sampleSecondaryText",
|
|
264
296
|
"Secondary Text — Supporting content and metadata"
|
|
265
297
|
) })
|
|
266
298
|
),
|
|
267
299
|
a(
|
|
268
300
|
"text.muted",
|
|
269
|
-
/* @__PURE__ */
|
|
301
|
+
/* @__PURE__ */ e("p", { style: { color: r.text.muted, fontSize: r.typography.fontSizeSm }, children: i(
|
|
270
302
|
"themePreview.sampleMutedText",
|
|
271
303
|
"Muted Text — Hints, timestamps, and disabled labels"
|
|
272
304
|
) })
|
|
273
305
|
)
|
|
274
306
|
] }),
|
|
275
|
-
/* @__PURE__ */
|
|
307
|
+
/* @__PURE__ */ e("h4", { className: "nice-theme-preview__heading", children: i("themePreview.bordersShadows", "Borders & Shadows") }),
|
|
276
308
|
/* @__PURE__ */ s("div", { className: "nice-theme-preview__cards-row", children: [
|
|
277
309
|
a(
|
|
278
310
|
"borders.radiusSm",
|
|
279
|
-
/* @__PURE__ */
|
|
311
|
+
/* @__PURE__ */ e(
|
|
280
312
|
"div",
|
|
281
313
|
{
|
|
282
314
|
className: "nice-theme-preview__demo-card",
|
|
283
315
|
style: {
|
|
284
|
-
borderRadius:
|
|
285
|
-
border: `1px solid ${
|
|
316
|
+
borderRadius: r.borders.radiusSm,
|
|
317
|
+
border: `1px solid ${r.borders.color}`
|
|
286
318
|
},
|
|
287
319
|
children: i("themePreview.smRadius", "SM radius")
|
|
288
320
|
}
|
|
@@ -290,13 +322,13 @@ const A = [
|
|
|
290
322
|
),
|
|
291
323
|
a(
|
|
292
324
|
"borders.radiusMd",
|
|
293
|
-
/* @__PURE__ */
|
|
325
|
+
/* @__PURE__ */ e(
|
|
294
326
|
"div",
|
|
295
327
|
{
|
|
296
328
|
className: "nice-theme-preview__demo-card",
|
|
297
329
|
style: {
|
|
298
|
-
borderRadius:
|
|
299
|
-
border: `1px solid ${
|
|
330
|
+
borderRadius: r.borders.radiusMd,
|
|
331
|
+
border: `1px solid ${r.borders.color}`
|
|
300
332
|
},
|
|
301
333
|
children: i("themePreview.mdRadius", "MD radius")
|
|
302
334
|
}
|
|
@@ -304,13 +336,13 @@ const A = [
|
|
|
304
336
|
),
|
|
305
337
|
a(
|
|
306
338
|
"borders.radiusLg",
|
|
307
|
-
/* @__PURE__ */
|
|
339
|
+
/* @__PURE__ */ e(
|
|
308
340
|
"div",
|
|
309
341
|
{
|
|
310
342
|
className: "nice-theme-preview__demo-card",
|
|
311
343
|
style: {
|
|
312
|
-
borderRadius:
|
|
313
|
-
border: `1px solid ${
|
|
344
|
+
borderRadius: r.borders.radiusLg,
|
|
345
|
+
border: `1px solid ${r.borders.color}`
|
|
314
346
|
},
|
|
315
347
|
children: i("themePreview.lgRadius", "LG radius")
|
|
316
348
|
}
|
|
@@ -318,99 +350,99 @@ const A = [
|
|
|
318
350
|
),
|
|
319
351
|
a(
|
|
320
352
|
"shadows.md",
|
|
321
|
-
/* @__PURE__ */
|
|
353
|
+
/* @__PURE__ */ e(
|
|
322
354
|
"div",
|
|
323
355
|
{
|
|
324
356
|
className: "nice-theme-preview__demo-card",
|
|
325
|
-
style: { boxShadow:
|
|
357
|
+
style: { boxShadow: r.shadows.md },
|
|
326
358
|
children: i("themePreview.mdShadow", "MD shadow")
|
|
327
359
|
}
|
|
328
360
|
)
|
|
329
361
|
),
|
|
330
362
|
a(
|
|
331
363
|
"shadows.lg",
|
|
332
|
-
/* @__PURE__ */
|
|
364
|
+
/* @__PURE__ */ e(
|
|
333
365
|
"div",
|
|
334
366
|
{
|
|
335
367
|
className: "nice-theme-preview__demo-card",
|
|
336
|
-
style: { boxShadow:
|
|
368
|
+
style: { boxShadow: r.shadows.lg },
|
|
337
369
|
children: i("themePreview.lgShadow", "LG shadow")
|
|
338
370
|
}
|
|
339
371
|
)
|
|
340
372
|
)
|
|
341
373
|
] })
|
|
342
374
|
] }),
|
|
343
|
-
|
|
344
|
-
/* @__PURE__ */
|
|
375
|
+
v === "forms" && /* @__PURE__ */ s("div", { className: "nice-theme-preview__section", children: [
|
|
376
|
+
/* @__PURE__ */ e("h4", { className: "nice-theme-preview__heading", children: i("themePreview.buttons", "Buttons") }),
|
|
345
377
|
/* @__PURE__ */ s("div", { className: "nice-theme-preview__button-row", children: [
|
|
346
378
|
a(
|
|
347
379
|
"colors.primary",
|
|
348
|
-
/* @__PURE__ */
|
|
380
|
+
/* @__PURE__ */ e(
|
|
349
381
|
"button",
|
|
350
382
|
{
|
|
351
383
|
className: "nice-theme-preview__btn nice-theme-preview__btn--primary",
|
|
352
|
-
style: { background:
|
|
384
|
+
style: { background: r.colors.primary },
|
|
353
385
|
children: i("themePreview.primary", "Primary")
|
|
354
386
|
}
|
|
355
387
|
)
|
|
356
388
|
),
|
|
357
389
|
a(
|
|
358
390
|
"colors.success",
|
|
359
|
-
/* @__PURE__ */
|
|
391
|
+
/* @__PURE__ */ e(
|
|
360
392
|
"button",
|
|
361
393
|
{
|
|
362
394
|
className: "nice-theme-preview__btn nice-theme-preview__btn--success",
|
|
363
|
-
style: { background:
|
|
395
|
+
style: { background: r.colors.success },
|
|
364
396
|
children: i("themePreview.success", "Success")
|
|
365
397
|
}
|
|
366
398
|
)
|
|
367
399
|
),
|
|
368
400
|
a(
|
|
369
401
|
"colors.warning",
|
|
370
|
-
/* @__PURE__ */
|
|
402
|
+
/* @__PURE__ */ e(
|
|
371
403
|
"button",
|
|
372
404
|
{
|
|
373
405
|
className: "nice-theme-preview__btn nice-theme-preview__btn--warning",
|
|
374
|
-
style: { background:
|
|
406
|
+
style: { background: r.colors.warning },
|
|
375
407
|
children: i("themePreview.warning", "Warning")
|
|
376
408
|
}
|
|
377
409
|
)
|
|
378
410
|
),
|
|
379
411
|
a(
|
|
380
412
|
"colors.error",
|
|
381
|
-
/* @__PURE__ */
|
|
413
|
+
/* @__PURE__ */ e(
|
|
382
414
|
"button",
|
|
383
415
|
{
|
|
384
416
|
className: "nice-theme-preview__btn nice-theme-preview__btn--error",
|
|
385
|
-
style: { background:
|
|
417
|
+
style: { background: r.colors.error },
|
|
386
418
|
children: i("themePreview.danger", "Danger")
|
|
387
419
|
}
|
|
388
420
|
)
|
|
389
421
|
),
|
|
390
422
|
a(
|
|
391
423
|
"borders.color",
|
|
392
|
-
/* @__PURE__ */
|
|
424
|
+
/* @__PURE__ */ e(
|
|
393
425
|
"button",
|
|
394
426
|
{
|
|
395
427
|
className: "nice-theme-preview__btn nice-theme-preview__btn--outline",
|
|
396
|
-
style: { borderColor:
|
|
428
|
+
style: { borderColor: r.borders.color, color: r.text.primary },
|
|
397
429
|
children: i("themePreview.outline", "Outline")
|
|
398
430
|
}
|
|
399
431
|
)
|
|
400
432
|
)
|
|
401
433
|
] }),
|
|
402
|
-
/* @__PURE__ */
|
|
434
|
+
/* @__PURE__ */ e("h4", { className: "nice-theme-preview__heading", children: i("themePreview.inputs", "Inputs") }),
|
|
403
435
|
/* @__PURE__ */ s("div", { className: "nice-theme-preview__form-grid", children: [
|
|
404
436
|
a(
|
|
405
437
|
"borders.color",
|
|
406
|
-
/* @__PURE__ */
|
|
438
|
+
/* @__PURE__ */ e(
|
|
407
439
|
"input",
|
|
408
440
|
{
|
|
409
441
|
className: "nice-theme-preview__form-input",
|
|
410
442
|
placeholder: i("themePreview.textInput", "Text input"),
|
|
411
443
|
style: {
|
|
412
|
-
borderColor:
|
|
413
|
-
borderRadius:
|
|
444
|
+
borderColor: r.borders.color,
|
|
445
|
+
borderRadius: r.borders.radiusSm
|
|
414
446
|
},
|
|
415
447
|
readOnly: !0
|
|
416
448
|
}
|
|
@@ -418,124 +450,124 @@ const A = [
|
|
|
418
450
|
),
|
|
419
451
|
a(
|
|
420
452
|
"borders.color",
|
|
421
|
-
/* @__PURE__ */
|
|
453
|
+
/* @__PURE__ */ e(
|
|
422
454
|
"select",
|
|
423
455
|
{
|
|
424
456
|
className: "nice-theme-preview__form-input",
|
|
425
457
|
style: {
|
|
426
|
-
borderColor:
|
|
427
|
-
borderRadius:
|
|
458
|
+
borderColor: r.borders.color,
|
|
459
|
+
borderRadius: r.borders.radiusSm
|
|
428
460
|
},
|
|
429
|
-
children: /* @__PURE__ */
|
|
461
|
+
children: /* @__PURE__ */ e("option", { children: i("themePreview.selectOption", "Select option") })
|
|
430
462
|
}
|
|
431
463
|
)
|
|
432
464
|
),
|
|
433
465
|
a(
|
|
434
466
|
"colors.primary",
|
|
435
467
|
/* @__PURE__ */ s("label", { className: "nice-theme-preview__checkbox", children: [
|
|
436
|
-
/* @__PURE__ */
|
|
437
|
-
/* @__PURE__ */
|
|
468
|
+
/* @__PURE__ */ e("input", { type: "checkbox", defaultChecked: !0 }),
|
|
469
|
+
/* @__PURE__ */ e("span", { style: { color: r.text.primary }, children: i("themePreview.checkbox", "Checkbox") })
|
|
438
470
|
] })
|
|
439
471
|
),
|
|
440
472
|
a(
|
|
441
473
|
"colors.primary",
|
|
442
474
|
/* @__PURE__ */ s("label", { className: "nice-theme-preview__checkbox", children: [
|
|
443
|
-
/* @__PURE__ */
|
|
444
|
-
/* @__PURE__ */
|
|
475
|
+
/* @__PURE__ */ e("input", { type: "radio", name: "demo", defaultChecked: !0 }),
|
|
476
|
+
/* @__PURE__ */ e("span", { style: { color: r.text.primary }, children: i("themePreview.radio", "Radio") })
|
|
445
477
|
] })
|
|
446
478
|
)
|
|
447
479
|
] }),
|
|
448
|
-
/* @__PURE__ */
|
|
480
|
+
/* @__PURE__ */ e("h4", { className: "nice-theme-preview__heading", children: i("themePreview.toggleRange", "Toggle & Range") }),
|
|
449
481
|
/* @__PURE__ */ s("div", { className: "nice-theme-preview__form-grid", children: [
|
|
450
482
|
a(
|
|
451
483
|
"colors.primary",
|
|
452
|
-
/* @__PURE__ */
|
|
484
|
+
/* @__PURE__ */ e(
|
|
453
485
|
"div",
|
|
454
486
|
{
|
|
455
487
|
className: "nice-theme-preview__toggle",
|
|
456
|
-
style: { background:
|
|
457
|
-
children: /* @__PURE__ */
|
|
488
|
+
style: { background: r.colors.primary },
|
|
489
|
+
children: /* @__PURE__ */ e("div", { className: "nice-theme-preview__toggle-thumb" })
|
|
458
490
|
}
|
|
459
491
|
)
|
|
460
492
|
),
|
|
461
493
|
a(
|
|
462
494
|
"colors.primary",
|
|
463
|
-
/* @__PURE__ */
|
|
495
|
+
/* @__PURE__ */ e(
|
|
464
496
|
"input",
|
|
465
497
|
{
|
|
466
498
|
type: "range",
|
|
467
499
|
className: "nice-theme-preview__range",
|
|
468
500
|
defaultValue: 65,
|
|
469
|
-
style: { accentColor:
|
|
501
|
+
style: { accentColor: r.colors.primary }
|
|
470
502
|
}
|
|
471
503
|
)
|
|
472
504
|
)
|
|
473
505
|
] })
|
|
474
506
|
] }),
|
|
475
|
-
|
|
476
|
-
/* @__PURE__ */
|
|
507
|
+
v === "data" && /* @__PURE__ */ s("div", { className: "nice-theme-preview__section", children: [
|
|
508
|
+
/* @__PURE__ */ e("h4", { className: "nice-theme-preview__heading", children: i("themePreview.table", "Table") }),
|
|
477
509
|
/* @__PURE__ */ s(
|
|
478
510
|
"table",
|
|
479
511
|
{
|
|
480
512
|
className: "nice-theme-preview__table",
|
|
481
|
-
style: { borderColor:
|
|
513
|
+
style: { borderColor: r.borders.color },
|
|
482
514
|
children: [
|
|
483
|
-
/* @__PURE__ */
|
|
484
|
-
a("backgrounds.secondary", /* @__PURE__ */
|
|
485
|
-
/* @__PURE__ */
|
|
486
|
-
/* @__PURE__ */
|
|
515
|
+
/* @__PURE__ */ e("thead", { children: /* @__PURE__ */ s("tr", { style: { background: r.backgrounds.secondary }, children: [
|
|
516
|
+
a("backgrounds.secondary", /* @__PURE__ */ e("th", { children: i("themePreview.name", "Name") })),
|
|
517
|
+
/* @__PURE__ */ e("th", { children: i("themePreview.status", "Status") }),
|
|
518
|
+
/* @__PURE__ */ e("th", { children: i("themePreview.value", "Value") })
|
|
487
519
|
] }) }),
|
|
488
520
|
/* @__PURE__ */ s("tbody", { children: [
|
|
489
|
-
/* @__PURE__ */ s("tr", { style: { background:
|
|
490
|
-
/* @__PURE__ */
|
|
521
|
+
/* @__PURE__ */ s("tr", { style: { background: r.backgrounds.primary }, children: [
|
|
522
|
+
/* @__PURE__ */ e("td", { children: i("themePreview.widgetAlpha", "Widget Alpha") }),
|
|
491
523
|
a(
|
|
492
524
|
"colors.success",
|
|
493
|
-
/* @__PURE__ */
|
|
525
|
+
/* @__PURE__ */ e("td", { children: /* @__PURE__ */ e(
|
|
494
526
|
"span",
|
|
495
527
|
{
|
|
496
528
|
className: "nice-theme-preview__badge nice-theme-preview__badge--success",
|
|
497
|
-
style: { background:
|
|
529
|
+
style: { background: r.colors.success },
|
|
498
530
|
children: i("themePreview.active", "Active")
|
|
499
531
|
}
|
|
500
532
|
) })
|
|
501
533
|
),
|
|
502
|
-
/* @__PURE__ */
|
|
534
|
+
/* @__PURE__ */ e("td", { children: "$1,200" })
|
|
503
535
|
] }),
|
|
504
|
-
/* @__PURE__ */ s("tr", { style: { background:
|
|
505
|
-
/* @__PURE__ */
|
|
536
|
+
/* @__PURE__ */ s("tr", { style: { background: r.backgrounds.tertiary }, children: [
|
|
537
|
+
/* @__PURE__ */ e("td", { children: i("themePreview.widgetBeta", "Widget Beta") }),
|
|
506
538
|
a(
|
|
507
539
|
"colors.warning",
|
|
508
|
-
/* @__PURE__ */
|
|
540
|
+
/* @__PURE__ */ e("td", { children: /* @__PURE__ */ e(
|
|
509
541
|
"span",
|
|
510
542
|
{
|
|
511
543
|
className: "nice-theme-preview__badge nice-theme-preview__badge--warning",
|
|
512
|
-
style: { background:
|
|
544
|
+
style: { background: r.colors.warning },
|
|
513
545
|
children: i("themePreview.pending", "Pending")
|
|
514
546
|
}
|
|
515
547
|
) })
|
|
516
548
|
),
|
|
517
|
-
/* @__PURE__ */
|
|
549
|
+
/* @__PURE__ */ e("td", { children: "$830" })
|
|
518
550
|
] }),
|
|
519
|
-
/* @__PURE__ */ s("tr", { style: { background:
|
|
520
|
-
/* @__PURE__ */
|
|
551
|
+
/* @__PURE__ */ s("tr", { style: { background: r.backgrounds.primary }, children: [
|
|
552
|
+
/* @__PURE__ */ e("td", { children: i("themePreview.widgetGamma", "Widget Gamma") }),
|
|
521
553
|
a(
|
|
522
554
|
"colors.error",
|
|
523
|
-
/* @__PURE__ */
|
|
555
|
+
/* @__PURE__ */ e("td", { children: /* @__PURE__ */ e(
|
|
524
556
|
"span",
|
|
525
557
|
{
|
|
526
558
|
className: "nice-theme-preview__badge nice-theme-preview__badge--error",
|
|
527
|
-
style: { background:
|
|
559
|
+
style: { background: r.colors.error },
|
|
528
560
|
children: i("themePreview.inactive", "Inactive")
|
|
529
561
|
}
|
|
530
562
|
) })
|
|
531
563
|
),
|
|
532
|
-
/* @__PURE__ */
|
|
564
|
+
/* @__PURE__ */ e("td", { children: "$450" })
|
|
533
565
|
] })
|
|
534
566
|
] })
|
|
535
567
|
]
|
|
536
568
|
}
|
|
537
569
|
),
|
|
538
|
-
/* @__PURE__ */
|
|
570
|
+
/* @__PURE__ */ e("h4", { className: "nice-theme-preview__heading", children: i("themePreview.cards", "Cards") }),
|
|
539
571
|
/* @__PURE__ */ s("div", { className: "nice-theme-preview__cards-row", children: [
|
|
540
572
|
a(
|
|
541
573
|
"shadows.md",
|
|
@@ -544,24 +576,24 @@ const A = [
|
|
|
544
576
|
{
|
|
545
577
|
className: "nice-theme-preview__stat-card",
|
|
546
578
|
style: {
|
|
547
|
-
background:
|
|
548
|
-
boxShadow:
|
|
549
|
-
borderRadius:
|
|
579
|
+
background: r.backgrounds.primary,
|
|
580
|
+
boxShadow: r.shadows.sm,
|
|
581
|
+
borderRadius: r.borders.radiusMd
|
|
550
582
|
},
|
|
551
583
|
children: [
|
|
552
|
-
/* @__PURE__ */
|
|
584
|
+
/* @__PURE__ */ e(
|
|
553
585
|
"div",
|
|
554
586
|
{
|
|
555
587
|
className: "nice-theme-preview__stat-value",
|
|
556
|
-
style: { color:
|
|
588
|
+
style: { color: r.colors.primary },
|
|
557
589
|
children: "1,234"
|
|
558
590
|
}
|
|
559
591
|
),
|
|
560
|
-
/* @__PURE__ */
|
|
592
|
+
/* @__PURE__ */ e(
|
|
561
593
|
"div",
|
|
562
594
|
{
|
|
563
595
|
className: "nice-theme-preview__stat-label",
|
|
564
|
-
style: { color:
|
|
596
|
+
style: { color: r.text.secondary },
|
|
565
597
|
children: i("themePreview.totalUsers", "Total Users")
|
|
566
598
|
}
|
|
567
599
|
)
|
|
@@ -576,24 +608,24 @@ const A = [
|
|
|
576
608
|
{
|
|
577
609
|
className: "nice-theme-preview__stat-card",
|
|
578
610
|
style: {
|
|
579
|
-
background:
|
|
580
|
-
boxShadow:
|
|
581
|
-
borderRadius:
|
|
611
|
+
background: r.backgrounds.primary,
|
|
612
|
+
boxShadow: r.shadows.sm,
|
|
613
|
+
borderRadius: r.borders.radiusMd
|
|
582
614
|
},
|
|
583
615
|
children: [
|
|
584
|
-
/* @__PURE__ */
|
|
616
|
+
/* @__PURE__ */ e(
|
|
585
617
|
"div",
|
|
586
618
|
{
|
|
587
619
|
className: "nice-theme-preview__stat-value",
|
|
588
|
-
style: { color:
|
|
620
|
+
style: { color: r.colors.success },
|
|
589
621
|
children: "98.5%"
|
|
590
622
|
}
|
|
591
623
|
),
|
|
592
|
-
/* @__PURE__ */
|
|
624
|
+
/* @__PURE__ */ e(
|
|
593
625
|
"div",
|
|
594
626
|
{
|
|
595
627
|
className: "nice-theme-preview__stat-label",
|
|
596
|
-
style: { color:
|
|
628
|
+
style: { color: r.text.secondary },
|
|
597
629
|
children: i("themePreview.uptime", "Uptime")
|
|
598
630
|
}
|
|
599
631
|
)
|
|
@@ -608,24 +640,24 @@ const A = [
|
|
|
608
640
|
{
|
|
609
641
|
className: "nice-theme-preview__stat-card",
|
|
610
642
|
style: {
|
|
611
|
-
background:
|
|
612
|
-
boxShadow:
|
|
613
|
-
borderRadius:
|
|
643
|
+
background: r.backgrounds.primary,
|
|
644
|
+
boxShadow: r.shadows.sm,
|
|
645
|
+
borderRadius: r.borders.radiusMd
|
|
614
646
|
},
|
|
615
647
|
children: [
|
|
616
|
-
/* @__PURE__ */
|
|
648
|
+
/* @__PURE__ */ e(
|
|
617
649
|
"div",
|
|
618
650
|
{
|
|
619
651
|
className: "nice-theme-preview__stat-value",
|
|
620
|
-
style: { color:
|
|
652
|
+
style: { color: r.colors.warning },
|
|
621
653
|
children: "42"
|
|
622
654
|
}
|
|
623
655
|
),
|
|
624
|
-
/* @__PURE__ */
|
|
656
|
+
/* @__PURE__ */ e(
|
|
625
657
|
"div",
|
|
626
658
|
{
|
|
627
659
|
className: "nice-theme-preview__stat-label",
|
|
628
|
-
style: { color:
|
|
660
|
+
style: { color: r.text.secondary },
|
|
629
661
|
children: i("themePreview.pending", "Pending")
|
|
630
662
|
}
|
|
631
663
|
)
|
|
@@ -635,8 +667,8 @@ const A = [
|
|
|
635
667
|
)
|
|
636
668
|
] })
|
|
637
669
|
] }),
|
|
638
|
-
|
|
639
|
-
/* @__PURE__ */
|
|
670
|
+
v === "feedback" && /* @__PURE__ */ s("div", { className: "nice-theme-preview__section", children: [
|
|
671
|
+
/* @__PURE__ */ e("h4", { className: "nice-theme-preview__heading", children: i("themePreview.alerts", "Alerts") }),
|
|
640
672
|
/* @__PURE__ */ s("div", { className: "nice-theme-preview__alerts", children: [
|
|
641
673
|
a(
|
|
642
674
|
"colors.info",
|
|
@@ -645,11 +677,11 @@ const A = [
|
|
|
645
677
|
{
|
|
646
678
|
className: "nice-theme-preview__alert",
|
|
647
679
|
style: {
|
|
648
|
-
borderLeftColor:
|
|
649
|
-
background:
|
|
680
|
+
borderLeftColor: r.colors.info,
|
|
681
|
+
background: `color-mix(in srgb, ${r.colors.info} 7%, transparent)`
|
|
650
682
|
},
|
|
651
683
|
children: [
|
|
652
|
-
/* @__PURE__ */
|
|
684
|
+
/* @__PURE__ */ e("strong", { children: i("themePreview.infoLabel", "Info:") }),
|
|
653
685
|
" ",
|
|
654
686
|
i("themePreview.infoMessage", "This is an informational message.")
|
|
655
687
|
]
|
|
@@ -663,11 +695,11 @@ const A = [
|
|
|
663
695
|
{
|
|
664
696
|
className: "nice-theme-preview__alert",
|
|
665
697
|
style: {
|
|
666
|
-
borderLeftColor:
|
|
667
|
-
background:
|
|
698
|
+
borderLeftColor: r.colors.success,
|
|
699
|
+
background: `color-mix(in srgb, ${r.colors.success} 7%, transparent)`
|
|
668
700
|
},
|
|
669
701
|
children: [
|
|
670
|
-
/* @__PURE__ */
|
|
702
|
+
/* @__PURE__ */ e("strong", { children: i("themePreview.successLabel", "Success:") }),
|
|
671
703
|
" ",
|
|
672
704
|
i("themePreview.successMessage", "Operation completed successfully.")
|
|
673
705
|
]
|
|
@@ -681,11 +713,11 @@ const A = [
|
|
|
681
713
|
{
|
|
682
714
|
className: "nice-theme-preview__alert",
|
|
683
715
|
style: {
|
|
684
|
-
borderLeftColor:
|
|
685
|
-
background:
|
|
716
|
+
borderLeftColor: r.colors.warning,
|
|
717
|
+
background: `color-mix(in srgb, ${r.colors.warning} 7%, transparent)`
|
|
686
718
|
},
|
|
687
719
|
children: [
|
|
688
|
-
/* @__PURE__ */
|
|
720
|
+
/* @__PURE__ */ e("strong", { children: i("themePreview.warningLabel", "Warning:") }),
|
|
689
721
|
" ",
|
|
690
722
|
i("themePreview.warningMessage", "Please review before proceeding.")
|
|
691
723
|
]
|
|
@@ -699,11 +731,11 @@ const A = [
|
|
|
699
731
|
{
|
|
700
732
|
className: "nice-theme-preview__alert",
|
|
701
733
|
style: {
|
|
702
|
-
borderLeftColor:
|
|
703
|
-
background:
|
|
734
|
+
borderLeftColor: r.colors.error,
|
|
735
|
+
background: `color-mix(in srgb, ${r.colors.error} 7%, transparent)`
|
|
704
736
|
},
|
|
705
737
|
children: [
|
|
706
|
-
/* @__PURE__ */
|
|
738
|
+
/* @__PURE__ */ e("strong", { children: i("themePreview.errorLabel", "Error:") }),
|
|
707
739
|
" ",
|
|
708
740
|
i("themePreview.errorMessage", "Something went wrong.")
|
|
709
741
|
]
|
|
@@ -711,63 +743,63 @@ const A = [
|
|
|
711
743
|
)
|
|
712
744
|
)
|
|
713
745
|
] }),
|
|
714
|
-
/* @__PURE__ */
|
|
746
|
+
/* @__PURE__ */ e("h4", { className: "nice-theme-preview__heading", children: i("themePreview.progress", "Progress") }),
|
|
715
747
|
/* @__PURE__ */ s("div", { className: "nice-theme-preview__progress-row", children: [
|
|
716
748
|
a(
|
|
717
749
|
"colors.primary",
|
|
718
|
-
/* @__PURE__ */
|
|
750
|
+
/* @__PURE__ */ e("div", { className: "nice-theme-preview__progress", children: /* @__PURE__ */ e(
|
|
719
751
|
"div",
|
|
720
752
|
{
|
|
721
753
|
className: "nice-theme-preview__progress-bar",
|
|
722
754
|
style: {
|
|
723
755
|
width: "75%",
|
|
724
|
-
background:
|
|
725
|
-
borderRadius:
|
|
756
|
+
background: r.colors.primary,
|
|
757
|
+
borderRadius: r.borders.radiusFull
|
|
726
758
|
}
|
|
727
759
|
}
|
|
728
760
|
) })
|
|
729
761
|
),
|
|
730
762
|
a(
|
|
731
763
|
"colors.success",
|
|
732
|
-
/* @__PURE__ */
|
|
764
|
+
/* @__PURE__ */ e("div", { className: "nice-theme-preview__progress", children: /* @__PURE__ */ e(
|
|
733
765
|
"div",
|
|
734
766
|
{
|
|
735
767
|
className: "nice-theme-preview__progress-bar",
|
|
736
768
|
style: {
|
|
737
769
|
width: "100%",
|
|
738
|
-
background:
|
|
739
|
-
borderRadius:
|
|
770
|
+
background: r.colors.success,
|
|
771
|
+
borderRadius: r.borders.radiusFull
|
|
740
772
|
}
|
|
741
773
|
}
|
|
742
774
|
) })
|
|
743
775
|
),
|
|
744
776
|
a(
|
|
745
777
|
"colors.warning",
|
|
746
|
-
/* @__PURE__ */
|
|
778
|
+
/* @__PURE__ */ e("div", { className: "nice-theme-preview__progress", children: /* @__PURE__ */ e(
|
|
747
779
|
"div",
|
|
748
780
|
{
|
|
749
781
|
className: "nice-theme-preview__progress-bar",
|
|
750
782
|
style: {
|
|
751
783
|
width: "45%",
|
|
752
|
-
background:
|
|
753
|
-
borderRadius:
|
|
784
|
+
background: r.colors.warning,
|
|
785
|
+
borderRadius: r.borders.radiusFull
|
|
754
786
|
}
|
|
755
787
|
}
|
|
756
788
|
) })
|
|
757
789
|
)
|
|
758
790
|
] }),
|
|
759
|
-
/* @__PURE__ */
|
|
791
|
+
/* @__PURE__ */ e("h4", { className: "nice-theme-preview__heading", children: i("themePreview.tooltipTags", "Tooltip & Tags") }),
|
|
760
792
|
/* @__PURE__ */ s("div", { className: "nice-theme-preview__tag-row", children: [
|
|
761
793
|
a(
|
|
762
794
|
"colors.primary",
|
|
763
|
-
/* @__PURE__ */
|
|
795
|
+
/* @__PURE__ */ e(
|
|
764
796
|
"span",
|
|
765
797
|
{
|
|
766
798
|
className: "nice-theme-preview__tag",
|
|
767
799
|
style: {
|
|
768
|
-
background:
|
|
769
|
-
color:
|
|
770
|
-
borderRadius:
|
|
800
|
+
background: `color-mix(in srgb, ${r.colors.primary} 12.5%, transparent)`,
|
|
801
|
+
color: r.colors.primary,
|
|
802
|
+
borderRadius: r.borders.radiusFull
|
|
771
803
|
},
|
|
772
804
|
children: i("themePreview.tagReact", "React")
|
|
773
805
|
}
|
|
@@ -775,14 +807,14 @@ const A = [
|
|
|
775
807
|
),
|
|
776
808
|
a(
|
|
777
809
|
"colors.success",
|
|
778
|
-
/* @__PURE__ */
|
|
810
|
+
/* @__PURE__ */ e(
|
|
779
811
|
"span",
|
|
780
812
|
{
|
|
781
813
|
className: "nice-theme-preview__tag",
|
|
782
814
|
style: {
|
|
783
|
-
background:
|
|
784
|
-
color:
|
|
785
|
-
borderRadius:
|
|
815
|
+
background: `color-mix(in srgb, ${r.colors.success} 12.5%, transparent)`,
|
|
816
|
+
color: r.colors.success,
|
|
817
|
+
borderRadius: r.borders.radiusFull
|
|
786
818
|
},
|
|
787
819
|
children: i("themePreview.tagTypeScript", "TypeScript")
|
|
788
820
|
}
|
|
@@ -790,14 +822,14 @@ const A = [
|
|
|
790
822
|
),
|
|
791
823
|
a(
|
|
792
824
|
"colors.warning",
|
|
793
|
-
/* @__PURE__ */
|
|
825
|
+
/* @__PURE__ */ e(
|
|
794
826
|
"span",
|
|
795
827
|
{
|
|
796
828
|
className: "nice-theme-preview__tag",
|
|
797
829
|
style: {
|
|
798
|
-
background:
|
|
799
|
-
color:
|
|
800
|
-
borderRadius:
|
|
830
|
+
background: `color-mix(in srgb, ${r.colors.warning} 12.5%, transparent)`,
|
|
831
|
+
color: r.colors.warning,
|
|
832
|
+
borderRadius: r.borders.radiusFull
|
|
801
833
|
},
|
|
802
834
|
children: i("themePreview.tagCss", "CSS")
|
|
803
835
|
}
|
|
@@ -805,14 +837,14 @@ const A = [
|
|
|
805
837
|
),
|
|
806
838
|
a(
|
|
807
839
|
"colors.info",
|
|
808
|
-
/* @__PURE__ */
|
|
840
|
+
/* @__PURE__ */ e(
|
|
809
841
|
"span",
|
|
810
842
|
{
|
|
811
843
|
className: "nice-theme-preview__tag",
|
|
812
844
|
style: {
|
|
813
|
-
background:
|
|
814
|
-
color:
|
|
815
|
-
borderRadius:
|
|
845
|
+
background: `color-mix(in srgb, ${r.colors.info} 12.5%, transparent)`,
|
|
846
|
+
color: r.colors.info,
|
|
847
|
+
borderRadius: r.borders.radiusFull
|
|
816
848
|
},
|
|
817
849
|
children: i("themePreview.tagA11y", "A11y")
|
|
818
850
|
}
|
|
@@ -820,8 +852,35 @@ const A = [
|
|
|
820
852
|
)
|
|
821
853
|
] })
|
|
822
854
|
] }),
|
|
823
|
-
|
|
824
|
-
/* @__PURE__ */
|
|
855
|
+
v === "navigation" && /* @__PURE__ */ s("div", { className: "nice-theme-preview__section", children: [
|
|
856
|
+
/* @__PURE__ */ e("h4", { className: "nice-theme-preview__heading", children: i("themePreview.layout", "Layout (theme.layout)") }),
|
|
857
|
+
/* @__PURE__ */ e(P, { token: "layout.topNav.background", onClick: p, as: "div", children: /* @__PURE__ */ s("div", { className: "nice-theme-preview__app", children: [
|
|
858
|
+
/* @__PURE__ */ s("div", { className: "nice-theme-preview__app-top", children: [
|
|
859
|
+
/* @__PURE__ */ e(d, { name: "home", size: 14 }),
|
|
860
|
+
/* @__PURE__ */ e("span", { children: i("themePreview.appName", "Acme ERP") })
|
|
861
|
+
] }),
|
|
862
|
+
/* @__PURE__ */ s("div", { className: "nice-theme-preview__app-main", children: [
|
|
863
|
+
/* @__PURE__ */ e("div", { className: "nice-theme-preview__app-side", children: /* @__PURE__ */ e(
|
|
864
|
+
j,
|
|
865
|
+
{
|
|
866
|
+
data: S,
|
|
867
|
+
activeRoute: "/sales/orders/archive/q4",
|
|
868
|
+
embedded: !0,
|
|
869
|
+
minimal: !0,
|
|
870
|
+
contextMenu: !1,
|
|
871
|
+
userId: "nice-theme-preview"
|
|
872
|
+
}
|
|
873
|
+
) }),
|
|
874
|
+
/* @__PURE__ */ s("div", { className: "nice-theme-preview__app-body", children: [
|
|
875
|
+
/* @__PURE__ */ s("div", { className: "nice-card nice-theme-preview__app-panel", children: [
|
|
876
|
+
/* @__PURE__ */ e("strong", { children: i("themePreview.panel", "Panel") }),
|
|
877
|
+
/* @__PURE__ */ e("p", { children: i("themePreview.panelText", "A card on the body.") })
|
|
878
|
+
] }),
|
|
879
|
+
/* @__PURE__ */ e("div", { className: "nice-theme-preview__app-scroll", children: /* @__PURE__ */ e("div", { className: "nice-theme-preview__app-scroll-content", children: i("themePreview.scrollMe", "Scroll me") }) })
|
|
880
|
+
] })
|
|
881
|
+
] })
|
|
882
|
+
] }) }),
|
|
883
|
+
/* @__PURE__ */ e("h4", { className: "nice-theme-preview__heading", children: i("themePreview.perDepthNesting", "Per-depth nesting (theme.nesting)") }),
|
|
825
884
|
/* @__PURE__ */ s("p", { className: "nice-theme-preview__hint", children: [
|
|
826
885
|
i(
|
|
827
886
|
"themePreview.liveDemoOfNestedMenu",
|
|
@@ -838,29 +897,29 @@ const A = [
|
|
|
838
897
|
" ",
|
|
839
898
|
i("themePreview.variablesEmittedByThe", "variables emitted by the"),
|
|
840
899
|
" ",
|
|
841
|
-
/* @__PURE__ */
|
|
900
|
+
/* @__PURE__ */ e("em", { children: i("themePreview.nesting", "nesting") }),
|
|
842
901
|
i("themePreview.section", " section.")
|
|
843
902
|
] }),
|
|
844
903
|
/* @__PURE__ */ s("div", { className: "nice-theme-preview__nesting-grid", children: [
|
|
845
904
|
/* @__PURE__ */ s("div", { className: "nice-theme-preview__nesting-cell", children: [
|
|
846
|
-
/* @__PURE__ */
|
|
847
|
-
/* @__PURE__ */
|
|
905
|
+
/* @__PURE__ */ e("div", { className: "nice-theme-preview__nesting-label", children: i("themePreview.menuMaxDepth", "Menu (maxDepth = 4)") }),
|
|
906
|
+
/* @__PURE__ */ e(B, { items: W, maxDepth: 4, orientation: "horizontal" })
|
|
848
907
|
] }),
|
|
849
908
|
/* @__PURE__ */ s("div", { className: "nice-theme-preview__nesting-cell", children: [
|
|
850
|
-
/* @__PURE__ */
|
|
851
|
-
/* @__PURE__ */
|
|
852
|
-
|
|
909
|
+
/* @__PURE__ */ e("div", { className: "nice-theme-preview__nesting-label", children: i("themePreview.treeMaxDepth", "Tree (maxDepth = 6)") }),
|
|
910
|
+
/* @__PURE__ */ e(
|
|
911
|
+
O,
|
|
853
912
|
{
|
|
854
|
-
nodes:
|
|
913
|
+
nodes: G,
|
|
855
914
|
maxDepth: 6,
|
|
856
|
-
expandedKeys:
|
|
915
|
+
expandedKeys: V,
|
|
857
916
|
showLines: !0
|
|
858
917
|
}
|
|
859
918
|
)
|
|
860
919
|
] }),
|
|
861
920
|
/* @__PURE__ */ s("div", { className: "nice-theme-preview__nesting-cell", children: [
|
|
862
|
-
/* @__PURE__ */
|
|
863
|
-
/* @__PURE__ */
|
|
921
|
+
/* @__PURE__ */ e("div", { className: "nice-theme-preview__nesting-label", children: i("themePreview.sidebarLevels", "Sidebar (5 levels)") }),
|
|
922
|
+
/* @__PURE__ */ e("div", { className: "nice-theme-preview__mini-sidebar-tree", children: [1, 2, 3, 4, 5].map((c) => /* @__PURE__ */ s(
|
|
864
923
|
"div",
|
|
865
924
|
{
|
|
866
925
|
className: "nice-theme-preview__mini-sidebar-row",
|
|
@@ -874,7 +933,7 @@ const A = [
|
|
|
874
933
|
"--nice-row-active-bg": `var(--nice-sidebar-level-${c}-active-bg, transparent)`
|
|
875
934
|
},
|
|
876
935
|
children: [
|
|
877
|
-
c === 1 ? /* @__PURE__ */
|
|
936
|
+
c === 1 ? /* @__PURE__ */ e(d, { name: "folder", size: 14 }) : c === 2 ? /* @__PURE__ */ e(d, { name: "folder", size: 14 }) : c === 3 ? /* @__PURE__ */ e(d, { name: "file", size: 14 }) : c === 4 ? "· " : "— ",
|
|
878
937
|
" ",
|
|
879
938
|
i("themePreview.levelItem", "Level {level} item").replace(
|
|
880
939
|
"{level}",
|
|
@@ -886,14 +945,14 @@ const A = [
|
|
|
886
945
|
)) })
|
|
887
946
|
] })
|
|
888
947
|
] }),
|
|
889
|
-
/* @__PURE__ */
|
|
948
|
+
/* @__PURE__ */ e("h4", { className: "nice-theme-preview__heading", children: i("themePreview.sidebar", "Sidebar") }),
|
|
890
949
|
/* @__PURE__ */ s(
|
|
891
950
|
"div",
|
|
892
951
|
{
|
|
893
952
|
className: "nice-theme-preview__mini-sidebar",
|
|
894
953
|
style: {
|
|
895
|
-
background:
|
|
896
|
-
borderColor:
|
|
954
|
+
background: r.backgrounds.secondary,
|
|
955
|
+
borderColor: r.borders.color
|
|
897
956
|
},
|
|
898
957
|
children: [
|
|
899
958
|
a(
|
|
@@ -902,9 +961,12 @@ const A = [
|
|
|
902
961
|
"div",
|
|
903
962
|
{
|
|
904
963
|
className: "nice-theme-preview__sidebar-item nice-theme-preview__sidebar-item--active",
|
|
905
|
-
style: {
|
|
964
|
+
style: {
|
|
965
|
+
background: `color-mix(in srgb, ${r.colors.primary} 8%, transparent)`,
|
|
966
|
+
color: r.colors.primary
|
|
967
|
+
},
|
|
906
968
|
children: [
|
|
907
|
-
/* @__PURE__ */
|
|
969
|
+
/* @__PURE__ */ e(d, { name: "bar-chart", size: 16 }),
|
|
908
970
|
" ",
|
|
909
971
|
i("themePreview.dashboard", "Dashboard")
|
|
910
972
|
]
|
|
@@ -917,9 +979,9 @@ const A = [
|
|
|
917
979
|
"div",
|
|
918
980
|
{
|
|
919
981
|
className: "nice-theme-preview__sidebar-item",
|
|
920
|
-
style: { color:
|
|
982
|
+
style: { color: r.text.primary },
|
|
921
983
|
children: [
|
|
922
|
-
/* @__PURE__ */
|
|
984
|
+
/* @__PURE__ */ e(d, { name: "users", size: 16 }),
|
|
923
985
|
" ",
|
|
924
986
|
i("themePreview.users", "Users")
|
|
925
987
|
]
|
|
@@ -932,9 +994,9 @@ const A = [
|
|
|
932
994
|
"div",
|
|
933
995
|
{
|
|
934
996
|
className: "nice-theme-preview__sidebar-item",
|
|
935
|
-
style: { color:
|
|
997
|
+
style: { color: r.text.primary },
|
|
936
998
|
children: [
|
|
937
|
-
/* @__PURE__ */
|
|
999
|
+
/* @__PURE__ */ e(d, { name: "box", size: 16 }),
|
|
938
1000
|
" ",
|
|
939
1001
|
i("themePreview.products", "Products")
|
|
940
1002
|
]
|
|
@@ -947,9 +1009,9 @@ const A = [
|
|
|
947
1009
|
"div",
|
|
948
1010
|
{
|
|
949
1011
|
className: "nice-theme-preview__sidebar-item",
|
|
950
|
-
style: { color:
|
|
1012
|
+
style: { color: r.text.secondary },
|
|
951
1013
|
children: [
|
|
952
|
-
/* @__PURE__ */
|
|
1014
|
+
/* @__PURE__ */ e(d, { name: "settings", size: 16 }),
|
|
953
1015
|
" ",
|
|
954
1016
|
i("themePreview.settings", "Settings")
|
|
955
1017
|
]
|
|
@@ -959,59 +1021,59 @@ const A = [
|
|
|
959
1021
|
]
|
|
960
1022
|
}
|
|
961
1023
|
),
|
|
962
|
-
/* @__PURE__ */
|
|
1024
|
+
/* @__PURE__ */ e("h4", { className: "nice-theme-preview__heading", children: i("themePreview.breadcrumb", "Breadcrumb") }),
|
|
963
1025
|
/* @__PURE__ */ s("div", { className: "nice-theme-preview__breadcrumb", children: [
|
|
964
1026
|
a(
|
|
965
1027
|
"colors.primary",
|
|
966
|
-
/* @__PURE__ */
|
|
1028
|
+
/* @__PURE__ */ e("span", { style: { color: r.colors.primary, cursor: "pointer" }, children: i("themePreview.home", "Home") })
|
|
967
1029
|
),
|
|
968
|
-
/* @__PURE__ */
|
|
1030
|
+
/* @__PURE__ */ e("span", { style: { color: r.text.muted }, children: "/" }),
|
|
969
1031
|
a(
|
|
970
1032
|
"colors.primary",
|
|
971
|
-
/* @__PURE__ */
|
|
1033
|
+
/* @__PURE__ */ e("span", { style: { color: r.colors.primary, cursor: "pointer" }, children: i("themePreview.products", "Products") })
|
|
972
1034
|
),
|
|
973
|
-
/* @__PURE__ */
|
|
1035
|
+
/* @__PURE__ */ e("span", { style: { color: r.text.muted }, children: "/" }),
|
|
974
1036
|
a(
|
|
975
1037
|
"text.primary",
|
|
976
|
-
/* @__PURE__ */
|
|
1038
|
+
/* @__PURE__ */ e("span", { style: { color: r.text.primary }, children: i("themePreview.edit", "Edit") })
|
|
977
1039
|
)
|
|
978
1040
|
] }),
|
|
979
|
-
/* @__PURE__ */
|
|
1041
|
+
/* @__PURE__ */ e("h4", { className: "nice-theme-preview__heading", children: i("themePreview.tabs", "Tabs") }),
|
|
980
1042
|
/* @__PURE__ */ s(
|
|
981
1043
|
"div",
|
|
982
1044
|
{
|
|
983
1045
|
className: "nice-theme-preview__demo-tabs",
|
|
984
|
-
style: { borderColor:
|
|
1046
|
+
style: { borderColor: r.borders.color },
|
|
985
1047
|
children: [
|
|
986
1048
|
a(
|
|
987
1049
|
"colors.primary",
|
|
988
|
-
/* @__PURE__ */
|
|
1050
|
+
/* @__PURE__ */ e(
|
|
989
1051
|
"div",
|
|
990
1052
|
{
|
|
991
1053
|
className: "nice-theme-preview__demo-tab nice-theme-preview__demo-tab--active",
|
|
992
|
-
style: { color:
|
|
1054
|
+
style: { color: r.colors.primary, borderBottomColor: r.colors.primary },
|
|
993
1055
|
children: i("themePreview.overview", "Overview")
|
|
994
1056
|
}
|
|
995
1057
|
)
|
|
996
1058
|
),
|
|
997
1059
|
a(
|
|
998
1060
|
"text.secondary",
|
|
999
|
-
/* @__PURE__ */
|
|
1061
|
+
/* @__PURE__ */ e(
|
|
1000
1062
|
"div",
|
|
1001
1063
|
{
|
|
1002
1064
|
className: "nice-theme-preview__demo-tab",
|
|
1003
|
-
style: { color:
|
|
1065
|
+
style: { color: r.text.secondary },
|
|
1004
1066
|
children: i("themePreview.details", "Details")
|
|
1005
1067
|
}
|
|
1006
1068
|
)
|
|
1007
1069
|
),
|
|
1008
1070
|
a(
|
|
1009
1071
|
"text.secondary",
|
|
1010
|
-
/* @__PURE__ */
|
|
1072
|
+
/* @__PURE__ */ e(
|
|
1011
1073
|
"div",
|
|
1012
1074
|
{
|
|
1013
1075
|
className: "nice-theme-preview__demo-tab",
|
|
1014
|
-
style: { color:
|
|
1076
|
+
style: { color: r.text.secondary },
|
|
1015
1077
|
children: i("themePreview.settings", "Settings")
|
|
1016
1078
|
}
|
|
1017
1079
|
)
|
|
@@ -1019,62 +1081,62 @@ const A = [
|
|
|
1019
1081
|
]
|
|
1020
1082
|
}
|
|
1021
1083
|
),
|
|
1022
|
-
/* @__PURE__ */
|
|
1084
|
+
/* @__PURE__ */ e("h4", { className: "nice-theme-preview__heading", children: i("themePreview.pagination", "Pagination") }),
|
|
1023
1085
|
/* @__PURE__ */ s("div", { className: "nice-theme-preview__pagination", children: [
|
|
1024
1086
|
a(
|
|
1025
1087
|
"borders.color",
|
|
1026
|
-
/* @__PURE__ */
|
|
1088
|
+
/* @__PURE__ */ e(
|
|
1027
1089
|
"button",
|
|
1028
1090
|
{
|
|
1029
1091
|
className: "nice-theme-preview__page-btn",
|
|
1030
1092
|
"aria-label": i("themePreview.previousPage", "Previous page"),
|
|
1031
|
-
style: { borderColor:
|
|
1032
|
-
children: /* @__PURE__ */
|
|
1093
|
+
style: { borderColor: r.borders.color, color: r.text.secondary },
|
|
1094
|
+
children: /* @__PURE__ */ e(d, { name: "chevron-left", size: 16 })
|
|
1033
1095
|
}
|
|
1034
1096
|
)
|
|
1035
1097
|
),
|
|
1036
1098
|
a(
|
|
1037
1099
|
"colors.primary",
|
|
1038
|
-
/* @__PURE__ */
|
|
1100
|
+
/* @__PURE__ */ e(
|
|
1039
1101
|
"button",
|
|
1040
1102
|
{
|
|
1041
1103
|
className: "nice-theme-preview__page-btn nice-theme-preview__page-btn--active",
|
|
1042
|
-
style: { background:
|
|
1104
|
+
style: { background: r.colors.primary, borderColor: r.colors.primary },
|
|
1043
1105
|
children: "1"
|
|
1044
1106
|
}
|
|
1045
1107
|
)
|
|
1046
1108
|
),
|
|
1047
1109
|
a(
|
|
1048
1110
|
"borders.color",
|
|
1049
|
-
/* @__PURE__ */
|
|
1111
|
+
/* @__PURE__ */ e(
|
|
1050
1112
|
"button",
|
|
1051
1113
|
{
|
|
1052
1114
|
className: "nice-theme-preview__page-btn",
|
|
1053
|
-
style: { borderColor:
|
|
1115
|
+
style: { borderColor: r.borders.color, color: r.text.primary },
|
|
1054
1116
|
children: "2"
|
|
1055
1117
|
}
|
|
1056
1118
|
)
|
|
1057
1119
|
),
|
|
1058
1120
|
a(
|
|
1059
1121
|
"borders.color",
|
|
1060
|
-
/* @__PURE__ */
|
|
1122
|
+
/* @__PURE__ */ e(
|
|
1061
1123
|
"button",
|
|
1062
1124
|
{
|
|
1063
1125
|
className: "nice-theme-preview__page-btn",
|
|
1064
|
-
style: { borderColor:
|
|
1126
|
+
style: { borderColor: r.borders.color, color: r.text.primary },
|
|
1065
1127
|
children: "3"
|
|
1066
1128
|
}
|
|
1067
1129
|
)
|
|
1068
1130
|
),
|
|
1069
1131
|
a(
|
|
1070
1132
|
"borders.color",
|
|
1071
|
-
/* @__PURE__ */
|
|
1133
|
+
/* @__PURE__ */ e(
|
|
1072
1134
|
"button",
|
|
1073
1135
|
{
|
|
1074
1136
|
className: "nice-theme-preview__page-btn",
|
|
1075
1137
|
"aria-label": i("themePreview.nextPage", "Next page"),
|
|
1076
|
-
style: { borderColor:
|
|
1077
|
-
children: /* @__PURE__ */
|
|
1138
|
+
style: { borderColor: r.borders.color, color: r.text.secondary },
|
|
1139
|
+
children: /* @__PURE__ */ e(d, { name: "chevron-right", size: 16 })
|
|
1078
1140
|
}
|
|
1079
1141
|
)
|
|
1080
1142
|
)
|
|
@@ -1088,5 +1150,5 @@ const A = [
|
|
|
1088
1150
|
{ displayName: "NiceThemePreview" }
|
|
1089
1151
|
);
|
|
1090
1152
|
export {
|
|
1091
|
-
|
|
1153
|
+
Z as NiceThemePreview
|
|
1092
1154
|
};
|