@localazy/strapi-plugin 1.0.3 → 1.0.8
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/_chunks/{App-CtS6CrNn.mjs → App-C0ogWaOz.mjs} +8 -4
- package/dist/_chunks/{App-NRmSxuW3.js → App-Dl58PZKy.js} +91 -87
- package/dist/_chunks/{ContentTransferSetup-CeKXlzw_.mjs → ContentTransferSetup-ClR8Nwv2.mjs} +41 -452
- package/dist/_chunks/{ContentTransferSetup-DGs8MZPj.js → ContentTransferSetup-DWQg9zDj.js} +91 -502
- package/dist/_chunks/{GlobalSettings-rOwd0Y0E.mjs → GlobalSettings-B_h5sPwa.mjs} +7 -4
- package/dist/_chunks/{GlobalSettings-CRMPRA3Y.js → GlobalSettings-BpY7BoXu.js} +43 -40
- package/dist/_chunks/{LanguagesSelector-Bd8VFHib.js → LanguagesSelector-Bfrsr3-P.js} +10 -8
- package/dist/_chunks/{LanguagesSelector-CeB7tVcb.mjs → LanguagesSelector-u9iDsQqB.mjs} +4 -2
- package/dist/_chunks/LocalazyPanel-BedTxk3C.js +83 -0
- package/dist/_chunks/LocalazyPanel-CuvdSJYx.mjs +83 -0
- package/dist/_chunks/LocalazyStatusColumn-955GpXAv.mjs +51 -0
- package/dist/_chunks/LocalazyStatusColumn-Bf1ntoc7.js +51 -0
- package/dist/_chunks/_commonjsHelpers-Bc2YnDe1.js +7 -0
- package/dist/_chunks/_commonjsHelpers-DWwsNxpa.mjs +8 -0
- package/dist/_chunks/en-CMWcM0nM.js +10 -0
- package/dist/_chunks/en-RX915msK.mjs +10 -0
- package/dist/_chunks/entry-exclusion-service-BlyFqyBY.mjs +60 -0
- package/dist/_chunks/entry-exclusion-service-bm-lp4za.js +60 -0
- package/dist/_chunks/{has-model-changed-gNSOSMBa.js → has-model-changed-B5SSh8XW.js} +4 -3
- package/dist/_chunks/{has-model-changed-DViUIQHk.mjs → has-model-changed-DIHY9LBA.mjs} +3 -2
- package/dist/_chunks/i18n-0dV2P-Hm.js +2378 -0
- package/dist/_chunks/i18n-RoETLXdU.mjs +2378 -0
- package/dist/_chunks/index-1he9s_bs.js +430 -0
- package/dist/_chunks/index-BIbKC7-V.mjs +432 -0
- package/dist/_chunks/{index-Dj68Ixl2.mjs → index-C15Goe6p.mjs} +120 -4
- package/dist/_chunks/{set-Cbi1yYuW.js → index-CaY3BYnQ.js} +878 -4379
- package/dist/_chunks/{set-Dnhh_SyE.mjs → index-DOCSzcPH.mjs} +907 -4409
- package/dist/_chunks/{index-Bbwk3kp3.js → index-Q3-srfXc.js} +142 -4
- package/dist/_chunks/initReactI18next-B0H8_DlW.js +60 -0
- package/dist/_chunks/initReactI18next-MHHxeg_9.mjs +61 -0
- package/dist/_chunks/{isEqual-CC-cEPwY.mjs → isEqual-BazjlHGf.mjs} +1 -1
- package/dist/_chunks/{isEqual-0M0aSdTT.js → isEqual-CrlZhAtq.js} +1 -1
- package/dist/_chunks/set-BRyy4Ra6.mjs +893 -0
- package/dist/_chunks/set-CmcBsVOP.js +891 -0
- package/dist/_chunks/useTranslation-BdIl-aLe.js +188 -0
- package/dist/_chunks/useTranslation-CZQ4lU1m.mjs +189 -0
- package/dist/admin/index.js +1 -1
- package/dist/admin/index.mjs +1 -1
- package/dist/admin/src/components/LocalazyPanel.d.ts +4 -0
- package/dist/admin/src/components/LocalazyStatusColumn.d.ts +3 -0
- package/dist/admin/src/index.d.ts +1 -0
- package/dist/admin/src/modules/entry-exclusion/services/entry-exclusion-service.d.ts +18 -0
- package/dist/admin/src/modules/plugin-settings/locale/en.d.ts +8 -0
- package/dist/server/index.js +234 -40
- package/dist/server/index.mjs +234 -40
- package/dist/server/src/controllers/entry-exclusion-controller.d.ts +21 -0
- package/dist/server/src/controllers/index.d.ts +7 -0
- package/dist/server/src/core/index.d.ts +6 -0
- package/dist/server/src/index.d.ts +15 -0
- package/dist/server/src/routes/entry-exclusion-routes.d.ts +9 -0
- package/dist/server/src/services/entry-exclusion-service.d.ts +23 -0
- package/dist/server/src/services/index.d.ts +8 -0
- package/dist/server/src/utils/drop-property-deep.d.ts +2 -0
- package/package.json +2 -2
- package/dist/_chunks/en-BTf8goGM.mjs +0 -8
- package/dist/_chunks/en-CRtsEFtl.js +0 -8
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { useNavigate, useLocation, NavLink, Routes, Route } from "react-router-dom";
|
|
3
|
-
import {
|
|
3
|
+
import { i as ForwardRef$2H, j as ForwardRef$d, k as ForwardRef$3P, F as Flex, L as Loader, B as Button, c as Box, T as Typography, l as Link, m as SubNav, n as SubNavHeader, o as SubNavSections, p as SubNavSection, q as SubNavLink, r as ForwardRef$L, G as Grid, D as Divider, s as darkTheme, t as lightTheme, A as Alert, u as DesignSystemProvider } from "./index-DOCSzcPH.mjs";
|
|
4
4
|
import { useState, useEffect } from "react";
|
|
5
|
-
import { P as PLUGIN_ID, c as createStrapiApiAxiosInstance, u as useLocalazyIdentity, L as LocalazyUserService, e as emptyIdentity } from "./index-
|
|
6
|
-
import { P as
|
|
5
|
+
import { P as PLUGIN_ID, c as createStrapiApiAxiosInstance, u as useLocalazyIdentity, L as LocalazyUserService, e as emptyIdentity } from "./index-C15Goe6p.mjs";
|
|
6
|
+
import { P as PluginSettingsService, c as cloneDeep, s as set } from "./set-BRyy4Ra6.mjs";
|
|
7
|
+
import { u as useTranslation } from "./useTranslation-CZQ4lU1m.mjs";
|
|
8
|
+
import { g as getDefaultExportFromCjs } from "./_commonjsHelpers-DWwsNxpa.mjs";
|
|
9
|
+
import { P as ProjectService, L as LanguagesSelector } from "./LanguagesSelector-u9iDsQqB.mjs";
|
|
7
10
|
import { Layouts, Page } from "@strapi/strapi/admin";
|
|
8
|
-
import
|
|
11
|
+
import "./i18n-RoETLXdU.mjs";
|
|
12
|
+
import { h as hasModelChanged } from "./has-model-changed-DIHY9LBA.mjs";
|
|
9
13
|
var PLUGIN_ROUTES = /* @__PURE__ */ ((PLUGIN_ROUTES2) => {
|
|
10
14
|
PLUGIN_ROUTES2["ROOT"] = "";
|
|
11
15
|
PLUGIN_ROUTES2["LOGIN"] = "login";
|
|
@@ -2,12 +2,16 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
|
4
4
|
const reactRouterDom = require("react-router-dom");
|
|
5
|
-
const
|
|
5
|
+
const index$1 = require("./index-CaY3BYnQ.js");
|
|
6
6
|
const React = require("react");
|
|
7
|
-
const index = require("./index-
|
|
8
|
-
const
|
|
7
|
+
const index = require("./index-Q3-srfXc.js");
|
|
8
|
+
const set = require("./set-CmcBsVOP.js");
|
|
9
|
+
const useTranslation = require("./useTranslation-BdIl-aLe.js");
|
|
10
|
+
const _commonjsHelpers = require("./_commonjsHelpers-Bc2YnDe1.js");
|
|
11
|
+
const LanguagesSelector = require("./LanguagesSelector-Bfrsr3-P.js");
|
|
9
12
|
const admin = require("@strapi/strapi/admin");
|
|
10
|
-
|
|
13
|
+
require("./i18n-0dV2P-Hm.js");
|
|
14
|
+
const hasModelChanged = require("./has-model-changed-B5SSh8XW.js");
|
|
11
15
|
var PLUGIN_ROUTES = /* @__PURE__ */ ((PLUGIN_ROUTES2) => {
|
|
12
16
|
PLUGIN_ROUTES2["ROOT"] = "";
|
|
13
17
|
PLUGIN_ROUTES2["LOGIN"] = "login";
|
|
@@ -36,13 +40,13 @@ const useRedirectToPluginRoute = () => {
|
|
|
36
40
|
};
|
|
37
41
|
};
|
|
38
42
|
const useNav = () => {
|
|
39
|
-
const { t: t2 } =
|
|
43
|
+
const { t: t2 } = useTranslation.useTranslation();
|
|
40
44
|
return [
|
|
41
45
|
{
|
|
42
46
|
id: "overview",
|
|
43
47
|
label: t2("common.overview"),
|
|
44
48
|
description: t2("overview.description"),
|
|
45
|
-
icon: /* @__PURE__ */ jsxRuntime.jsx(
|
|
49
|
+
icon: /* @__PURE__ */ jsxRuntime.jsx(index$1.ForwardRef$2H, {}),
|
|
46
50
|
to: `/plugins/${index.PLUGIN_ID}/overview`,
|
|
47
51
|
active: false
|
|
48
52
|
},
|
|
@@ -50,7 +54,7 @@ const useNav = () => {
|
|
|
50
54
|
id: "upload",
|
|
51
55
|
label: t2("common.upload_to_localazy"),
|
|
52
56
|
description: t2("upload.description"),
|
|
53
|
-
icon: /* @__PURE__ */ jsxRuntime.jsx(
|
|
57
|
+
icon: /* @__PURE__ */ jsxRuntime.jsx(index$1.ForwardRef$d, {}),
|
|
54
58
|
to: `/plugins/${index.PLUGIN_ID}/upload`,
|
|
55
59
|
active: false
|
|
56
60
|
},
|
|
@@ -58,14 +62,14 @@ const useNav = () => {
|
|
|
58
62
|
id: "download",
|
|
59
63
|
label: t2("common.download_to_strapi"),
|
|
60
64
|
description: t2("download.description"),
|
|
61
|
-
icon: /* @__PURE__ */ jsxRuntime.jsx(
|
|
65
|
+
icon: /* @__PURE__ */ jsxRuntime.jsx(index$1.ForwardRef$3P, {}),
|
|
62
66
|
to: `/plugins/${index.PLUGIN_ID}/download`,
|
|
63
67
|
active: false
|
|
64
68
|
}
|
|
65
69
|
];
|
|
66
70
|
};
|
|
67
71
|
const useHeaderTitle = () => {
|
|
68
|
-
const { t: t2 } =
|
|
72
|
+
const { t: t2 } = useTranslation.useTranslation();
|
|
69
73
|
const location2 = reactRouterDom.useLocation();
|
|
70
74
|
const navigation = useNav();
|
|
71
75
|
const pluginSegment = location2?.pathname.split(`/${index.PLUGIN_ID}/`)[1];
|
|
@@ -86,8 +90,8 @@ const useHeaderSubtitle = () => {
|
|
|
86
90
|
return currentNavItem?.description || "";
|
|
87
91
|
};
|
|
88
92
|
function PluginPageLoader() {
|
|
89
|
-
const { t: t2 } =
|
|
90
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
93
|
+
const { t: t2 } = useTranslation.useTranslation();
|
|
94
|
+
return /* @__PURE__ */ jsxRuntime.jsx(index$1.Flex, { marginTop: 10, alignItems: "center", justifyContent: "center", children: /* @__PURE__ */ jsxRuntime.jsx(index$1.Loader, { children: t2("common.loading_content") }) });
|
|
91
95
|
}
|
|
92
96
|
var propTypes = { exports: {} };
|
|
93
97
|
var reactIs = { exports: {} };
|
|
@@ -1027,7 +1031,7 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
1027
1031
|
propTypes.exports = requireFactoryWithThrowingShims()();
|
|
1028
1032
|
}
|
|
1029
1033
|
var propTypesExports = propTypes.exports;
|
|
1030
|
-
const PropTypes = /* @__PURE__ */
|
|
1034
|
+
const PropTypes = /* @__PURE__ */ _commonjsHelpers.getDefaultExportFromCjs(propTypesExports);
|
|
1031
1035
|
var t = Object.defineProperty, e = (e2, a2, n2) => (((e3, a3, n3) => {
|
|
1032
1036
|
a3 in e3 ? t(e3, a3, { enumerable: true, configurable: true, writable: true, value: n3 }) : e3[a3] = n3;
|
|
1033
1037
|
})(e2, "symbol" != typeof a2 ? a2 + "" : a2, n2), n2);
|
|
@@ -1244,7 +1248,7 @@ if (process.env.STRAPI_ADMIN_LOCALAZY_ENV === "development") {
|
|
|
1244
1248
|
config = development;
|
|
1245
1249
|
}
|
|
1246
1250
|
const LoginButton = (props) => {
|
|
1247
|
-
const { t: t2 } =
|
|
1251
|
+
const { t: t2 } = useTranslation.useTranslation();
|
|
1248
1252
|
const [isLoading, setIsLoading] = React.useState(false);
|
|
1249
1253
|
const login = async () => {
|
|
1250
1254
|
setIsLoading(true);
|
|
@@ -1265,7 +1269,7 @@ const LoginButton = (props) => {
|
|
|
1265
1269
|
setIsLoading(false);
|
|
1266
1270
|
props.onResultFetched(pollResult);
|
|
1267
1271
|
};
|
|
1268
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1272
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(index$1.Button, { variant: "default", size: "L", loading: isLoading, onClick: login, children: t2("login.login_with_localazy") }) });
|
|
1269
1273
|
};
|
|
1270
1274
|
LoginButton.propTypes = {
|
|
1271
1275
|
onResultFetched: PropTypes.func.isRequired
|
|
@@ -1364,7 +1368,7 @@ class ProductAnalyticsService {
|
|
|
1364
1368
|
}
|
|
1365
1369
|
}
|
|
1366
1370
|
const Login = ({ title, subtitle, isLoading = false }) => {
|
|
1367
|
-
const { t: t2 } =
|
|
1371
|
+
const { t: t2 } = useTranslation.useTranslation();
|
|
1368
1372
|
const localazyStrapiDocsLink = "https://localazy.com/docs/strapi";
|
|
1369
1373
|
const { setIdentity, identity, isLoggedIn } = index.useLocalazyIdentity();
|
|
1370
1374
|
const onLoginResultFetched = async (result) => {
|
|
@@ -1380,7 +1384,7 @@ const Login = ({ title, subtitle, isLoading = false }) => {
|
|
|
1380
1384
|
/* @__PURE__ */ jsxRuntime.jsx(admin.Layouts.Header, { title, subtitle, as: "h1" }),
|
|
1381
1385
|
isLoading && /* @__PURE__ */ jsxRuntime.jsx(PluginPageLoader, {}),
|
|
1382
1386
|
!isLoading && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1383
|
-
|
|
1387
|
+
index$1.Box,
|
|
1384
1388
|
{
|
|
1385
1389
|
marginLeft: 10,
|
|
1386
1390
|
marginRight: 10,
|
|
@@ -1392,7 +1396,7 @@ const Login = ({ title, subtitle, isLoading = false }) => {
|
|
|
1392
1396
|
hasRadius: true,
|
|
1393
1397
|
shadow: "tableShadow",
|
|
1394
1398
|
children: [
|
|
1395
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1399
|
+
/* @__PURE__ */ jsxRuntime.jsx(index$1.Box, { children: /* @__PURE__ */ jsxRuntime.jsxs(index$1.Typography, { variant: "epsilon", textColor: "neutral600", children: [
|
|
1396
1400
|
t2("common.localazy_plugin_description"),
|
|
1397
1401
|
/* @__PURE__ */ jsxRuntime.jsx("br", {}),
|
|
1398
1402
|
t2("login.login_and_start_translating_your_project"),
|
|
@@ -1400,26 +1404,26 @@ const Login = ({ title, subtitle, isLoading = false }) => {
|
|
|
1400
1404
|
/* @__PURE__ */ jsxRuntime.jsx("br", {}),
|
|
1401
1405
|
t2("login.you_have_to_own_account_for_the_plugin_to_work_properly")
|
|
1402
1406
|
] }) }),
|
|
1403
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1404
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1407
|
+
/* @__PURE__ */ jsxRuntime.jsx(index$1.Box, { paddingTop: 6, children: /* @__PURE__ */ jsxRuntime.jsx(LoginButton, { onResultFetched: onLoginResultFetched }) }),
|
|
1408
|
+
/* @__PURE__ */ jsxRuntime.jsx(index$1.Box, { paddingTop: 6, children: /* @__PURE__ */ jsxRuntime.jsx(index$1.Link, { href: localazyStrapiDocsLink, isExternal: true, children: /* @__PURE__ */ jsxRuntime.jsx(index$1.Typography, { variant: "sigma", textColor: "primary600", children: t2("login.read_the_documentation") }) }) })
|
|
1405
1409
|
]
|
|
1406
1410
|
}
|
|
1407
1411
|
)
|
|
1408
1412
|
] });
|
|
1409
1413
|
};
|
|
1410
1414
|
const SideNav = () => {
|
|
1411
|
-
const { t: t2 } =
|
|
1415
|
+
const { t: t2 } = useTranslation.useTranslation();
|
|
1412
1416
|
const navigation = useNav();
|
|
1413
1417
|
const isActive = (navItem) => {
|
|
1414
1418
|
return location.pathname.includes(navItem.to);
|
|
1415
1419
|
};
|
|
1416
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1417
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1418
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1420
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(index$1.SubNav, { "aria-label": t2("common.localazy_plugin"), children: [
|
|
1421
|
+
/* @__PURE__ */ jsxRuntime.jsx(index$1.SubNavHeader, { label: t2("common.localazy_plugin") }),
|
|
1422
|
+
/* @__PURE__ */ jsxRuntime.jsx(index$1.SubNavSections, { children: /* @__PURE__ */ jsxRuntime.jsx(index$1.SubNavSection, { label: t2("common.navigation"), children: navigation.map((navItem) => /* @__PURE__ */ jsxRuntime.jsx(index$1.SubNavLink, { tag: reactRouterDom.NavLink, to: navItem.to, active: isActive(navItem), icon: navItem.icon, children: navItem.label }, navItem.id)) }) })
|
|
1419
1423
|
] });
|
|
1420
1424
|
};
|
|
1421
1425
|
const LogoutButton = (props) => {
|
|
1422
|
-
const { t: t2 } =
|
|
1426
|
+
const { t: t2 } = useTranslation.useTranslation();
|
|
1423
1427
|
const [isLoading, setIsLoading] = React.useState(false);
|
|
1424
1428
|
const { setIdentity } = index.useLocalazyIdentity();
|
|
1425
1429
|
const logout = async () => {
|
|
@@ -1429,27 +1433,27 @@ const LogoutButton = (props) => {
|
|
|
1429
1433
|
setIsLoading(false);
|
|
1430
1434
|
props.onResultFetched();
|
|
1431
1435
|
};
|
|
1432
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1436
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(index$1.Button, { startIcon: /* @__PURE__ */ jsxRuntime.jsx(index$1.ForwardRef$L, {}), variant: "secondary", loading: isLoading, onClick: logout, children: t2("login.logout_from_localazy") }) });
|
|
1433
1437
|
};
|
|
1434
1438
|
const OverviewItem = (props) => {
|
|
1435
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1436
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1437
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1439
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(index$1.Grid.Root, { padding: 1, col: 6, s: 12, children: [
|
|
1440
|
+
/* @__PURE__ */ jsxRuntime.jsx(index$1.Grid.Item, { children: /* @__PURE__ */ jsxRuntime.jsx(index$1.Typography, { variant: "sigma", textColor: "neutral600", textTransform: "uppercase", children: props.label }) }),
|
|
1441
|
+
/* @__PURE__ */ jsxRuntime.jsx(index$1.Grid.Item, { children: /* @__PURE__ */ jsxRuntime.jsx(index$1.Typography, { variant: "omega", textColor: "neutral800", fontWeight: "semiBold", children: props.value }) })
|
|
1438
1442
|
] });
|
|
1439
1443
|
};
|
|
1440
1444
|
const OverviewItemLink = (props) => {
|
|
1441
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1445
|
+
return /* @__PURE__ */ jsxRuntime.jsx(index$1.Grid.Root, { padding: 1, col: 6, s: 12, children: /* @__PURE__ */ jsxRuntime.jsx(index$1.Grid.Item, { children: /* @__PURE__ */ jsxRuntime.jsx(index$1.Link, { href: props.to, isExternal: true, children: /* @__PURE__ */ jsxRuntime.jsx(index$1.Typography, { variant: "sigma", textColor: "primary600", textTransform: "uppercase", children: props.label }) }) }) });
|
|
1442
1446
|
};
|
|
1443
1447
|
const PrerequisitiesInfo = () => {
|
|
1444
|
-
const { t: t2 } =
|
|
1445
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1446
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1447
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1448
|
+
const { t: t2 } = useTranslation.useTranslation();
|
|
1449
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(index$1.Box, { children: [
|
|
1450
|
+
/* @__PURE__ */ jsxRuntime.jsx(index$1.Typography, { variant: "omega", children: t2("overview.transfer_setup_message_a") }),
|
|
1451
|
+
/* @__PURE__ */ jsxRuntime.jsx(index$1.Typography, { variant: "omega", fontWeight: "semiBold", children: t2("overview.transfer_setup_message_b") })
|
|
1448
1452
|
] });
|
|
1449
1453
|
};
|
|
1450
1454
|
const formatNumber = (value2, options = void 0) => new Intl.NumberFormat("en-GB", options).format(value2);
|
|
1451
1455
|
const Overview = ({ title, subtitle, isLoadingProp = false }) => {
|
|
1452
|
-
const { t: t2 } =
|
|
1456
|
+
const { t: t2 } = useTranslation.useTranslation();
|
|
1453
1457
|
const { navigateToPluginRoute } = useRedirectToPluginRoute();
|
|
1454
1458
|
const [isLoading, setIsLoading] = React.useState(true);
|
|
1455
1459
|
const { identity } = index.useLocalazyIdentity();
|
|
@@ -1480,8 +1484,8 @@ const Overview = ({ title, subtitle, isLoadingProp = false }) => {
|
|
|
1480
1484
|
}
|
|
1481
1485
|
),
|
|
1482
1486
|
(isLoadingProp || isLoading) && /* @__PURE__ */ jsxRuntime.jsx(PluginPageLoader, {}),
|
|
1483
|
-
!(isLoadingProp || isLoading) && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1484
|
-
|
|
1487
|
+
!(isLoadingProp || isLoading) && /* @__PURE__ */ jsxRuntime.jsx(index$1.Box, { paddingRight: 10, paddingLeft: 10, children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1488
|
+
index$1.Box,
|
|
1485
1489
|
{
|
|
1486
1490
|
background: "neutral0",
|
|
1487
1491
|
paddingTop: 6,
|
|
@@ -1492,7 +1496,7 @@ const Overview = ({ title, subtitle, isLoadingProp = false }) => {
|
|
|
1492
1496
|
shadow: "tableShadow",
|
|
1493
1497
|
children: [
|
|
1494
1498
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
1495
|
-
|
|
1499
|
+
index$1.Grid.Root,
|
|
1496
1500
|
{
|
|
1497
1501
|
gap: {
|
|
1498
1502
|
desktop: 5,
|
|
@@ -1500,9 +1504,9 @@ const Overview = ({ title, subtitle, isLoadingProp = false }) => {
|
|
|
1500
1504
|
mobile: 1
|
|
1501
1505
|
},
|
|
1502
1506
|
children: [
|
|
1503
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1504
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1505
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1507
|
+
/* @__PURE__ */ jsxRuntime.jsx(index$1.Grid.Item, { children: /* @__PURE__ */ jsxRuntime.jsx(OverviewItem, { label: t2("overview.connected_user"), value: identity.user.name }) }),
|
|
1508
|
+
/* @__PURE__ */ jsxRuntime.jsx(index$1.Grid.Item, { children: /* @__PURE__ */ jsxRuntime.jsx(OverviewItem, { label: t2("overview.connected_project"), value: identity.project.name }) }),
|
|
1509
|
+
/* @__PURE__ */ jsxRuntime.jsx(index$1.Grid.Item, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1506
1510
|
OverviewItem,
|
|
1507
1511
|
{
|
|
1508
1512
|
label: t2("overview.remaining_organization_keys"),
|
|
@@ -1511,11 +1515,11 @@ const Overview = ({ title, subtitle, isLoadingProp = false }) => {
|
|
|
1511
1515
|
)
|
|
1512
1516
|
}
|
|
1513
1517
|
) }),
|
|
1514
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1518
|
+
/* @__PURE__ */ jsxRuntime.jsx(index$1.Grid.Item, { children: /* @__PURE__ */ jsxRuntime.jsx(OverviewItemLink, { label: t2("overview.open_project_in_localazy"), to: projectUrl }) })
|
|
1515
1519
|
]
|
|
1516
1520
|
}
|
|
1517
1521
|
),
|
|
1518
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1522
|
+
/* @__PURE__ */ jsxRuntime.jsx(index$1.Box, { paddingTop: 4, paddingBottom: 4, children: /* @__PURE__ */ jsxRuntime.jsx(index$1.Divider, {}) }),
|
|
1519
1523
|
/* @__PURE__ */ jsxRuntime.jsx(PrerequisitiesInfo, {})
|
|
1520
1524
|
]
|
|
1521
1525
|
}
|
|
@@ -1529,7 +1533,7 @@ const getDefaultThemeName = () => {
|
|
|
1529
1533
|
};
|
|
1530
1534
|
const getDefaultTheme = () => {
|
|
1531
1535
|
const themeName = getDefaultThemeName();
|
|
1532
|
-
return themeName === "system" ? window.matchMedia("(prefers-color-scheme: dark)").matches ?
|
|
1536
|
+
return themeName === "system" ? window.matchMedia("(prefers-color-scheme: dark)").matches ? index$1.darkTheme : index$1.lightTheme : themeName === "dark" ? index$1.darkTheme : index$1.lightTheme;
|
|
1533
1537
|
};
|
|
1534
1538
|
const BASE_PATH$1 = "/transfer";
|
|
1535
1539
|
class LocalazyUploadService {
|
|
@@ -1572,7 +1576,7 @@ const areLocalesCompatible = async (defaultLocale = null, sourceLanguage = null)
|
|
|
1572
1576
|
}
|
|
1573
1577
|
};
|
|
1574
1578
|
const TransferReport = (props) => {
|
|
1575
|
-
const { t: t2 } =
|
|
1579
|
+
const { t: t2 } = useTranslation.useTranslation();
|
|
1576
1580
|
const [reportLocal, setReportLocal] = React.useState(props.report);
|
|
1577
1581
|
const onCloseItem = (index2) => {
|
|
1578
1582
|
const newReportLocal = reportLocal;
|
|
@@ -1586,16 +1590,16 @@ const TransferReport = (props) => {
|
|
|
1586
1590
|
return null;
|
|
1587
1591
|
}
|
|
1588
1592
|
return reportLocal.map((item, index2) => {
|
|
1589
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1593
|
+
return /* @__PURE__ */ jsxRuntime.jsx(index$1.Box, { marginTop: 4, marginBottom: 4, children: /* @__PURE__ */ jsxRuntime.jsx(index$1.Alert, { onClose: () => onCloseItem(index2), closeLabel: t2("upload.close"), variant: "default", children: item }, index2) }, index2);
|
|
1590
1594
|
});
|
|
1591
1595
|
};
|
|
1592
1596
|
const ReadDocsButton = () => {
|
|
1593
|
-
const { t: t2 } =
|
|
1597
|
+
const { t: t2 } = useTranslation.useTranslation();
|
|
1594
1598
|
const link = "https://localazy.com/docs/strapi";
|
|
1595
1599
|
const onReadDocumentationClick = () => {
|
|
1596
1600
|
window.open(link, "_blank");
|
|
1597
1601
|
};
|
|
1598
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1602
|
+
return /* @__PURE__ */ jsxRuntime.jsx(index$1.Button, { variant: "tertiary", onClick: onReadDocumentationClick, children: t2("upload.read_documentation") });
|
|
1599
1603
|
};
|
|
1600
1604
|
const PACKET_TYPES = /* @__PURE__ */ Object.create(null);
|
|
1601
1605
|
PACKET_TYPES["open"] = "0";
|
|
@@ -4928,7 +4932,7 @@ class UploadAlertsService extends AlertsService {
|
|
|
4928
4932
|
}
|
|
4929
4933
|
const uploadAlertsService = new UploadAlertsService();
|
|
4930
4934
|
const Upload = (props) => {
|
|
4931
|
-
const { t: t2 } =
|
|
4935
|
+
const { t: t2 } = useTranslation.useTranslation();
|
|
4932
4936
|
const { identity } = index.useLocalazyIdentity();
|
|
4933
4937
|
const { navigateToPluginRoute } = useRedirectToPluginRoute();
|
|
4934
4938
|
const [isLoading, setIsLoading] = React.useState(true);
|
|
@@ -4996,9 +5000,9 @@ const Upload = (props) => {
|
|
|
4996
5000
|
title: props.title,
|
|
4997
5001
|
subtitle: props.subtitle,
|
|
4998
5002
|
primaryAction: /* @__PURE__ */ jsxRuntime.jsx(
|
|
4999
|
-
|
|
5003
|
+
index$1.Button,
|
|
5000
5004
|
{
|
|
5001
|
-
startIcon: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5005
|
+
startIcon: /* @__PURE__ */ jsxRuntime.jsx(index$1.ForwardRef$d, {}),
|
|
5002
5006
|
disabled: isLoading || modelChanged || localesIncompatible,
|
|
5003
5007
|
loading: isUploading,
|
|
5004
5008
|
onClick: onUploadClick,
|
|
@@ -5009,9 +5013,9 @@ const Upload = (props) => {
|
|
|
5009
5013
|
}
|
|
5010
5014
|
),
|
|
5011
5015
|
isLoading && /* @__PURE__ */ jsxRuntime.jsx(PluginPageLoader, {}),
|
|
5012
|
-
!isLoading && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
5016
|
+
!isLoading && /* @__PURE__ */ jsxRuntime.jsxs(index$1.Box, { paddingRight: 10, paddingLeft: 10, children: [
|
|
5013
5017
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
5014
|
-
|
|
5018
|
+
index$1.Box,
|
|
5015
5019
|
{
|
|
5016
5020
|
background: "neutral0",
|
|
5017
5021
|
paddingTop: 6,
|
|
@@ -5022,7 +5026,7 @@ const Upload = (props) => {
|
|
|
5022
5026
|
shadow: "tableShadow",
|
|
5023
5027
|
children: [
|
|
5024
5028
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
5025
|
-
|
|
5029
|
+
index$1.Grid.Root,
|
|
5026
5030
|
{
|
|
5027
5031
|
gap: {
|
|
5028
5032
|
desktop: 5,
|
|
@@ -5030,22 +5034,22 @@ const Upload = (props) => {
|
|
|
5030
5034
|
mobile: 1
|
|
5031
5035
|
},
|
|
5032
5036
|
children: [
|
|
5033
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5034
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5037
|
+
/* @__PURE__ */ jsxRuntime.jsx(index$1.Grid.Item, { children: /* @__PURE__ */ jsxRuntime.jsx(OverviewItem, { label: t2("upload.default_strapi_language"), value: strapiDefaultLocale.name }) }),
|
|
5038
|
+
/* @__PURE__ */ jsxRuntime.jsx(index$1.Grid.Item, { children: /* @__PURE__ */ jsxRuntime.jsx(OverviewItem, { label: t2("upload.localazy_source_language"), value: localazySourceLanguage.name }) })
|
|
5035
5039
|
]
|
|
5036
5040
|
}
|
|
5037
5041
|
),
|
|
5038
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5042
|
+
/* @__PURE__ */ jsxRuntime.jsx(index$1.Box, { paddingTop: 4, paddingBottom: 4, children: /* @__PURE__ */ jsxRuntime.jsx(index$1.Divider, {}) }),
|
|
5039
5043
|
/* @__PURE__ */ jsxRuntime.jsx(PrerequisitiesInfo, {}),
|
|
5040
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5041
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5044
|
+
/* @__PURE__ */ jsxRuntime.jsx(index$1.Box, { marginTop: 4, children: /* @__PURE__ */ jsxRuntime.jsxs(index$1.Flex, { gap: "2", children: [
|
|
5045
|
+
/* @__PURE__ */ jsxRuntime.jsx(index$1.Button, { variant: "secondary", onClick: onChangeSettingsClick, children: t2("upload.change_settings") }),
|
|
5042
5046
|
/* @__PURE__ */ jsxRuntime.jsx(ReadDocsButton, {})
|
|
5043
5047
|
] }) })
|
|
5044
5048
|
]
|
|
5045
5049
|
}
|
|
5046
5050
|
),
|
|
5047
|
-
showUploadFinishedModal && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5048
|
-
|
|
5051
|
+
showUploadFinishedModal && /* @__PURE__ */ jsxRuntime.jsx(index$1.Box, { marginTop: 4, marginBottom: 4, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5052
|
+
index$1.Alert,
|
|
5049
5053
|
{
|
|
5050
5054
|
onClose: () => setShowUploadFinishedModal(false),
|
|
5051
5055
|
closeLabel: t2("upload.close"),
|
|
@@ -5054,9 +5058,9 @@ const Upload = (props) => {
|
|
|
5054
5058
|
children: uploadResult.success ? t2("upload.upload_success") : t2("upload.upload_failed")
|
|
5055
5059
|
}
|
|
5056
5060
|
) }),
|
|
5057
|
-
isUploading && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5058
|
-
localesIncompatible && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5059
|
-
|
|
5061
|
+
isUploading && /* @__PURE__ */ jsxRuntime.jsx(index$1.Box, { marginTop: 4, marginBottom: 4, children: /* @__PURE__ */ jsxRuntime.jsx(index$1.Alert, { title: t2("upload.upload_in_progress"), variant: "warning", children: t2("upload.to_see_to_progress") }) }),
|
|
5062
|
+
localesIncompatible && /* @__PURE__ */ jsxRuntime.jsx(index$1.Box, { marginTop: 4, marginBottom: 4, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5063
|
+
index$1.Alert,
|
|
5060
5064
|
{
|
|
5061
5065
|
onClose: () => setLocalesIncompatible(false),
|
|
5062
5066
|
closeLabel: t2("upload.close"),
|
|
@@ -5065,8 +5069,8 @@ const Upload = (props) => {
|
|
|
5065
5069
|
children: t2("upload.languages_incompatible_message")
|
|
5066
5070
|
}
|
|
5067
5071
|
) }),
|
|
5068
|
-
modelChanged && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5069
|
-
|
|
5072
|
+
modelChanged && /* @__PURE__ */ jsxRuntime.jsx(index$1.Box, { marginTop: 4, marginBottom: 4, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5073
|
+
index$1.Alert,
|
|
5070
5074
|
{
|
|
5071
5075
|
onClose: () => setModelChanged(false),
|
|
5072
5076
|
closeLabel: t2("upload.close"),
|
|
@@ -5101,7 +5105,7 @@ class DownloadAlertsService extends AlertsService {
|
|
|
5101
5105
|
}
|
|
5102
5106
|
const downloadAlertsService = new DownloadAlertsService();
|
|
5103
5107
|
const Download = (props) => {
|
|
5104
|
-
const { t: t2 } =
|
|
5108
|
+
const { t: t2 } = useTranslation.useTranslation();
|
|
5105
5109
|
const { identity } = index.useLocalazyIdentity();
|
|
5106
5110
|
const [isLoading, setIsLoading] = React.useState(true);
|
|
5107
5111
|
const [modelChanged, setModelChanged] = React.useState(false);
|
|
@@ -5177,9 +5181,9 @@ const Download = (props) => {
|
|
|
5177
5181
|
title: props.title,
|
|
5178
5182
|
subtitle: props.subtitle,
|
|
5179
5183
|
primaryAction: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5180
|
-
|
|
5184
|
+
index$1.Button,
|
|
5181
5185
|
{
|
|
5182
|
-
startIcon: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5186
|
+
startIcon: /* @__PURE__ */ jsxRuntime.jsx(index$1.ForwardRef$3P, {}),
|
|
5183
5187
|
disabled: isLoading || modelChanged || localesIncompatible,
|
|
5184
5188
|
loading: isDownloading,
|
|
5185
5189
|
onClick: onDownloadClick,
|
|
@@ -5190,9 +5194,9 @@ const Download = (props) => {
|
|
|
5190
5194
|
}
|
|
5191
5195
|
),
|
|
5192
5196
|
isLoading && /* @__PURE__ */ jsxRuntime.jsx(PluginPageLoader, {}),
|
|
5193
|
-
!isLoading && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
5197
|
+
!isLoading && /* @__PURE__ */ jsxRuntime.jsxs(index$1.Box, { paddingRight: 10, paddingLeft: 10, children: [
|
|
5194
5198
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
5195
|
-
|
|
5199
|
+
index$1.Box,
|
|
5196
5200
|
{
|
|
5197
5201
|
background: "neutral0",
|
|
5198
5202
|
paddingTop: 6,
|
|
@@ -5202,14 +5206,14 @@ const Download = (props) => {
|
|
|
5202
5206
|
hasRadius: true,
|
|
5203
5207
|
shadow: "tableShadow",
|
|
5204
5208
|
children: [
|
|
5205
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5206
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5209
|
+
/* @__PURE__ */ jsxRuntime.jsx(index$1.Typography, { variant: "omega", children: t2("download.download_note_a") }),
|
|
5210
|
+
/* @__PURE__ */ jsxRuntime.jsx(index$1.Typography, { variant: "omega", fontWeight: "semiBold", children: t2("download.download_note_b") }),
|
|
5207
5211
|
/* @__PURE__ */ jsxRuntime.jsx("br", {}),
|
|
5208
5212
|
/* @__PURE__ */ jsxRuntime.jsx("br", {}),
|
|
5209
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5210
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5211
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5212
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5213
|
+
/* @__PURE__ */ jsxRuntime.jsx(index$1.Typography, { variant: "omega", children: t2("download.make_sure_note_a") }),
|
|
5214
|
+
/* @__PURE__ */ jsxRuntime.jsx(index$1.Typography, { variant: "omega", fontWeight: "semiBold", children: t2("download.make_sure_note_b") }),
|
|
5215
|
+
/* @__PURE__ */ jsxRuntime.jsx(index$1.Typography, { variant: "omega", children: t2("download.make_sure_note_c") }),
|
|
5216
|
+
/* @__PURE__ */ jsxRuntime.jsx(index$1.Box, { paddingTop: 6, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5213
5217
|
LanguagesSelector.LanguagesSelector,
|
|
5214
5218
|
{
|
|
5215
5219
|
preselectedLanguages: formModel?.download?.uiLanguages || [],
|
|
@@ -5220,16 +5224,16 @@ const Download = (props) => {
|
|
|
5220
5224
|
placeholder: t2("download.ui_languages_placeholder")
|
|
5221
5225
|
}
|
|
5222
5226
|
) }),
|
|
5223
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5224
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5225
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5227
|
+
/* @__PURE__ */ jsxRuntime.jsx(index$1.Box, { paddingTop: 4, paddingBottom: 4, children: /* @__PURE__ */ jsxRuntime.jsx(index$1.Divider, {}) }),
|
|
5228
|
+
/* @__PURE__ */ jsxRuntime.jsx(index$1.Box, { marginTop: 2, children: /* @__PURE__ */ jsxRuntime.jsxs(index$1.Flex, { gap: "2", children: [
|
|
5229
|
+
/* @__PURE__ */ jsxRuntime.jsx(index$1.Button, { variant: "secondary", onClick: onTranslateInLocalazyClick, children: t2("download.translate_in_localazy") }),
|
|
5226
5230
|
/* @__PURE__ */ jsxRuntime.jsx(ReadDocsButton, {})
|
|
5227
5231
|
] }) })
|
|
5228
5232
|
]
|
|
5229
5233
|
}
|
|
5230
5234
|
),
|
|
5231
|
-
showDownloadFinishedModal && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5232
|
-
|
|
5235
|
+
showDownloadFinishedModal && /* @__PURE__ */ jsxRuntime.jsx(index$1.Box, { marginTop: 4, marginBottom: 4, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5236
|
+
index$1.Alert,
|
|
5233
5237
|
{
|
|
5234
5238
|
onClose: () => setshowDownloadFinishedModal(false),
|
|
5235
5239
|
closeLabel: t2("download.close"),
|
|
@@ -5238,9 +5242,9 @@ const Download = (props) => {
|
|
|
5238
5242
|
children: downloadResult.success ? t2("download.download_success") : t2("download.download_failed")
|
|
5239
5243
|
}
|
|
5240
5244
|
) }),
|
|
5241
|
-
isDownloading && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5242
|
-
localesIncompatible && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5243
|
-
|
|
5245
|
+
isDownloading && /* @__PURE__ */ jsxRuntime.jsx(index$1.Box, { marginTop: 4, marginBottom: 4, children: /* @__PURE__ */ jsxRuntime.jsx(index$1.Alert, { title: t2("download.download_in_progress"), variant: "warning", children: t2("download.to_see_to_progress") }) }),
|
|
5246
|
+
localesIncompatible && /* @__PURE__ */ jsxRuntime.jsx(index$1.Box, { marginTop: 4, marginBottom: 4, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5247
|
+
index$1.Alert,
|
|
5244
5248
|
{
|
|
5245
5249
|
onClose: () => setLocalesIncompatible(false),
|
|
5246
5250
|
closeLabel: t2("download.close"),
|
|
@@ -5249,8 +5253,8 @@ const Download = (props) => {
|
|
|
5249
5253
|
children: t2("download.languages_incompatible_message")
|
|
5250
5254
|
}
|
|
5251
5255
|
) }),
|
|
5252
|
-
modelChanged && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5253
|
-
|
|
5256
|
+
modelChanged && /* @__PURE__ */ jsxRuntime.jsx(index$1.Box, { marginTop: 4, marginBottom: 4, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5257
|
+
index$1.Alert,
|
|
5254
5258
|
{
|
|
5255
5259
|
onClose: () => setModelChanged(false),
|
|
5256
5260
|
closeLabel: t2("download.close"),
|
|
@@ -5282,7 +5286,7 @@ const App = () => {
|
|
|
5282
5286
|
};
|
|
5283
5287
|
fetchData();
|
|
5284
5288
|
}, [isLoggedIn, isFetchingIdentity]);
|
|
5285
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
5289
|
+
return /* @__PURE__ */ jsxRuntime.jsx(index$1.DesignSystemProvider, { theme: getDefaultTheme(), children: /* @__PURE__ */ jsxRuntime.jsx(index$1.Box, { background: "neutral100", children: /* @__PURE__ */ jsxRuntime.jsxs(admin.Layouts.Root, { sideNav: isLoggedIn && /* @__PURE__ */ jsxRuntime.jsx(SideNav, {}), children: [
|
|
5286
5290
|
isFetchingIdentity && /* @__PURE__ */ jsxRuntime.jsx(PluginPageLoader, {}),
|
|
5287
5291
|
/* @__PURE__ */ jsxRuntime.jsxs(reactRouterDom.Routes, { children: [
|
|
5288
5292
|
/* @__PURE__ */ jsxRuntime.jsx(reactRouterDom.Route, { path: `login`, element: /* @__PURE__ */ jsxRuntime.jsx(Login, { title: headerTitle, subtitle: headerSubtitle, isLoading: false }) }),
|