@strapi/content-manager 0.0.0-next.bec3f8cddf61be32ee5516609a1d4d6032933972 → 0.0.0-next.c3eb27c3a05a30387b6b44e15d3661201d54787d

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 (87) hide show
  1. package/dist/_chunks/{ComponentConfigurationPage-WtZ2yaRP.js → ComponentConfigurationPage-Cr0ttPAZ.js} +3 -3
  2. package/dist/_chunks/{ComponentConfigurationPage-WtZ2yaRP.js.map → ComponentConfigurationPage-Cr0ttPAZ.js.map} +1 -1
  3. package/dist/_chunks/{ComponentConfigurationPage-BUOQFZ08.mjs → ComponentConfigurationPage-UGIFDkPO.mjs} +3 -3
  4. package/dist/_chunks/{ComponentConfigurationPage-BUOQFZ08.mjs.map → ComponentConfigurationPage-UGIFDkPO.mjs.map} +1 -1
  5. package/dist/_chunks/{EditConfigurationPage-D7HkxcAN.mjs → EditConfigurationPage-7hF4_8yK.mjs} +3 -3
  6. package/dist/_chunks/{EditConfigurationPage-D7HkxcAN.mjs.map → EditConfigurationPage-7hF4_8yK.mjs.map} +1 -1
  7. package/dist/_chunks/{EditConfigurationPage-BVrCP5lF.js → EditConfigurationPage-Ds3BOL2z.js} +3 -3
  8. package/dist/_chunks/{EditConfigurationPage-BVrCP5lF.js.map → EditConfigurationPage-Ds3BOL2z.js.map} +1 -1
  9. package/dist/_chunks/{EditViewPage-zKmMBER4.mjs → EditViewPage-CA98g5_g.mjs} +38 -8
  10. package/dist/_chunks/EditViewPage-CA98g5_g.mjs.map +1 -0
  11. package/dist/_chunks/{EditViewPage-BKQ83NAk.js → EditViewPage-DoQm9llG.js} +37 -7
  12. package/dist/_chunks/EditViewPage-DoQm9llG.js.map +1 -0
  13. package/dist/_chunks/{Field-BbrX_tUG.mjs → Field-B2C1tq9_.mjs} +26 -6
  14. package/dist/_chunks/Field-B2C1tq9_.mjs.map +1 -0
  15. package/dist/_chunks/{Field-BhN0lyyZ.js → Field-CQtLQzHl.js} +26 -6
  16. package/dist/_chunks/Field-CQtLQzHl.js.map +1 -0
  17. package/dist/_chunks/{Form-B-E8l73g.mjs → Form-CxQ2pPjq.mjs} +2 -2
  18. package/dist/_chunks/{Form-B-E8l73g.mjs.map → Form-CxQ2pPjq.mjs.map} +1 -1
  19. package/dist/_chunks/{Form-CkbrtNZd.js → Form-YQaS3_NH.js} +2 -2
  20. package/dist/_chunks/{Form-CkbrtNZd.js.map → Form-YQaS3_NH.js.map} +1 -1
  21. package/dist/_chunks/{History-C72HQ0-i.mjs → History-DTYKr2Cg.mjs} +4 -11
  22. package/dist/_chunks/History-DTYKr2Cg.mjs.map +1 -0
  23. package/dist/_chunks/{History-B2Dg9q7H.js → History-DbdpigyF.js} +4 -11
  24. package/dist/_chunks/History-DbdpigyF.js.map +1 -0
  25. package/dist/_chunks/{ListConfigurationPage-BalSo5dp.mjs → ListConfigurationPage-DQG-j52q.mjs} +2 -2
  26. package/dist/_chunks/{ListConfigurationPage-BalSo5dp.mjs.map → ListConfigurationPage-DQG-j52q.mjs.map} +1 -1
  27. package/dist/_chunks/{ListConfigurationPage-BQCc3BnJ.js → ListConfigurationPage-DRGhXnUA.js} +2 -2
  28. package/dist/_chunks/{ListConfigurationPage-BQCc3BnJ.js.map → ListConfigurationPage-DRGhXnUA.js.map} +1 -1
  29. package/dist/_chunks/{ListViewPage-Cu5dZKZe.js → ListViewPage-CVIEfYWN.js} +16 -5
  30. package/dist/_chunks/{ListViewPage-Cu5dZKZe.js.map → ListViewPage-CVIEfYWN.js.map} +1 -1
  31. package/dist/_chunks/{ListViewPage-Dfue5wQ2.mjs → ListViewPage-DAekmnvp.mjs} +16 -5
  32. package/dist/_chunks/{ListViewPage-Dfue5wQ2.mjs.map → ListViewPage-DAekmnvp.mjs.map} +1 -1
  33. package/dist/_chunks/{NoContentTypePage-BLC8M9U0.mjs → NoContentTypePage-5kwUPeFg.mjs} +2 -2
  34. package/dist/_chunks/{NoContentTypePage-BLC8M9U0.mjs.map → NoContentTypePage-5kwUPeFg.mjs.map} +1 -1
  35. package/dist/_chunks/{NoContentTypePage-MGzn4JPu.js → NoContentTypePage-CTcfA2-Q.js} +2 -2
  36. package/dist/_chunks/{NoContentTypePage-MGzn4JPu.js.map → NoContentTypePage-CTcfA2-Q.js.map} +1 -1
  37. package/dist/_chunks/{NoPermissionsPage-BpAoEQy_.mjs → NoPermissionsPage-d-JtEVAw.mjs} +2 -2
  38. package/dist/_chunks/{NoPermissionsPage-BpAoEQy_.mjs.map → NoPermissionsPage-d-JtEVAw.mjs.map} +1 -1
  39. package/dist/_chunks/{NoPermissionsPage-DJPwEpOD.js → NoPermissionsPage-pVeCVj9a.js} +2 -2
  40. package/dist/_chunks/{NoPermissionsPage-DJPwEpOD.js.map → NoPermissionsPage-pVeCVj9a.js.map} +1 -1
  41. package/dist/_chunks/Preview-COsm52rZ.js +307 -0
  42. package/dist/_chunks/Preview-COsm52rZ.js.map +1 -0
  43. package/dist/_chunks/Preview-gkmvcwhu.mjs +288 -0
  44. package/dist/_chunks/Preview-gkmvcwhu.mjs.map +1 -0
  45. package/dist/_chunks/{Relations-BULOkyWN.mjs → Relations-7ItTFWp7.mjs} +3 -3
  46. package/dist/_chunks/{Relations-BULOkyWN.mjs.map → Relations-7ItTFWp7.mjs.map} +1 -1
  47. package/dist/_chunks/{Relations-DTiqnyGx.js → Relations-Beo_uDz1.js} +3 -3
  48. package/dist/_chunks/{Relations-DTiqnyGx.js.map → Relations-Beo_uDz1.js.map} +1 -1
  49. package/dist/_chunks/{en-C-J4DGEe.js → en-CHOp_xJv.js} +8 -1
  50. package/dist/_chunks/{en-C-J4DGEe.js.map → en-CHOp_xJv.js.map} +1 -1
  51. package/dist/_chunks/{en-DPfZ6tPQ.mjs → en-D_BMf0hT.mjs} +8 -1
  52. package/dist/_chunks/{en-DPfZ6tPQ.mjs.map → en-D_BMf0hT.mjs.map} +1 -1
  53. package/dist/_chunks/{index-76eawJUd.js → index-CJX65DLa.js} +74 -60
  54. package/dist/_chunks/index-CJX65DLa.js.map +1 -0
  55. package/dist/_chunks/{index-DW7xp_LG.mjs → index-D3IiO0X8.mjs} +78 -64
  56. package/dist/_chunks/index-D3IiO0X8.mjs.map +1 -0
  57. package/dist/_chunks/{layout-CVz8WiDC.js → layout-9fI2_QJt.js} +3 -3
  58. package/dist/_chunks/{layout-CVz8WiDC.js.map → layout-9fI2_QJt.js.map} +1 -1
  59. package/dist/_chunks/{layout-DNfLIjbP.mjs → layout-OhrmoJVB.mjs} +3 -3
  60. package/dist/_chunks/{layout-DNfLIjbP.mjs.map → layout-OhrmoJVB.mjs.map} +1 -1
  61. package/dist/_chunks/{relations-B6K4WRjW.js → relations-DIT8sP52.js} +6 -3
  62. package/dist/_chunks/relations-DIT8sP52.js.map +1 -0
  63. package/dist/_chunks/{relations-ByHSIjSe.mjs → relations-sRERvWmr.mjs} +6 -3
  64. package/dist/_chunks/relations-sRERvWmr.mjs.map +1 -0
  65. package/dist/admin/index.js +1 -1
  66. package/dist/admin/index.mjs +4 -4
  67. package/dist/admin/src/pages/EditView/EditViewPage.d.ts +9 -1
  68. package/dist/admin/src/pages/EditView/components/DocumentStatus.d.ts +1 -1
  69. package/dist/admin/src/preview/components/PreviewContent.d.ts +2 -0
  70. package/dist/admin/src/preview/components/PreviewHeader.d.ts +2 -0
  71. package/dist/admin/src/preview/pages/Preview.d.ts +11 -0
  72. package/dist/admin/src/preview/routes.d.ts +3 -0
  73. package/dist/admin/src/router.d.ts +1 -1
  74. package/dist/server/index.js.map +1 -1
  75. package/dist/server/index.mjs.map +1 -1
  76. package/dist/server/src/services/document-manager.d.ts.map +1 -1
  77. package/package.json +8 -8
  78. package/dist/_chunks/EditViewPage-BKQ83NAk.js.map +0 -1
  79. package/dist/_chunks/EditViewPage-zKmMBER4.mjs.map +0 -1
  80. package/dist/_chunks/Field-BbrX_tUG.mjs.map +0 -1
  81. package/dist/_chunks/Field-BhN0lyyZ.js.map +0 -1
  82. package/dist/_chunks/History-B2Dg9q7H.js.map +0 -1
  83. package/dist/_chunks/History-C72HQ0-i.mjs.map +0 -1
  84. package/dist/_chunks/index-76eawJUd.js.map +0 -1
  85. package/dist/_chunks/index-DW7xp_LG.mjs.map +0 -1
  86. package/dist/_chunks/relations-B6K4WRjW.js.map +0 -1
  87. package/dist/_chunks/relations-ByHSIjSe.mjs.map +0 -1
