@strapi/content-manager 0.0.0-next.eedb036f0a7ac282d2a645d8a40625091bd28b1e → 0.0.0-next.f0a0bc26f5ef0693aaea2a616bc6b816cfee54b6

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.
Files changed (91) hide show
  1. package/dist/_chunks/{ComponentConfigurationPage-D3ZWDAHG.mjs → ComponentConfigurationPage-DhWA-JzT.mjs} +3 -3
  2. package/dist/_chunks/{ComponentConfigurationPage-D3ZWDAHG.mjs.map → ComponentConfigurationPage-DhWA-JzT.mjs.map} +1 -1
  3. package/dist/_chunks/{ComponentConfigurationPage-ClKl_TA2.js → ComponentConfigurationPage-UduDBv3m.js} +3 -3
  4. package/dist/_chunks/{ComponentConfigurationPage-ClKl_TA2.js.map → ComponentConfigurationPage-UduDBv3m.js.map} +1 -1
  5. package/dist/_chunks/{EditConfigurationPage-BYCBSJxP.mjs → EditConfigurationPage-5tmx_7Hp.mjs} +3 -3
  6. package/dist/_chunks/{EditConfigurationPage-BYCBSJxP.mjs.map → EditConfigurationPage-5tmx_7Hp.mjs.map} +1 -1
  7. package/dist/_chunks/{EditConfigurationPage-OWez0Kxp.js → EditConfigurationPage-Cp9UzUfs.js} +3 -3
  8. package/dist/_chunks/{EditConfigurationPage-OWez0Kxp.js.map → EditConfigurationPage-Cp9UzUfs.js.map} +1 -1
  9. package/dist/_chunks/{EditViewPage-5pdbvsO_.mjs → EditViewPage-BKoISUOu.mjs} +3 -3
  10. package/dist/_chunks/{EditViewPage-5pdbvsO_.mjs.map → EditViewPage-BKoISUOu.mjs.map} +1 -1
  11. package/dist/_chunks/{EditViewPage-BEs5iGDi.js → EditViewPage-C7l2Emuj.js} +3 -3
  12. package/dist/_chunks/{EditViewPage-BEs5iGDi.js.map → EditViewPage-C7l2Emuj.js.map} +1 -1
  13. package/dist/_chunks/{Field-DNHm4wHx.js → Field-BPSJpDfE.js} +4 -4
  14. package/dist/_chunks/Field-BPSJpDfE.js.map +1 -0
  15. package/dist/_chunks/{Field-DcKuFHYK.mjs → Field-BZxzYf1x.mjs} +5 -5
  16. package/dist/_chunks/Field-BZxzYf1x.mjs.map +1 -0
  17. package/dist/_chunks/{Form-CGwM_-5c.mjs → Form-8qyOU6YG.mjs} +2 -2
  18. package/dist/_chunks/{Form-CGwM_-5c.mjs.map → Form-8qyOU6YG.mjs.map} +1 -1
  19. package/dist/_chunks/{Form-CoRxWJOz.js → Form-DLkqDd2G.js} +2 -2
  20. package/dist/_chunks/{Form-CoRxWJOz.js.map → Form-DLkqDd2G.js.map} +1 -1
  21. package/dist/_chunks/{History-BcUTQrfG.js → History-DYMicybF.js} +5 -5
  22. package/dist/_chunks/History-DYMicybF.js.map +1 -0
  23. package/dist/_chunks/{History-DEvr3Q_V.mjs → History-N_kRb1Yr.mjs} +5 -5
  24. package/dist/_chunks/History-N_kRb1Yr.mjs.map +1 -0
  25. package/dist/_chunks/{ListConfigurationPage-BM4zZZcM.mjs → ListConfigurationPage-BM3qVxug.mjs} +2 -2
  26. package/dist/_chunks/{ListConfigurationPage-BM4zZZcM.mjs.map → ListConfigurationPage-BM3qVxug.mjs.map} +1 -1
  27. package/dist/_chunks/{ListConfigurationPage-BE_Ho7tV.js → ListConfigurationPage-rUF9iGWq.js} +2 -2
  28. package/dist/_chunks/{ListConfigurationPage-BE_Ho7tV.js.map → ListConfigurationPage-rUF9iGWq.js.map} +1 -1
  29. package/dist/_chunks/{ListViewPage-BkT8Eao0.js → ListViewPage-BSLzd7cZ.js} +50 -49
  30. package/dist/_chunks/ListViewPage-BSLzd7cZ.js.map +1 -0
  31. package/dist/_chunks/{ListViewPage-BK2mkrql.mjs → ListViewPage-CWilGbZb.mjs} +50 -49
  32. package/dist/_chunks/ListViewPage-CWilGbZb.mjs.map +1 -0
  33. package/dist/_chunks/{NoContentTypePage-C8mtyc4H.js → NoContentTypePage-CQccVhIX.js} +2 -2
  34. package/dist/_chunks/{NoContentTypePage-C8mtyc4H.js.map → NoContentTypePage-CQccVhIX.js.map} +1 -1
  35. package/dist/_chunks/{NoContentTypePage-BvcAutu9.mjs → NoContentTypePage-VWYlePwI.mjs} +2 -2
  36. package/dist/_chunks/{NoContentTypePage-BvcAutu9.mjs.map → NoContentTypePage-VWYlePwI.mjs.map} +1 -1
  37. package/dist/_chunks/{NoPermissionsPage-B5Y9Y78B.js → NoPermissionsPage-Af32Gg2m.js} +2 -2
  38. package/dist/_chunks/{NoPermissionsPage-B5Y9Y78B.js.map → NoPermissionsPage-Af32Gg2m.js.map} +1 -1
  39. package/dist/_chunks/{NoPermissionsPage-BmbRz7PR.mjs → NoPermissionsPage-CS2tCmfr.mjs} +2 -2
  40. package/dist/_chunks/{NoPermissionsPage-BmbRz7PR.mjs.map → NoPermissionsPage-CS2tCmfr.mjs.map} +1 -1
  41. package/dist/_chunks/{Preview-BF8ZDYqS.js → Preview-D4KzuJFL.js} +9 -4
  42. package/dist/_chunks/Preview-D4KzuJFL.js.map +1 -0
  43. package/dist/_chunks/{Preview-DcexhKJE.mjs → Preview-kPkuZbBJ.mjs} +10 -5
  44. package/dist/_chunks/Preview-kPkuZbBJ.mjs.map +1 -0
  45. package/dist/_chunks/{Relations-BjIzc4EK.mjs → Relations-5k27Rh54.mjs} +3 -3
  46. package/dist/_chunks/{Relations-BjIzc4EK.mjs.map → Relations-5k27Rh54.mjs.map} +1 -1
  47. package/dist/_chunks/{Relations-BKnoK1R0.js → Relations-D_Ki5aVM.js} +3 -3
  48. package/dist/_chunks/{Relations-BKnoK1R0.js.map → Relations-D_Ki5aVM.js.map} +1 -1
  49. package/dist/_chunks/{en-DTWPCdTS.js → en-BK8Xyl5I.js} +3 -2
  50. package/dist/_chunks/{en-DTWPCdTS.js.map → en-BK8Xyl5I.js.map} +1 -1
  51. package/dist/_chunks/{en-CfIXaZf9.mjs → en-Dtk_ot79.mjs} +3 -2
  52. package/dist/_chunks/{en-CfIXaZf9.mjs.map → en-Dtk_ot79.mjs.map} +1 -1
  53. package/dist/_chunks/{index-BW-rXkjn.mjs → index-BLPa8Dq-.mjs} +49 -31
  54. package/dist/_chunks/index-BLPa8Dq-.mjs.map +1 -0
  55. package/dist/_chunks/{index-DOzAG2cq.js → index-DwOsF7wF.js} +49 -31
  56. package/dist/_chunks/index-DwOsF7wF.js.map +1 -0
  57. package/dist/_chunks/{layout-DFVbgjp2.mjs → layout-2Si0j0jO.mjs} +3 -3
  58. package/dist/_chunks/{layout-DFVbgjp2.mjs.map → layout-2Si0j0jO.mjs.map} +1 -1
  59. package/dist/_chunks/{layout-RC3W2obV.js → layout-CN2bFL9V.js} +3 -3
  60. package/dist/_chunks/{layout-RC3W2obV.js.map → layout-CN2bFL9V.js.map} +1 -1
  61. package/dist/_chunks/{relations-zam7-5H7.js → relations-B0E0XUY7.js} +2 -2
  62. package/dist/_chunks/{relations-zam7-5H7.js.map → relations-B0E0XUY7.js.map} +1 -1
  63. package/dist/_chunks/{relations-Dogh8HWI.mjs → relations-CAxDjUJF.mjs} +2 -2
  64. package/dist/_chunks/{relations-Dogh8HWI.mjs.map → relations-CAxDjUJF.mjs.map} +1 -1
  65. package/dist/admin/index.js +1 -1
  66. package/dist/admin/index.mjs +1 -1
  67. package/dist/admin/src/services/documents.d.ts +0 -3
  68. package/dist/server/index.js +56 -9
  69. package/dist/server/index.js.map +1 -1
  70. package/dist/server/index.mjs +57 -10
  71. package/dist/server/index.mjs.map +1 -1
  72. package/dist/server/src/preview/controllers/validation/preview.d.ts.map +1 -1
  73. package/dist/server/src/preview/index.d.ts.map +1 -1
  74. package/dist/server/src/preview/services/index.d.ts +1 -0
  75. package/dist/server/src/preview/services/index.d.ts.map +1 -1
  76. package/dist/server/src/preview/services/preview-config.d.ts +2 -0
  77. package/dist/server/src/preview/services/preview-config.d.ts.map +1 -1
  78. package/dist/server/src/preview/utils.d.ts +1 -0
  79. package/dist/server/src/preview/utils.d.ts.map +1 -1
  80. package/dist/server/src/register.d.ts.map +1 -1
  81. package/package.json +8 -8
  82. package/dist/_chunks/Field-DNHm4wHx.js.map +0 -1
  83. package/dist/_chunks/Field-DcKuFHYK.mjs.map +0 -1
  84. package/dist/_chunks/History-BcUTQrfG.js.map +0 -1
  85. package/dist/_chunks/History-DEvr3Q_V.mjs.map +0 -1
  86. package/dist/_chunks/ListViewPage-BK2mkrql.mjs.map +0 -1
  87. package/dist/_chunks/ListViewPage-BkT8Eao0.js.map +0 -1
  88. package/dist/_chunks/Preview-BF8ZDYqS.js.map +0 -1
  89. package/dist/_chunks/Preview-DcexhKJE.mjs.map +0 -1
  90. package/dist/_chunks/index-BW-rXkjn.mjs.map +0 -1
  91. package/dist/_chunks/index-DOzAG2cq.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"en-DTWPCdTS.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"en-BK8Xyl5I.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -239,6 +239,7 @@ const en = {
239
239
  "popover.display-relations.label": "Display relations",
240
240
  "preview.panel.title": "Preview",
241
241
  "preview.panel.button": "Open preview",
242
+ "preview.panel.button-disabled-tooltip": "Please save to open the preview",
242
243
  "preview.page-title": "{contentType} preview",
243
244
  "preview.header.close": "Close preview",
244
245
  "preview.copy.label": "Copy preview link",
@@ -290,7 +291,7 @@ const en = {
290
291
  "history.restore.confirm.title": "Are you sure you want to restore this version?",
291
292
  "history.restore.confirm.message": "{isDraft, select, true {The restored content will override your draft.} other {The restored content won't be published, it will override the draft and be saved as pending changes. You'll be able to publish the changes at anytime.}}",
292
293
  "history.restore.success.title": "Version restored.",
293
- "history.restore.success.message": "The content of the restored version is not published yet.",
294
+ "history.restore.success.message": "A past version of the content was restored.",
294
295
  "history.restore.error.message": "Could not restore version.",
295
296
  "validation.error": "There are validation errors in your document. Please fix them before saving.",
296
297
  "bulk-publish.edit": "Edit"
@@ -301,4 +302,4 @@ export {
301
302
  models,
302
303
  pageNotFound
303
304
  };
304
- //# sourceMappingURL=en-CfIXaZf9.mjs.map
305
+ //# sourceMappingURL=en-Dtk_ot79.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"en-CfIXaZf9.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"en-Dtk_ot79.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -10,9 +10,9 @@ import { useParams, useNavigate, Navigate, useMatch, useLocation, Link, NavLink
10
10
  import { styled } from "styled-components";
11
11
  import * as yup from "yup";
12
12
  import { ValidationError } from "yup";
13
+ import { stringify } from "qs";
13
14
  import pipe from "lodash/fp/pipe";
14
15
  import { intervalToDuration, isPast } from "date-fns";
15
- import { stringify } from "qs";
16
16
  import { createSlice, combineReducers } from "@reduxjs/toolkit";
17
17
  const __variableDynamicImportRuntimeHelper = (glob, path) => {
18
18
  const v = glob[path];
@@ -274,7 +274,7 @@ const documentApi = contentManagerApi.injectEndpoints({
274
274
  url: `/content-manager/collection-types/${model}`,
275
275
  method: "GET",
276
276
  config: {
277
- params
277
+ params: stringify(params, { encode: true })
278
278
  }
279
279
  }),
280
280
  providesTags: (result, _error, arg) => {
@@ -462,9 +462,6 @@ const buildValidParams = (query) => {
462
462
  {}
463
463
  )
464
464
  };
465
- if ("_q" in validQueryParams) {
466
- validQueryParams._q = encodeURIComponent(validQueryParams._q);
467
- }
468
465
  return validQueryParams;
469
466
  };
470
467
  const isBaseQueryError = (error) => {
@@ -1664,7 +1661,7 @@ const useDocumentActions = () => {
1664
1661
  };
1665
1662
  };
1666
1663
  const ProtectedHistoryPage = React.lazy(
1667
- () => import("./History-DEvr3Q_V.mjs").then((mod) => ({ default: mod.ProtectedHistoryPage }))
1664
+ () => import("./History-N_kRb1Yr.mjs").then((mod) => ({ default: mod.ProtectedHistoryPage }))
1668
1665
  );
1669
1666
  const routes$2 = [
1670
1667
  {
@@ -1677,7 +1674,7 @@ const routes$2 = [
1677
1674
  }
1678
1675
  ];
1679
1676
  const ProtectedPreviewPage = React.lazy(
1680
- () => import("./Preview-DcexhKJE.mjs").then((mod) => ({ default: mod.ProtectedPreviewPage }))
1677
+ () => import("./Preview-kPkuZbBJ.mjs").then((mod) => ({ default: mod.ProtectedPreviewPage }))
1681
1678
  );
1682
1679
  const routes$1 = [
1683
1680
  {
@@ -1690,31 +1687,31 @@ const routes$1 = [
1690
1687
  }
1691
1688
  ];
1692
1689
  const ProtectedEditViewPage = lazy(
1693
- () => import("./EditViewPage-5pdbvsO_.mjs").then((mod) => ({ default: mod.ProtectedEditViewPage }))
1690
+ () => import("./EditViewPage-BKoISUOu.mjs").then((mod) => ({ default: mod.ProtectedEditViewPage }))
1694
1691
  );
1695
1692
  const ProtectedListViewPage = lazy(
1696
- () => import("./ListViewPage-BK2mkrql.mjs").then((mod) => ({ default: mod.ProtectedListViewPage }))
1693
+ () => import("./ListViewPage-CWilGbZb.mjs").then((mod) => ({ default: mod.ProtectedListViewPage }))
1697
1694
  );
1698
1695
  const ProtectedListConfiguration = lazy(
1699
- () => import("./ListConfigurationPage-BM4zZZcM.mjs").then((mod) => ({
1696
+ () => import("./ListConfigurationPage-BM3qVxug.mjs").then((mod) => ({
1700
1697
  default: mod.ProtectedListConfiguration
1701
1698
  }))
1702
1699
  );
1703
1700
  const ProtectedEditConfigurationPage = lazy(
1704
- () => import("./EditConfigurationPage-BYCBSJxP.mjs").then((mod) => ({
1701
+ () => import("./EditConfigurationPage-5tmx_7Hp.mjs").then((mod) => ({
1705
1702
  default: mod.ProtectedEditConfigurationPage
1706
1703
  }))
1707
1704
  );
1708
1705
  const ProtectedComponentConfigurationPage = lazy(
1709
- () => import("./ComponentConfigurationPage-D3ZWDAHG.mjs").then((mod) => ({
1706
+ () => import("./ComponentConfigurationPage-DhWA-JzT.mjs").then((mod) => ({
1710
1707
  default: mod.ProtectedComponentConfigurationPage
1711
1708
  }))
1712
1709
  );
1713
1710
  const NoPermissions = lazy(
1714
- () => import("./NoPermissionsPage-BmbRz7PR.mjs").then((mod) => ({ default: mod.NoPermissions }))
1711
+ () => import("./NoPermissionsPage-CS2tCmfr.mjs").then((mod) => ({ default: mod.NoPermissions }))
1715
1712
  );
1716
1713
  const NoContentType = lazy(
1717
- () => import("./NoContentTypePage-BvcAutu9.mjs").then((mod) => ({ default: mod.NoContentType }))
1714
+ () => import("./NoContentTypePage-VWYlePwI.mjs").then((mod) => ({ default: mod.NoContentType }))
1718
1715
  );
1719
1716
  const CollectionTypePages = () => {
1720
1717
  const { collectionType } = useParams();
@@ -2084,6 +2081,7 @@ const PublishAction$1 = ({
2084
2081
  const { _unstableFormatValidationErrors: formatValidationErrors } = useAPIErrorHandler();
2085
2082
  const isListView = useMatch(LIST_PATH) !== null;
2086
2083
  const isCloning = useMatch(CLONE_PATH) !== null;
2084
+ const { id } = useParams();
2087
2085
  const { formatMessage } = useIntl();
2088
2086
  const canPublish = useDocumentRBAC("PublishAction", ({ canPublish: canPublish2 }) => canPublish2);
2089
2087
  const { publish } = useDocumentActions();
@@ -2186,10 +2184,12 @@ const PublishAction$1 = ({
2186
2184
  transformData(formValues)
2187
2185
  );
2188
2186
  if ("data" in res && collectionType !== SINGLE_TYPES) {
2189
- navigate({
2190
- pathname: `../${collectionType}/${model}/${res.data.documentId}`,
2191
- search: rawQuery
2192
- });
2187
+ if (id === "create") {
2188
+ navigate({
2189
+ pathname: `../${collectionType}/${model}/${res.data.documentId}`,
2190
+ search: rawQuery
2191
+ });
2192
+ }
2193
2193
  } else if ("error" in res && isBaseQueryError(res.error) && res.error.name === "ValidationError") {
2194
2194
  setErrors(formatValidationErrors(res.error));
2195
2195
  }
@@ -4032,11 +4032,18 @@ const previewApi = contentManagerApi.injectEndpoints({
4032
4032
  })
4033
4033
  });
4034
4034
  const { useGetPreviewUrlQuery } = previewApi;
4035
+ const ConditionalTooltip = ({ isShown, label, children }) => {
4036
+ if (isShown) {
4037
+ return /* @__PURE__ */ jsx(Tooltip, { label, children });
4038
+ }
4039
+ return children;
4040
+ };
4035
4041
  const PreviewSidePanel = ({ model, documentId, document }) => {
4036
4042
  const { formatMessage } = useIntl();
4037
4043
  const { trackUsage } = useTracking();
4038
4044
  const { pathname } = useLocation();
4039
4045
  const [{ query }] = useQueryParams();
4046
+ const isModified = useForm("PreviewSidePanel", (state) => state.modified);
4040
4047
  const { data, error } = useGetPreviewUrlQuery({
4041
4048
  params: {
4042
4049
  contentType: model
@@ -4057,17 +4064,28 @@ const PreviewSidePanel = ({ model, documentId, document }) => {
4057
4064
  return {
4058
4065
  title: formatMessage({ id: "content-manager.preview.panel.title", defaultMessage: "Preview" }),
4059
4066
  content: /* @__PURE__ */ jsx(Flex, { gap: 2, width: "100%", children: /* @__PURE__ */ jsx(
4060
- Button,
4067
+ ConditionalTooltip,
4061
4068
  {
4062
- variant: "tertiary",
4063
- tag: Link,
4064
- to: { pathname: "preview", search: stringify(query, { encode: false }) },
4065
- onClick: trackNavigation,
4066
- flex: "auto",
4067
- children: formatMessage({
4068
- id: "content-manager.preview.panel.button",
4069
- defaultMessage: "Open preview"
4070
- })
4069
+ label: formatMessage({
4070
+ id: "content-manager.preview.panel.button-disabled-tooltip",
4071
+ defaultMessage: "Please save to open the preview"
4072
+ }),
4073
+ isShown: isModified,
4074
+ children: /* @__PURE__ */ jsx(
4075
+ Button,
4076
+ {
4077
+ variant: "tertiary",
4078
+ tag: Link,
4079
+ to: { pathname: "preview", search: stringify(query, { encode: false }) },
4080
+ onClick: trackNavigation,
4081
+ flex: "auto",
4082
+ disabled: isModified,
4083
+ children: formatMessage({
4084
+ id: "content-manager.preview.panel.button",
4085
+ defaultMessage: "Open preview"
4086
+ })
4087
+ }
4088
+ )
4071
4089
  }
4072
4090
  ) })
4073
4091
  };
@@ -4101,7 +4119,7 @@ const index = {
4101
4119
  app.router.addRoute({
4102
4120
  path: "content-manager/*",
4103
4121
  lazy: async () => {
4104
- const { Layout } = await import("./layout-DFVbgjp2.mjs");
4122
+ const { Layout } = await import("./layout-2Si0j0jO.mjs");
4105
4123
  return {
4106
4124
  Component: Layout
4107
4125
  };
@@ -4121,7 +4139,7 @@ const index = {
4121
4139
  async registerTrads({ locales }) {
4122
4140
  const importedTrads = await Promise.all(
4123
4141
  locales.map((locale) => {
4124
- 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 }) => {
4142
+ 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-Dtk_ot79.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 }) => {
4125
4143
  return {
4126
4144
  data: prefixPluginTranslations(data, PLUGIN_ID),
4127
4145
  locale
@@ -4183,4 +4201,4 @@ export {
4183
4201
  capitalise as y,
4184
4202
  useUpdateContentTypeConfigurationMutation as z
4185
4203
  };
4186
- //# sourceMappingURL=index-BW-rXkjn.mjs.map
4204
+ //# sourceMappingURL=index-BLPa8Dq-.mjs.map