@nextsparkjs/core 0.1.0-beta.124 → 0.1.0-beta.125
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/components/app/layouts/PublicFooter.d.ts.map +1 -1
- package/dist/components/app/layouts/PublicFooter.js +6 -2
- package/dist/components/app/layouts/PublicNavbar.d.ts.map +1 -1
- package/dist/components/app/layouts/PublicNavbar.js +4 -2
- package/dist/components/dashboard/block-editor/dynamic-form.d.ts +9 -0
- package/dist/components/dashboard/block-editor/dynamic-form.d.ts.map +1 -1
- package/dist/components/dashboard/block-editor/dynamic-form.js +144 -9
- package/dist/components/dashboard/block-editor/pattern-reference-preview.js +1 -1
- package/dist/components/dashboard/layouts/Sidebar.d.ts.map +1 -1
- package/dist/components/dashboard/layouts/Sidebar.js +7 -4
- package/dist/components/dashboard/layouts/TopNavbar.js +1 -1
- package/dist/messages/de/admin.json +9 -1
- package/dist/messages/de/index.d.ts +8 -0
- package/dist/messages/de/index.d.ts.map +1 -1
- package/dist/messages/en/admin.json +9 -1
- package/dist/messages/en/index.d.ts +8 -0
- package/dist/messages/en/index.d.ts.map +1 -1
- package/dist/messages/es/admin.json +9 -1
- package/dist/messages/es/index.d.ts +8 -0
- package/dist/messages/es/index.d.ts.map +1 -1
- package/dist/messages/fr/admin.json +9 -1
- package/dist/messages/fr/index.d.ts +8 -0
- package/dist/messages/fr/index.d.ts.map +1 -1
- package/dist/messages/it/admin.json +9 -1
- package/dist/messages/it/index.d.ts +8 -0
- package/dist/messages/it/index.d.ts.map +1 -1
- package/dist/messages/pt/admin.json +9 -1
- package/dist/messages/pt/index.d.ts +8 -0
- package/dist/messages/pt/index.d.ts.map +1 -1
- package/dist/styles/classes.json +3 -2
- package/dist/styles/ui.css +1 -1
- package/dist/types/blocks.d.ts +5 -1
- package/dist/types/blocks.d.ts.map +1 -1
- package/package.json +2 -2
- package/scripts/build/registry/discovery/templates.mjs +24 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PublicFooter.d.ts","sourceRoot":"","sources":["../../../../src/components/app/layouts/PublicFooter.tsx"],"names":[],"mappings":"AAKA,wBAAgB,YAAY,
|
|
1
|
+
{"version":3,"file":"PublicFooter.d.ts","sourceRoot":"","sources":["../../../../src/components/app/layouts/PublicFooter.tsx"],"names":[],"mappings":"AAKA,wBAAgB,YAAY,4CA0J3B"}
|
|
@@ -6,6 +6,8 @@ import { sel } from "../../../lib/test/index.js";
|
|
|
6
6
|
function PublicFooter() {
|
|
7
7
|
const currentYear = (/* @__PURE__ */ new Date()).getFullYear();
|
|
8
8
|
const t = useTranslations("footer");
|
|
9
|
+
const tCommon = useTranslations("common");
|
|
10
|
+
const appName = tCommon("appName");
|
|
9
11
|
const footerLinks = {
|
|
10
12
|
product: [
|
|
11
13
|
{ name: "features", href: "/features" },
|
|
@@ -82,11 +84,13 @@ function PublicFooter() {
|
|
|
82
84
|
/* @__PURE__ */ jsx(Separator, { className: "my-8" }),
|
|
83
85
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center justify-between gap-4 md:flex-row", children: [
|
|
84
86
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center space-x-2", "data-cy": sel("public.footer.logo"), children: [
|
|
85
|
-
/* @__PURE__ */ jsx("div", { className: "w-6 h-6 rounded bg-primary flex items-center justify-center", children: /* @__PURE__ */ jsx("span", { className: "text-primary-foreground font-bold text-xs", children:
|
|
87
|
+
/* @__PURE__ */ jsx("div", { className: "w-6 h-6 rounded bg-primary flex items-center justify-center", children: /* @__PURE__ */ jsx("span", { className: "text-primary-foreground font-bold text-xs", children: appName.charAt(0) }) }),
|
|
86
88
|
/* @__PURE__ */ jsxs("span", { className: "text-sm text-muted-foreground", children: [
|
|
87
89
|
"\xA9 ",
|
|
88
90
|
currentYear,
|
|
89
|
-
"
|
|
91
|
+
" ",
|
|
92
|
+
appName,
|
|
93
|
+
". All rights reserved."
|
|
90
94
|
] })
|
|
91
95
|
] }),
|
|
92
96
|
/* @__PURE__ */ jsx("div", { className: "flex items-center space-x-6 text-sm text-muted-foreground", children: /* @__PURE__ */ jsxs("p", { className: "text-center md:text-left", children: [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PublicNavbar.d.ts","sourceRoot":"","sources":["../../../../src/components/app/layouts/PublicNavbar.tsx"],"names":[],"mappings":"AAYA,wBAAgB,YAAY,
|
|
1
|
+
{"version":3,"file":"PublicNavbar.d.ts","sourceRoot":"","sources":["../../../../src/components/app/layouts/PublicNavbar.tsx"],"names":[],"mappings":"AAYA,wBAAgB,YAAY,4CA0J3B"}
|
|
@@ -13,6 +13,8 @@ function PublicNavbar() {
|
|
|
13
13
|
const [isMenuOpen, setIsMenuOpen] = useState(false);
|
|
14
14
|
const tNav = useTranslations("navigation");
|
|
15
15
|
const tHome = useTranslations("home");
|
|
16
|
+
const tCommon = useTranslations("common");
|
|
17
|
+
const appName = tCommon("appName");
|
|
16
18
|
const navigationItems = [
|
|
17
19
|
{ name: "features", href: "/features" },
|
|
18
20
|
{ name: "pricing", href: "/pricing" },
|
|
@@ -33,8 +35,8 @@ function PublicNavbar() {
|
|
|
33
35
|
className: "mr-6 flex items-center space-x-2",
|
|
34
36
|
"data-cy": sel("public.navbar.logo"),
|
|
35
37
|
children: [
|
|
36
|
-
/* @__PURE__ */ jsx("div", { className: "w-8 h-8 rounded-lg bg-primary flex items-center justify-center", children: /* @__PURE__ */ jsx("span", { className: "text-primary-foreground font-bold text-sm", children:
|
|
37
|
-
/* @__PURE__ */ jsx("span", { className: "hidden font-bold sm:inline-block", children:
|
|
38
|
+
/* @__PURE__ */ jsx("div", { className: "w-8 h-8 rounded-lg bg-primary flex items-center justify-center", children: /* @__PURE__ */ jsx("span", { className: "text-primary-foreground font-bold text-sm", children: appName.charAt(0) }) }),
|
|
39
|
+
/* @__PURE__ */ jsx("span", { className: "hidden font-bold sm:inline-block", children: appName })
|
|
38
40
|
]
|
|
39
41
|
}
|
|
40
42
|
) }),
|
|
@@ -4,6 +4,15 @@ interface DynamicFormProps {
|
|
|
4
4
|
values: Record<string, unknown>;
|
|
5
5
|
onChange: (values: Record<string, unknown>) => void;
|
|
6
6
|
}
|
|
7
|
+
/**
|
|
8
|
+
* DynamicForm - Main form component for block property editing.
|
|
9
|
+
*
|
|
10
|
+
* Renders a collection of fields defined by `fieldDefinitions`, supporting
|
|
11
|
+
* grouping, conditional visibility, debounced updates, and all field types
|
|
12
|
+
* (text, select, media, relationship, date, array, etc.).
|
|
13
|
+
*
|
|
14
|
+
* Updates are debounced (500ms) to avoid excessive re-renders while the user types.
|
|
15
|
+
*/
|
|
7
16
|
export declare function DynamicForm({ fieldDefinitions, values, onChange }: DynamicFormProps): import("react/jsx-runtime").JSX.Element;
|
|
8
17
|
export {};
|
|
9
18
|
//# sourceMappingURL=dynamic-form.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dynamic-form.d.ts","sourceRoot":"","sources":["../../../../src/components/dashboard/block-editor/dynamic-form.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"dynamic-form.d.ts","sourceRoot":"","sources":["../../../../src/components/dashboard/block-editor/dynamic-form.tsx"],"names":[],"mappings":"AA6BA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AAG5D,UAAU,gBAAgB;IACxB,gBAAgB,EAAE,eAAe,EAAE,CAAA;IACnC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAC/B,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,CAAA;CACpD;AAyRD;;;;;;;;GAQG;AACH,wBAAgB,WAAW,CAAC,EAAE,gBAAgB,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,gBAAgB,2CAodnF"}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useCallback, useEffect, useState, useMemo, useRef } from "react";
|
|
4
4
|
import { useTranslations } from "next-intl";
|
|
5
|
+
import { useQuery } from "@tanstack/react-query";
|
|
5
6
|
import { Input } from "../../ui/input.js";
|
|
6
7
|
import { Textarea } from "../../ui/textarea.js";
|
|
7
8
|
import { Label } from "../../ui/label.js";
|
|
@@ -15,7 +16,7 @@ import {
|
|
|
15
16
|
import { ImageUpload } from "../../ui/image-upload.js";
|
|
16
17
|
import { RichTextEditor } from "../../ui/rich-text-editor.js";
|
|
17
18
|
import { MediaLibrary } from "../../media/MediaLibrary.js";
|
|
18
|
-
import { ChevronDown, ChevronRight, CalendarIcon, ImageIcon, X } from "lucide-react";
|
|
19
|
+
import { ChevronDown, ChevronRight, CalendarIcon, ImageIcon, X, Loader2, Check } from "lucide-react";
|
|
19
20
|
import { cn } from "../../../lib/utils/index.js";
|
|
20
21
|
import { sel } from "../../../lib/test/index.js";
|
|
21
22
|
import { Switch } from "../../ui/switch.js";
|
|
@@ -25,6 +26,25 @@ import { Popover, PopoverContent, PopoverTrigger } from "../../ui/popover.js";
|
|
|
25
26
|
import { Button } from "../../ui/button.js";
|
|
26
27
|
import { format } from "date-fns";
|
|
27
28
|
import { ArrayField } from "./array-field.js";
|
|
29
|
+
import { fetchWithTeam } from "../../../lib/api/entities.js";
|
|
30
|
+
function evaluateCondition(condition, values) {
|
|
31
|
+
if (!condition) return true;
|
|
32
|
+
const fieldValue = values[condition.field];
|
|
33
|
+
switch (condition.operator) {
|
|
34
|
+
case "equals":
|
|
35
|
+
return fieldValue === condition.value;
|
|
36
|
+
case "notEquals":
|
|
37
|
+
return fieldValue !== condition.value;
|
|
38
|
+
case "contains":
|
|
39
|
+
return typeof fieldValue === "string" && fieldValue.includes(String(condition.value));
|
|
40
|
+
case "greaterThan":
|
|
41
|
+
return Number(fieldValue) > Number(condition.value);
|
|
42
|
+
case "lessThan":
|
|
43
|
+
return Number(fieldValue) < Number(condition.value);
|
|
44
|
+
default:
|
|
45
|
+
return true;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
28
48
|
function organizeFields(fields) {
|
|
29
49
|
const ungrouped = [];
|
|
30
50
|
const groupMap = /* @__PURE__ */ new Map();
|
|
@@ -117,6 +137,113 @@ function MediaLibraryField({
|
|
|
117
137
|
)
|
|
118
138
|
] });
|
|
119
139
|
}
|
|
140
|
+
function RelationshipField({
|
|
141
|
+
field,
|
|
142
|
+
value,
|
|
143
|
+
onChange
|
|
144
|
+
}) {
|
|
145
|
+
const t = useTranslations("admin.blockEditor.form");
|
|
146
|
+
const displayField = field.displayField || "name";
|
|
147
|
+
const valueField = field.valueField || "id";
|
|
148
|
+
const isMulti = field.relationshipType === "manyToMany";
|
|
149
|
+
const { data, isLoading, isError } = useQuery({
|
|
150
|
+
queryKey: ["relationship-field", field.targetEntity],
|
|
151
|
+
queryFn: async () => {
|
|
152
|
+
const url = `/api/v1/${field.targetEntity}?limit=100`;
|
|
153
|
+
const response = await fetchWithTeam(url);
|
|
154
|
+
if (!response.ok) return [];
|
|
155
|
+
const json = await response.json();
|
|
156
|
+
return json.items || json.data || [];
|
|
157
|
+
},
|
|
158
|
+
enabled: !!field.targetEntity,
|
|
159
|
+
staleTime: 1e3 * 60 * 5
|
|
160
|
+
});
|
|
161
|
+
if (isLoading) {
|
|
162
|
+
return /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 text-sm text-muted-foreground h-9", children: [
|
|
163
|
+
/* @__PURE__ */ jsx(Loader2, { className: "h-4 w-4 animate-spin" }),
|
|
164
|
+
/* @__PURE__ */ jsx("span", { children: t("loadingEntity", { entity: field.targetEntity }) })
|
|
165
|
+
] });
|
|
166
|
+
}
|
|
167
|
+
if (isError || !field.targetEntity) {
|
|
168
|
+
return /* @__PURE__ */ jsx("div", { className: "text-sm text-destructive h-9 flex items-center", children: t("failedToLoad", { entity: field.targetEntity }) });
|
|
169
|
+
}
|
|
170
|
+
const items = data || [];
|
|
171
|
+
if (isMulti) {
|
|
172
|
+
const selectedIds = Array.isArray(value) ? value : [];
|
|
173
|
+
const toggleItem = (itemId) => {
|
|
174
|
+
const next = selectedIds.includes(itemId) ? selectedIds.filter((id) => id !== itemId) : [...selectedIds, itemId];
|
|
175
|
+
onChange(next);
|
|
176
|
+
};
|
|
177
|
+
return /* @__PURE__ */ jsxs("div", { className: "space-y-1", children: [
|
|
178
|
+
selectedIds.length > 0 && /* @__PURE__ */ jsx("p", { className: "text-xs text-muted-foreground", children: t("selectedCount", { count: selectedIds.length }) }),
|
|
179
|
+
/* @__PURE__ */ jsxs(
|
|
180
|
+
"div",
|
|
181
|
+
{
|
|
182
|
+
className: "border rounded-md max-h-48 overflow-y-auto divide-y",
|
|
183
|
+
"data-cy": sel("blockEditor.blockPropertiesPanel.form.field", { name: field.name }),
|
|
184
|
+
children: [
|
|
185
|
+
items.length === 0 && /* @__PURE__ */ jsx("div", { className: "px-3 py-4 text-sm text-muted-foreground text-center", children: t("noEntityFound", { entity: field.targetEntity }) }),
|
|
186
|
+
items.map((item) => {
|
|
187
|
+
const itemValue = String(item[valueField] ?? "");
|
|
188
|
+
const itemLabel = String(
|
|
189
|
+
item[displayField] ?? item["title"] ?? item["name"] ?? itemValue
|
|
190
|
+
);
|
|
191
|
+
const isChecked = selectedIds.includes(itemValue);
|
|
192
|
+
return /* @__PURE__ */ jsxs(
|
|
193
|
+
"button",
|
|
194
|
+
{
|
|
195
|
+
type: "button",
|
|
196
|
+
className: "flex items-center gap-2 w-full px-3 py-2 hover:bg-muted/50 text-left",
|
|
197
|
+
onClick: () => toggleItem(itemValue),
|
|
198
|
+
children: [
|
|
199
|
+
/* @__PURE__ */ jsx(
|
|
200
|
+
"div",
|
|
201
|
+
{
|
|
202
|
+
className: cn(
|
|
203
|
+
"w-4 h-4 border rounded flex-shrink-0 flex items-center justify-center",
|
|
204
|
+
isChecked ? "bg-primary border-primary" : "border-input"
|
|
205
|
+
),
|
|
206
|
+
children: isChecked && /* @__PURE__ */ jsx(Check, { className: "h-3 w-3 text-primary-foreground" })
|
|
207
|
+
}
|
|
208
|
+
),
|
|
209
|
+
/* @__PURE__ */ jsx("span", { className: "text-sm truncate", children: itemLabel })
|
|
210
|
+
]
|
|
211
|
+
},
|
|
212
|
+
itemValue
|
|
213
|
+
);
|
|
214
|
+
})
|
|
215
|
+
]
|
|
216
|
+
}
|
|
217
|
+
)
|
|
218
|
+
] });
|
|
219
|
+
}
|
|
220
|
+
return /* @__PURE__ */ jsxs(
|
|
221
|
+
Select,
|
|
222
|
+
{
|
|
223
|
+
value: String(value || ""),
|
|
224
|
+
onValueChange: (v) => onChange(v),
|
|
225
|
+
children: [
|
|
226
|
+
/* @__PURE__ */ jsx(
|
|
227
|
+
SelectTrigger,
|
|
228
|
+
{
|
|
229
|
+
"data-cy": sel("blockEditor.blockPropertiesPanel.form.field", { name: field.name }),
|
|
230
|
+
children: /* @__PURE__ */ jsx(SelectValue, { placeholder: field.placeholder || t("selectEntity", { entity: field.targetEntity }) })
|
|
231
|
+
}
|
|
232
|
+
),
|
|
233
|
+
/* @__PURE__ */ jsxs(SelectContent, { children: [
|
|
234
|
+
items.map((item) => {
|
|
235
|
+
const itemValue = String(item[valueField] ?? "");
|
|
236
|
+
const itemLabel = String(
|
|
237
|
+
item[displayField] ?? item["title"] ?? item["name"] ?? itemValue
|
|
238
|
+
);
|
|
239
|
+
return /* @__PURE__ */ jsx(SelectItem, { value: itemValue, children: itemLabel }, itemValue);
|
|
240
|
+
}),
|
|
241
|
+
items.length === 0 && /* @__PURE__ */ jsx("div", { className: "px-2 py-4 text-sm text-muted-foreground text-center", children: t("noEntityFound", { entity: field.targetEntity }) })
|
|
242
|
+
] })
|
|
243
|
+
]
|
|
244
|
+
}
|
|
245
|
+
);
|
|
246
|
+
}
|
|
120
247
|
function DynamicForm({ fieldDefinitions, values, onChange }) {
|
|
121
248
|
const t = useTranslations("admin.blockEditor.form");
|
|
122
249
|
const [formValues, setFormValues] = useState(values);
|
|
@@ -355,7 +482,7 @@ function DynamicForm({ fieldDefinitions, values, onChange }) {
|
|
|
355
482
|
"data-cy": sel("blockEditor.blockPropertiesPanel.form.field", { name: field.name }),
|
|
356
483
|
children: [
|
|
357
484
|
/* @__PURE__ */ jsx(CalendarIcon, { className: "mr-2 h-4 w-4" }),
|
|
358
|
-
value ? format(new Date(String(value)), "PPP") : "
|
|
485
|
+
value ? format(new Date(String(value)), "PPP") : t("pickDate")
|
|
359
486
|
]
|
|
360
487
|
}
|
|
361
488
|
) }),
|
|
@@ -392,6 +519,18 @@ function DynamicForm({ fieldDefinitions, values, onChange }) {
|
|
|
392
519
|
"data-cy": sel("blockEditor.blockPropertiesPanel.form.field", { name: field.name })
|
|
393
520
|
}
|
|
394
521
|
);
|
|
522
|
+
case "relationship": {
|
|
523
|
+
const isMulti = field.relationshipType === "manyToMany";
|
|
524
|
+
const relationValue = isMulti ? Array.isArray(value) ? value : [] : String(value || "");
|
|
525
|
+
return /* @__PURE__ */ jsx(
|
|
526
|
+
RelationshipField,
|
|
527
|
+
{
|
|
528
|
+
field,
|
|
529
|
+
value: relationValue,
|
|
530
|
+
onChange: (newValue) => handleFieldChange(field.name, newValue)
|
|
531
|
+
}
|
|
532
|
+
);
|
|
533
|
+
}
|
|
395
534
|
default:
|
|
396
535
|
return /* @__PURE__ */ jsx(
|
|
397
536
|
Input,
|
|
@@ -440,11 +579,7 @@ function DynamicForm({ fieldDefinitions, values, onChange }) {
|
|
|
440
579
|
field.label,
|
|
441
580
|
field.required && /* @__PURE__ */ jsx("span", { className: "text-destructive", children: "*" })
|
|
442
581
|
] }),
|
|
443
|
-
hasValue && /* @__PURE__ */
|
|
444
|
-
items.length,
|
|
445
|
-
" ",
|
|
446
|
-
items.length === 1 ? "item" : "items"
|
|
447
|
-
] })
|
|
582
|
+
hasValue && /* @__PURE__ */ jsx("span", { className: "text-xs text-primary font-normal", children: t("arrayItemsCount", { count: items.length }) })
|
|
448
583
|
]
|
|
449
584
|
}
|
|
450
585
|
),
|
|
@@ -484,7 +619,7 @@ function DynamicForm({ fieldDefinitions, values, onChange }) {
|
|
|
484
619
|
isCollapsed ? /* @__PURE__ */ jsx(ChevronRight, { className: "h-4 w-4" }) : /* @__PURE__ */ jsx(ChevronDown, { className: "h-4 w-4" }),
|
|
485
620
|
group.label
|
|
486
621
|
] }),
|
|
487
|
-
hasValue && /* @__PURE__ */ jsx("span", { className: "text-xs text-primary font-normal", children: "configured" })
|
|
622
|
+
hasValue && /* @__PURE__ */ jsx("span", { className: "text-xs text-primary font-normal", children: t("configured") })
|
|
488
623
|
]
|
|
489
624
|
}
|
|
490
625
|
),
|
|
@@ -495,7 +630,7 @@ function DynamicForm({ fieldDefinitions, values, onChange }) {
|
|
|
495
630
|
);
|
|
496
631
|
};
|
|
497
632
|
return /* @__PURE__ */ jsxs("div", { className: "space-y-4", "data-cy": sel("blockEditor.blockPropertiesPanel.form.container"), children: [
|
|
498
|
-
ungrouped.map(
|
|
633
|
+
ungrouped.filter((field) => evaluateCondition(field.condition, formValues)).map(
|
|
499
634
|
(field) => field.type === "array" ? renderArrayFieldAsGroup(field) : renderFieldWithLabel(field)
|
|
500
635
|
),
|
|
501
636
|
groups.map((group) => renderGroup(group))
|
|
@@ -66,7 +66,7 @@ function PatternReferencePreview({
|
|
|
66
66
|
return /* @__PURE__ */ jsx(
|
|
67
67
|
"div",
|
|
68
68
|
{
|
|
69
|
-
className: "w-full py-12 px-4 bg-destructive/10 border-2 border-dashed border-destructive/20 rounded-lg",
|
|
69
|
+
className: "w-full py-12 px-4 bg-destructive/10 border-2 border-dashed border-destructive/20 rounded-lg cursor-pointer",
|
|
70
70
|
onClick: onSelect,
|
|
71
71
|
"data-cy": sel("blockEditor.patternReference.container", { ref: patternRef.ref }),
|
|
72
72
|
children: /* @__PURE__ */ jsxs("div", { className: "max-w-7xl mx-auto text-center", children: [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Sidebar.d.ts","sourceRoot":"","sources":["../../../../src/components/dashboard/layouts/Sidebar.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Sidebar.d.ts","sourceRoot":"","sources":["../../../../src/components/dashboard/layouts/Sidebar.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAA;AAEnF,UAAU,YAAY;IACpB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,wBAAwB,EAAE,CAAA;CACrC;AAED,wBAAgB,OAAO,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,YAAY,2CAuG5D"}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
import Link from "next/link";
|
|
4
4
|
import { useState, useEffect } from "react";
|
|
5
|
+
import { useTranslations } from "next-intl";
|
|
5
6
|
import { cn } from "../../../lib/utils/index.js";
|
|
6
7
|
import { useSidebar } from "../../../contexts/sidebar-context.js";
|
|
7
8
|
import { sel } from "../../../lib/test/index.js";
|
|
@@ -9,6 +10,8 @@ import { DynamicNavigation } from "../navigation/DynamicNavigation.js";
|
|
|
9
10
|
import { TeamSwitcherCompact } from "../../teams/TeamSwitcherCompact.js";
|
|
10
11
|
function Sidebar({ className, entities }) {
|
|
11
12
|
const { isCollapsed } = useSidebar();
|
|
13
|
+
const t = useTranslations("common");
|
|
14
|
+
const appName = t("appName");
|
|
12
15
|
const [statusMessage, setStatusMessage] = useState("");
|
|
13
16
|
useEffect(() => {
|
|
14
17
|
if (isCollapsed) {
|
|
@@ -49,7 +52,7 @@ function Sidebar({ className, entities }) {
|
|
|
49
52
|
{
|
|
50
53
|
href: "/",
|
|
51
54
|
className: "flex items-center gap-2",
|
|
52
|
-
"aria-label": isCollapsed ? "Ir a la p\xE1gina principal" :
|
|
55
|
+
"aria-label": isCollapsed ? "Ir a la p\xE1gina principal" : `${appName} - Ir a la p\xE1gina principal`,
|
|
53
56
|
"data-cy": sel("dashboard.sidebar.logo"),
|
|
54
57
|
children: [
|
|
55
58
|
/* @__PURE__ */ jsx(
|
|
@@ -57,15 +60,15 @@ function Sidebar({ className, entities }) {
|
|
|
57
60
|
{
|
|
58
61
|
className: "w-8 h-8 rounded-lg bg-primary flex items-center justify-center",
|
|
59
62
|
role: "img",
|
|
60
|
-
"aria-label":
|
|
61
|
-
children: /* @__PURE__ */ jsx("span", { className: "text-primary-foreground font-bold text-sm", "aria-hidden": "true", children:
|
|
63
|
+
"aria-label": `Logo de ${appName}`,
|
|
64
|
+
children: /* @__PURE__ */ jsx("span", { className: "text-primary-foreground font-bold text-sm", "aria-hidden": "true", children: appName.charAt(0) })
|
|
62
65
|
}
|
|
63
66
|
),
|
|
64
67
|
!isCollapsed && /* @__PURE__ */ jsx(
|
|
65
68
|
"span",
|
|
66
69
|
{
|
|
67
70
|
className: "font-semibold text-lg",
|
|
68
|
-
children:
|
|
71
|
+
children: appName
|
|
69
72
|
}
|
|
70
73
|
)
|
|
71
74
|
]
|
|
@@ -145,7 +145,7 @@ function TopNavbar({ entities, className }) {
|
|
|
145
145
|
className: "text-xl font-bold text-foreground lg:hidden",
|
|
146
146
|
"aria-label": "Ir a la p\xE1gina principal",
|
|
147
147
|
"data-cy": sel("dashboard.topnav.logo"),
|
|
148
|
-
children: "
|
|
148
|
+
children: t("appName")
|
|
149
149
|
}
|
|
150
150
|
),
|
|
151
151
|
user && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
@@ -171,7 +171,15 @@
|
|
|
171
171
|
"emptyArray": "Keine Elemente hinzugefuegt",
|
|
172
172
|
"itemNumber": "Element {number}",
|
|
173
173
|
"addItem": "Element hinzufuegen",
|
|
174
|
-
"itemCount": "{current} von {max} Elementen"
|
|
174
|
+
"itemCount": "{current} von {max} Elementen",
|
|
175
|
+
"loadingEntity": "{entity} wird geladen...",
|
|
176
|
+
"failedToLoad": "{entity} konnte nicht geladen werden",
|
|
177
|
+
"selectedCount": "{count} ausgewaehlt",
|
|
178
|
+
"noEntityFound": "Kein {entity} gefunden",
|
|
179
|
+
"selectEntity": "{entity} auswaehlen...",
|
|
180
|
+
"pickDate": "Datum auswaehlen",
|
|
181
|
+
"arrayItemsCount": "{count} Elemente",
|
|
182
|
+
"configured": "konfiguriert"
|
|
175
183
|
}
|
|
176
184
|
},
|
|
177
185
|
"builder": {
|
|
@@ -173,6 +173,14 @@ declare const _default: {
|
|
|
173
173
|
itemNumber: string;
|
|
174
174
|
addItem: string;
|
|
175
175
|
itemCount: string;
|
|
176
|
+
loadingEntity: string;
|
|
177
|
+
failedToLoad: string;
|
|
178
|
+
selectedCount: string;
|
|
179
|
+
noEntityFound: string;
|
|
180
|
+
selectEntity: string;
|
|
181
|
+
pickDate: string;
|
|
182
|
+
arrayItemsCount: string;
|
|
183
|
+
configured: string;
|
|
176
184
|
};
|
|
177
185
|
};
|
|
178
186
|
builder: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/messages/de/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/messages/de/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoBA,wBAoBU"}
|
|
@@ -174,7 +174,15 @@
|
|
|
174
174
|
"itemCount": "{current} of {max} items",
|
|
175
175
|
"changeImage": "Change",
|
|
176
176
|
"removeImage": "Remove",
|
|
177
|
-
"browseMedia": "Click to upload or browse images"
|
|
177
|
+
"browseMedia": "Click to upload or browse images",
|
|
178
|
+
"loadingEntity": "Loading {entity}...",
|
|
179
|
+
"failedToLoad": "Failed to load {entity}",
|
|
180
|
+
"selectedCount": "{count} selected",
|
|
181
|
+
"noEntityFound": "No {entity} found",
|
|
182
|
+
"selectEntity": "Select {entity}...",
|
|
183
|
+
"pickDate": "Pick a date",
|
|
184
|
+
"arrayItemsCount": "{count} items",
|
|
185
|
+
"configured": "configured"
|
|
178
186
|
}
|
|
179
187
|
},
|
|
180
188
|
"builder": {
|
|
@@ -176,6 +176,14 @@ declare const _default: {
|
|
|
176
176
|
changeImage: string;
|
|
177
177
|
removeImage: string;
|
|
178
178
|
browseMedia: string;
|
|
179
|
+
loadingEntity: string;
|
|
180
|
+
failedToLoad: string;
|
|
181
|
+
selectedCount: string;
|
|
182
|
+
noEntityFound: string;
|
|
183
|
+
selectEntity: string;
|
|
184
|
+
pickDate: string;
|
|
185
|
+
arrayItemsCount: string;
|
|
186
|
+
configured: string;
|
|
179
187
|
};
|
|
180
188
|
};
|
|
181
189
|
builder: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/messages/en/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/messages/en/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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"Cambiar",
|
|
176
176
|
"removeImage": "Eliminar",
|
|
177
|
-
"browseMedia": "Haz clic para subir o explorar imágenes"
|
|
177
|
+
"browseMedia": "Haz clic para subir o explorar imágenes",
|
|
178
|
+
"loadingEntity": "Cargando {entity}...",
|
|
179
|
+
"failedToLoad": "Error al cargar {entity}",
|
|
180
|
+
"selectedCount": "{count} seleccionados",
|
|
181
|
+
"noEntityFound": "No se encontraron {entity}",
|
|
182
|
+
"selectEntity": "Selecciona {entity}...",
|
|
183
|
+
"pickDate": "Selecciona una fecha",
|
|
184
|
+
"arrayItemsCount": "{count} elementos",
|
|
185
|
+
"configured": "configurado"
|
|
178
186
|
}
|
|
179
187
|
},
|
|
180
188
|
"builder": {
|
|
@@ -176,6 +176,14 @@ declare const _default: {
|
|
|
176
176
|
changeImage: string;
|
|
177
177
|
removeImage: string;
|
|
178
178
|
browseMedia: string;
|
|
179
|
+
loadingEntity: string;
|
|
180
|
+
failedToLoad: string;
|
|
181
|
+
selectedCount: string;
|
|
182
|
+
noEntityFound: string;
|
|
183
|
+
selectEntity: string;
|
|
184
|
+
pickDate: string;
|
|
185
|
+
arrayItemsCount: string;
|
|
186
|
+
configured: string;
|
|
179
187
|
};
|
|
180
188
|
};
|
|
181
189
|
builder: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/messages/es/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/messages/es/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqBA,wBAqBU"}
|
|
@@ -171,7 +171,15 @@
|
|
|
171
171
|
"emptyArray": "Aucun element ajoute",
|
|
172
172
|
"itemNumber": "Element {number}",
|
|
173
173
|
"addItem": "Ajouter un element",
|
|
174
|
-
"itemCount": "{current} sur {max} elements"
|
|
174
|
+
"itemCount": "{current} sur {max} elements",
|
|
175
|
+
"loadingEntity": "Chargement de {entity}...",
|
|
176
|
+
"failedToLoad": "Echec du chargement de {entity}",
|
|
177
|
+
"selectedCount": "{count} selectionnes",
|
|
178
|
+
"noEntityFound": "Aucun {entity} trouve",
|
|
179
|
+
"selectEntity": "Selectionner {entity}...",
|
|
180
|
+
"pickDate": "Choisir une date",
|
|
181
|
+
"arrayItemsCount": "{count} elements",
|
|
182
|
+
"configured": "configure"
|
|
175
183
|
}
|
|
176
184
|
},
|
|
177
185
|
"builder": {
|
|
@@ -173,6 +173,14 @@ declare const _default: {
|
|
|
173
173
|
itemNumber: string;
|
|
174
174
|
addItem: string;
|
|
175
175
|
itemCount: string;
|
|
176
|
+
loadingEntity: string;
|
|
177
|
+
failedToLoad: string;
|
|
178
|
+
selectedCount: string;
|
|
179
|
+
noEntityFound: string;
|
|
180
|
+
selectEntity: string;
|
|
181
|
+
pickDate: string;
|
|
182
|
+
arrayItemsCount: string;
|
|
183
|
+
configured: string;
|
|
176
184
|
};
|
|
177
185
|
};
|
|
178
186
|
builder: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/messages/fr/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoBA,wBAoBU"}
|
|
@@ -171,7 +171,15 @@
|
|
|
171
171
|
"emptyArray": "Nessun elemento aggiunto",
|
|
172
172
|
"itemNumber": "Elemento {number}",
|
|
173
173
|
"addItem": "Aggiungi elemento",
|
|
174
|
-
"itemCount": "{current} di {max} elementi"
|
|
174
|
+
"itemCount": "{current} di {max} elementi",
|
|
175
|
+
"loadingEntity": "Caricamento di {entity}...",
|
|
176
|
+
"failedToLoad": "Impossibile caricare {entity}",
|
|
177
|
+
"selectedCount": "{count} selezionati",
|
|
178
|
+
"noEntityFound": "Nessun {entity} trovato",
|
|
179
|
+
"selectEntity": "Seleziona {entity}...",
|
|
180
|
+
"pickDate": "Seleziona una data",
|
|
181
|
+
"arrayItemsCount": "{count} elementi",
|
|
182
|
+
"configured": "configurato"
|
|
175
183
|
}
|
|
176
184
|
},
|
|
177
185
|
"builder": {
|
|
@@ -173,6 +173,14 @@ declare const _default: {
|
|
|
173
173
|
itemNumber: string;
|
|
174
174
|
addItem: string;
|
|
175
175
|
itemCount: string;
|
|
176
|
+
loadingEntity: string;
|
|
177
|
+
failedToLoad: string;
|
|
178
|
+
selectedCount: string;
|
|
179
|
+
noEntityFound: string;
|
|
180
|
+
selectEntity: string;
|
|
181
|
+
pickDate: string;
|
|
182
|
+
arrayItemsCount: string;
|
|
183
|
+
configured: string;
|
|
176
184
|
};
|
|
177
185
|
};
|
|
178
186
|
builder: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/messages/it/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/messages/it/index.ts"],"names":[],"m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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoBA,wBAoBU"}
|
|
@@ -171,7 +171,15 @@
|
|
|
171
171
|
"emptyArray": "Nenhum elemento adicionado",
|
|
172
172
|
"itemNumber": "Elemento {number}",
|
|
173
173
|
"addItem": "Adicionar elemento",
|
|
174
|
-
"itemCount": "{current} de {max} elementos"
|
|
174
|
+
"itemCount": "{current} de {max} elementos",
|
|
175
|
+
"loadingEntity": "Carregando {entity}...",
|
|
176
|
+
"failedToLoad": "Falha ao carregar {entity}",
|
|
177
|
+
"selectedCount": "{count} selecionados",
|
|
178
|
+
"noEntityFound": "Nenhum {entity} encontrado",
|
|
179
|
+
"selectEntity": "Selecione {entity}...",
|
|
180
|
+
"pickDate": "Selecione uma data",
|
|
181
|
+
"arrayItemsCount": "{count} elementos",
|
|
182
|
+
"configured": "configurado"
|
|
175
183
|
}
|
|
176
184
|
},
|
|
177
185
|
"builder": {
|