@strapi/content-manager 0.0.0-next.63ac2488522fc5d934952d9f1fe5f900131316dd → 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 (96) hide show
  1. package/dist/_chunks/{ComponentConfigurationPage-BAxom7-k.js → ComponentConfigurationPage-BXrB6Fyz.js} +3 -3
  2. package/dist/_chunks/{ComponentConfigurationPage-BAxom7-k.js.map → ComponentConfigurationPage-BXrB6Fyz.js.map} +1 -1
  3. package/dist/_chunks/{ComponentConfigurationPage-B36OKtL2.mjs → ComponentConfigurationPage-CS4dK8sJ.mjs} +3 -3
  4. package/dist/_chunks/{ComponentConfigurationPage-B36OKtL2.mjs.map → ComponentConfigurationPage-CS4dK8sJ.mjs.map} +1 -1
  5. package/dist/_chunks/{EditConfigurationPage-DIOXG1LU.js → EditConfigurationPage-BFrTf6Wt.js} +3 -3
  6. package/dist/_chunks/{EditConfigurationPage-DIOXG1LU.js.map → EditConfigurationPage-BFrTf6Wt.js.map} +1 -1
  7. package/dist/_chunks/{EditConfigurationPage-DImKLLtc.mjs → EditConfigurationPage-KPmdp3nZ.mjs} +3 -3
  8. package/dist/_chunks/{EditConfigurationPage-DImKLLtc.mjs.map → EditConfigurationPage-KPmdp3nZ.mjs.map} +1 -1
  9. package/dist/_chunks/{EditViewPage-DOojAmY3.mjs → EditViewPage-BnPxp-t3.mjs} +4 -4
  10. package/dist/_chunks/EditViewPage-BnPxp-t3.mjs.map +1 -0
  11. package/dist/_chunks/{EditViewPage-BJTtFINj.js → EditViewPage-CCj-eG0Y.js} +4 -4
  12. package/dist/_chunks/EditViewPage-CCj-eG0Y.js.map +1 -0
  13. package/dist/_chunks/{Field-BUdpxeok.mjs → Field-DSDtEDLU.mjs} +4 -4
  14. package/dist/_chunks/Field-DSDtEDLU.mjs.map +1 -0
  15. package/dist/_chunks/{Field-Cd_7-NMN.js → Field-SRNzJb2F.js} +4 -4
  16. package/dist/_chunks/Field-SRNzJb2F.js.map +1 -0
  17. package/dist/_chunks/{Form-FvECgpg7.mjs → Form-C8z5hjjO.mjs} +2 -2
  18. package/dist/_chunks/{Form-FvECgpg7.mjs.map → Form-C8z5hjjO.mjs.map} +1 -1
  19. package/dist/_chunks/{Form-CvmozLEg.js → Form-DbQ4gxkw.js} +2 -2
  20. package/dist/_chunks/{Form-CvmozLEg.js.map → Form-DbQ4gxkw.js.map} +1 -1
  21. package/dist/_chunks/{History-BKdIMKtv.js → History-C23owO-n.js} +4 -10
  22. package/dist/_chunks/History-C23owO-n.js.map +1 -0
  23. package/dist/_chunks/{History-BrJK6rOJ.mjs → History-CuPXsYZL.mjs} +4 -10
  24. package/dist/_chunks/History-CuPXsYZL.mjs.map +1 -0
  25. package/dist/_chunks/{ListConfigurationPage-zfE5Eiby.mjs → ListConfigurationPage-ChKIEXi-.mjs} +2 -2
  26. package/dist/_chunks/{ListConfigurationPage-zfE5Eiby.mjs.map → ListConfigurationPage-ChKIEXi-.mjs.map} +1 -1
  27. package/dist/_chunks/{ListConfigurationPage-9b3E9h-2.js → ListConfigurationPage-CyfKtibC.js} +2 -2
  28. package/dist/_chunks/{ListConfigurationPage-9b3E9h-2.js.map → ListConfigurationPage-CyfKtibC.js.map} +1 -1
  29. package/dist/_chunks/{ListViewPage-D2dphT74.js → ListViewPage-BLcdkiiW.js} +3 -3
  30. package/dist/_chunks/{ListViewPage-D2dphT74.js.map → ListViewPage-BLcdkiiW.js.map} +1 -1
  31. package/dist/_chunks/{ListViewPage-DAi3yyAI.mjs → ListViewPage-BicHoHdt.mjs} +3 -3
  32. package/dist/_chunks/{ListViewPage-DAi3yyAI.mjs.map → ListViewPage-BicHoHdt.mjs.map} +1 -1
  33. package/dist/_chunks/{NoContentTypePage-C9fdm3RZ.mjs → NoContentTypePage-Clby61Hd.mjs} +2 -2
  34. package/dist/_chunks/{NoContentTypePage-C9fdm3RZ.mjs.map → NoContentTypePage-Clby61Hd.mjs.map} +1 -1
  35. package/dist/_chunks/{NoContentTypePage-jbsv0rT5.js → NoContentTypePage-D9NSOYTF.js} +2 -2
  36. package/dist/_chunks/{NoContentTypePage-jbsv0rT5.js.map → NoContentTypePage-D9NSOYTF.js.map} +1 -1
  37. package/dist/_chunks/{NoPermissionsPage-Cv49Tn6c.js → NoPermissionsPage-CPcXGv0N.js} +2 -2
  38. package/dist/_chunks/{NoPermissionsPage-Cv49Tn6c.js.map → NoPermissionsPage-CPcXGv0N.js.map} +1 -1
  39. package/dist/_chunks/{NoPermissionsPage-_UqvbKRz.mjs → NoPermissionsPage-DD72Qxzx.mjs} +2 -2
  40. package/dist/_chunks/{NoPermissionsPage-_UqvbKRz.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-BiPLjS2M.mjs → Relations-BK3w1JyT.mjs} +6 -3
  46. package/dist/_chunks/Relations-BK3w1JyT.mjs.map +1 -0
  47. package/dist/_chunks/{Relations-yPvOfnAH.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-DxrTDLl6.mjs → fr--pg5jUbt.mjs} +2 -2
  58. package/dist/_chunks/{fr-DxrTDLl6.mjs.map → fr--pg5jUbt.mjs.map} +1 -1
  59. package/dist/_chunks/{fr-C6t7ywEg.js → fr-B2Kyv8Z9.js} +2 -2
  60. package/dist/_chunks/{fr-C6t7ywEg.js.map → fr-B2Kyv8Z9.js.map} +1 -1
  61. package/dist/_chunks/{index-CRpPqPiy.mjs → index-Bl3BGqcN.mjs} +89 -19
  62. package/dist/_chunks/index-Bl3BGqcN.mjs.map +1 -0
  63. package/dist/_chunks/{index-8iXplttQ.js → index-KzSpgsQa.js} +86 -16
  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-3n539-Sr.js → layout-CKU3YxH7.js} +3 -3
  70. package/dist/_chunks/{layout-3n539-Sr.js.map → layout-CKU3YxH7.js.map} +1 -1
  71. package/dist/_chunks/{layout-bDqD3GPd.mjs → layout-DFhUhimv.mjs} +3 -3
  72. package/dist/_chunks/{layout-bDqD3GPd.mjs.map → layout-DFhUhimv.mjs.map} +1 -1
  73. package/dist/_chunks/{relations-Cqr96EzB.js → relations-CnyTxXmA.js} +6 -3
  74. package/dist/_chunks/relations-CnyTxXmA.js.map +1 -0
  75. package/dist/_chunks/{relations-Ce65PWrd.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/package.json +6 -6
  85. package/dist/_chunks/EditViewPage-BJTtFINj.js.map +0 -1
  86. package/dist/_chunks/EditViewPage-DOojAmY3.mjs.map +0 -1
  87. package/dist/_chunks/Field-BUdpxeok.mjs.map +0 -1
  88. package/dist/_chunks/Field-Cd_7-NMN.js.map +0 -1
  89. package/dist/_chunks/History-BKdIMKtv.js.map +0 -1
  90. package/dist/_chunks/History-BrJK6rOJ.mjs.map +0 -1
  91. package/dist/_chunks/Relations-BiPLjS2M.mjs.map +0 -1
  92. package/dist/_chunks/Relations-yPvOfnAH.js.map +0 -1
  93. package/dist/_chunks/index-8iXplttQ.js.map +0 -1
  94. package/dist/_chunks/index-CRpPqPiy.mjs.map +0 -1
  95. package/dist/_chunks/relations-Ce65PWrd.mjs.map +0 -1
  96. package/dist/_chunks/relations-Cqr96EzB.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}${params ? `?${params}` : ""}`,
296
+ url: `/content-manager/collection-types/${model}`,
297
297
  method: "GET",
298
298
  config: {
299
299
  params
@@ -1685,10 +1685,10 @@ const useDocumentActions = () => {
1685
1685
  update
1686
1686
  };
1687
1687
  };
1688
- const ProtectedHistoryPage = React.lazy(
1689
- () => Promise.resolve().then(() => require("./History-BKdIMKtv.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 }))
1690
1690
  );
1691
- const routes$1 = [
1691
+ const routes$2 = [
1692
1692
  {
1693
1693
  path: ":collectionType/:slug/:id/history",
1694
1694
  Component: ProtectedHistoryPage
@@ -1698,32 +1698,45 @@ const routes$1 = [
1698
1698
  Component: ProtectedHistoryPage
1699
1699
  }
1700
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
+ ];
1701
1714
  const ProtectedEditViewPage = React.lazy(
1702
- () => Promise.resolve().then(() => require("./EditViewPage-BJTtFINj.js")).then((mod) => ({ default: mod.ProtectedEditViewPage }))
1715
+ () => Promise.resolve().then(() => require("./EditViewPage-CCj-eG0Y.js")).then((mod) => ({ default: mod.ProtectedEditViewPage }))
1703
1716
  );
1704
1717
  const ProtectedListViewPage = React.lazy(
1705
- () => Promise.resolve().then(() => require("./ListViewPage-D2dphT74.js")).then((mod) => ({ default: mod.ProtectedListViewPage }))
1718
+ () => Promise.resolve().then(() => require("./ListViewPage-BLcdkiiW.js")).then((mod) => ({ default: mod.ProtectedListViewPage }))
1706
1719
  );
1707
1720
  const ProtectedListConfiguration = React.lazy(
1708
- () => Promise.resolve().then(() => require("./ListConfigurationPage-9b3E9h-2.js")).then((mod) => ({
1721
+ () => Promise.resolve().then(() => require("./ListConfigurationPage-CyfKtibC.js")).then((mod) => ({
1709
1722
  default: mod.ProtectedListConfiguration
1710
1723
  }))
1711
1724
  );
1712
1725
  const ProtectedEditConfigurationPage = React.lazy(
1713
- () => Promise.resolve().then(() => require("./EditConfigurationPage-DIOXG1LU.js")).then((mod) => ({
1726
+ () => Promise.resolve().then(() => require("./EditConfigurationPage-BFrTf6Wt.js")).then((mod) => ({
1714
1727
  default: mod.ProtectedEditConfigurationPage
1715
1728
  }))
1716
1729
  );
1717
1730
  const ProtectedComponentConfigurationPage = React.lazy(
1718
- () => Promise.resolve().then(() => require("./ComponentConfigurationPage-BAxom7-k.js")).then((mod) => ({
1731
+ () => Promise.resolve().then(() => require("./ComponentConfigurationPage-BXrB6Fyz.js")).then((mod) => ({
1719
1732
  default: mod.ProtectedComponentConfigurationPage
1720
1733
  }))
1721
1734
  );
1722
1735
  const NoPermissions = React.lazy(
1723
- () => Promise.resolve().then(() => require("./NoPermissionsPage-Cv49Tn6c.js")).then((mod) => ({ default: mod.NoPermissions }))
1736
+ () => Promise.resolve().then(() => require("./NoPermissionsPage-CPcXGv0N.js")).then((mod) => ({ default: mod.NoPermissions }))
1724
1737
  );
1725
1738
  const NoContentType = React.lazy(
1726
- () => Promise.resolve().then(() => require("./NoContentTypePage-jbsv0rT5.js")).then((mod) => ({ default: mod.NoContentType }))
1739
+ () => Promise.resolve().then(() => require("./NoContentTypePage-D9NSOYTF.js")).then((mod) => ({ default: mod.NoContentType }))
1727
1740
  );
1728
1741
  const CollectionTypePages = () => {
1729
1742
  const { collectionType } = reactRouterDom.useParams();
@@ -1769,6 +1782,7 @@ const routes = [
1769
1782
  path: "no-content-types",
1770
1783
  Component: NoContentType
1771
1784
  },
1785
+ ...routes$2,
1772
1786
  ...routes$1
1773
1787
  ];
1774
1788
  const DocumentActions = ({ actions: actions2 }) => {
@@ -4023,13 +4037,68 @@ const { setInitialData } = actions;
4023
4037
  const reducer = toolkit.combineReducers({
4024
4038
  app: reducer$1
4025
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
+ };
4026
4094
  const FEATURE_ID = "preview";
4027
4095
  const previewAdmin = {
4028
4096
  bootstrap(app) {
4029
4097
  if (!window.strapi.future.isEnabled(FEATURE_ID)) {
4030
- return {};
4098
+ return;
4031
4099
  }
4032
- console.log("Bootstrapping preview admin");
4100
+ const contentManagerPluginApis = app.getPlugin("content-manager").apis;
4101
+ contentManagerPluginApis.addEditViewSidePanel([PreviewSidePanel]);
4033
4102
  }
4034
4103
  };
4035
4104
  const index = {
@@ -4051,7 +4120,7 @@ const index = {
4051
4120
  app.router.addRoute({
4052
4121
  path: "content-manager/*",
4053
4122
  lazy: async () => {
4054
- const { Layout } = await Promise.resolve().then(() => require("./layout-3n539-Sr.js"));
4123
+ const { Layout } = await Promise.resolve().then(() => require("./layout-CKU3YxH7.js"));
4055
4124
  return {
4056
4125
  Component: Layout
4057
4126
  };
@@ -4071,7 +4140,7 @@ const index = {
4071
4140
  async registerTrads({ locales }) {
4072
4141
  const importedTrads = await Promise.all(
4073
4142
  locales.map((locale) => {
4074
- 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-C6t7ywEg.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 }) => {
4075
4144
  return {
4076
4145
  data: prefixPluginTranslations(data, PLUGIN_ID),
4077
4146
  locale
@@ -4129,5 +4198,6 @@ exports.useGetAllContentTypeSettingsQuery = useGetAllContentTypeSettingsQuery;
4129
4198
  exports.useGetAllDocumentsQuery = useGetAllDocumentsQuery;
4130
4199
  exports.useGetContentTypeConfigurationQuery = useGetContentTypeConfigurationQuery;
4131
4200
  exports.useGetInitialDataQuery = useGetInitialDataQuery;
4201
+ exports.useGetPreviewUrlQuery = useGetPreviewUrlQuery;
4132
4202
  exports.useUpdateContentTypeConfigurationMutation = useUpdateContentTypeConfigurationMutation;
4133
- //# sourceMappingURL=index-8iXplttQ.js.map
4203
+ //# sourceMappingURL=index-KzSpgsQa.js.map