@strapi/content-manager 0.0.0-experimental.727a0f9b729da91886ca93e88ec1d6d811d1beba → 0.0.0-experimental.76999222c105ee5da1bc2540e3b5e5f57747300c

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 (148) hide show
  1. package/dist/_chunks/{ComponentConfigurationPage-CSfKucht.mjs → ComponentConfigurationPage-BUOQFZ08.mjs} +4 -4
  2. package/dist/_chunks/{ComponentConfigurationPage-CSfKucht.mjs.map → ComponentConfigurationPage-BUOQFZ08.mjs.map} +1 -1
  3. package/dist/_chunks/{ComponentConfigurationPage-BM3DokSx.js → ComponentConfigurationPage-WtZ2yaRP.js} +4 -4
  4. package/dist/_chunks/{ComponentConfigurationPage-BM3DokSx.js.map → ComponentConfigurationPage-WtZ2yaRP.js.map} +1 -1
  5. package/dist/_chunks/{EditConfigurationPage-C3-yCRnR.js → EditConfigurationPage-BVrCP5lF.js} +4 -4
  6. package/dist/_chunks/{EditConfigurationPage-C3-yCRnR.js.map → EditConfigurationPage-BVrCP5lF.js.map} +1 -1
  7. package/dist/_chunks/{EditConfigurationPage-7qf-2HiT.mjs → EditConfigurationPage-D7HkxcAN.mjs} +4 -4
  8. package/dist/_chunks/{EditConfigurationPage-7qf-2HiT.mjs.map → EditConfigurationPage-D7HkxcAN.mjs.map} +1 -1
  9. package/dist/_chunks/{EditViewPage-D6NVA2jV.js → EditViewPage-BKQ83NAk.js} +3 -3
  10. package/dist/_chunks/EditViewPage-BKQ83NAk.js.map +1 -0
  11. package/dist/_chunks/{EditViewPage-bxZldKMq.mjs → EditViewPage-zKmMBER4.mjs} +3 -3
  12. package/dist/_chunks/EditViewPage-zKmMBER4.mjs.map +1 -0
  13. package/dist/_chunks/{Field-C9_tr4Aa.mjs → Field-BbrX_tUG.mjs} +5 -5
  14. package/dist/_chunks/Field-BbrX_tUG.mjs.map +1 -0
  15. package/dist/_chunks/{Field-D3hNJ2bQ.js → Field-BhN0lyyZ.js} +5 -5
  16. package/dist/_chunks/Field-BhN0lyyZ.js.map +1 -0
  17. package/dist/_chunks/{Form-BR-hkfA3.mjs → Form-B-E8l73g.mjs} +2 -2
  18. package/dist/_chunks/{Form-BR-hkfA3.mjs.map → Form-B-E8l73g.mjs.map} +1 -1
  19. package/dist/_chunks/{Form-DjQIEfft.js → Form-CkbrtNZd.js} +2 -2
  20. package/dist/_chunks/{Form-DjQIEfft.js.map → Form-CkbrtNZd.js.map} +1 -1
  21. package/dist/_chunks/{History-CpoL230C.js → History-B2Dg9q7H.js} +18 -34
  22. package/dist/_chunks/History-B2Dg9q7H.js.map +1 -0
  23. package/dist/_chunks/{History-BHVG-EjN.mjs → History-C72HQ0-i.mjs} +18 -34
  24. package/dist/_chunks/History-C72HQ0-i.mjs.map +1 -0
  25. package/dist/_chunks/{ListConfigurationPage-Crl2VS2v.js → ListConfigurationPage-BQCc3BnJ.js} +3 -3
  26. package/dist/_chunks/{ListConfigurationPage-Crl2VS2v.js.map → ListConfigurationPage-BQCc3BnJ.js.map} +1 -1
  27. package/dist/_chunks/{ListConfigurationPage-DxXPCSdJ.mjs → ListConfigurationPage-BalSo5dp.mjs} +3 -3
  28. package/dist/_chunks/{ListConfigurationPage-DxXPCSdJ.mjs.map → ListConfigurationPage-BalSo5dp.mjs.map} +1 -1
  29. package/dist/_chunks/{ListViewPage-DU7nFGv3.js → ListViewPage-Cu5dZKZe.js} +15 -4
  30. package/dist/_chunks/ListViewPage-Cu5dZKZe.js.map +1 -0
  31. package/dist/_chunks/{ListViewPage-B3AsSiCi.mjs → ListViewPage-Dfue5wQ2.mjs} +15 -4
  32. package/dist/_chunks/{ListViewPage-B3AsSiCi.mjs.map → ListViewPage-Dfue5wQ2.mjs.map} +1 -1
  33. package/dist/_chunks/{NoContentTypePage-Cm1KHWtX.mjs → NoContentTypePage-BLC8M9U0.mjs} +2 -2
  34. package/dist/_chunks/{NoContentTypePage-Cm1KHWtX.mjs.map → NoContentTypePage-BLC8M9U0.mjs.map} +1 -1
  35. package/dist/_chunks/{NoContentTypePage-BzsH8cxC.js → NoContentTypePage-MGzn4JPu.js} +2 -2
  36. package/dist/_chunks/{NoContentTypePage-BzsH8cxC.js.map → NoContentTypePage-MGzn4JPu.js.map} +1 -1
  37. package/dist/_chunks/{NoPermissionsPage-Cp08gU1T.mjs → NoPermissionsPage-BpAoEQy_.mjs} +2 -2
  38. package/dist/_chunks/{NoPermissionsPage-Cp08gU1T.mjs.map → NoPermissionsPage-BpAoEQy_.mjs.map} +1 -1
  39. package/dist/_chunks/{NoPermissionsPage-IMVNnz82.js → NoPermissionsPage-DJPwEpOD.js} +2 -2
  40. package/dist/_chunks/{NoPermissionsPage-IMVNnz82.js.map → NoPermissionsPage-DJPwEpOD.js.map} +1 -1
  41. package/dist/_chunks/{Relations-B6t_pnoG.mjs → Relations-BULOkyWN.mjs} +33 -18
  42. package/dist/_chunks/Relations-BULOkyWN.mjs.map +1 -0
  43. package/dist/_chunks/{Relations-zmY4dZqn.js → Relations-DTiqnyGx.js} +32 -17
  44. package/dist/_chunks/Relations-DTiqnyGx.js.map +1 -0
  45. package/dist/_chunks/{en-Bm0D0IWz.js → en-C-J4DGEe.js} +4 -2
  46. package/dist/_chunks/{en-Bm0D0IWz.js.map → en-C-J4DGEe.js.map} +1 -1
  47. package/dist/_chunks/{en-DKV44jRb.mjs → en-DPfZ6tPQ.mjs} +4 -2
  48. package/dist/_chunks/{en-DKV44jRb.mjs.map → en-DPfZ6tPQ.mjs.map} +1 -1
  49. package/dist/_chunks/{es-EUonQTon.js → es-9K52xZIr.js} +2 -2
  50. package/dist/_chunks/{ja-CcFe8diO.js.map → es-9K52xZIr.js.map} +1 -1
  51. package/dist/_chunks/{es-CeXiYflN.mjs → es-D34tqjMw.mjs} +2 -2
  52. package/dist/_chunks/{es-CeXiYflN.mjs.map → es-D34tqjMw.mjs.map} +1 -1
  53. package/dist/_chunks/{fr-CD9VFbPM.mjs → fr--pg5jUbt.mjs} +13 -3
  54. package/dist/_chunks/{fr-CD9VFbPM.mjs.map → fr--pg5jUbt.mjs.map} +1 -1
  55. package/dist/_chunks/{fr-B7kGGg3E.js → fr-B2Kyv8Z9.js} +13 -3
  56. package/dist/_chunks/{fr-B7kGGg3E.js.map → fr-B2Kyv8Z9.js.map} +1 -1
  57. package/dist/_chunks/{index-CPLVEK9S.js → index-76eawJUd.js} +72 -20
  58. package/dist/_chunks/index-76eawJUd.js.map +1 -0
  59. package/dist/_chunks/{index-Bf_GSv6w.mjs → index-DW7xp_LG.mjs} +72 -20
  60. package/dist/_chunks/index-DW7xp_LG.mjs.map +1 -0
  61. package/dist/_chunks/{ja-CcFe8diO.js → ja-7sfIbjxE.js} +2 -2
  62. package/dist/_chunks/{es-EUonQTon.js.map → ja-7sfIbjxE.js.map} +1 -1
  63. package/dist/_chunks/{ja-CtsUxOvk.mjs → ja-BHqhDq4V.mjs} +2 -2
  64. package/dist/_chunks/{ja-CtsUxOvk.mjs.map → ja-BHqhDq4V.mjs.map} +1 -1
  65. package/dist/_chunks/{layout-Bhx5zy0x.js → layout-CVz8WiDC.js} +3 -3
  66. package/dist/_chunks/{layout-Bhx5zy0x.js.map → layout-CVz8WiDC.js.map} +1 -1
  67. package/dist/_chunks/{layout-Dh71lQnu.mjs → layout-DNfLIjbP.mjs} +3 -3
  68. package/dist/_chunks/{layout-Dh71lQnu.mjs.map → layout-DNfLIjbP.mjs.map} +1 -1
  69. package/dist/_chunks/{objects-gigeqt7s.js → objects-BcXOv6_9.js} +2 -4
  70. package/dist/_chunks/{objects-gigeqt7s.js.map → objects-BcXOv6_9.js.map} +1 -1
  71. package/dist/_chunks/{objects-mKMAmfec.mjs → objects-D6yBsdmx.mjs} +2 -4
  72. package/dist/_chunks/{objects-mKMAmfec.mjs.map → objects-D6yBsdmx.mjs.map} +1 -1
  73. package/dist/_chunks/{relations-DjAUh61z.js → relations-B6K4WRjW.js} +3 -7
  74. package/dist/_chunks/relations-B6K4WRjW.js.map +1 -0
  75. package/dist/_chunks/{relations-DTHr-ljZ.mjs → relations-ByHSIjSe.mjs} +3 -7
  76. package/dist/_chunks/relations-ByHSIjSe.mjs.map +1 -0
  77. package/dist/admin/index.js +1 -1
  78. package/dist/admin/index.mjs +1 -1
  79. package/dist/admin/src/preview/components/PreviewSidePanel.d.ts +3 -0
  80. package/dist/admin/src/preview/constants.d.ts +1 -0
  81. package/dist/admin/src/preview/index.d.ts +4 -0
  82. package/dist/admin/src/preview/services/preview.d.ts +3 -0
  83. package/dist/server/index.js +345 -145
  84. package/dist/server/index.js.map +1 -1
  85. package/dist/server/index.mjs +345 -145
  86. package/dist/server/index.mjs.map +1 -1
  87. package/dist/server/src/bootstrap.d.ts.map +1 -1
  88. package/dist/server/src/controllers/index.d.ts.map +1 -1
  89. package/dist/server/src/controllers/relations.d.ts.map +1 -1
  90. package/dist/server/src/controllers/utils/metadata.d.ts +15 -1
  91. package/dist/server/src/controllers/utils/metadata.d.ts.map +1 -1
  92. package/dist/server/src/history/services/lifecycles.d.ts.map +1 -1
  93. package/dist/server/src/history/services/utils.d.ts +2 -3
  94. package/dist/server/src/history/services/utils.d.ts.map +1 -1
  95. package/dist/server/src/index.d.ts +4 -4
  96. package/dist/server/src/preview/constants.d.ts +2 -0
  97. package/dist/server/src/preview/constants.d.ts.map +1 -0
  98. package/dist/server/src/preview/controllers/index.d.ts +2 -0
  99. package/dist/server/src/preview/controllers/index.d.ts.map +1 -0
  100. package/dist/server/src/preview/controllers/preview.d.ts +13 -0
  101. package/dist/server/src/preview/controllers/preview.d.ts.map +1 -0
  102. package/dist/server/src/preview/controllers/validation/preview.d.ts +6 -0
  103. package/dist/server/src/preview/controllers/validation/preview.d.ts.map +1 -0
  104. package/dist/server/src/preview/index.d.ts +4 -0
  105. package/dist/server/src/preview/index.d.ts.map +1 -0
  106. package/dist/server/src/preview/routes/index.d.ts +8 -0
  107. package/dist/server/src/preview/routes/index.d.ts.map +1 -0
  108. package/dist/server/src/preview/routes/preview.d.ts +4 -0
  109. package/dist/server/src/preview/routes/preview.d.ts.map +1 -0
  110. package/dist/server/src/preview/services/index.d.ts +15 -0
  111. package/dist/server/src/preview/services/index.d.ts.map +1 -0
  112. package/dist/server/src/preview/services/preview-config.d.ts +30 -0
  113. package/dist/server/src/preview/services/preview-config.d.ts.map +1 -0
  114. package/dist/server/src/preview/services/preview.d.ts +12 -0
  115. package/dist/server/src/preview/services/preview.d.ts.map +1 -0
  116. package/dist/server/src/preview/utils.d.ts +18 -0
  117. package/dist/server/src/preview/utils.d.ts.map +1 -0
  118. package/dist/server/src/routes/index.d.ts.map +1 -1
  119. package/dist/server/src/services/document-metadata.d.ts +8 -8
  120. package/dist/server/src/services/document-metadata.d.ts.map +1 -1
  121. package/dist/server/src/services/index.d.ts +4 -4
  122. package/dist/server/src/services/index.d.ts.map +1 -1
  123. package/dist/server/src/services/utils/configuration/index.d.ts +2 -2
  124. package/dist/server/src/services/utils/configuration/layouts.d.ts +2 -2
  125. package/dist/server/src/utils/index.d.ts +2 -0
  126. package/dist/server/src/utils/index.d.ts.map +1 -1
  127. package/dist/shared/contracts/index.d.ts +1 -0
  128. package/dist/shared/contracts/index.d.ts.map +1 -1
  129. package/dist/shared/contracts/preview.d.ts +27 -0
  130. package/dist/shared/contracts/preview.d.ts.map +1 -0
  131. package/dist/shared/index.js +4 -0
  132. package/dist/shared/index.js.map +1 -1
  133. package/dist/shared/index.mjs +4 -0
  134. package/dist/shared/index.mjs.map +1 -1
  135. package/package.json +7 -7
  136. package/dist/_chunks/EditViewPage-D6NVA2jV.js.map +0 -1
  137. package/dist/_chunks/EditViewPage-bxZldKMq.mjs.map +0 -1
  138. package/dist/_chunks/Field-C9_tr4Aa.mjs.map +0 -1
  139. package/dist/_chunks/Field-D3hNJ2bQ.js.map +0 -1
  140. package/dist/_chunks/History-BHVG-EjN.mjs.map +0 -1
  141. package/dist/_chunks/History-CpoL230C.js.map +0 -1
  142. package/dist/_chunks/ListViewPage-DU7nFGv3.js.map +0 -1
  143. package/dist/_chunks/Relations-B6t_pnoG.mjs.map +0 -1
  144. package/dist/_chunks/Relations-zmY4dZqn.js.map +0 -1
  145. package/dist/_chunks/index-Bf_GSv6w.mjs.map +0 -1
  146. package/dist/_chunks/index-CPLVEK9S.js.map +0 -1
  147. package/dist/_chunks/relations-DTHr-ljZ.mjs.map +0 -1
  148. package/dist/_chunks/relations-DjAUh61z.js.map +0 -1
