@strapi/content-manager 0.0.0-next.3fdd03038d558a8190aa7e17574020c5f65395e6 → 0.0.0-next.4119cc523a8fec549bb2f1869c6e789650f7f4de
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/{ComponentConfigurationPage-Cmm0LJof.js → ComponentConfigurationPage-_EzKh4uq.js} +3 -3
- package/dist/_chunks/{ComponentConfigurationPage-Cmm0LJof.js.map → ComponentConfigurationPage-_EzKh4uq.js.map} +1 -1
- package/dist/_chunks/{ComponentConfigurationPage-FQd019My.mjs → ComponentConfigurationPage-aeNlfgi9.mjs} +3 -3
- package/dist/_chunks/{ComponentConfigurationPage-FQd019My.mjs.map → ComponentConfigurationPage-aeNlfgi9.mjs.map} +1 -1
- package/dist/_chunks/{EditConfigurationPage-BUJqRuRq.mjs → EditConfigurationPage-DBVSBjCB.mjs} +3 -3
- package/dist/_chunks/{EditConfigurationPage-BUJqRuRq.mjs.map → EditConfigurationPage-DBVSBjCB.mjs.map} +1 -1
- package/dist/_chunks/{EditConfigurationPage-CseHna9y.js → EditConfigurationPage-DaK5-ltL.js} +3 -3
- package/dist/_chunks/{EditConfigurationPage-CseHna9y.js.map → EditConfigurationPage-DaK5-ltL.js.map} +1 -1
- package/dist/_chunks/{EditViewPage-BB9VeS-u.mjs → EditViewPage-BeRi9xCR.mjs} +11 -3
- package/dist/_chunks/EditViewPage-BeRi9xCR.mjs.map +1 -0
- package/dist/_chunks/{EditViewPage-BhjvFXZr.js → EditViewPage-C3qKSunQ.js} +11 -3
- package/dist/_chunks/EditViewPage-C3qKSunQ.js.map +1 -0
- package/dist/_chunks/{Field-B03STsf9.js → Field-BwLr5b0V.js} +3 -3
- package/dist/_chunks/{Field-B03STsf9.js.map → Field-BwLr5b0V.js.map} +1 -1
- package/dist/_chunks/{Field-CWi7XMCa.mjs → Field-CfbMEZLv.mjs} +3 -3
- package/dist/_chunks/{Field-CWi7XMCa.mjs.map → Field-CfbMEZLv.mjs.map} +1 -1
- package/dist/_chunks/{Form-DH5m7r5s.js → Form-BSInvgp4.js} +2 -2
- package/dist/_chunks/{Form-DH5m7r5s.js.map → Form-BSInvgp4.js.map} +1 -1
- package/dist/_chunks/{Form-B5b7zgoL.mjs → Form-Br-9I4vG.mjs} +2 -2
- package/dist/_chunks/{Form-B5b7zgoL.mjs.map → Form-Br-9I4vG.mjs.map} +1 -1
- package/dist/_chunks/{History-CNO4Db6U.js → History-BHH0axCz.js} +5 -54
- package/dist/_chunks/History-BHH0axCz.js.map +1 -0
- package/dist/_chunks/{History-Dhy0xF0L.mjs → History-BQ721fHN.mjs} +5 -54
- package/dist/_chunks/History-BQ721fHN.mjs.map +1 -0
- package/dist/_chunks/{ListConfigurationPage-DE7NESsr.js → ListConfigurationPage-B7VtZkjG.js} +4 -3
- package/dist/_chunks/ListConfigurationPage-B7VtZkjG.js.map +1 -0
- package/dist/_chunks/{ListConfigurationPage-C_FCilGf.mjs → ListConfigurationPage-BVtVADtP.mjs} +5 -4
- package/dist/_chunks/ListConfigurationPage-BVtVADtP.mjs.map +1 -0
- package/dist/_chunks/{ListViewPage-C7p0PteR.js → ListViewPage-C4UCZKeD.js} +3 -3
- package/dist/_chunks/{ListViewPage-C7p0PteR.js.map → ListViewPage-C4UCZKeD.js.map} +1 -1
- package/dist/_chunks/{ListViewPage-B6Ut2BH0.mjs → ListViewPage-Dq7nBEKD.mjs} +3 -3
- package/dist/_chunks/{ListViewPage-B6Ut2BH0.mjs.map → ListViewPage-Dq7nBEKD.mjs.map} +1 -1
- package/dist/_chunks/{NoContentTypePage-rR7QwWP5.mjs → NoContentTypePage-CQlgc_9h.mjs} +2 -2
- package/dist/_chunks/{NoContentTypePage-rR7QwWP5.mjs.map → NoContentTypePage-CQlgc_9h.mjs.map} +1 -1
- package/dist/_chunks/{NoContentTypePage-BN-8niig.js → NoContentTypePage-YNlmMHbx.js} +2 -2
- package/dist/_chunks/{NoContentTypePage-BN-8niig.js.map → NoContentTypePage-YNlmMHbx.js.map} +1 -1
- package/dist/_chunks/{NoPermissionsPage-Bw3b0OQm.js → NoPermissionsPage-CERDW9_P.js} +2 -2
- package/dist/_chunks/{NoPermissionsPage-Bw3b0OQm.js.map → NoPermissionsPage-CERDW9_P.js.map} +1 -1
- package/dist/_chunks/{NoPermissionsPage-CGUgxmce.mjs → NoPermissionsPage-CT2YbxJK.mjs} +2 -2
- package/dist/_chunks/{NoPermissionsPage-CGUgxmce.mjs.map → NoPermissionsPage-CT2YbxJK.mjs.map} +1 -1
- package/dist/_chunks/{Preview-CICG4cRf.js → Preview-D9FlX2H8.js} +50 -82
- package/dist/_chunks/Preview-D9FlX2H8.js.map +1 -0
- package/dist/_chunks/{Preview-_gomrUna.mjs → Preview-GZFXtAgo.mjs} +52 -84
- package/dist/_chunks/Preview-GZFXtAgo.mjs.map +1 -0
- package/dist/_chunks/{Relations-BEvinUkU.mjs → Relations-49C4HPsL.mjs} +3 -3
- package/dist/_chunks/{Relations-BEvinUkU.mjs.map → Relations-49C4HPsL.mjs.map} +1 -1
- package/dist/_chunks/{Relations-uyLoal2t.js → Relations-CcJBqH7I.js} +3 -3
- package/dist/_chunks/{Relations-uyLoal2t.js.map → Relations-CcJBqH7I.js.map} +1 -1
- package/dist/_chunks/{en-D_BMf0hT.mjs → en-CfIXaZf9.mjs} +4 -2
- package/dist/_chunks/{en-D_BMf0hT.mjs.map → en-CfIXaZf9.mjs.map} +1 -1
- package/dist/_chunks/{en-CHOp_xJv.js → en-DTWPCdTS.js} +4 -2
- package/dist/_chunks/{en-CHOp_xJv.js.map → en-DTWPCdTS.js.map} +1 -1
- package/dist/_chunks/{index-BagcPV6I.mjs → index-CP5EOEiH.mjs} +47 -67
- package/dist/_chunks/index-CP5EOEiH.mjs.map +1 -0
- package/dist/_chunks/{index-D_AvCmmG.js → index-DUjGm1xz.js} +46 -66
- package/dist/_chunks/index-DUjGm1xz.js.map +1 -0
- package/dist/_chunks/{layout-DKEX3X49.mjs → layout-B3LdnMTA.mjs} +3 -3
- package/dist/_chunks/{layout-DKEX3X49.mjs.map → layout-B3LdnMTA.mjs.map} +1 -1
- package/dist/_chunks/{layout-Dk0odfYR.js → layout-zHc8BsKI.js} +3 -3
- package/dist/_chunks/{layout-Dk0odfYR.js.map → layout-zHc8BsKI.js.map} +1 -1
- package/dist/_chunks/{relations-DDoMdwk6.mjs → relations-DnT2jc-S.mjs} +2 -2
- package/dist/_chunks/{relations-DDoMdwk6.mjs.map → relations-DnT2jc-S.mjs.map} +1 -1
- package/dist/_chunks/{relations-C312DwGU.js → relations-DrsZXRl-.js} +2 -2
- package/dist/_chunks/{relations-C312DwGU.js.map → relations-DrsZXRl-.js.map} +1 -1
- package/dist/admin/index.js +1 -1
- package/dist/admin/index.mjs +1 -1
- package/dist/admin/src/pages/EditView/components/DocumentStatus.d.ts +2 -2
- package/dist/admin/src/router.d.ts +1 -1
- package/dist/server/index.js.map +1 -1
- package/dist/server/index.mjs.map +1 -1
- package/dist/server/src/services/document-manager.d.ts.map +1 -1
- package/package.json +8 -8
- package/dist/_chunks/EditViewPage-BB9VeS-u.mjs.map +0 -1
- package/dist/_chunks/EditViewPage-BhjvFXZr.js.map +0 -1
- package/dist/_chunks/History-CNO4Db6U.js.map +0 -1
- package/dist/_chunks/History-Dhy0xF0L.mjs.map +0 -1
- package/dist/_chunks/ListConfigurationPage-C_FCilGf.mjs.map +0 -1
- package/dist/_chunks/ListConfigurationPage-DE7NESsr.js.map +0 -1
- package/dist/_chunks/Preview-CICG4cRf.js.map +0 -1
- package/dist/_chunks/Preview-_gomrUna.mjs.map +0 -1
- package/dist/_chunks/index-BagcPV6I.mjs.map +0 -1
- package/dist/_chunks/index-D_AvCmmG.js.map +0 -1
@@ -245,6 +245,7 @@ const en = {
|
|
245
245
|
"preview.header.close": "Close preview",
|
246
246
|
"preview.copy.label": "Copy preview link",
|
247
247
|
"preview.copy.success": "Copied preview link",
|
248
|
+
"preview.tabs.label": "Preview status",
|
248
249
|
"relation.add": "Add relation",
|
249
250
|
"relation.disconnect": "Remove",
|
250
251
|
"relation.error-adding-relation": "An error occurred while trying to add the relation.",
|
@@ -293,10 +294,11 @@ const en = {
|
|
293
294
|
"history.restore.success.title": "Version restored.",
|
294
295
|
"history.restore.success.message": "The content of the restored version is not published yet.",
|
295
296
|
"history.restore.error.message": "Could not restore version.",
|
296
|
-
"validation.error": "There are validation errors in your document. Please fix them before saving."
|
297
|
+
"validation.error": "There are validation errors in your document. Please fix them before saving.",
|
298
|
+
"bulk-publish.edit": "Edit"
|
297
299
|
};
|
298
300
|
exports.default = en;
|
299
301
|
exports.groups = groups;
|
300
302
|
exports.models = models;
|
301
303
|
exports.pageNotFound = pageNotFound;
|
302
|
-
//# sourceMappingURL=en-
|
304
|
+
//# sourceMappingURL=en-DTWPCdTS.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"en-
|
1
|
+
{"version":3,"file":"en-DTWPCdTS.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -3,7 +3,7 @@ import { jsx, Fragment, jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useStrapiApp, createContext, useQueryParams, useAuth, useRBAC, Page, adminApi, translatedErrors, useNotification, useAPIErrorHandler, getYupValidationErrors, useForm, useTracking, useGuidedTour, BackButton, DescriptionComponentRenderer, useTable, Table } from "@strapi/admin/strapi-admin";
|
4
4
|
import * as React from "react";
|
5
5
|
import { lazy } from "react";
|
6
|
-
import { Button, Menu, VisuallyHidden, Flex,
|
6
|
+
import { Button, Menu, VisuallyHidden, Flex, Dialog, Modal, Typography, Radio, Status, Box, SingleSelect, SingleSelectOption, IconButton, Loader, Tooltip, LinkButton } from "@strapi/design-system";
|
7
7
|
import mapValues from "lodash/fp/mapValues";
|
8
8
|
import { useIntl } from "react-intl";
|
9
9
|
import { useParams, useNavigate, Navigate, useMatch, useLocation, Link, NavLink } from "react-router-dom";
|
@@ -1664,7 +1664,7 @@ const useDocumentActions = () => {
|
|
1664
1664
|
};
|
1665
1665
|
};
|
1666
1666
|
const ProtectedHistoryPage = React.lazy(
|
1667
|
-
() => import("./History-
|
1667
|
+
() => import("./History-BQ721fHN.mjs").then((mod) => ({ default: mod.ProtectedHistoryPage }))
|
1668
1668
|
);
|
1669
1669
|
const routes$2 = [
|
1670
1670
|
{
|
@@ -1677,7 +1677,7 @@ const routes$2 = [
|
|
1677
1677
|
}
|
1678
1678
|
];
|
1679
1679
|
const ProtectedPreviewPage = React.lazy(
|
1680
|
-
() => import("./Preview-
|
1680
|
+
() => import("./Preview-GZFXtAgo.mjs").then((mod) => ({ default: mod.ProtectedPreviewPage }))
|
1681
1681
|
);
|
1682
1682
|
const routes$1 = [
|
1683
1683
|
{
|
@@ -1690,31 +1690,31 @@ const routes$1 = [
|
|
1690
1690
|
}
|
1691
1691
|
];
|
1692
1692
|
const ProtectedEditViewPage = lazy(
|
1693
|
-
() => import("./EditViewPage-
|
1693
|
+
() => import("./EditViewPage-BeRi9xCR.mjs").then((mod) => ({ default: mod.ProtectedEditViewPage }))
|
1694
1694
|
);
|
1695
1695
|
const ProtectedListViewPage = lazy(
|
1696
|
-
() => import("./ListViewPage-
|
1696
|
+
() => import("./ListViewPage-Dq7nBEKD.mjs").then((mod) => ({ default: mod.ProtectedListViewPage }))
|
1697
1697
|
);
|
1698
1698
|
const ProtectedListConfiguration = lazy(
|
1699
|
-
() => import("./ListConfigurationPage-
|
1699
|
+
() => import("./ListConfigurationPage-BVtVADtP.mjs").then((mod) => ({
|
1700
1700
|
default: mod.ProtectedListConfiguration
|
1701
1701
|
}))
|
1702
1702
|
);
|
1703
1703
|
const ProtectedEditConfigurationPage = lazy(
|
1704
|
-
() => import("./EditConfigurationPage-
|
1704
|
+
() => import("./EditConfigurationPage-DBVSBjCB.mjs").then((mod) => ({
|
1705
1705
|
default: mod.ProtectedEditConfigurationPage
|
1706
1706
|
}))
|
1707
1707
|
);
|
1708
1708
|
const ProtectedComponentConfigurationPage = lazy(
|
1709
|
-
() => import("./ComponentConfigurationPage-
|
1709
|
+
() => import("./ComponentConfigurationPage-aeNlfgi9.mjs").then((mod) => ({
|
1710
1710
|
default: mod.ProtectedComponentConfigurationPage
|
1711
1711
|
}))
|
1712
1712
|
);
|
1713
1713
|
const NoPermissions = lazy(
|
1714
|
-
() => import("./NoPermissionsPage-
|
1714
|
+
() => import("./NoPermissionsPage-CT2YbxJK.mjs").then((mod) => ({ default: mod.NoPermissions }))
|
1715
1715
|
);
|
1716
1716
|
const NoContentType = lazy(
|
1717
|
-
() => import("./NoContentTypePage-
|
1717
|
+
() => import("./NoContentTypePage-CQlgc_9h.mjs").then((mod) => ({ default: mod.NoContentType }))
|
1718
1718
|
);
|
1719
1719
|
const CollectionTypePages = () => {
|
1720
1720
|
const { collectionType } = useParams();
|
@@ -1726,7 +1726,7 @@ const CollectionTypePages = () => {
|
|
1726
1726
|
const CLONE_RELATIVE_PATH = ":collectionType/:slug/clone/:origin";
|
1727
1727
|
const CLONE_PATH = `/content-manager/${CLONE_RELATIVE_PATH}`;
|
1728
1728
|
const LIST_RELATIVE_PATH = ":collectionType/:slug";
|
1729
|
-
const LIST_PATH = `/content-manager
|
1729
|
+
const LIST_PATH = `/content-manager/collection-types/:slug`;
|
1730
1730
|
const routes = [
|
1731
1731
|
{
|
1732
1732
|
path: LIST_RELATIVE_PATH,
|
@@ -1922,43 +1922,25 @@ const DocumentActionsMenu = ({
|
|
1922
1922
|
disabled: action.disabled,
|
1923
1923
|
onSelect: handleClick(action),
|
1924
1924
|
display: "block",
|
1925
|
-
children: /* @__PURE__ */
|
1926
|
-
|
1927
|
-
|
1928
|
-
|
1929
|
-
|
1930
|
-
|
1931
|
-
|
1932
|
-
|
1933
|
-
|
1934
|
-
|
1935
|
-
|
1936
|
-
|
1937
|
-
|
1938
|
-
|
1939
|
-
|
1940
|
-
|
1941
|
-
|
1942
|
-
|
1943
|
-
|
1944
|
-
),
|
1945
|
-
action.id.startsWith("HistoryAction") && /* @__PURE__ */ jsx(
|
1946
|
-
Flex,
|
1947
|
-
{
|
1948
|
-
alignItems: "center",
|
1949
|
-
background: "alternative100",
|
1950
|
-
borderStyle: "solid",
|
1951
|
-
borderColor: "alternative200",
|
1952
|
-
borderWidth: "1px",
|
1953
|
-
height: 5,
|
1954
|
-
paddingLeft: 2,
|
1955
|
-
paddingRight: 2,
|
1956
|
-
hasRadius: true,
|
1957
|
-
color: "alternative600",
|
1958
|
-
children: /* @__PURE__ */ jsx(Typography, { variant: "sigma", fontWeight: "bold", lineHeight: 1, children: formatMessage({ id: "global.new", defaultMessage: "New" }) })
|
1959
|
-
}
|
1960
|
-
)
|
1961
|
-
] })
|
1925
|
+
children: /* @__PURE__ */ jsx(Flex, { justifyContent: "space-between", gap: 4, children: /* @__PURE__ */ jsxs(
|
1926
|
+
Flex,
|
1927
|
+
{
|
1928
|
+
color: !action.disabled ? convertActionVariantToColor(action.variant) : "inherit",
|
1929
|
+
gap: 2,
|
1930
|
+
tag: "span",
|
1931
|
+
children: [
|
1932
|
+
/* @__PURE__ */ jsx(
|
1933
|
+
Flex,
|
1934
|
+
{
|
1935
|
+
tag: "span",
|
1936
|
+
color: !action.disabled ? convertActionVariantToIconColor(action.variant) : "inherit",
|
1937
|
+
children: action.icon
|
1938
|
+
}
|
1939
|
+
),
|
1940
|
+
action.label
|
1941
|
+
]
|
1942
|
+
}
|
1943
|
+
) })
|
1962
1944
|
},
|
1963
1945
|
action.id
|
1964
1946
|
);
|
@@ -2549,7 +2531,7 @@ const RelativeTime = React.forwardRef(
|
|
2549
2531
|
});
|
2550
2532
|
const unit = intervals.find((intervalUnit) => {
|
2551
2533
|
return interval[intervalUnit] > 0 && Object.keys(interval).includes(intervalUnit);
|
2552
|
-
});
|
2534
|
+
}) ?? "seconds";
|
2553
2535
|
const relativeTime = isPast(timestamp) ? -interval[unit] : interval[unit];
|
2554
2536
|
const customInterval = customIntervals.find(
|
2555
2537
|
(custom) => interval[custom.unit] < custom.threshold
|
@@ -2583,10 +2565,10 @@ const getDisplayName = ({
|
|
2583
2565
|
return email ?? "";
|
2584
2566
|
};
|
2585
2567
|
const capitalise = (str) => str.charAt(0).toUpperCase() + str.slice(1);
|
2586
|
-
const DocumentStatus = ({ status = "draft", ...restProps }) => {
|
2568
|
+
const DocumentStatus = ({ status = "draft", size = "S", ...restProps }) => {
|
2587
2569
|
const statusVariant = status === "draft" ? "secondary" : status === "published" ? "success" : "alternative";
|
2588
2570
|
const { formatMessage } = useIntl();
|
2589
|
-
return /* @__PURE__ */ jsx(Status, { ...restProps,
|
2571
|
+
return /* @__PURE__ */ jsx(Status, { ...restProps, size, variant: statusVariant, children: /* @__PURE__ */ jsx(Typography, { tag: "span", variant: "omega", fontWeight: "bold", children: formatMessage({
|
2590
2572
|
id: `content-manager.containers.List.${status}`,
|
2591
2573
|
defaultMessage: capitalise(status)
|
2592
2574
|
}) }) });
|
@@ -2594,12 +2576,18 @@ const DocumentStatus = ({ status = "draft", ...restProps }) => {
|
|
2594
2576
|
const Header = ({ isCreating, status, title: documentTitle = "Untitled" }) => {
|
2595
2577
|
const { formatMessage } = useIntl();
|
2596
2578
|
const isCloning = useMatch(CLONE_PATH) !== null;
|
2579
|
+
const params = useParams();
|
2597
2580
|
const title = isCreating ? formatMessage({
|
2598
2581
|
id: "content-manager.containers.edit.title.new",
|
2599
2582
|
defaultMessage: "Create an entry"
|
2600
2583
|
}) : documentTitle;
|
2601
2584
|
return /* @__PURE__ */ jsxs(Flex, { direction: "column", alignItems: "flex-start", paddingTop: 6, paddingBottom: 4, gap: 2, children: [
|
2602
|
-
/* @__PURE__ */ jsx(
|
2585
|
+
/* @__PURE__ */ jsx(
|
2586
|
+
BackButton,
|
2587
|
+
{
|
2588
|
+
fallback: params.collectionType === SINGLE_TYPES ? void 0 : `../${COLLECTION_TYPES}/${params.slug}`
|
2589
|
+
}
|
2590
|
+
),
|
2603
2591
|
/* @__PURE__ */ jsxs(Flex, { width: "100%", justifyContent: "space-between", gap: "80px", alignItems: "flex-start", children: [
|
2604
2592
|
/* @__PURE__ */ jsx(Typography, { variant: "alpha", tag: "h1", children: title }),
|
2605
2593
|
/* @__PURE__ */ jsx(HeaderToolbar, {})
|
@@ -3286,18 +3274,10 @@ const SelectedEntriesTableContent = ({
|
|
3286
3274
|
search: row.locale && `?plugins[i18n][locale]=${row.locale}`
|
3287
3275
|
},
|
3288
3276
|
state: { from: pathname },
|
3289
|
-
label: formatMessage(
|
3290
|
-
|
3291
|
-
|
3292
|
-
|
3293
|
-
{
|
3294
|
-
id: "content-manager.components.ListViewHelperPluginTable.row-line",
|
3295
|
-
defaultMessage: "item line {number}"
|
3296
|
-
},
|
3297
|
-
{ number: index2 + 1 }
|
3298
|
-
)
|
3299
|
-
}
|
3300
|
-
),
|
3277
|
+
label: formatMessage({
|
3278
|
+
id: "content-manager.bulk-publish.edit",
|
3279
|
+
defaultMessage: "Edit"
|
3280
|
+
}),
|
3301
3281
|
target: "_blank",
|
3302
3282
|
marginLeft: "auto",
|
3303
3283
|
variant: "ghost",
|
@@ -4102,7 +4082,7 @@ const index = {
|
|
4102
4082
|
app.router.addRoute({
|
4103
4083
|
path: "content-manager/*",
|
4104
4084
|
lazy: async () => {
|
4105
|
-
const { Layout } = await import("./layout-
|
4085
|
+
const { Layout } = await import("./layout-B3LdnMTA.mjs");
|
4106
4086
|
return {
|
4107
4087
|
Component: Layout
|
4108
4088
|
};
|
@@ -4122,7 +4102,7 @@ const index = {
|
|
4122
4102
|
async registerTrads({ locales }) {
|
4123
4103
|
const importedTrads = await Promise.all(
|
4124
4104
|
locales.map((locale) => {
|
4125
|
-
return __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "./translations/ar.json": () => import("./ar-CCEVvqGG.mjs"), "./translations/ca.json": () => import("./ca-5U32ON2v.mjs"), "./translations/cs.json": () => import("./cs-CM2aBUar.mjs"), "./translations/de.json": () => import("./de-C72KDNOl.mjs"), "./translations/en.json": () => import("./en-
|
4105
|
+
return __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "./translations/ar.json": () => import("./ar-CCEVvqGG.mjs"), "./translations/ca.json": () => import("./ca-5U32ON2v.mjs"), "./translations/cs.json": () => import("./cs-CM2aBUar.mjs"), "./translations/de.json": () => import("./de-C72KDNOl.mjs"), "./translations/en.json": () => import("./en-CfIXaZf9.mjs"), "./translations/es.json": () => import("./es-D34tqjMw.mjs"), "./translations/eu.json": () => import("./eu-CdALomew.mjs"), "./translations/fr.json": () => import("./fr--pg5jUbt.mjs"), "./translations/gu.json": () => import("./gu-CNpaMDpH.mjs"), "./translations/hi.json": () => import("./hi-Dwvd04m3.mjs"), "./translations/hu.json": () => import("./hu-CeYvaaO0.mjs"), "./translations/id.json": () => import("./id-BtwA9WJT.mjs"), "./translations/it.json": () => import("./it-BrVPqaf1.mjs"), "./translations/ja.json": () => import("./ja-BHqhDq4V.mjs"), "./translations/ko.json": () => import("./ko-HVQRlfUI.mjs"), "./translations/ml.json": () => import("./ml-BihZwQit.mjs"), "./translations/ms.json": () => import("./ms-m_WjyWx7.mjs"), "./translations/nl.json": () => import("./nl-D4R9gHx5.mjs"), "./translations/pl.json": () => import("./pl-sbx9mSt_.mjs"), "./translations/pt-BR.json": () => import("./pt-BR-C71iDxnh.mjs"), "./translations/pt.json": () => import("./pt-BsaFvS8-.mjs"), "./translations/ru.json": () => import("./ru-BE6A4Exp.mjs"), "./translations/sa.json": () => import("./sa-Dag0k-Z8.mjs"), "./translations/sk.json": () => import("./sk-BFg-R8qJ.mjs"), "./translations/sv.json": () => import("./sv-CUnfWGsh.mjs"), "./translations/th.json": () => import("./th-BqbI8lIT.mjs"), "./translations/tr.json": () => import("./tr-CgeK3wJM.mjs"), "./translations/uk.json": () => import("./uk-CR-zDhAY.mjs"), "./translations/vi.json": () => import("./vi-DUXIk_fw.mjs"), "./translations/zh-Hans.json": () => import("./zh-Hans-BPQcRIyH.mjs"), "./translations/zh.json": () => import("./zh-BWZspA60.mjs") }), `./translations/${locale}.json`).then(({ default: data }) => {
|
4126
4106
|
return {
|
4127
4107
|
data: prefixPluginTranslations(data, PLUGIN_ID),
|
4128
4108
|
locale
|
@@ -4184,4 +4164,4 @@ export {
|
|
4184
4164
|
capitalise as y,
|
4185
4165
|
useUpdateContentTypeConfigurationMutation as z
|
4186
4166
|
};
|
4187
|
-
//# sourceMappingURL=index-
|
4167
|
+
//# sourceMappingURL=index-CP5EOEiH.mjs.map
|