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

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 (133) hide show
  1. package/dist/_chunks/{ComponentConfigurationPage-DRh2GoZx.js → ComponentConfigurationPage-BXrB6Fyz.js} +3 -3
  2. package/dist/_chunks/{ComponentConfigurationPage-DRh2GoZx.js.map → ComponentConfigurationPage-BXrB6Fyz.js.map} +1 -1
  3. package/dist/_chunks/{ComponentConfigurationPage-DH3rgf1K.mjs → ComponentConfigurationPage-CS4dK8sJ.mjs} +3 -3
  4. package/dist/_chunks/{ComponentConfigurationPage-DH3rgf1K.mjs.map → ComponentConfigurationPage-CS4dK8sJ.mjs.map} +1 -1
  5. package/dist/_chunks/{EditConfigurationPage-BOAqRJUV.js → EditConfigurationPage-BFrTf6Wt.js} +3 -3
  6. package/dist/_chunks/{EditConfigurationPage-BOAqRJUV.js.map → EditConfigurationPage-BFrTf6Wt.js.map} +1 -1
  7. package/dist/_chunks/{EditConfigurationPage-C1HHivAz.mjs → EditConfigurationPage-KPmdp3nZ.mjs} +3 -3
  8. package/dist/_chunks/{EditConfigurationPage-C1HHivAz.mjs.map → EditConfigurationPage-KPmdp3nZ.mjs.map} +1 -1
  9. package/dist/_chunks/{EditViewPage-DBV7CZVf.mjs → EditViewPage-BnPxp-t3.mjs} +4 -4
  10. package/dist/_chunks/EditViewPage-BnPxp-t3.mjs.map +1 -0
  11. package/dist/_chunks/{EditViewPage-CgfL33yw.js → EditViewPage-CCj-eG0Y.js} +4 -4
  12. package/dist/_chunks/EditViewPage-CCj-eG0Y.js.map +1 -0
  13. package/dist/_chunks/{Field-BQFK_H87.mjs → Field-DSDtEDLU.mjs} +4 -4
  14. package/dist/_chunks/Field-DSDtEDLU.mjs.map +1 -0
  15. package/dist/_chunks/{Field-C647fIuP.js → Field-SRNzJb2F.js} +4 -4
  16. package/dist/_chunks/Field-SRNzJb2F.js.map +1 -0
  17. package/dist/_chunks/{Form--31reETM.mjs → Form-C8z5hjjO.mjs} +2 -2
  18. package/dist/_chunks/{Form--31reETM.mjs.map → Form-C8z5hjjO.mjs.map} +1 -1
  19. package/dist/_chunks/{Form-CsYUrVEA.js → Form-DbQ4gxkw.js} +2 -2
  20. package/dist/_chunks/{Form-CsYUrVEA.js.map → Form-DbQ4gxkw.js.map} +1 -1
  21. package/dist/_chunks/{History-Dl6wOm0V.js → History-C23owO-n.js} +17 -39
  22. package/dist/_chunks/History-C23owO-n.js.map +1 -0
  23. package/dist/_chunks/{History-8tQaor_-.mjs → History-CuPXsYZL.mjs} +17 -39
  24. package/dist/_chunks/History-CuPXsYZL.mjs.map +1 -0
  25. package/dist/_chunks/{ListConfigurationPage-_WWIGpVT.mjs → ListConfigurationPage-ChKIEXi-.mjs} +2 -2
  26. package/dist/_chunks/{ListConfigurationPage-_WWIGpVT.mjs.map → ListConfigurationPage-ChKIEXi-.mjs.map} +1 -1
  27. package/dist/_chunks/{ListConfigurationPage-BedUJnmo.js → ListConfigurationPage-CyfKtibC.js} +2 -2
  28. package/dist/_chunks/{ListConfigurationPage-BedUJnmo.js.map → ListConfigurationPage-CyfKtibC.js.map} +1 -1
  29. package/dist/_chunks/{ListViewPage-5QzoAtAo.js → ListViewPage-BLcdkiiW.js} +3 -3
  30. package/dist/_chunks/{ListViewPage-5QzoAtAo.js.map → ListViewPage-BLcdkiiW.js.map} +1 -1
  31. package/dist/_chunks/{ListViewPage-CZfw9OW9.mjs → ListViewPage-BicHoHdt.mjs} +3 -3
  32. package/dist/_chunks/{ListViewPage-CZfw9OW9.mjs.map → ListViewPage-BicHoHdt.mjs.map} +1 -1
  33. package/dist/_chunks/{NoContentTypePage-D-RqshUI.mjs → NoContentTypePage-Clby61Hd.mjs} +2 -2
  34. package/dist/_chunks/{NoContentTypePage-D-RqshUI.mjs.map → NoContentTypePage-Clby61Hd.mjs.map} +1 -1
  35. package/dist/_chunks/{NoContentTypePage-DBIyA7hd.js → NoContentTypePage-D9NSOYTF.js} +2 -2
  36. package/dist/_chunks/{NoContentTypePage-DBIyA7hd.js.map → NoContentTypePage-D9NSOYTF.js.map} +1 -1
  37. package/dist/_chunks/{NoPermissionsPage-CCAreseM.js → NoPermissionsPage-CPcXGv0N.js} +2 -2
  38. package/dist/_chunks/{NoPermissionsPage-CCAreseM.js.map → NoPermissionsPage-CPcXGv0N.js.map} +1 -1
  39. package/dist/_chunks/{NoPermissionsPage-m7GAd26r.mjs → NoPermissionsPage-DD72Qxzx.mjs} +2 -2
  40. package/dist/_chunks/{NoPermissionsPage-m7GAd26r.mjs.map → NoPermissionsPage-DD72Qxzx.mjs.map} +1 -1
  41. package/dist/_chunks/Preview-DcrNJ6zU.mjs +122 -0
  42. package/dist/_chunks/Preview-DcrNJ6zU.mjs.map +1 -0
  43. package/dist/_chunks/Preview-DpB7tlma.js +141 -0
  44. package/dist/_chunks/Preview-DpB7tlma.js.map +1 -0
  45. package/dist/_chunks/{Relations-Dq52hb_u.mjs → Relations-BK3w1JyT.mjs} +6 -3
  46. package/dist/_chunks/Relations-BK3w1JyT.mjs.map +1 -0
  47. package/dist/_chunks/{Relations-SRwPhmo7.js → Relations-mHVb9pZH.js} +6 -3
  48. package/dist/_chunks/Relations-mHVb9pZH.js.map +1 -0
  49. package/dist/_chunks/{en-DKV44jRb.mjs → en-pIGSfG2_.mjs} +8 -2
  50. package/dist/_chunks/{en-DKV44jRb.mjs.map → en-pIGSfG2_.mjs.map} +1 -1
  51. package/dist/_chunks/{en-Bm0D0IWz.js → en-tanszW-q.js} +8 -2
  52. package/dist/_chunks/{en-Bm0D0IWz.js.map → en-tanszW-q.js.map} +1 -1
  53. package/dist/_chunks/{es-EUonQTon.js → es-9K52xZIr.js} +2 -2
  54. package/dist/_chunks/{ja-CcFe8diO.js.map → es-9K52xZIr.js.map} +1 -1
  55. package/dist/_chunks/{es-CeXiYflN.mjs → es-D34tqjMw.mjs} +2 -2
  56. package/dist/_chunks/{es-CeXiYflN.mjs.map → es-D34tqjMw.mjs.map} +1 -1
  57. package/dist/_chunks/{fr-CD9VFbPM.mjs → fr--pg5jUbt.mjs} +13 -3
  58. package/dist/_chunks/{fr-CD9VFbPM.mjs.map → fr--pg5jUbt.mjs.map} +1 -1
  59. package/dist/_chunks/{fr-B7kGGg3E.js → fr-B2Kyv8Z9.js} +13 -3
  60. package/dist/_chunks/{fr-B7kGGg3E.js.map → fr-B2Kyv8Z9.js.map} +1 -1
  61. package/dist/_chunks/{index-1Bdj-6ls.mjs → index-Bl3BGqcN.mjs} +92 -21
  62. package/dist/_chunks/index-Bl3BGqcN.mjs.map +1 -0
  63. package/dist/_chunks/{index-CsrCnNa3.js → index-KzSpgsQa.js} +89 -18
  64. package/dist/_chunks/index-KzSpgsQa.js.map +1 -0
  65. package/dist/_chunks/{ja-CcFe8diO.js → ja-7sfIbjxE.js} +2 -2
  66. package/dist/_chunks/{es-EUonQTon.js.map → ja-7sfIbjxE.js.map} +1 -1
  67. package/dist/_chunks/{ja-CtsUxOvk.mjs → ja-BHqhDq4V.mjs} +2 -2
  68. package/dist/_chunks/{ja-CtsUxOvk.mjs.map → ja-BHqhDq4V.mjs.map} +1 -1
  69. package/dist/_chunks/{layout-B33V9Tdu.js → layout-CKU3YxH7.js} +3 -3
  70. package/dist/_chunks/{layout-B33V9Tdu.js.map → layout-CKU3YxH7.js.map} +1 -1
  71. package/dist/_chunks/{layout-ByD1cQSW.mjs → layout-DFhUhimv.mjs} +3 -3
  72. package/dist/_chunks/{layout-ByD1cQSW.mjs.map → layout-DFhUhimv.mjs.map} +1 -1
  73. package/dist/_chunks/{relations-BBHlo3qQ.js → relations-CnyTxXmA.js} +6 -3
  74. package/dist/_chunks/relations-CnyTxXmA.js.map +1 -0
  75. package/dist/_chunks/{relations-DFwbNLZ0.mjs → relations-KkpGHlgm.mjs} +6 -3
  76. package/dist/_chunks/relations-KkpGHlgm.mjs.map +1 -0
  77. package/dist/admin/index.js +1 -1
  78. package/dist/admin/index.mjs +4 -4
  79. package/dist/admin/src/preview/components/PreviewSidePanel.d.ts +3 -0
  80. package/dist/admin/src/preview/index.d.ts +1 -1
  81. package/dist/admin/src/preview/pages/Preview.d.ts +11 -0
  82. package/dist/admin/src/preview/routes.d.ts +3 -0
  83. package/dist/admin/src/preview/services/preview.d.ts +3 -0
  84. package/dist/server/index.js +290 -129
  85. package/dist/server/index.js.map +1 -1
  86. package/dist/server/index.mjs +290 -129
  87. package/dist/server/index.mjs.map +1 -1
  88. package/dist/server/src/controllers/index.d.ts.map +1 -1
  89. package/dist/server/src/history/services/lifecycles.d.ts.map +1 -1
  90. package/dist/server/src/history/services/utils.d.ts +2 -3
  91. package/dist/server/src/history/services/utils.d.ts.map +1 -1
  92. package/dist/server/src/preview/controllers/index.d.ts +2 -0
  93. package/dist/server/src/preview/controllers/index.d.ts.map +1 -0
  94. package/dist/server/src/preview/controllers/preview.d.ts +13 -0
  95. package/dist/server/src/preview/controllers/preview.d.ts.map +1 -0
  96. package/dist/server/src/preview/controllers/validation/preview.d.ts +6 -0
  97. package/dist/server/src/preview/controllers/validation/preview.d.ts.map +1 -0
  98. package/dist/server/src/preview/index.d.ts.map +1 -1
  99. package/dist/server/src/preview/routes/index.d.ts +8 -0
  100. package/dist/server/src/preview/routes/index.d.ts.map +1 -0
  101. package/dist/server/src/preview/routes/preview.d.ts +4 -0
  102. package/dist/server/src/preview/routes/preview.d.ts.map +1 -0
  103. package/dist/server/src/preview/services/index.d.ts +15 -0
  104. package/dist/server/src/preview/services/index.d.ts.map +1 -0
  105. package/dist/server/src/preview/services/preview-config.d.ts +30 -0
  106. package/dist/server/src/preview/services/preview-config.d.ts.map +1 -0
  107. package/dist/server/src/preview/services/preview.d.ts +12 -0
  108. package/dist/server/src/preview/services/preview.d.ts.map +1 -0
  109. package/dist/server/src/preview/utils.d.ts +18 -0
  110. package/dist/server/src/preview/utils.d.ts.map +1 -0
  111. package/dist/server/src/routes/index.d.ts.map +1 -1
  112. package/dist/server/src/services/index.d.ts.map +1 -1
  113. package/dist/shared/contracts/index.d.ts +1 -0
  114. package/dist/shared/contracts/index.d.ts.map +1 -1
  115. package/dist/shared/contracts/preview.d.ts +27 -0
  116. package/dist/shared/contracts/preview.d.ts.map +1 -0
  117. package/dist/shared/index.js +4 -0
  118. package/dist/shared/index.js.map +1 -1
  119. package/dist/shared/index.mjs +4 -0
  120. package/dist/shared/index.mjs.map +1 -1
  121. package/package.json +7 -7
  122. package/dist/_chunks/EditViewPage-CgfL33yw.js.map +0 -1
  123. package/dist/_chunks/EditViewPage-DBV7CZVf.mjs.map +0 -1
  124. package/dist/_chunks/Field-BQFK_H87.mjs.map +0 -1
  125. package/dist/_chunks/Field-C647fIuP.js.map +0 -1
  126. package/dist/_chunks/History-8tQaor_-.mjs.map +0 -1
  127. package/dist/_chunks/History-Dl6wOm0V.js.map +0 -1
  128. package/dist/_chunks/Relations-Dq52hb_u.mjs.map +0 -1
  129. package/dist/_chunks/Relations-SRwPhmo7.js.map +0 -1
  130. package/dist/_chunks/index-1Bdj-6ls.mjs.map +0 -1
  131. package/dist/_chunks/index-CsrCnNa3.js.map +0 -1
  132. package/dist/_chunks/relations-BBHlo3qQ.js.map +0 -1
  133. 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
  }, []);
