@strapi/content-manager 0.0.0-next.64bd4f3d1efcc9420d27c4f4d2013677ded62360 → 0.0.0-next.6ed779c066310248c506ce3d2cdae97f59f700ef

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 (125) hide show
  1. package/dist/_chunks/{ComponentConfigurationPage-DRh2GoZx.js → ComponentConfigurationPage-6pw-DvAu.js} +3 -3
  2. package/dist/_chunks/{ComponentConfigurationPage-DRh2GoZx.js.map → ComponentConfigurationPage-6pw-DvAu.js.map} +1 -1
  3. package/dist/_chunks/{ComponentConfigurationPage-DH3rgf1K.mjs → ComponentConfigurationPage-B4Nft8f5.mjs} +3 -3
  4. package/dist/_chunks/{ComponentConfigurationPage-DH3rgf1K.mjs.map → ComponentConfigurationPage-B4Nft8f5.mjs.map} +1 -1
  5. package/dist/_chunks/{EditConfigurationPage-C1HHivAz.mjs → EditConfigurationPage-BHOCGzAM.mjs} +3 -3
  6. package/dist/_chunks/{EditConfigurationPage-C1HHivAz.mjs.map → EditConfigurationPage-BHOCGzAM.mjs.map} +1 -1
  7. package/dist/_chunks/{EditConfigurationPage-BOAqRJUV.js → EditConfigurationPage-DXBEGkOc.js} +3 -3
  8. package/dist/_chunks/{EditConfigurationPage-BOAqRJUV.js.map → EditConfigurationPage-DXBEGkOc.js.map} +1 -1
  9. package/dist/_chunks/{EditViewPage-DBV7CZVf.mjs → EditViewPage-CdRxfy5B.mjs} +3 -3
  10. package/dist/_chunks/{EditViewPage-DBV7CZVf.mjs.map → EditViewPage-CdRxfy5B.mjs.map} +1 -1
  11. package/dist/_chunks/{EditViewPage-CgfL33yw.js → EditViewPage-Ck6Duztu.js} +3 -3
  12. package/dist/_chunks/{EditViewPage-CgfL33yw.js.map → EditViewPage-Ck6Duztu.js.map} +1 -1
  13. package/dist/_chunks/{Field-BQFK_H87.mjs → Field-DDSx-gBR.mjs} +4 -4
  14. package/dist/_chunks/Field-DDSx-gBR.mjs.map +1 -0
  15. package/dist/_chunks/{Field-C647fIuP.js → Field-T3F_jdGo.js} +4 -4
  16. package/dist/_chunks/Field-T3F_jdGo.js.map +1 -0
  17. package/dist/_chunks/{Form-CsYUrVEA.js → Form-C-wjP4UH.js} +2 -2
  18. package/dist/_chunks/{Form-CsYUrVEA.js.map → Form-C-wjP4UH.js.map} +1 -1
  19. package/dist/_chunks/{Form--31reETM.mjs → Form-DBXQL3w4.mjs} +2 -2
  20. package/dist/_chunks/{Form--31reETM.mjs.map → Form-DBXQL3w4.mjs.map} +1 -1
  21. package/dist/_chunks/{History-8tQaor_-.mjs → History-CynfBe3Q.mjs} +17 -33
  22. package/dist/_chunks/History-CynfBe3Q.mjs.map +1 -0
  23. package/dist/_chunks/{History-Dl6wOm0V.js → History-DMFKKvIA.js} +17 -33
  24. package/dist/_chunks/History-DMFKKvIA.js.map +1 -0
  25. package/dist/_chunks/{ListConfigurationPage-BedUJnmo.js → ListConfigurationPage-BDV_ABiG.js} +2 -2
  26. package/dist/_chunks/{ListConfigurationPage-BedUJnmo.js.map → ListConfigurationPage-BDV_ABiG.js.map} +1 -1
  27. package/dist/_chunks/{ListConfigurationPage-_WWIGpVT.mjs → ListConfigurationPage-D2_aIJSH.mjs} +2 -2
  28. package/dist/_chunks/{ListConfigurationPage-_WWIGpVT.mjs.map → ListConfigurationPage-D2_aIJSH.mjs.map} +1 -1
  29. package/dist/_chunks/{ListViewPage-CZfw9OW9.mjs → ListViewPage-BJq_SQj8.mjs} +3 -3
  30. package/dist/_chunks/{ListViewPage-CZfw9OW9.mjs.map → ListViewPage-BJq_SQj8.mjs.map} +1 -1
  31. package/dist/_chunks/{ListViewPage-5QzoAtAo.js → ListViewPage-Z3jPNVn2.js} +3 -3
  32. package/dist/_chunks/{ListViewPage-5QzoAtAo.js.map → ListViewPage-Z3jPNVn2.js.map} +1 -1
  33. package/dist/_chunks/{NoContentTypePage-D-RqshUI.mjs → NoContentTypePage-CEdKqCfY.mjs} +2 -2
  34. package/dist/_chunks/{NoContentTypePage-D-RqshUI.mjs.map → NoContentTypePage-CEdKqCfY.mjs.map} +1 -1
  35. package/dist/_chunks/{NoContentTypePage-DBIyA7hd.js → NoContentTypePage-ZvbWHVfG.js} +2 -2
  36. package/dist/_chunks/{NoContentTypePage-DBIyA7hd.js.map → NoContentTypePage-ZvbWHVfG.js.map} +1 -1
  37. package/dist/_chunks/{NoPermissionsPage-m7GAd26r.mjs → NoPermissionsPage-BjzbHoxM.mjs} +2 -2
  38. package/dist/_chunks/{NoPermissionsPage-m7GAd26r.mjs.map → NoPermissionsPage-BjzbHoxM.mjs.map} +1 -1
  39. package/dist/_chunks/{NoPermissionsPage-CCAreseM.js → NoPermissionsPage-D9hyWZPp.js} +2 -2
  40. package/dist/_chunks/{NoPermissionsPage-CCAreseM.js.map → NoPermissionsPage-D9hyWZPp.js.map} +1 -1
  41. package/dist/_chunks/{Relations-SRwPhmo7.js → Relations-BlhtPLZk.js} +6 -3
  42. package/dist/_chunks/Relations-BlhtPLZk.js.map +1 -0
  43. package/dist/_chunks/{Relations-Dq52hb_u.mjs → Relations-ChkJKzz8.mjs} +6 -3
  44. package/dist/_chunks/Relations-ChkJKzz8.mjs.map +1 -0
  45. package/dist/_chunks/{en-Bm0D0IWz.js → en-Bdpa50w3.js} +6 -2
  46. package/dist/_chunks/{en-Bm0D0IWz.js.map → en-Bdpa50w3.js.map} +1 -1
  47. package/dist/_chunks/{en-DKV44jRb.mjs → en-CZw4xdPY.mjs} +6 -2
  48. package/dist/_chunks/{en-DKV44jRb.mjs.map → en-CZw4xdPY.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-CsrCnNa3.js → index-Bi51q_DG.js} +99 -16
  58. package/dist/_chunks/index-Bi51q_DG.js.map +1 -0
  59. package/dist/_chunks/{index-1Bdj-6ls.mjs → index-C0PXR_tv.mjs} +101 -18
  60. package/dist/_chunks/index-C0PXR_tv.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-ByD1cQSW.mjs → layout-B5XH5gpH.mjs} +3 -3
  66. package/dist/_chunks/{layout-ByD1cQSW.mjs.map → layout-B5XH5gpH.mjs.map} +1 -1
  67. package/dist/_chunks/{layout-B33V9Tdu.js → layout-MJxdu163.js} +3 -3
  68. package/dist/_chunks/{layout-B33V9Tdu.js.map → layout-MJxdu163.js.map} +1 -1
  69. package/dist/_chunks/{relations-DFwbNLZ0.mjs → relations-D9fqpVRO.mjs} +6 -3
  70. package/dist/_chunks/relations-D9fqpVRO.mjs.map +1 -0
  71. package/dist/_chunks/{relations-BBHlo3qQ.js → relations-lCDy3D3D.js} +6 -3
  72. package/dist/_chunks/relations-lCDy3D3D.js.map +1 -0
  73. package/dist/admin/index.js +1 -1
  74. package/dist/admin/index.mjs +1 -1
  75. package/dist/admin/src/preview/components/PreviewSidePanel.d.ts +3 -0
  76. package/dist/admin/src/preview/index.d.ts +1 -1
  77. package/dist/admin/src/preview/services/preview.d.ts +3 -0
  78. package/dist/server/index.js +290 -129
  79. package/dist/server/index.js.map +1 -1
  80. package/dist/server/index.mjs +290 -129
  81. package/dist/server/index.mjs.map +1 -1
  82. package/dist/server/src/controllers/index.d.ts.map +1 -1
  83. package/dist/server/src/history/services/lifecycles.d.ts.map +1 -1
  84. package/dist/server/src/history/services/utils.d.ts +2 -3
  85. package/dist/server/src/history/services/utils.d.ts.map +1 -1
  86. package/dist/server/src/preview/controllers/index.d.ts +2 -0
  87. package/dist/server/src/preview/controllers/index.d.ts.map +1 -0
  88. package/dist/server/src/preview/controllers/preview.d.ts +13 -0
  89. package/dist/server/src/preview/controllers/preview.d.ts.map +1 -0
  90. package/dist/server/src/preview/controllers/validation/preview.d.ts +6 -0
  91. package/dist/server/src/preview/controllers/validation/preview.d.ts.map +1 -0
  92. package/dist/server/src/preview/index.d.ts.map +1 -1
  93. package/dist/server/src/preview/routes/index.d.ts +8 -0
  94. package/dist/server/src/preview/routes/index.d.ts.map +1 -0
  95. package/dist/server/src/preview/routes/preview.d.ts +4 -0
  96. package/dist/server/src/preview/routes/preview.d.ts.map +1 -0
  97. package/dist/server/src/preview/services/index.d.ts +15 -0
  98. package/dist/server/src/preview/services/index.d.ts.map +1 -0
  99. package/dist/server/src/preview/services/preview-config.d.ts +30 -0
  100. package/dist/server/src/preview/services/preview-config.d.ts.map +1 -0
  101. package/dist/server/src/preview/services/preview.d.ts +12 -0
  102. package/dist/server/src/preview/services/preview.d.ts.map +1 -0
  103. package/dist/server/src/preview/utils.d.ts +18 -0
  104. package/dist/server/src/preview/utils.d.ts.map +1 -0
  105. package/dist/server/src/routes/index.d.ts.map +1 -1
  106. package/dist/server/src/services/index.d.ts.map +1 -1
  107. package/dist/shared/contracts/index.d.ts +1 -0
  108. package/dist/shared/contracts/index.d.ts.map +1 -1
  109. package/dist/shared/contracts/preview.d.ts +27 -0
  110. package/dist/shared/contracts/preview.d.ts.map +1 -0
  111. package/dist/shared/index.js +4 -0
  112. package/dist/shared/index.js.map +1 -1
  113. package/dist/shared/index.mjs +4 -0
  114. package/dist/shared/index.mjs.map +1 -1
  115. package/package.json +7 -7
  116. package/dist/_chunks/Field-BQFK_H87.mjs.map +0 -1
  117. package/dist/_chunks/Field-C647fIuP.js.map +0 -1
  118. package/dist/_chunks/History-8tQaor_-.mjs.map +0 -1
  119. package/dist/_chunks/History-Dl6wOm0V.js.map +0 -1
  120. package/dist/_chunks/Relations-Dq52hb_u.mjs.map +0 -1
  121. package/dist/_chunks/Relations-SRwPhmo7.js.map +0 -1
  122. package/dist/_chunks/index-1Bdj-6ls.mjs.map +0 -1
  123. package/dist/_chunks/index-CsrCnNa3.js.map +0 -1
  124. package/dist/_chunks/relations-BBHlo3qQ.js.map +0 -1
  125. package/dist/_chunks/relations-DFwbNLZ0.mjs.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}${params ? `?${params}` : ""}`,
296
+ url: `/content-manager/collection-types/${model}`,
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
  }, []);
@@ -1685,7 +1686,7 @@ const useDocumentActions = () => {
1685
1686
  };
1686
1687
  };
1687
1688
  const ProtectedHistoryPage = React.lazy(
1688
- () => Promise.resolve().then(() => require("./History-Dl6wOm0V.js")).then((mod) => ({ default: mod.ProtectedHistoryPage }))
1689
+ () => Promise.resolve().then(() => require("./History-DMFKKvIA.js")).then((mod) => ({ default: mod.ProtectedHistoryPage }))
1689
1690
  );
1690
1691
  const routes$1 = [
1691
1692
  {
@@ -1698,31 +1699,31 @@ const routes$1 = [
1698
1699
  }
1699
1700
  ];
1700
1701
  const ProtectedEditViewPage = React.lazy(
1701
- () => Promise.resolve().then(() => require("./EditViewPage-CgfL33yw.js")).then((mod) => ({ default: mod.ProtectedEditViewPage }))
1702
+ () => Promise.resolve().then(() => require("./EditViewPage-Ck6Duztu.js")).then((mod) => ({ default: mod.ProtectedEditViewPage }))
1702
1703
  );
1703
1704
  const ProtectedListViewPage = React.lazy(
1704
- () => Promise.resolve().then(() => require("./ListViewPage-5QzoAtAo.js")).then((mod) => ({ default: mod.ProtectedListViewPage }))
1705
+ () => Promise.resolve().then(() => require("./ListViewPage-Z3jPNVn2.js")).then((mod) => ({ default: mod.ProtectedListViewPage }))
1705
1706
  );
1706
1707
  const ProtectedListConfiguration = React.lazy(
1707
- () => Promise.resolve().then(() => require("./ListConfigurationPage-BedUJnmo.js")).then((mod) => ({
1708
+ () => Promise.resolve().then(() => require("./ListConfigurationPage-BDV_ABiG.js")).then((mod) => ({
1708
1709
  default: mod.ProtectedListConfiguration
1709
1710
  }))
1710
1711
  );
1711
1712
  const ProtectedEditConfigurationPage = React.lazy(
1712
- () => Promise.resolve().then(() => require("./EditConfigurationPage-BOAqRJUV.js")).then((mod) => ({
1713
+ () => Promise.resolve().then(() => require("./EditConfigurationPage-DXBEGkOc.js")).then((mod) => ({
1713
1714
  default: mod.ProtectedEditConfigurationPage
1714
1715
  }))
1715
1716
  );
1716
1717
  const ProtectedComponentConfigurationPage = React.lazy(
1717
- () => Promise.resolve().then(() => require("./ComponentConfigurationPage-DRh2GoZx.js")).then((mod) => ({
1718
+ () => Promise.resolve().then(() => require("./ComponentConfigurationPage-6pw-DvAu.js")).then((mod) => ({
1718
1719
  default: mod.ProtectedComponentConfigurationPage
1719
1720
  }))
1720
1721
  );
1721
1722
  const NoPermissions = React.lazy(
1722
- () => Promise.resolve().then(() => require("./NoPermissionsPage-CCAreseM.js")).then((mod) => ({ default: mod.NoPermissions }))
1723
+ () => Promise.resolve().then(() => require("./NoPermissionsPage-D9hyWZPp.js")).then((mod) => ({ default: mod.NoPermissions }))
1723
1724
  );
1724
1725
  const NoContentType = React.lazy(
1725
- () => Promise.resolve().then(() => require("./NoContentTypePage-DBIyA7hd.js")).then((mod) => ({ default: mod.NoContentType }))
1726
+ () => Promise.resolve().then(() => require("./NoContentTypePage-ZvbWHVfG.js")).then((mod) => ({ default: mod.NoContentType }))
1726
1727
  );
1727
1728
  const CollectionTypePages = () => {
1728
1729
  const { collectionType } = reactRouterDom.useParams();
@@ -4022,13 +4023,95 @@ const { setInitialData } = actions;
4022
4023
  const reducer = toolkit.combineReducers({
4023
4024
  app: reducer$1
4024
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 { toggleNotification } = strapiAdmin.useNotification();
4045
+ const { copy } = strapiAdmin.useClipboard();
4046
+ const { trackUsage } = strapiAdmin.useTracking();
4047
+ const { data, error } = useGetPreviewUrlQuery({
4048
+ params: {
4049
+ contentType: model
4050
+ },
4051
+ query: {
4052
+ documentId,
4053
+ locale: document?.locale,
4054
+ status: document?.status
4055
+ }
4056
+ });
4057
+ if (!data?.data?.url || error) {
4058
+ return null;
4059
+ }
4060
+ const { url } = data.data;
4061
+ const handleCopyLink = () => {
4062
+ copy(url);
4063
+ toggleNotification({
4064
+ message: formatMessage({
4065
+ id: "content-manager.preview.copy.success",
4066
+ defaultMessage: "Copied preview link"
4067
+ }),
4068
+ type: "success"
4069
+ });
4070
+ };
4071
+ const handleClick = () => {
4072
+ trackUsage("willOpenPreview");
4073
+ };
4074
+ return {
4075
+ title: formatMessage({ id: "content-manager.preview.panel.title", defaultMessage: "Preview" }),
4076
+ content: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { gap: 2, width: "100%", children: [
4077
+ /* @__PURE__ */ jsxRuntime.jsx(
4078
+ designSystem.Button,
4079
+ {
4080
+ variant: "tertiary",
4081
+ tag: reactRouterDom.Link,
4082
+ to: url,
4083
+ onClick: handleClick,
4084
+ target: "_blank",
4085
+ flex: "auto",
4086
+ children: formatMessage({
4087
+ id: "content-manager.preview.panel.button",
4088
+ defaultMessage: "Open preview"
4089
+ })
4090
+ }
4091
+ ),
4092
+ /* @__PURE__ */ jsxRuntime.jsx(
4093
+ designSystem.IconButton,
4094
+ {
4095
+ type: "button",
4096
+ label: formatMessage({
4097
+ id: "preview.copy.label",
4098
+ defaultMessage: "Copy preview link"
4099
+ }),
4100
+ onClick: handleCopyLink,
4101
+ children: /* @__PURE__ */ jsxRuntime.jsx(Icons.Link, {})
4102
+ }
4103
+ )
4104
+ ] })
4105
+ };
4106
+ };
4025
4107
  const FEATURE_ID = "preview";
4026
4108
  const previewAdmin = {
4027
4109
  bootstrap(app) {
4028
4110
  if (!window.strapi.future.isEnabled(FEATURE_ID)) {
4029
- return {};
4111
+ return;
4030
4112
  }
4031
- console.log("Bootstrapping preview admin");
4113
+ const contentManagerPluginApis = app.getPlugin("content-manager").apis;
4114
+ contentManagerPluginApis.addEditViewSidePanel([PreviewSidePanel]);
4032
4115
  }
4033
4116
  };
4034
4117
  const index = {
@@ -4050,7 +4133,7 @@ const index = {
4050
4133
  app.router.addRoute({
4051
4134
  path: "content-manager/*",
4052
4135
  lazy: async () => {
4053
- const { Layout } = await Promise.resolve().then(() => require("./layout-B33V9Tdu.js"));
4136
+ const { Layout } = await Promise.resolve().then(() => require("./layout-MJxdu163.js"));
4054
4137
  return {
4055
4138
  Component: Layout
4056
4139
  };
@@ -4070,7 +4153,7 @@ const index = {
4070
4153
  async registerTrads({ locales }) {
4071
4154
  const importedTrads = await Promise.all(
4072
4155
  locales.map((locale) => {
4073
- 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 }) => {
4156
+ 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-Bdpa50w3.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 }) => {
4074
4157
  return {
4075
4158
  data: prefixPluginTranslations(data, PLUGIN_ID),
4076
4159
  locale
@@ -4129,4 +4212,4 @@ exports.useGetAllDocumentsQuery = useGetAllDocumentsQuery;
4129
4212
  exports.useGetContentTypeConfigurationQuery = useGetContentTypeConfigurationQuery;
4130
4213
  exports.useGetInitialDataQuery = useGetInitialDataQuery;
4131
4214
  exports.useUpdateContentTypeConfigurationMutation = useUpdateContentTypeConfigurationMutation;
4132
- //# sourceMappingURL=index-CsrCnNa3.js.map
4215
+ //# sourceMappingURL=index-Bi51q_DG.js.map