@@ -3,7 +3,7 @@ import { jsx, Fragment, jsxs } from "react/jsx-runtime";
3
3
  import { useStrapiApp, createContext, useQueryParams, useAuth, useRBAC, Page, adminApi, translatedErrors, useNotification, useAPIErrorHandler, getYupValidationErrors, useForm, useTracking, useGuidedTour, BackButton, DescriptionComponentRenderer, useTable, Table } from "@strapi/admin/strapi-admin";
4
4
  import * as React from "react";
5
5
  import { lazy } from "react";
6
- import { Button, Menu, VisuallyHidden, Flex, Typography, Dialog, Modal, Radio, Status, Box, SingleSelect, SingleSelectOption, IconButton, Loader, Tooltip, LinkButton } from "@strapi/design-system";
6
+ import { Button, Menu, VisuallyHidden, Flex, Dialog, Modal, Typography, Radio, Status, Box, SingleSelect, SingleSelectOption, IconButton, Loader, Tooltip, LinkButton } from "@strapi/design-system";
7
7
  import mapValues from "lodash/fp/mapValues";
8
8
  import { useIntl } from "react-intl";
9
9
  import { useParams, useNavigate, Navigate, useMatch, useLocation, Link, NavLink } from "react-router-dom";
@@ -271,7 +271,7 @@ const documentApi = contentManagerApi.injectEndpoints({
271
271
  */
272
272
  getAllDocuments: builder.query({
273
273
  query: ({ model, params }) => ({
274
- url: `/content-manager/collection-types/${model}${params ? `?${params}` : ""}`,
274
+ url: `/content-manager/collection-types/${model}`,
275
275
  method: "GET",
276
276
  config: {
277
277
  params
@@ -1663,10 +1663,10 @@ const useDocumentActions = () => {
1663
1663
  update
1664
1664
  };
1665
1665
  };
1666
- const ProtectedHistoryPage = lazy(
1667
- () => import("./History-C72HQ0-i.mjs").then((mod) => ({ default: mod.ProtectedHistoryPage }))
1666
+ const ProtectedHistoryPage = React.lazy(
1667
+ () => import("./History-DTYKr2Cg.mjs").then((mod) => ({ default: mod.ProtectedHistoryPage }))
1668
1668
  );
1669
- const routes$1 = [
1669
+ const routes$2 = [
1670
1670
  {
1671
1671
  path: ":collectionType/:slug/:id/history",
1672
1672
  Component: ProtectedHistoryPage
@@ -1676,32 +1676,45 @@ const routes$1 = [
1676
1676
  Component: ProtectedHistoryPage
1677
1677
  }
1678
1678
  ];
1679
+ const ProtectedPreviewPage = React.lazy(
1680
+ () => import("./Preview-gkmvcwhu.mjs").then((mod) => ({ default: mod.ProtectedPreviewPage }))
1681
+ );
1682
+ const routes$1 = [
1683
+ {
1684
+ path: ":collectionType/:slug/:id/preview",
1685
+ Component: ProtectedPreviewPage
1686
+ },
1687
+ {
1688
+ path: ":collectionType/:slug/preview",
1689
+ Component: ProtectedPreviewPage
1690
+ }
1691
+ ];
1679
1692
  const ProtectedEditViewPage = lazy(
1680
- () => import("./EditViewPage-zKmMBER4.mjs").then((mod) => ({ default: mod.ProtectedEditViewPage }))
1693
+ () => import("./EditViewPage-CA98g5_g.mjs").then((mod) => ({ default: mod.ProtectedEditViewPage }))
1681
1694
  );
1682
1695
  const ProtectedListViewPage = lazy(
1683
- () => import("./ListViewPage-Dfue5wQ2.mjs").then((mod) => ({ default: mod.ProtectedListViewPage }))
1696
+ () => import("./ListViewPage-DAekmnvp.mjs").then((mod) => ({ default: mod.ProtectedListViewPage }))
1684
1697
  );
1685
1698
  const ProtectedListConfiguration = lazy(
1686
- () => import("./ListConfigurationPage-BalSo5dp.mjs").then((mod) => ({
1699
+ () => import("./ListConfigurationPage-DQG-j52q.mjs").then((mod) => ({
1687
1700
  default: mod.ProtectedListConfiguration
1688
1701
  }))
1689
1702
  );
1690
1703
  const ProtectedEditConfigurationPage = lazy(
1691
- () => import("./EditConfigurationPage-D7HkxcAN.mjs").then((mod) => ({
1704
+ () => import("./EditConfigurationPage-7hF4_8yK.mjs").then((mod) => ({
1692
1705
  default: mod.ProtectedEditConfigurationPage
1693
1706
  }))
1694
1707
  );
1695
1708
  const ProtectedComponentConfigurationPage = lazy(
1696
- () => import("./ComponentConfigurationPage-BUOQFZ08.mjs").then((mod) => ({
1709
+ () => import("./ComponentConfigurationPage-UGIFDkPO.mjs").then((mod) => ({
1697
1710
  default: mod.ProtectedComponentConfigurationPage
1698
1711
  }))
1699
1712
  );
1700
1713
  const NoPermissions = lazy(
1701
- () => import("./NoPermissionsPage-BpAoEQy_.mjs").then((mod) => ({ default: mod.NoPermissions }))
1714
+ () => import("./NoPermissionsPage-d-JtEVAw.mjs").then((mod) => ({ default: mod.NoPermissions }))
1702
1715
  );
1703
1716
  const NoContentType = lazy(
1704
- () => import("./NoContentTypePage-BLC8M9U0.mjs").then((mod) => ({ default: mod.NoContentType }))
1717
+ () => import("./NoContentTypePage-5kwUPeFg.mjs").then((mod) => ({ default: mod.NoContentType }))
1705
1718
  );
1706
1719
  const CollectionTypePages = () => {
1707
1720
  const { collectionType } = useParams();
@@ -1713,7 +1726,7 @@ const CollectionTypePages = () => {
1713
1726
  const CLONE_RELATIVE_PATH = ":collectionType/:slug/clone/:origin";
1714
1727
  const CLONE_PATH = `/content-manager/${CLONE_RELATIVE_PATH}`;
1715
1728
  const LIST_RELATIVE_PATH = ":collectionType/:slug";
1716
- const LIST_PATH = `/content-manager/${LIST_RELATIVE_PATH}`;
1729
+ const LIST_PATH = `/content-manager/collection-types/:slug`;
1717
1730
  const routes = [
1718
1731
  {
1719
1732
  path: LIST_RELATIVE_PATH,
@@ -1747,6 +1760,7 @@ const routes = [
1747
1760
  path: "no-content-types",
1748
1761
  Component: NoContentType
1749
1762
  },
1763
+ ...routes$2,
1750
1764
  ...routes$1
1751
1765
  ];
1752
1766
  const DocumentActions = ({ actions: actions2 }) => {
@@ -1908,43 +1922,25 @@ const DocumentActionsMenu = ({
1908
1922
  disabled: action.disabled,
1909
1923
  onSelect: handleClick(action),
1910
1924
  display: "block",
1911
- children: /* @__PURE__ */ jsxs(Flex, { justifyContent: "space-between", gap: 4, children: [
1912
- /* @__PURE__ */ jsxs(
1913
- Flex,
1914
- {
1915
- color: !action.disabled ? convertActionVariantToColor(action.variant) : "inherit",
1916
- gap: 2,
1917
- tag: "span",
1918
- children: [
1919
- /* @__PURE__ */ jsx(
1920
- Flex,
1921
- {
1922
- tag: "span",
1923
- color: !action.disabled ? convertActionVariantToIconColor(action.variant) : "inherit",
1924
- children: action.icon
1925
- }
1926
- ),
1927
- action.label
1928
- ]
1929
- }
1930
- ),
1931
- action.id.startsWith("HistoryAction") && /* @__PURE__ */ jsx(
1932
- Flex,
1933
- {
1934
- alignItems: "center",
1935
- background: "alternative100",
1936
- borderStyle: "solid",
1937
- borderColor: "alternative200",
1938
- borderWidth: "1px",
1939
- height: 5,
1940
- paddingLeft: 2,
1941
- paddingRight: 2,
1942
- hasRadius: true,
1943
- color: "alternative600",
1944
- children: /* @__PURE__ */ jsx(Typography, { variant: "sigma", fontWeight: "bold", lineHeight: 1, children: formatMessage({ id: "global.new", defaultMessage: "New" }) })
1945
- }
1946
- )
1947
- ] })
1925
+ children: /* @__PURE__ */ jsx(Flex, { justifyContent: "space-between", gap: 4, children: /* @__PURE__ */ jsxs(
1926
+ Flex,
1927
+ {
1928
+ color: !action.disabled ? convertActionVariantToColor(action.variant) : "inherit",
1929
+ gap: 2,
1930
+ tag: "span",
1931
+ children: [
1932
+ /* @__PURE__ */ jsx(
1933
+ Flex,
1934
+ {
1935
+ tag: "span",
1936
+ color: !action.disabled ? convertActionVariantToIconColor(action.variant) : "inherit",
1937
+ children: action.icon
1938
+ }
1939
+ ),
1940
+ action.label
1941
+ ]
1942
+ }
1943
+ ) })
1948
1944
  },
1949
1945
  action.id
1950
1946
  );
@@ -2571,7 +2567,11 @@ const getDisplayName = ({
2571
2567
  const capitalise = (str) => str.charAt(0).toUpperCase() + str.slice(1);
2572
2568
  const DocumentStatus = ({ status = "draft", ...restProps }) => {
2573
2569
  const statusVariant = status === "draft" ? "secondary" : status === "published" ? "success" : "alternative";
2574
- return /* @__PURE__ */ jsx(Status, { ...restProps, showBullet: false, size: "S", variant: statusVariant, children: /* @__PURE__ */ jsx(Typography, { tag: "span", variant: "omega", fontWeight: "bold", children: capitalise(status) }) });
2570
+ const { formatMessage } = useIntl();
2571
+ return /* @__PURE__ */ jsx(Status, { ...restProps, size: "S", variant: statusVariant, children: /* @__PURE__ */ jsx(Typography, { tag: "span", variant: "omega", fontWeight: "bold", children: formatMessage({
2572
+ id: `content-manager.containers.List.${status}`,
2573
+ defaultMessage: capitalise(status)
2574
+ }) }) });
2575
2575
  };
2576
2576
  const Header = ({ isCreating, status, title: documentTitle = "Untitled" }) => {
2577
2577
  const { formatMessage } = useIntl();
@@ -4019,6 +4019,8 @@ const previewApi = contentManagerApi.injectEndpoints({
4019
4019
  const { useGetPreviewUrlQuery } = previewApi;
4020
4020
  const PreviewSidePanel = ({ model, documentId, document }) => {
4021
4021
  const { formatMessage } = useIntl();
4022
+ const { trackUsage } = useTracking();
4023
+ const [{ query }] = useQueryParams();
4022
4024
  const { data, error } = useGetPreviewUrlQuery({
4023
4025
  params: {
4024
4026
  contentType: model
@@ -4032,12 +4034,25 @@ const PreviewSidePanel = ({ model, documentId, document }) => {
4032
4034
  if (!data?.data?.url || error) {
4033
4035
  return null;
4034
4036
  }
4037
+ const handleClick = () => {
4038
+ trackUsage("willOpenPreview");
4039
+ };
4035
4040
  return {
4036
4041
  title: formatMessage({ id: "content-manager.preview.panel.title", defaultMessage: "Preview" }),
4037
- content: /* @__PURE__ */ jsx(Button, { variant: "tertiary", fullWidth: true, tag: Link, to: data.data.url, target: "_blank", children: formatMessage({
4038
- id: "content-manager.preview.panel.button",
4039
- defaultMessage: "Open preview"
4040
- }) })
4042
+ content: /* @__PURE__ */ jsx(Flex, { gap: 2, width: "100%", children: /* @__PURE__ */ jsx(
4043
+ Button,
4044
+ {
4045
+ variant: "tertiary",
4046
+ tag: Link,
4047
+ to: { pathname: "preview", search: stringify(query, { encode: false }) },
4048
+ onClick: handleClick,
4049
+ flex: "auto",
4050
+ children: formatMessage({
4051
+ id: "content-manager.preview.panel.button",
4052
+ defaultMessage: "Open preview"
4053
+ })
4054
+ }
4055
+ ) })
4041
4056
  };
4042
4057
  };
4043
4058
  const FEATURE_ID = "preview";
@@ -4047,9 +4062,7 @@ const previewAdmin = {
4047
4062
  return;
4048
4063
  }
4049
4064
  const contentManagerPluginApis = app.getPlugin("content-manager").apis;
4050
- if ("addEditViewSidePanel" in contentManagerPluginApis && typeof contentManagerPluginApis.addEditViewSidePanel === "function") {
4051
- contentManagerPluginApis.addEditViewSidePanel([PreviewSidePanel]);
4052
- }
4065
+ contentManagerPluginApis.addEditViewSidePanel([PreviewSidePanel]);
4053
4066
  }
4054
4067
  };
4055
4068
  const index = {
@@ -4071,7 +4084,7 @@ const index = {
4071
4084
  app.router.addRoute({
4072
4085
  path: "content-manager/*",
4073
4086
  lazy: async () => {
4074
- const { Layout } = await import("./layout-DNfLIjbP.mjs");
4087
+ const { Layout } = await import("./layout-OhrmoJVB.mjs");
4075
4088
  return {
4076
4089
  Component: Layout
4077
4090
  };
@@ -4091,7 +4104,7 @@ const index = {
4091
4104
  async registerTrads({ locales }) {
4092
4105
  const importedTrads = await Promise.all(
4093
4106
  locales.map((locale) => {
4094
- return __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "./translations/ar.json": () => import("./ar-CCEVvqGG.mjs"), "./translations/ca.json": () => import("./ca-5U32ON2v.mjs"), "./translations/cs.json": () => import("./cs-CM2aBUar.mjs"), "./translations/de.json": () => import("./de-C72KDNOl.mjs"), "./translations/en.json": () => import("./en-DPfZ6tPQ.mjs"), "./translations/es.json": () => import("./es-D34tqjMw.mjs"), "./translations/eu.json": () => import("./eu-CdALomew.mjs"), "./translations/fr.json": () => import("./fr--pg5jUbt.mjs"), "./translations/gu.json": () => import("./gu-CNpaMDpH.mjs"), "./translations/hi.json": () => import("./hi-Dwvd04m3.mjs"), "./translations/hu.json": () => import("./hu-CeYvaaO0.mjs"), "./translations/id.json": () => import("./id-BtwA9WJT.mjs"), "./translations/it.json": () => import("./it-BrVPqaf1.mjs"), "./translations/ja.json": () => import("./ja-BHqhDq4V.mjs"), "./translations/ko.json": () => import("./ko-HVQRlfUI.mjs"), "./translations/ml.json": () => import("./ml-BihZwQit.mjs"), "./translations/ms.json": () => import("./ms-m_WjyWx7.mjs"), "./translations/nl.json": () => import("./nl-D4R9gHx5.mjs"), "./translations/pl.json": () => import("./pl-sbx9mSt_.mjs"), "./translations/pt-BR.json": () => import("./pt-BR-C71iDxnh.mjs"), "./translations/pt.json": () => import("./pt-BsaFvS8-.mjs"), "./translations/ru.json": () => import("./ru-BE6A4Exp.mjs"), "./translations/sa.json": () => import("./sa-Dag0k-Z8.mjs"), "./translations/sk.json": () => import("./sk-BFg-R8qJ.mjs"), "./translations/sv.json": () => import("./sv-CUnfWGsh.mjs"), "./translations/th.json": () => import("./th-BqbI8lIT.mjs"), "./translations/tr.json": () => import("./tr-CgeK3wJM.mjs"), "./translations/uk.json": () => import("./uk-CR-zDhAY.mjs"), "./translations/vi.json": () => import("./vi-DUXIk_fw.mjs"), "./translations/zh-Hans.json": () => import("./zh-Hans-BPQcRIyH.mjs"), "./translations/zh.json": () => import("./zh-BWZspA60.mjs") }), `./translations/${locale}.json`).then(({ default: data }) => {
4107
+ return __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "./translations/ar.json": () => import("./ar-CCEVvqGG.mjs"), "./translations/ca.json": () => import("./ca-5U32ON2v.mjs"), "./translations/cs.json": () => import("./cs-CM2aBUar.mjs"), "./translations/de.json": () => import("./de-C72KDNOl.mjs"), "./translations/en.json": () => import("./en-D_BMf0hT.mjs"), "./translations/es.json": () => import("./es-D34tqjMw.mjs"), "./translations/eu.json": () => import("./eu-CdALomew.mjs"), "./translations/fr.json": () => import("./fr--pg5jUbt.mjs"), "./translations/gu.json": () => import("./gu-CNpaMDpH.mjs"), "./translations/hi.json": () => import("./hi-Dwvd04m3.mjs"), "./translations/hu.json": () => import("./hu-CeYvaaO0.mjs"), "./translations/id.json": () => import("./id-BtwA9WJT.mjs"), "./translations/it.json": () => import("./it-BrVPqaf1.mjs"), "./translations/ja.json": () => import("./ja-BHqhDq4V.mjs"), "./translations/ko.json": () => import("./ko-HVQRlfUI.mjs"), "./translations/ml.json": () => import("./ml-BihZwQit.mjs"), "./translations/ms.json": () => import("./ms-m_WjyWx7.mjs"), "./translations/nl.json": () => import("./nl-D4R9gHx5.mjs"), "./translations/pl.json": () => import("./pl-sbx9mSt_.mjs"), "./translations/pt-BR.json": () => import("./pt-BR-C71iDxnh.mjs"), "./translations/pt.json": () => import("./pt-BsaFvS8-.mjs"), "./translations/ru.json": () => import("./ru-BE6A4Exp.mjs"), "./translations/sa.json": () => import("./sa-Dag0k-Z8.mjs"), "./translations/sk.json": () => import("./sk-BFg-R8qJ.mjs"), "./translations/sv.json": () => import("./sv-CUnfWGsh.mjs"), "./translations/th.json": () => import("./th-BqbI8lIT.mjs"), "./translations/tr.json": () => import("./tr-CgeK3wJM.mjs"), "./translations/uk.json": () => import("./uk-CR-zDhAY.mjs"), "./translations/vi.json": () => import("./vi-DUXIk_fw.mjs"), "./translations/zh-Hans.json": () => import("./zh-Hans-BPQcRIyH.mjs"), "./translations/zh.json": () => import("./zh-BWZspA60.mjs") }), `./translations/${locale}.json`).then(({ default: data }) => {
4095
4108
  return {
4096
4109
  data: prefixPluginTranslations(data, PLUGIN_ID),
4097
4110
  locale
@@ -4118,9 +4131,10 @@ export {
4118
4131
  HOOKS as H,
4119
4132
  InjectionZone as I,
4120
4133
  useDocument as J,
4121
- index as K,
4122
- useContentManagerContext as L,
4123
- useDocumentActions as M,
4134
+ useGetPreviewUrlQuery as K,
4135
+ index as L,
4136
+ useContentManagerContext as M,
4137
+ useDocumentActions as N,
4124
4138
  Panels as P,
4125
4139
  RelativeTime as R,
4126
4140
  SINGLE_TYPES as S,
@@ -4152,4 +4166,4 @@ export {
4152
4166
  capitalise as y,
4153
4167
  useUpdateContentTypeConfigurationMutation as z
4154
4168
  };
4155
- //# sourceMappingURL=index-DW7xp_LG.mjs.map
4169
+ //# sourceMappingURL=index-D3IiO0X8.mjs.map