xertica-ui 2.2.0 → 2.2.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 +1 -1
- package/README.md +1 -1
- package/dist/ThemeContext-BgclCB35.js +1856 -0
- package/dist/ThemeContext-DQUOeziy.cjs +1855 -0
- package/dist/VerifyEmailPage-RrUApqBN.js +3214 -0
- package/dist/VerifyEmailPage-VoMI7MYH.cjs +3213 -0
- package/dist/XerticaProvider-BSyFrmC0.js +49 -0
- package/dist/XerticaProvider-CiNKjMx1.cjs +48 -0
- package/dist/XerticaXLogo-B2svDGZh.cjs +251 -0
- package/dist/XerticaXLogo-CowGv7BC.js +252 -0
- package/dist/brand.cjs.js +2 -2
- package/dist/brand.es.js +2 -2
- package/dist/hooks.cjs.js +1 -1
- package/dist/hooks.es.js +1 -1
- package/dist/index.cjs.js +5 -5
- package/dist/index.es.js +5 -5
- package/dist/layout.cjs.js +1 -1
- package/dist/layout.es.js +1 -1
- package/dist/pages.cjs.js +1 -1
- package/dist/pages.es.js +1 -1
- package/dist/sidebar-CRMiBtAi.js +801 -0
- package/dist/sidebar-CZ2mWaMM.cjs +800 -0
- package/dist/xertica-ui.css +1 -1
- package/package.json +1 -1
- package/templates/CLAUDE.md +165 -180
- package/templates/package.json +2 -2
- package/templates/src/features/auth/ui/ForgotPasswordContent.tsx +9 -7
- package/templates/src/features/auth/ui/LoginContent.tsx +10 -8
- package/templates/src/features/auth/ui/ResetPasswordContent.tsx +179 -177
- package/templates/src/features/auth/ui/SocialLoginButtons.tsx +9 -4
- package/templates/src/features/auth/ui/VerifyEmailContent.tsx +84 -82
- package/templates/src/features/template/ui/TemplateContent.tsx +1 -1
- package/templates/src/locales/en/components/assistant.json +14 -0
- package/templates/src/locales/en/pages/forgotPassword.json +10 -0
- package/templates/src/locales/en/pages/templates.json +1 -1
- package/templates/src/locales/es/components/assistant.json +14 -0
- package/templates/src/locales/es/pages/forgotPassword.json +10 -0
- package/templates/src/locales/es/pages/templates.json +1 -1
- package/templates/src/locales/pt-BR/components/assistant.json +14 -0
- package/templates/src/locales/pt-BR/pages/forgotPassword.json +10 -0
- package/templates/src/locales/pt-BR/pages/templates.json +1 -1
- package/templates/src/pages/AssistantPage.tsx +464 -463
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { B as BrandColorsProvider, A as ApiKeyProvider, a as AssistenteProvider } from "./BrandColorsContext-DLVJgtmH.js";
|
|
3
|
+
import { T as ThemeProvider, L as LanguageProvider } from "./ThemeContext-BgclCB35.js";
|
|
4
|
+
import { L as LayoutProvider } from "./LayoutContext-CGEe1oPq.js";
|
|
5
|
+
import { b as GoogleMapsLoaderProvider } from "./google-maps-loader-BVoVhUwA.js";
|
|
6
|
+
import { T as Toaster } from "./sonner-g9RIfi35.js";
|
|
7
|
+
import { b as TooltipProvider } from "./tooltip-D-OrYnKO.js";
|
|
8
|
+
function XerticaProvider({
|
|
9
|
+
children,
|
|
10
|
+
apiKey,
|
|
11
|
+
googleMapsApiKey,
|
|
12
|
+
defaultBrandTheme,
|
|
13
|
+
primaryColor,
|
|
14
|
+
useCustomTokens,
|
|
15
|
+
disableDarkMode,
|
|
16
|
+
availableLanguages,
|
|
17
|
+
defaultLanguage
|
|
18
|
+
}) {
|
|
19
|
+
return /* @__PURE__ */ jsx(ThemeProvider, { disableDarkMode, children: /* @__PURE__ */ jsx(
|
|
20
|
+
BrandColorsProvider,
|
|
21
|
+
{
|
|
22
|
+
defaultTheme: defaultBrandTheme,
|
|
23
|
+
primaryColor,
|
|
24
|
+
useCustomTokens,
|
|
25
|
+
children: /* @__PURE__ */ jsx(
|
|
26
|
+
LanguageProvider,
|
|
27
|
+
{
|
|
28
|
+
availableLanguages,
|
|
29
|
+
defaultLanguage,
|
|
30
|
+
children: /* @__PURE__ */ jsx(
|
|
31
|
+
ApiKeyProvider,
|
|
32
|
+
{
|
|
33
|
+
initialApiKey: apiKey,
|
|
34
|
+
initialGeminiApiKey: apiKey,
|
|
35
|
+
initialGoogleMapsApiKey: googleMapsApiKey,
|
|
36
|
+
children: /* @__PURE__ */ jsx(GoogleMapsLoaderProvider, { apiKey: googleMapsApiKey, children: /* @__PURE__ */ jsx(AssistenteProvider, { children: /* @__PURE__ */ jsx(LayoutProvider, { children: /* @__PURE__ */ jsxs(TooltipProvider, { children: [
|
|
37
|
+
children,
|
|
38
|
+
/* @__PURE__ */ jsx(Toaster, { position: "top-right", richColors: true })
|
|
39
|
+
] }) }) }) })
|
|
40
|
+
}
|
|
41
|
+
)
|
|
42
|
+
}
|
|
43
|
+
)
|
|
44
|
+
}
|
|
45
|
+
) });
|
|
46
|
+
}
|
|
47
|
+
export {
|
|
48
|
+
XerticaProvider as X
|
|
49
|
+
};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const jsxRuntime = require("react/jsx-runtime");
|
|
3
|
+
const BrandColorsContext = require("./BrandColorsContext-GUyFmkX0.cjs");
|
|
4
|
+
const ThemeContext = require("./ThemeContext-DQUOeziy.cjs");
|
|
5
|
+
const LayoutContext = require("./LayoutContext-C4kKN9RV.cjs");
|
|
6
|
+
const googleMapsLoader = require("./google-maps-loader-DjJaYhV6.cjs");
|
|
7
|
+
const sonner = require("./sonner-DeUIj0Zg.cjs");
|
|
8
|
+
const tooltip = require("./tooltip-CwgSdy3h.cjs");
|
|
9
|
+
function XerticaProvider({
|
|
10
|
+
children,
|
|
11
|
+
apiKey,
|
|
12
|
+
googleMapsApiKey,
|
|
13
|
+
defaultBrandTheme,
|
|
14
|
+
primaryColor,
|
|
15
|
+
useCustomTokens,
|
|
16
|
+
disableDarkMode,
|
|
17
|
+
availableLanguages,
|
|
18
|
+
defaultLanguage
|
|
19
|
+
}) {
|
|
20
|
+
return /* @__PURE__ */ jsxRuntime.jsx(ThemeContext.ThemeProvider, { disableDarkMode, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
21
|
+
BrandColorsContext.BrandColorsProvider,
|
|
22
|
+
{
|
|
23
|
+
defaultTheme: defaultBrandTheme,
|
|
24
|
+
primaryColor,
|
|
25
|
+
useCustomTokens,
|
|
26
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
27
|
+
ThemeContext.LanguageProvider,
|
|
28
|
+
{
|
|
29
|
+
availableLanguages,
|
|
30
|
+
defaultLanguage,
|
|
31
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
32
|
+
BrandColorsContext.ApiKeyProvider,
|
|
33
|
+
{
|
|
34
|
+
initialApiKey: apiKey,
|
|
35
|
+
initialGeminiApiKey: apiKey,
|
|
36
|
+
initialGoogleMapsApiKey: googleMapsApiKey,
|
|
37
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(googleMapsLoader.GoogleMapsLoaderProvider, { apiKey: googleMapsApiKey, children: /* @__PURE__ */ jsxRuntime.jsx(BrandColorsContext.AssistenteProvider, { children: /* @__PURE__ */ jsxRuntime.jsx(LayoutContext.LayoutProvider, { children: /* @__PURE__ */ jsxRuntime.jsxs(tooltip.TooltipProvider, { children: [
|
|
38
|
+
children,
|
|
39
|
+
/* @__PURE__ */ jsxRuntime.jsx(sonner.Toaster, { position: "top-right", richColors: true })
|
|
40
|
+
] }) }) }) })
|
|
41
|
+
}
|
|
42
|
+
)
|
|
43
|
+
}
|
|
44
|
+
)
|
|
45
|
+
}
|
|
46
|
+
) });
|
|
47
|
+
}
|
|
48
|
+
exports.XerticaProvider = XerticaProvider;
|
|
@@ -0,0 +1,251 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const jsxRuntime = require("react/jsx-runtime");
|
|
3
|
+
const select = require("./select-Cmb8zF7w.cjs");
|
|
4
|
+
const lucideReact = require("lucide-react");
|
|
5
|
+
const reactI18next = require("react-i18next");
|
|
6
|
+
const ThemeContext = require("./ThemeContext-DQUOeziy.cjs");
|
|
7
|
+
const button = require("./button-Bnv9SvYK.cjs");
|
|
8
|
+
function XerticaLogo({
|
|
9
|
+
className = "w-auto h-8",
|
|
10
|
+
color,
|
|
11
|
+
variant = "default"
|
|
12
|
+
}) {
|
|
13
|
+
const getColor = () => {
|
|
14
|
+
if (color) return color;
|
|
15
|
+
switch (variant) {
|
|
16
|
+
case "white":
|
|
17
|
+
return "#FFFFFF";
|
|
18
|
+
case "theme":
|
|
19
|
+
return "currentColor";
|
|
20
|
+
default:
|
|
21
|
+
return "var(--primary)";
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
25
|
+
"svg",
|
|
26
|
+
{
|
|
27
|
+
className,
|
|
28
|
+
fill: "none",
|
|
29
|
+
preserveAspectRatio: "xMidYMid meet",
|
|
30
|
+
viewBox: "0 0 1543 289",
|
|
31
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
32
|
+
children: [
|
|
33
|
+
/* @__PURE__ */ jsxRuntime.jsx("title", { children: "Logo Xertica" }),
|
|
34
|
+
/* @__PURE__ */ jsxRuntime.jsxs("g", { id: "Xertica.ai", children: [
|
|
35
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M1352.82 239.808V285.425H1304.73V239.808H1352.82Z", fill: getColor() }),
|
|
36
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M814.8 284.848H766.711V77.4971H814.8V284.848Z", fill: getColor() }),
|
|
37
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M1543 284.438H1514.2V160.28H1543V284.438Z", fill: getColor() }),
|
|
38
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
39
|
+
"path",
|
|
40
|
+
{
|
|
41
|
+
clipRule: "evenodd",
|
|
42
|
+
d: "M1432.83 157.796C1446.98 157.796 1459.14 162.515 1468.58 170.709V160.28H1497.38V284.438H1468.58V274.01C1459.14 282.451 1446.98 286.921 1432.83 286.921C1395.1 286.921 1368.29 260.352 1368.29 222.359C1368.29 184.616 1395.1 157.796 1432.83 157.796ZM1432.83 183.778C1410.79 183.778 1396.27 199.061 1396.27 222.359C1396.27 245.658 1410.79 260.94 1432.83 260.94C1454.63 260.94 1468.9 245.658 1468.9 222.359C1468.9 199.06 1454.63 183.778 1432.83 183.778Z",
|
|
43
|
+
fill: getColor(),
|
|
44
|
+
fillRule: "evenodd"
|
|
45
|
+
}
|
|
46
|
+
),
|
|
47
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
48
|
+
"path",
|
|
49
|
+
{
|
|
50
|
+
d: "M947.87 73.3516C1002.88 73.3516 1044.42 107.647 1053.57 159.234H1004.68C997.221 132.988 976.34 117.308 947.87 117.308C911.387 117.308 887.337 142.612 887.337 181.176C887.337 219.739 911.387 245.036 947.87 245.036C976.34 245.036 997.221 229.356 1004.68 203.109H1053.57C1044.47 254.701 1003.26 289 947.87 289C884.853 289 840.078 244.626 840.078 181.176C840.078 118.142 884.854 73.3516 947.87 73.3516Z",
|
|
51
|
+
fill: getColor()
|
|
52
|
+
}
|
|
53
|
+
),
|
|
54
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
55
|
+
"path",
|
|
56
|
+
{
|
|
57
|
+
d: "M88.4971 39.8242L157.353 142.191L83.5371 251.524L60.9277 284.854H0L96.3154 142.191L5.37695 7H66.3047L88.4971 39.8242Z",
|
|
58
|
+
fill: getColor()
|
|
59
|
+
}
|
|
60
|
+
),
|
|
61
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
62
|
+
"path",
|
|
63
|
+
{
|
|
64
|
+
d: "M254.314 284.855H193.387L151.914 223.71L182.548 178.551L254.314 284.855Z",
|
|
65
|
+
fill: getColor()
|
|
66
|
+
}
|
|
67
|
+
),
|
|
68
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
69
|
+
"path",
|
|
70
|
+
{
|
|
71
|
+
clipRule: "evenodd",
|
|
72
|
+
d: "M1179.14 73.3477C1202.77 73.3477 1223.08 81.2286 1238.84 94.9121V77.4971H1286.94V284.847H1238.84V267.431C1223.09 281.528 1202.77 288.992 1179.14 288.992C1116.12 288.992 1071.35 244.622 1071.35 181.172C1071.35 118.139 1116.12 73.3478 1179.14 73.3477ZM1179.14 117.308C1142.66 117.308 1118.61 142.604 1118.61 181.172C1118.61 219.739 1142.66 245.035 1179.14 245.035C1215.21 245.035 1238.84 219.739 1238.84 181.172C1238.84 142.605 1215.21 117.308 1179.14 117.308Z",
|
|
73
|
+
fill: getColor(),
|
|
74
|
+
fillRule: "evenodd"
|
|
75
|
+
}
|
|
76
|
+
),
|
|
77
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M1543 145.383H1514.2V118.067H1543V145.383Z", fill: getColor() }),
|
|
78
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
79
|
+
"path",
|
|
80
|
+
{
|
|
81
|
+
d: "M672.466 77.501H736.31V121.457H672.466V211.448C672.466 230.939 682.415 240.891 702.313 240.891H736.309V284.852H698.999C649.246 284.851 625.203 259.968 625.203 211.449V7H672.466V77.501Z",
|
|
82
|
+
fill: getColor()
|
|
83
|
+
}
|
|
84
|
+
),
|
|
85
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M814.8 52.6172H766.711V7H814.8V52.6172Z", fill: getColor() }),
|
|
86
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
87
|
+
"path",
|
|
88
|
+
{
|
|
89
|
+
clipRule: "evenodd",
|
|
90
|
+
d: "M354.069 73.3516C417.086 73.3517 461.864 118.143 461.864 181.176C461.864 187.396 461.031 193.615 460.204 199.422H295.197C301.829 228.864 323.392 246.696 354.069 246.696C372.724 246.696 389.309 241.721 399.675 226.376H452.742C441.132 265.774 400.501 288.996 354.069 288.996C291.053 288.996 246.274 244.626 246.273 181.176C246.273 118.142 291.053 73.3516 354.069 73.3516ZM354.068 115.65C325.044 115.65 303.902 131.826 296.44 158.78H410.863C403.819 131.826 382.672 115.65 354.068 115.65Z",
|
|
91
|
+
fill: getColor(),
|
|
92
|
+
fillRule: "evenodd"
|
|
93
|
+
}
|
|
94
|
+
),
|
|
95
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
96
|
+
"path",
|
|
97
|
+
{
|
|
98
|
+
d: "M596.957 121.453H562.962C543.064 121.453 533.114 131.409 533.114 150.899V284.847H485.852V150.899C485.852 102.38 509.894 77.4972 559.647 77.4971H596.957V121.453Z",
|
|
99
|
+
fill: getColor()
|
|
100
|
+
}
|
|
101
|
+
),
|
|
102
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
103
|
+
"path",
|
|
104
|
+
{
|
|
105
|
+
d: "M182.552 98.6992L151.922 53.3906L188.014 0H248.941L182.552 98.6992Z",
|
|
106
|
+
fill: getColor()
|
|
107
|
+
}
|
|
108
|
+
)
|
|
109
|
+
] })
|
|
110
|
+
]
|
|
111
|
+
}
|
|
112
|
+
);
|
|
113
|
+
}
|
|
114
|
+
function LanguageSelector({
|
|
115
|
+
showLabel = false,
|
|
116
|
+
variant = "default",
|
|
117
|
+
showIcon = true,
|
|
118
|
+
className = "",
|
|
119
|
+
showWhenMonolingual = false
|
|
120
|
+
}) {
|
|
121
|
+
const { language, setLanguage, availableLanguages, isMonolingual } = ThemeContext.useLanguage();
|
|
122
|
+
const { t } = reactI18next.useTranslation();
|
|
123
|
+
if (isMonolingual && !showWhenMonolingual) {
|
|
124
|
+
return null;
|
|
125
|
+
}
|
|
126
|
+
const items = availableLanguages.map((lang) => {
|
|
127
|
+
const knownLabelKey = lang.code === "pt-BR" ? "languageSelector.ptBR" : lang.code === "en" ? "languageSelector.en" : lang.code === "es" ? "languageSelector.es" : null;
|
|
128
|
+
return {
|
|
129
|
+
value: lang.code,
|
|
130
|
+
label: knownLabelKey ? t(knownLabelKey, lang.label) : lang.label,
|
|
131
|
+
// Fall back to the first two characters of the code if no shortLabel given
|
|
132
|
+
minimalLabel: lang.shortLabel ?? lang.code.slice(0, 2).toUpperCase()
|
|
133
|
+
};
|
|
134
|
+
});
|
|
135
|
+
const currentItem = items.find((l) => l.value === language) ?? items[0];
|
|
136
|
+
const displayLabel = variant === "minimal" ? currentItem.minimalLabel : currentItem.label;
|
|
137
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(select.Select, { value: language, onValueChange: (val) => setLanguage(val), children: [
|
|
138
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
139
|
+
select.SelectTrigger,
|
|
140
|
+
{
|
|
141
|
+
className: `h-9 gap-2 px-3 border-none shadow-none focus:ring-0 text-muted-foreground hover:bg-accent hover:text-accent-foreground ${className}`,
|
|
142
|
+
"aria-label": t("languageSelector.label", "Selecionar idioma"),
|
|
143
|
+
children: [
|
|
144
|
+
showIcon && /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Globe, { className: "h-4 w-4 shrink-0" }),
|
|
145
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm", children: displayLabel })
|
|
146
|
+
]
|
|
147
|
+
}
|
|
148
|
+
),
|
|
149
|
+
/* @__PURE__ */ jsxRuntime.jsx(select.SelectContent, { align: "end", children: items.map(({ value, label }) => /* @__PURE__ */ jsxRuntime.jsx(select.SelectItem, { value, children: label }, value)) })
|
|
150
|
+
] });
|
|
151
|
+
}
|
|
152
|
+
function ThemeToggle({
|
|
153
|
+
size = "md",
|
|
154
|
+
variant = "ghost",
|
|
155
|
+
className = "",
|
|
156
|
+
showLabel = false
|
|
157
|
+
}) {
|
|
158
|
+
const { isDark, toggleTheme } = ThemeContext.useTheme();
|
|
159
|
+
const { t } = reactI18next.useTranslation();
|
|
160
|
+
const getSizeClasses = () => {
|
|
161
|
+
switch (size) {
|
|
162
|
+
case "sm":
|
|
163
|
+
return "h-8 w-8 p-0";
|
|
164
|
+
case "lg":
|
|
165
|
+
return "h-12 w-12 p-0";
|
|
166
|
+
default:
|
|
167
|
+
return "h-9 w-9 p-0";
|
|
168
|
+
}
|
|
169
|
+
};
|
|
170
|
+
const getIconSize = () => {
|
|
171
|
+
switch (size) {
|
|
172
|
+
case "sm":
|
|
173
|
+
return "h-3 w-3";
|
|
174
|
+
case "lg":
|
|
175
|
+
return "h-6 w-6";
|
|
176
|
+
default:
|
|
177
|
+
return "h-4 w-4";
|
|
178
|
+
}
|
|
179
|
+
};
|
|
180
|
+
const buttonClasses = showLabel ? "flex items-center gap-2 px-3 py-2" : getSizeClasses();
|
|
181
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
182
|
+
button.Button,
|
|
183
|
+
{
|
|
184
|
+
variant,
|
|
185
|
+
onClick: toggleTheme,
|
|
186
|
+
className: `group ${buttonClasses} transition-all duration-200 hover:scale-105 ${className}`,
|
|
187
|
+
title: isDark ? t("themeToggle.switchToLight") : t("themeToggle.switchToDark"),
|
|
188
|
+
"aria-label": isDark ? t("themeToggle.switchToLight") : t("themeToggle.switchToDark"),
|
|
189
|
+
children: isDark ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
190
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
191
|
+
lucideReact.Sun,
|
|
192
|
+
{
|
|
193
|
+
className: `${getIconSize()} text-primary dark:text-amber-400 group-hover:opacity-80`
|
|
194
|
+
}
|
|
195
|
+
),
|
|
196
|
+
showLabel && /* @__PURE__ */ jsxRuntime.jsx("span", { children: t("themeToggle.lightMode") })
|
|
197
|
+
] }) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
198
|
+
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.Moon, { className: `${getIconSize()} text-muted-foreground group-hover:text-foreground` }),
|
|
199
|
+
showLabel && /* @__PURE__ */ jsxRuntime.jsx("span", { children: t("themeToggle.darkMode") })
|
|
200
|
+
] })
|
|
201
|
+
}
|
|
202
|
+
);
|
|
203
|
+
}
|
|
204
|
+
function XerticaXLogo({
|
|
205
|
+
className = "w-auto h-8",
|
|
206
|
+
color,
|
|
207
|
+
variant = "default"
|
|
208
|
+
}) {
|
|
209
|
+
const getColor = () => {
|
|
210
|
+
if (color) return color;
|
|
211
|
+
switch (variant) {
|
|
212
|
+
case "white":
|
|
213
|
+
return "#FFFFFF";
|
|
214
|
+
case "theme":
|
|
215
|
+
return "currentColor";
|
|
216
|
+
default:
|
|
217
|
+
return "var(--primary)";
|
|
218
|
+
}
|
|
219
|
+
};
|
|
220
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
221
|
+
"svg",
|
|
222
|
+
{
|
|
223
|
+
className,
|
|
224
|
+
fill: "none",
|
|
225
|
+
preserveAspectRatio: "xMidYMid meet",
|
|
226
|
+
viewBox: "0 0 258 282",
|
|
227
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
228
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs("g", { id: "Xertica X", children: [
|
|
229
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
230
|
+
"path",
|
|
231
|
+
{
|
|
232
|
+
d: "M67.2666 0.0361328L89.7793 33.3447L159.63 137.228L84.7471 248.178L61.8115 282H0L97.7109 137.228L5.45508 0.0361328H67.2666Z",
|
|
233
|
+
fill: getColor()
|
|
234
|
+
}
|
|
235
|
+
),
|
|
236
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M258 282H196.185L154.114 219.951L185.192 174.123L258 282Z", fill: getColor() }),
|
|
237
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
238
|
+
"path",
|
|
239
|
+
{
|
|
240
|
+
d: "M252.696 0.186523L185.042 100.142L154.106 54.0693L190.884 0L252.696 0.186523Z",
|
|
241
|
+
fill: getColor()
|
|
242
|
+
}
|
|
243
|
+
)
|
|
244
|
+
] })
|
|
245
|
+
}
|
|
246
|
+
);
|
|
247
|
+
}
|
|
248
|
+
exports.LanguageSelector = LanguageSelector;
|
|
249
|
+
exports.ThemeToggle = ThemeToggle;
|
|
250
|
+
exports.XerticaLogo = XerticaLogo;
|
|
251
|
+
exports.XerticaXLogo = XerticaXLogo;
|
|
@@ -0,0 +1,252 @@
|
|
|
1
|
+
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
2
|
+
import { S as Select, h as SelectTrigger, a as SelectContent, c as SelectItem } from "./select-CprSNX0z.js";
|
|
3
|
+
import { Globe, Sun, Moon } from "lucide-react";
|
|
4
|
+
import { useTranslation } from "react-i18next";
|
|
5
|
+
import { u as useLanguage, a as useTheme } from "./ThemeContext-BgclCB35.js";
|
|
6
|
+
import { B as Button } from "./button-C6uvh0rV.js";
|
|
7
|
+
function XerticaLogo({
|
|
8
|
+
className = "w-auto h-8",
|
|
9
|
+
color,
|
|
10
|
+
variant = "default"
|
|
11
|
+
}) {
|
|
12
|
+
const getColor = () => {
|
|
13
|
+
if (color) return color;
|
|
14
|
+
switch (variant) {
|
|
15
|
+
case "white":
|
|
16
|
+
return "#FFFFFF";
|
|
17
|
+
case "theme":
|
|
18
|
+
return "currentColor";
|
|
19
|
+
default:
|
|
20
|
+
return "var(--primary)";
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
return /* @__PURE__ */ jsxs(
|
|
24
|
+
"svg",
|
|
25
|
+
{
|
|
26
|
+
className,
|
|
27
|
+
fill: "none",
|
|
28
|
+
preserveAspectRatio: "xMidYMid meet",
|
|
29
|
+
viewBox: "0 0 1543 289",
|
|
30
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
31
|
+
children: [
|
|
32
|
+
/* @__PURE__ */ jsx("title", { children: "Logo Xertica" }),
|
|
33
|
+
/* @__PURE__ */ jsxs("g", { id: "Xertica.ai", children: [
|
|
34
|
+
/* @__PURE__ */ jsx("path", { d: "M1352.82 239.808V285.425H1304.73V239.808H1352.82Z", fill: getColor() }),
|
|
35
|
+
/* @__PURE__ */ jsx("path", { d: "M814.8 284.848H766.711V77.4971H814.8V284.848Z", fill: getColor() }),
|
|
36
|
+
/* @__PURE__ */ jsx("path", { d: "M1543 284.438H1514.2V160.28H1543V284.438Z", fill: getColor() }),
|
|
37
|
+
/* @__PURE__ */ jsx(
|
|
38
|
+
"path",
|
|
39
|
+
{
|
|
40
|
+
clipRule: "evenodd",
|
|
41
|
+
d: "M1432.83 157.796C1446.98 157.796 1459.14 162.515 1468.58 170.709V160.28H1497.38V284.438H1468.58V274.01C1459.14 282.451 1446.98 286.921 1432.83 286.921C1395.1 286.921 1368.29 260.352 1368.29 222.359C1368.29 184.616 1395.1 157.796 1432.83 157.796ZM1432.83 183.778C1410.79 183.778 1396.27 199.061 1396.27 222.359C1396.27 245.658 1410.79 260.94 1432.83 260.94C1454.63 260.94 1468.9 245.658 1468.9 222.359C1468.9 199.06 1454.63 183.778 1432.83 183.778Z",
|
|
42
|
+
fill: getColor(),
|
|
43
|
+
fillRule: "evenodd"
|
|
44
|
+
}
|
|
45
|
+
),
|
|
46
|
+
/* @__PURE__ */ jsx(
|
|
47
|
+
"path",
|
|
48
|
+
{
|
|
49
|
+
d: "M947.87 73.3516C1002.88 73.3516 1044.42 107.647 1053.57 159.234H1004.68C997.221 132.988 976.34 117.308 947.87 117.308C911.387 117.308 887.337 142.612 887.337 181.176C887.337 219.739 911.387 245.036 947.87 245.036C976.34 245.036 997.221 229.356 1004.68 203.109H1053.57C1044.47 254.701 1003.26 289 947.87 289C884.853 289 840.078 244.626 840.078 181.176C840.078 118.142 884.854 73.3516 947.87 73.3516Z",
|
|
50
|
+
fill: getColor()
|
|
51
|
+
}
|
|
52
|
+
),
|
|
53
|
+
/* @__PURE__ */ jsx(
|
|
54
|
+
"path",
|
|
55
|
+
{
|
|
56
|
+
d: "M88.4971 39.8242L157.353 142.191L83.5371 251.524L60.9277 284.854H0L96.3154 142.191L5.37695 7H66.3047L88.4971 39.8242Z",
|
|
57
|
+
fill: getColor()
|
|
58
|
+
}
|
|
59
|
+
),
|
|
60
|
+
/* @__PURE__ */ jsx(
|
|
61
|
+
"path",
|
|
62
|
+
{
|
|
63
|
+
d: "M254.314 284.855H193.387L151.914 223.71L182.548 178.551L254.314 284.855Z",
|
|
64
|
+
fill: getColor()
|
|
65
|
+
}
|
|
66
|
+
),
|
|
67
|
+
/* @__PURE__ */ jsx(
|
|
68
|
+
"path",
|
|
69
|
+
{
|
|
70
|
+
clipRule: "evenodd",
|
|
71
|
+
d: "M1179.14 73.3477C1202.77 73.3477 1223.08 81.2286 1238.84 94.9121V77.4971H1286.94V284.847H1238.84V267.431C1223.09 281.528 1202.77 288.992 1179.14 288.992C1116.12 288.992 1071.35 244.622 1071.35 181.172C1071.35 118.139 1116.12 73.3478 1179.14 73.3477ZM1179.14 117.308C1142.66 117.308 1118.61 142.604 1118.61 181.172C1118.61 219.739 1142.66 245.035 1179.14 245.035C1215.21 245.035 1238.84 219.739 1238.84 181.172C1238.84 142.605 1215.21 117.308 1179.14 117.308Z",
|
|
72
|
+
fill: getColor(),
|
|
73
|
+
fillRule: "evenodd"
|
|
74
|
+
}
|
|
75
|
+
),
|
|
76
|
+
/* @__PURE__ */ jsx("path", { d: "M1543 145.383H1514.2V118.067H1543V145.383Z", fill: getColor() }),
|
|
77
|
+
/* @__PURE__ */ jsx(
|
|
78
|
+
"path",
|
|
79
|
+
{
|
|
80
|
+
d: "M672.466 77.501H736.31V121.457H672.466V211.448C672.466 230.939 682.415 240.891 702.313 240.891H736.309V284.852H698.999C649.246 284.851 625.203 259.968 625.203 211.449V7H672.466V77.501Z",
|
|
81
|
+
fill: getColor()
|
|
82
|
+
}
|
|
83
|
+
),
|
|
84
|
+
/* @__PURE__ */ jsx("path", { d: "M814.8 52.6172H766.711V7H814.8V52.6172Z", fill: getColor() }),
|
|
85
|
+
/* @__PURE__ */ jsx(
|
|
86
|
+
"path",
|
|
87
|
+
{
|
|
88
|
+
clipRule: "evenodd",
|
|
89
|
+
d: "M354.069 73.3516C417.086 73.3517 461.864 118.143 461.864 181.176C461.864 187.396 461.031 193.615 460.204 199.422H295.197C301.829 228.864 323.392 246.696 354.069 246.696C372.724 246.696 389.309 241.721 399.675 226.376H452.742C441.132 265.774 400.501 288.996 354.069 288.996C291.053 288.996 246.274 244.626 246.273 181.176C246.273 118.142 291.053 73.3516 354.069 73.3516ZM354.068 115.65C325.044 115.65 303.902 131.826 296.44 158.78H410.863C403.819 131.826 382.672 115.65 354.068 115.65Z",
|
|
90
|
+
fill: getColor(),
|
|
91
|
+
fillRule: "evenodd"
|
|
92
|
+
}
|
|
93
|
+
),
|
|
94
|
+
/* @__PURE__ */ jsx(
|
|
95
|
+
"path",
|
|
96
|
+
{
|
|
97
|
+
d: "M596.957 121.453H562.962C543.064 121.453 533.114 131.409 533.114 150.899V284.847H485.852V150.899C485.852 102.38 509.894 77.4972 559.647 77.4971H596.957V121.453Z",
|
|
98
|
+
fill: getColor()
|
|
99
|
+
}
|
|
100
|
+
),
|
|
101
|
+
/* @__PURE__ */ jsx(
|
|
102
|
+
"path",
|
|
103
|
+
{
|
|
104
|
+
d: "M182.552 98.6992L151.922 53.3906L188.014 0H248.941L182.552 98.6992Z",
|
|
105
|
+
fill: getColor()
|
|
106
|
+
}
|
|
107
|
+
)
|
|
108
|
+
] })
|
|
109
|
+
]
|
|
110
|
+
}
|
|
111
|
+
);
|
|
112
|
+
}
|
|
113
|
+
function LanguageSelector({
|
|
114
|
+
showLabel = false,
|
|
115
|
+
variant = "default",
|
|
116
|
+
showIcon = true,
|
|
117
|
+
className = "",
|
|
118
|
+
showWhenMonolingual = false
|
|
119
|
+
}) {
|
|
120
|
+
const { language, setLanguage, availableLanguages, isMonolingual } = useLanguage();
|
|
121
|
+
const { t } = useTranslation();
|
|
122
|
+
if (isMonolingual && !showWhenMonolingual) {
|
|
123
|
+
return null;
|
|
124
|
+
}
|
|
125
|
+
const items = availableLanguages.map((lang) => {
|
|
126
|
+
const knownLabelKey = lang.code === "pt-BR" ? "languageSelector.ptBR" : lang.code === "en" ? "languageSelector.en" : lang.code === "es" ? "languageSelector.es" : null;
|
|
127
|
+
return {
|
|
128
|
+
value: lang.code,
|
|
129
|
+
label: knownLabelKey ? t(knownLabelKey, lang.label) : lang.label,
|
|
130
|
+
// Fall back to the first two characters of the code if no shortLabel given
|
|
131
|
+
minimalLabel: lang.shortLabel ?? lang.code.slice(0, 2).toUpperCase()
|
|
132
|
+
};
|
|
133
|
+
});
|
|
134
|
+
const currentItem = items.find((l) => l.value === language) ?? items[0];
|
|
135
|
+
const displayLabel = variant === "minimal" ? currentItem.minimalLabel : currentItem.label;
|
|
136
|
+
return /* @__PURE__ */ jsxs(Select, { value: language, onValueChange: (val) => setLanguage(val), children: [
|
|
137
|
+
/* @__PURE__ */ jsxs(
|
|
138
|
+
SelectTrigger,
|
|
139
|
+
{
|
|
140
|
+
className: `h-9 gap-2 px-3 border-none shadow-none focus:ring-0 text-muted-foreground hover:bg-accent hover:text-accent-foreground ${className}`,
|
|
141
|
+
"aria-label": t("languageSelector.label", "Selecionar idioma"),
|
|
142
|
+
children: [
|
|
143
|
+
showIcon && /* @__PURE__ */ jsx(Globe, { className: "h-4 w-4 shrink-0" }),
|
|
144
|
+
/* @__PURE__ */ jsx("span", { className: "text-sm", children: displayLabel })
|
|
145
|
+
]
|
|
146
|
+
}
|
|
147
|
+
),
|
|
148
|
+
/* @__PURE__ */ jsx(SelectContent, { align: "end", children: items.map(({ value, label }) => /* @__PURE__ */ jsx(SelectItem, { value, children: label }, value)) })
|
|
149
|
+
] });
|
|
150
|
+
}
|
|
151
|
+
function ThemeToggle({
|
|
152
|
+
size = "md",
|
|
153
|
+
variant = "ghost",
|
|
154
|
+
className = "",
|
|
155
|
+
showLabel = false
|
|
156
|
+
}) {
|
|
157
|
+
const { isDark, toggleTheme } = useTheme();
|
|
158
|
+
const { t } = useTranslation();
|
|
159
|
+
const getSizeClasses = () => {
|
|
160
|
+
switch (size) {
|
|
161
|
+
case "sm":
|
|
162
|
+
return "h-8 w-8 p-0";
|
|
163
|
+
case "lg":
|
|
164
|
+
return "h-12 w-12 p-0";
|
|
165
|
+
default:
|
|
166
|
+
return "h-9 w-9 p-0";
|
|
167
|
+
}
|
|
168
|
+
};
|
|
169
|
+
const getIconSize = () => {
|
|
170
|
+
switch (size) {
|
|
171
|
+
case "sm":
|
|
172
|
+
return "h-3 w-3";
|
|
173
|
+
case "lg":
|
|
174
|
+
return "h-6 w-6";
|
|
175
|
+
default:
|
|
176
|
+
return "h-4 w-4";
|
|
177
|
+
}
|
|
178
|
+
};
|
|
179
|
+
const buttonClasses = showLabel ? "flex items-center gap-2 px-3 py-2" : getSizeClasses();
|
|
180
|
+
return /* @__PURE__ */ jsx(
|
|
181
|
+
Button,
|
|
182
|
+
{
|
|
183
|
+
variant,
|
|
184
|
+
onClick: toggleTheme,
|
|
185
|
+
className: `group ${buttonClasses} transition-all duration-200 hover:scale-105 ${className}`,
|
|
186
|
+
title: isDark ? t("themeToggle.switchToLight") : t("themeToggle.switchToDark"),
|
|
187
|
+
"aria-label": isDark ? t("themeToggle.switchToLight") : t("themeToggle.switchToDark"),
|
|
188
|
+
children: isDark ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
189
|
+
/* @__PURE__ */ jsx(
|
|
190
|
+
Sun,
|
|
191
|
+
{
|
|
192
|
+
className: `${getIconSize()} text-primary dark:text-amber-400 group-hover:opacity-80`
|
|
193
|
+
}
|
|
194
|
+
),
|
|
195
|
+
showLabel && /* @__PURE__ */ jsx("span", { children: t("themeToggle.lightMode") })
|
|
196
|
+
] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
197
|
+
/* @__PURE__ */ jsx(Moon, { className: `${getIconSize()} text-muted-foreground group-hover:text-foreground` }),
|
|
198
|
+
showLabel && /* @__PURE__ */ jsx("span", { children: t("themeToggle.darkMode") })
|
|
199
|
+
] })
|
|
200
|
+
}
|
|
201
|
+
);
|
|
202
|
+
}
|
|
203
|
+
function XerticaXLogo({
|
|
204
|
+
className = "w-auto h-8",
|
|
205
|
+
color,
|
|
206
|
+
variant = "default"
|
|
207
|
+
}) {
|
|
208
|
+
const getColor = () => {
|
|
209
|
+
if (color) return color;
|
|
210
|
+
switch (variant) {
|
|
211
|
+
case "white":
|
|
212
|
+
return "#FFFFFF";
|
|
213
|
+
case "theme":
|
|
214
|
+
return "currentColor";
|
|
215
|
+
default:
|
|
216
|
+
return "var(--primary)";
|
|
217
|
+
}
|
|
218
|
+
};
|
|
219
|
+
return /* @__PURE__ */ jsx(
|
|
220
|
+
"svg",
|
|
221
|
+
{
|
|
222
|
+
className,
|
|
223
|
+
fill: "none",
|
|
224
|
+
preserveAspectRatio: "xMidYMid meet",
|
|
225
|
+
viewBox: "0 0 258 282",
|
|
226
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
227
|
+
children: /* @__PURE__ */ jsxs("g", { id: "Xertica X", children: [
|
|
228
|
+
/* @__PURE__ */ jsx(
|
|
229
|
+
"path",
|
|
230
|
+
{
|
|
231
|
+
d: "M67.2666 0.0361328L89.7793 33.3447L159.63 137.228L84.7471 248.178L61.8115 282H0L97.7109 137.228L5.45508 0.0361328H67.2666Z",
|
|
232
|
+
fill: getColor()
|
|
233
|
+
}
|
|
234
|
+
),
|
|
235
|
+
/* @__PURE__ */ jsx("path", { d: "M258 282H196.185L154.114 219.951L185.192 174.123L258 282Z", fill: getColor() }),
|
|
236
|
+
/* @__PURE__ */ jsx(
|
|
237
|
+
"path",
|
|
238
|
+
{
|
|
239
|
+
d: "M252.696 0.186523L185.042 100.142L154.106 54.0693L190.884 0L252.696 0.186523Z",
|
|
240
|
+
fill: getColor()
|
|
241
|
+
}
|
|
242
|
+
)
|
|
243
|
+
] })
|
|
244
|
+
}
|
|
245
|
+
);
|
|
246
|
+
}
|
|
247
|
+
export {
|
|
248
|
+
LanguageSelector as L,
|
|
249
|
+
ThemeToggle as T,
|
|
250
|
+
XerticaLogo as X,
|
|
251
|
+
XerticaXLogo as a
|
|
252
|
+
};
|
package/dist/brand.cjs.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const XerticaProvider = require("./XerticaProvider-
|
|
4
|
-
const XerticaXLogo = require("./XerticaXLogo-
|
|
3
|
+
const XerticaProvider = require("./XerticaProvider-CiNKjMx1.cjs");
|
|
4
|
+
const XerticaXLogo = require("./XerticaXLogo-B2svDGZh.cjs");
|
|
5
5
|
const XerticaOrbe = require("./XerticaOrbe-BCUVSPPB.cjs");
|
|
6
6
|
exports.XerticaProvider = XerticaProvider.XerticaProvider;
|
|
7
7
|
exports.LanguageSelector = XerticaXLogo.LanguageSelector;
|
package/dist/brand.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { X } from "./XerticaProvider-
|
|
2
|
-
import { L, T, X as X2, a } from "./XerticaXLogo-
|
|
1
|
+
import { X } from "./XerticaProvider-BSyFrmC0.js";
|
|
2
|
+
import { L, T, X as X2, a } from "./XerticaXLogo-CowGv7BC.js";
|
|
3
3
|
import { X as X3 } from "./XerticaOrbe-By8eEvR-.js";
|
|
4
4
|
export {
|
|
5
5
|
L as LanguageSelector,
|
package/dist/hooks.cjs.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const LayoutContext = require("./LayoutContext-C4kKN9RV.cjs");
|
|
4
|
-
const ThemeContext = require("./ThemeContext-
|
|
4
|
+
const ThemeContext = require("./ThemeContext-DQUOeziy.cjs");
|
|
5
5
|
const BrandColorsContext = require("./BrandColorsContext-GUyFmkX0.cjs");
|
|
6
6
|
const useMobile = require("./use-mobile-BB4M_4Ru.cjs");
|
|
7
7
|
const React = require("react");
|
package/dist/hooks.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { u as useLayout } from "./LayoutContext-CGEe1oPq.js";
|
|
2
2
|
import { L, a } from "./LayoutContext-CGEe1oPq.js";
|
|
3
|
-
import { D, L as L2, T, u, a as a2 } from "./ThemeContext-
|
|
3
|
+
import { D, L as L2, T, u, a as a2 } from "./ThemeContext-BgclCB35.js";
|
|
4
4
|
import { A, a as a3, B, u as u2, b, c } from "./BrandColorsContext-DLVJgtmH.js";
|
|
5
5
|
import { u as u3, a as a4 } from "./use-mobile-CLu9nqGL.js";
|
|
6
6
|
import { useEffect } from "react";
|
package/dist/index.cjs.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const xerticaAssistant = require("./xertica-assistant-d2qs2Vd9.cjs");
|
|
4
|
-
const XerticaProvider = require("./XerticaProvider-
|
|
5
|
-
const VerifyEmailPage = require("./VerifyEmailPage-
|
|
4
|
+
const XerticaProvider = require("./XerticaProvider-CiNKjMx1.cjs");
|
|
5
|
+
const VerifyEmailPage = require("./VerifyEmailPage-VoMI7MYH.cjs");
|
|
6
6
|
const button = require("./button-Bnv9SvYK.cjs");
|
|
7
7
|
const skeleton = require("./skeleton-4zoHiFJ_.cjs");
|
|
8
8
|
const alertDialog = require("./alert-dialog-B4M3vQKS.cjs");
|
|
@@ -22,12 +22,12 @@ const useMobile = require("./use-mobile-BB4M_4Ru.cjs");
|
|
|
22
22
|
const FeatureCard = require("./FeatureCard-ie3L8Fpr.cjs");
|
|
23
23
|
const FeatureCardSkeleton = require("./FeatureCardSkeleton-mO3Bdm_V.cjs");
|
|
24
24
|
const CodeBlock = require("./CodeBlock-CV6dtsTM.cjs");
|
|
25
|
-
const XerticaXLogo = require("./XerticaXLogo-
|
|
25
|
+
const XerticaXLogo = require("./XerticaXLogo-B2svDGZh.cjs");
|
|
26
26
|
const XerticaOrbe = require("./XerticaOrbe-BCUVSPPB.cjs");
|
|
27
|
-
const sidebar = require("./sidebar-
|
|
27
|
+
const sidebar = require("./sidebar-CZ2mWaMM.cjs");
|
|
28
28
|
require("react");
|
|
29
29
|
const LayoutContext = require("./LayoutContext-C4kKN9RV.cjs");
|
|
30
|
-
const ThemeContext = require("./ThemeContext-
|
|
30
|
+
const ThemeContext = require("./ThemeContext-DQUOeziy.cjs");
|
|
31
31
|
const AudioPlayer = require("./AudioPlayer-BWDW6TN9.cjs");
|
|
32
32
|
const i18n = require("i18next");
|
|
33
33
|
exports.FormattedDocument = xerticaAssistant.FormattedDocument;
|