@@ -293,7 +293,7 @@ const documentApi = contentManagerApi.injectEndpoints({
293
293
  */
294
294
  getAllDocuments: builder.query({
295
295
  query: ({ model, params }) => ({
296
- url: `/content-manager/collection-types/${model}`,
296
+ url: `/content-manager/collection-types/${model}${params ? `?${params}` : ""}`,
297
297
  method: "GET",
298
298
  config: {
299
299
  params
@@ -991,9 +991,10 @@ const formatEditLayout = (data, {
991
991
  currentPanelIndex += 2;
992
992
  } else {
993
993
  if (!panels[currentPanelIndex]) {
994
- panels.push([]);
994
+ panels.push([row]);
995
+ } else {
996
+ panels[currentPanelIndex].push(row);
995
997
  }
996
- panels[currentPanelIndex].push(row);
997
998
  }
998
999
  return panels;
999
1000
  }, []);
@@ -1251,9 +1252,6 @@ const useContentManagerContext = () => {
1251
1252
  };
1252
1253
  };
1253
1254
  const prefixPluginTranslations = (trad, pluginId) => {
1254
- if (!pluginId) {
1255
- throw new TypeError("pluginId can't be empty");
1256
- }
1257
1255
  return Object.keys(trad).reduce((acc, current) => {
1258
1256
  acc[`${pluginId}.${current}`] = trad[current];
1259
1257
  return acc;
@@ -1688,7 +1686,7 @@ const useDocumentActions = () => {
1688
1686
  };
1689
1687
  };
1690
1688
  const ProtectedHistoryPage = React.lazy(
1691
- () => Promise.resolve().then(() => require("./History-CpoL230C.js")).then((mod) => ({ default: mod.ProtectedHistoryPage }))
1689
+ () => Promise.resolve().then(() => require("./History-B2Dg9q7H.js")).then((mod) => ({ default: mod.ProtectedHistoryPage }))
1692
1690
  );
1693
1691
  const routes$1 = [
1694
1692
  {
@@ -1701,31 +1699,31 @@ const routes$1 = [
1701
1699
  }
1702
1700
  ];
1703
1701
  const ProtectedEditViewPage = React.lazy(
1704
- () => Promise.resolve().then(() => require("./EditViewPage-D6NVA2jV.js")).then((mod) => ({ default: mod.ProtectedEditViewPage }))
1702
+ () => Promise.resolve().then(() => require("./EditViewPage-BKQ83NAk.js")).then((mod) => ({ default: mod.ProtectedEditViewPage }))
1705
1703
  );
1706
1704
  const ProtectedListViewPage = React.lazy(
1707
- () => Promise.resolve().then(() => require("./ListViewPage-DU7nFGv3.js")).then((mod) => ({ default: mod.ProtectedListViewPage }))
1705
+ () => Promise.resolve().then(() => require("./ListViewPage-Cu5dZKZe.js")).then((mod) => ({ default: mod.ProtectedListViewPage }))
1708
1706
  );
1709
1707
  const ProtectedListConfiguration = React.lazy(
1710
- () => Promise.resolve().then(() => require("./ListConfigurationPage-Crl2VS2v.js")).then((mod) => ({
1708
+ () => Promise.resolve().then(() => require("./ListConfigurationPage-BQCc3BnJ.js")).then((mod) => ({
1711
1709
  default: mod.ProtectedListConfiguration
1712
1710
  }))
1713
1711
  );
1714
1712
  const ProtectedEditConfigurationPage = React.lazy(
1715
- () => Promise.resolve().then(() => require("./EditConfigurationPage-C3-yCRnR.js")).then((mod) => ({
1713
+ () => Promise.resolve().then(() => require("./EditConfigurationPage-BVrCP5lF.js")).then((mod) => ({
1716
1714
  default: mod.ProtectedEditConfigurationPage
1717
1715
  }))
1718
1716
  );
1719
1717
  const ProtectedComponentConfigurationPage = React.lazy(
1720
- () => Promise.resolve().then(() => require("./ComponentConfigurationPage-BM3DokSx.js")).then((mod) => ({
1718
+ () => Promise.resolve().then(() => require("./ComponentConfigurationPage-WtZ2yaRP.js")).then((mod) => ({
1721
1719
  default: mod.ProtectedComponentConfigurationPage
1722
1720
  }))
1723
1721
  );
1724
1722
  const NoPermissions = React.lazy(
1725
- () => Promise.resolve().then(() => require("./NoPermissionsPage-IMVNnz82.js")).then((mod) => ({ default: mod.NoPermissions }))
1723
+ () => Promise.resolve().then(() => require("./NoPermissionsPage-DJPwEpOD.js")).then((mod) => ({ default: mod.NoPermissions }))
1726
1724
  );
1727
1725
  const NoContentType = React.lazy(
1728
- () => Promise.resolve().then(() => require("./NoContentTypePage-BzsH8cxC.js")).then((mod) => ({ default: mod.NoContentType }))
1726
+ () => Promise.resolve().then(() => require("./NoContentTypePage-MGzn4JPu.js")).then((mod) => ({ default: mod.NoContentType }))
1729
1727
  );
1730
1728
  const CollectionTypePages = () => {
1731
1729
  const { collectionType } = reactRouterDom.useParams();
@@ -2084,8 +2082,8 @@ const transformData = (data) => {
2084
2082
  return data.map(transformData);
2085
2083
  }
2086
2084
  if (typeof data === "object" && data !== null) {
2087
- if ("api_data" in data) {
2088
- return data.api_data;
2085
+ if ("apiData" in data) {
2086
+ return data.apiData;
2089
2087
  }
2090
2088
  return mapValues__default.default(transformData)(data);
2091
2089
  }
@@ -3042,7 +3040,7 @@ const Panel = React__namespace.forwardRef(({ children, title }, ref) => {
3042
3040
  justifyContent: "stretch",
3043
3041
  alignItems: "flex-start",
3044
3042
  children: [
3045
- /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { tag: "h2", variant: "sigma", textTransform: "uppercase", children: title }),
3043
+ /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { tag: "h2", variant: "sigma", textTransform: "uppercase", textColor: "neutral600", children: title }),
3046
3044
  children
3047
3045
  ]
3048
3046
  }
@@ -4025,6 +4023,57 @@ const { setInitialData } = actions;
4025
4023
  const reducer = toolkit.combineReducers({
4026
4024
  app: reducer$1
4027
4025
  });
4026
+ const previewApi = contentManagerApi.injectEndpoints({
4027
+ endpoints: (builder) => ({
4028
+ getPreviewUrl: builder.query({
4029
+ query({ query, params }) {
4030
+ return {
4031
+ url: `/content-manager/preview/url/${params.contentType}`,
4032
+ method: "GET",
4033
+ config: {
4034
+ params: query
4035
+ }
4036
+ };
4037
+ }
4038
+ })
4039
+ })
4040
+ });
4041
+ const { useGetPreviewUrlQuery } = previewApi;
4042
+ const PreviewSidePanel = ({ model, documentId, document }) => {
4043
+ const { formatMessage } = reactIntl.useIntl();
4044
+ const { data, error } = useGetPreviewUrlQuery({
4045
+ params: {
4046
+ contentType: model
4047
+ },
4048
+ query: {
4049
+ documentId,
4050
+ locale: document?.locale,
4051
+ status: document?.status
4052
+ }
4053
+ });
4054
+ if (!data?.data?.url || error) {
4055
+ return null;
4056
+ }
4057
+ return {
4058
+ title: formatMessage({ id: "content-manager.preview.panel.title", defaultMessage: "Preview" }),
4059
+ content: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Button, { variant: "tertiary", fullWidth: true, tag: reactRouterDom.Link, to: data.data.url, target: "_blank", children: formatMessage({
4060
+ id: "content-manager.preview.panel.button",
4061
+ defaultMessage: "Open preview"
4062
+ }) })
4063
+ };
4064
+ };
4065
+ const FEATURE_ID = "preview";
4066
+ const previewAdmin = {
4067
+ bootstrap(app) {
4068
+ if (!window.strapi.future.isEnabled(FEATURE_ID)) {
4069
+ return;
4070
+ }
4071
+ const contentManagerPluginApis = app.getPlugin("content-manager").apis;
4072
+ if ("addEditViewSidePanel" in contentManagerPluginApis && typeof contentManagerPluginApis.addEditViewSidePanel === "function") {
4073
+ contentManagerPluginApis.addEditViewSidePanel([PreviewSidePanel]);
4074
+ }
4075
+ }
4076
+ };
4028
4077
  const index = {
4029
4078
  register(app) {
4030
4079
  const cm = new ContentManagerPlugin();
@@ -4044,7 +4093,7 @@ const index = {
4044
4093
  app.router.addRoute({
4045
4094
  path: "content-manager/*",
4046
4095
  lazy: async () => {
4047
- const { Layout } = await Promise.resolve().then(() => require("./layout-Bhx5zy0x.js"));
4096
+ const { Layout } = await Promise.resolve().then(() => require("./layout-CVz8WiDC.js"));
4048
4097
  return {
4049
4098
  Component: Layout
4050
4099
  };
@@ -4057,11 +4106,14 @@ const index = {
4057
4106
  if (typeof historyAdmin.bootstrap === "function") {
4058
4107
  historyAdmin.bootstrap(app);
4059
4108
  }
4109
+ if (typeof previewAdmin.bootstrap === "function") {
4110
+ previewAdmin.bootstrap(app);
4111
+ }
4060
4112
  },
4061
4113
  async registerTrads({ locales }) {
4062
4114
  const importedTrads = await Promise.all(
4063
4115
  locales.map((locale) => {
4064
- return __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "./translations/ar.json": () => Promise.resolve().then(() => require("./ar-BUUWXIYu.js")), "./translations/ca.json": () => Promise.resolve().then(() => require("./ca-Cmk45QO6.js")), "./translations/cs.json": () => Promise.resolve().then(() => require("./cs-CkJy6B2v.js")), "./translations/de.json": () => Promise.resolve().then(() => require("./de-CCEmbAah.js")), "./translations/en.json": () => Promise.resolve().then(() => require("./en-Bm0D0IWz.js")), "./translations/es.json": () => Promise.resolve().then(() => require("./es-EUonQTon.js")), "./translations/eu.json": () => Promise.resolve().then(() => require("./eu-VDH-3ovk.js")), "./translations/fr.json": () => Promise.resolve().then(() => require("./fr-B7kGGg3E.js")), "./translations/gu.json": () => Promise.resolve().then(() => require("./gu-BRmF601H.js")), "./translations/hi.json": () => Promise.resolve().then(() => require("./hi-CCJBptSq.js")), "./translations/hu.json": () => Promise.resolve().then(() => require("./hu-sNV_yLYy.js")), "./translations/id.json": () => Promise.resolve().then(() => require("./id-B5Ser98A.js")), "./translations/it.json": () => Promise.resolve().then(() => require("./it-DkBIs7vD.js")), "./translations/ja.json": () => Promise.resolve().then(() => require("./ja-CcFe8diO.js")), "./translations/ko.json": () => Promise.resolve().then(() => require("./ko-woFZPmLk.js")), "./translations/ml.json": () => Promise.resolve().then(() => require("./ml-C2W8N8k1.js")), "./translations/ms.json": () => Promise.resolve().then(() => require("./ms-BuFotyP_.js")), "./translations/nl.json": () => Promise.resolve().then(() => require("./nl-bbEOHChV.js")), "./translations/pl.json": () => Promise.resolve().then(() => require("./pl-uzwG-hk7.js")), "./translations/pt-BR.json": () => Promise.resolve().then(() => require("./pt-BR-BiOz37D9.js")), "./translations/pt.json": () => Promise.resolve().then(() => require("./pt-CeXQuq50.js")), "./translations/ru.json": () => Promise.resolve().then(() => require("./ru-BT3ybNny.js")), "./translations/sa.json": () => Promise.resolve().then(() => require("./sa-CcvkYInH.js")), "./translations/sk.json": () => Promise.resolve().then(() => require("./sk-CvY09Xjv.js")), "./translations/sv.json": () => Promise.resolve().then(() => require("./sv-MYDuzgvT.js")), "./translations/th.json": () => Promise.resolve().then(() => require("./th-D9_GfAjc.js")), "./translations/tr.json": () => Promise.resolve().then(() => require("./tr-D9UH-O_R.js")), "./translations/uk.json": () => Promise.resolve().then(() => require("./uk-C8EiqJY7.js")), "./translations/vi.json": () => Promise.resolve().then(() => require("./vi-CJlYDheJ.js")), "./translations/zh-Hans.json": () => Promise.resolve().then(() => require("./zh-Hans-9kOncHGw.js")), "./translations/zh.json": () => Promise.resolve().then(() => require("./zh-CQQfszqR.js")) }), `./translations/${locale}.json`).then(({ default: data }) => {
4116
+ return __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "./translations/ar.json": () => Promise.resolve().then(() => require("./ar-BUUWXIYu.js")), "./translations/ca.json": () => Promise.resolve().then(() => require("./ca-Cmk45QO6.js")), "./translations/cs.json": () => Promise.resolve().then(() => require("./cs-CkJy6B2v.js")), "./translations/de.json": () => Promise.resolve().then(() => require("./de-CCEmbAah.js")), "./translations/en.json": () => Promise.resolve().then(() => require("./en-C-J4DGEe.js")), "./translations/es.json": () => Promise.resolve().then(() => require("./es-9K52xZIr.js")), "./translations/eu.json": () => Promise.resolve().then(() => require("./eu-VDH-3ovk.js")), "./translations/fr.json": () => Promise.resolve().then(() => require("./fr-B2Kyv8Z9.js")), "./translations/gu.json": () => Promise.resolve().then(() => require("./gu-BRmF601H.js")), "./translations/hi.json": () => Promise.resolve().then(() => require("./hi-CCJBptSq.js")), "./translations/hu.json": () => Promise.resolve().then(() => require("./hu-sNV_yLYy.js")), "./translations/id.json": () => Promise.resolve().then(() => require("./id-B5Ser98A.js")), "./translations/it.json": () => Promise.resolve().then(() => require("./it-DkBIs7vD.js")), "./translations/ja.json": () => Promise.resolve().then(() => require("./ja-7sfIbjxE.js")), "./translations/ko.json": () => Promise.resolve().then(() => require("./ko-woFZPmLk.js")), "./translations/ml.json": () => Promise.resolve().then(() => require("./ml-C2W8N8k1.js")), "./translations/ms.json": () => Promise.resolve().then(() => require("./ms-BuFotyP_.js")), "./translations/nl.json": () => Promise.resolve().then(() => require("./nl-bbEOHChV.js")), "./translations/pl.json": () => Promise.resolve().then(() => require("./pl-uzwG-hk7.js")), "./translations/pt-BR.json": () => Promise.resolve().then(() => require("./pt-BR-BiOz37D9.js")), "./translations/pt.json": () => Promise.resolve().then(() => require("./pt-CeXQuq50.js")), "./translations/ru.json": () => Promise.resolve().then(() => require("./ru-BT3ybNny.js")), "./translations/sa.json": () => Promise.resolve().then(() => require("./sa-CcvkYInH.js")), "./translations/sk.json": () => Promise.resolve().then(() => require("./sk-CvY09Xjv.js")), "./translations/sv.json": () => Promise.resolve().then(() => require("./sv-MYDuzgvT.js")), "./translations/th.json": () => Promise.resolve().then(() => require("./th-D9_GfAjc.js")), "./translations/tr.json": () => Promise.resolve().then(() => require("./tr-D9UH-O_R.js")), "./translations/uk.json": () => Promise.resolve().then(() => require("./uk-C8EiqJY7.js")), "./translations/vi.json": () => Promise.resolve().then(() => require("./vi-CJlYDheJ.js")), "./translations/zh-Hans.json": () => Promise.resolve().then(() => require("./zh-Hans-9kOncHGw.js")), "./translations/zh.json": () => Promise.resolve().then(() => require("./zh-CQQfszqR.js")) }), `./translations/${locale}.json`).then(({ default: data }) => {
4065
4117
  return {
4066
4118
  data: prefixPluginTranslations(data, PLUGIN_ID),
4067
4119
  locale
@@ -4120,4 +4172,4 @@ exports.useGetAllDocumentsQuery = useGetAllDocumentsQuery;
4120
4172
  exports.useGetContentTypeConfigurationQuery = useGetContentTypeConfigurationQuery;
4121
4173
  exports.useGetInitialDataQuery = useGetInitialDataQuery;
4122
4174
  exports.useUpdateContentTypeConfigurationMutation = useUpdateContentTypeConfigurationMutation;
4123
- //# sourceMappingURL=index-CPLVEK9S.js.map
4175
+ //# sourceMappingURL=index-76eawJUd.js.map