@@ -1684,10 +1685,10 @@ const useDocumentActions = () => {
1684
1685
  update
1685
1686
  };
1686
1687
  };
1687
- const ProtectedHistoryPage = React.lazy(
1688
- () => Promise.resolve().then(() => require("./History-Dl6wOm0V.js")).then((mod) => ({ default: mod.ProtectedHistoryPage }))
1688
+ const ProtectedHistoryPage = React__namespace.lazy(
1689
+ () => Promise.resolve().then(() => require("./History-C23owO-n.js")).then((mod) => ({ default: mod.ProtectedHistoryPage }))
1689
1690
  );
1690
- const routes$1 = [
1691
+ const routes$2 = [
1691
1692
  {
1692
1693
  path: ":collectionType/:slug/:id/history",
1693
1694
  Component: ProtectedHistoryPage
@@ -1697,32 +1698,45 @@ const routes$1 = [
1697
1698
  Component: ProtectedHistoryPage
1698
1699
  }
1699
1700
  ];
1701
+ const ProtectedPreviewPage = React__namespace.lazy(
1702
+ () => Promise.resolve().then(() => require("./Preview-DpB7tlma.js")).then((mod) => ({ default: mod.ProtectedPreviewPage }))
1703
+ );
1704
+ const routes$1 = [
1705
+ {
1706
+ path: ":collectionType/:slug/:id/preview",
1707
+ Component: ProtectedPreviewPage
1708
+ },
1709
+ {
1710
+ path: ":collectionType/:slug/preview",
1711
+ Component: ProtectedPreviewPage
1712
+ }
1713
+ ];
1700
1714
  const ProtectedEditViewPage = React.lazy(
1701
- () => Promise.resolve().then(() => require("./EditViewPage-CgfL33yw.js")).then((mod) => ({ default: mod.ProtectedEditViewPage }))
1715
+ () => Promise.resolve().then(() => require("./EditViewPage-CCj-eG0Y.js")).then((mod) => ({ default: mod.ProtectedEditViewPage }))
1702
1716
  );
1703
1717
  const ProtectedListViewPage = React.lazy(
1704
- () => Promise.resolve().then(() => require("./ListViewPage-5QzoAtAo.js")).then((mod) => ({ default: mod.ProtectedListViewPage }))
1718
+ () => Promise.resolve().then(() => require("./ListViewPage-BLcdkiiW.js")).then((mod) => ({ default: mod.ProtectedListViewPage }))
1705
1719
  );
1706
1720
  const ProtectedListConfiguration = React.lazy(
1707
- () => Promise.resolve().then(() => require("./ListConfigurationPage-BedUJnmo.js")).then((mod) => ({
1721
+ () => Promise.resolve().then(() => require("./ListConfigurationPage-CyfKtibC.js")).then((mod) => ({
1708
1722
  default: mod.ProtectedListConfiguration
1709
1723
  }))
1710
1724
  );
1711
1725
  const ProtectedEditConfigurationPage = React.lazy(
1712
- () => Promise.resolve().then(() => require("./EditConfigurationPage-BOAqRJUV.js")).then((mod) => ({
1726
+ () => Promise.resolve().then(() => require("./EditConfigurationPage-BFrTf6Wt.js")).then((mod) => ({
1713
1727
  default: mod.ProtectedEditConfigurationPage
1714
1728
  }))
1715
1729
  );
1716
1730
  const ProtectedComponentConfigurationPage = React.lazy(
1717
- () => Promise.resolve().then(() => require("./ComponentConfigurationPage-DRh2GoZx.js")).then((mod) => ({
1731
+ () => Promise.resolve().then(() => require("./ComponentConfigurationPage-BXrB6Fyz.js")).then((mod) => ({
1718
1732
  default: mod.ProtectedComponentConfigurationPage
1719
1733
  }))
1720
1734
  );
1721
1735
  const NoPermissions = React.lazy(
1722
- () => Promise.resolve().then(() => require("./NoPermissionsPage-CCAreseM.js")).then((mod) => ({ default: mod.NoPermissions }))
1736
+ () => Promise.resolve().then(() => require("./NoPermissionsPage-CPcXGv0N.js")).then((mod) => ({ default: mod.NoPermissions }))
1723
1737
  );
1724
1738
  const NoContentType = React.lazy(
1725
- () => Promise.resolve().then(() => require("./NoContentTypePage-DBIyA7hd.js")).then((mod) => ({ default: mod.NoContentType }))
1739
+ () => Promise.resolve().then(() => require("./NoContentTypePage-D9NSOYTF.js")).then((mod) => ({ default: mod.NoContentType }))
1726
1740
  );
1727
1741
  const CollectionTypePages = () => {
1728
1742
  const { collectionType } = reactRouterDom.useParams();
@@ -1768,6 +1782,7 @@ const routes = [
1768
1782
  path: "no-content-types",
1769
1783
  Component: NoContentType
1770
1784
  },
1785
+ ...routes$2,
1771
1786
  ...routes$1
1772
1787
  ];
1773
1788
  const DocumentActions = ({ actions: actions2 }) => {
@@ -4022,13 +4037,68 @@ const { setInitialData } = actions;
4022
4037
  const reducer = toolkit.combineReducers({
4023
4038
  app: reducer$1
4024
4039
  });
4040
+ const previewApi = contentManagerApi.injectEndpoints({
4041
+ endpoints: (builder) => ({
4042
+ getPreviewUrl: builder.query({
4043
+ query({ query, params }) {
4044
+ return {
4045
+ url: `/content-manager/preview/url/${params.contentType}`,
4046
+ method: "GET",
4047
+ config: {
4048
+ params: query
4049
+ }
4050
+ };
4051
+ }
4052
+ })
4053
+ })
4054
+ });
4055
+ const { useGetPreviewUrlQuery } = previewApi;
4056
+ const PreviewSidePanel = ({ model, documentId, document }) => {
4057
+ const { formatMessage } = reactIntl.useIntl();
4058
+ const { trackUsage } = strapiAdmin.useTracking();
4059
+ const [{ query }] = strapiAdmin.useQueryParams();
4060
+ const { data, error } = useGetPreviewUrlQuery({
4061
+ params: {
4062
+ contentType: model
4063
+ },
4064
+ query: {
4065
+ documentId,
4066
+ locale: document?.locale,
4067
+ status: document?.status
4068
+ }
4069
+ });
4070
+ if (!data?.data?.url || error) {
4071
+ return null;
4072
+ }
4073
+ const handleClick = () => {
4074
+ trackUsage("willOpenPreview");
4075
+ };
4076
+ return {
4077
+ title: formatMessage({ id: "content-manager.preview.panel.title", defaultMessage: "Preview" }),
4078
+ content: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Flex, { gap: 2, width: "100%", children: /* @__PURE__ */ jsxRuntime.jsx(
4079
+ designSystem.Button,
4080
+ {
4081
+ variant: "tertiary",
4082
+ tag: reactRouterDom.Link,
4083
+ to: { pathname: "preview", search: qs.stringify(query, { encode: false }) },
4084
+ onClick: handleClick,
4085
+ flex: "auto",
4086
+ children: formatMessage({
4087
+ id: "content-manager.preview.panel.button",
4088
+ defaultMessage: "Open preview"
4089
+ })
4090
+ }
4091
+ ) })
4092
+ };
4093
+ };
4025
4094
  const FEATURE_ID = "preview";
4026
4095
  const previewAdmin = {
4027
4096
  bootstrap(app) {
4028
4097
  if (!window.strapi.future.isEnabled(FEATURE_ID)) {
4029
- return {};
4098
+ return;
4030
4099
  }
4031
- console.log("Bootstrapping preview admin");
4100
+ const contentManagerPluginApis = app.getPlugin("content-manager").apis;
4101
+ contentManagerPluginApis.addEditViewSidePanel([PreviewSidePanel]);
4032
4102
  }
4033
4103
  };
4034
4104
  const index = {
@@ -4050,7 +4120,7 @@ const index = {
4050
4120
  app.router.addRoute({
4051
4121
  path: "content-manager/*",
4052
4122
  lazy: async () => {
4053
- const { Layout } = await Promise.resolve().then(() => require("./layout-B33V9Tdu.js"));
4123
+ const { Layout } = await Promise.resolve().then(() => require("./layout-CKU3YxH7.js"));
4054
4124
  return {
4055
4125
  Component: Layout
4056
4126
  };
@@ -4070,7 +4140,7 @@ const index = {
4070
4140
  async registerTrads({ locales }) {
4071
4141
  const importedTrads = await Promise.all(
4072
4142
  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 }) => {
4143
+ 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-tanszW-q.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
4144
  return {
4075
4145
  data: prefixPluginTranslations(data, PLUGIN_ID),
4076
4146
  locale
@@ -4128,5 +4198,6 @@ exports.useGetAllContentTypeSettingsQuery = useGetAllContentTypeSettingsQuery;
4128
4198
  exports.useGetAllDocumentsQuery = useGetAllDocumentsQuery;
4129
4199
  exports.useGetContentTypeConfigurationQuery = useGetContentTypeConfigurationQuery;
4130
4200
  exports.useGetInitialDataQuery = useGetInitialDataQuery;
4201
+ exports.useGetPreviewUrlQuery = useGetPreviewUrlQuery;
4131
4202
  exports.useUpdateContentTypeConfigurationMutation = useUpdateContentTypeConfigurationMutation;
4132
- //# sourceMappingURL=index-CsrCnNa3.js.map
4203
+ //# sourceMappingURL=index-KzSpgsQa.js.map