@strapi/content-manager 5.1.0 → 5.2.0

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 (79) hide show
  1. package/dist/_chunks/{ComponentConfigurationPage-CL9CAMaL.js → ComponentConfigurationPage-Br8hp2Xt.js} +3 -3
  2. package/dist/_chunks/{ComponentConfigurationPage-CL9CAMaL.js.map → ComponentConfigurationPage-Br8hp2Xt.js.map} +1 -1
  3. package/dist/_chunks/{ComponentConfigurationPage-BpM_Hc7r.mjs → ComponentConfigurationPage-DhwMhiRn.mjs} +3 -3
  4. package/dist/_chunks/{ComponentConfigurationPage-BpM_Hc7r.mjs.map → ComponentConfigurationPage-DhwMhiRn.mjs.map} +1 -1
  5. package/dist/_chunks/{EditConfigurationPage-ILWo0h1e.js → EditConfigurationPage-BG7rpPjL.js} +3 -3
  6. package/dist/_chunks/{EditConfigurationPage-ILWo0h1e.js.map → EditConfigurationPage-BG7rpPjL.js.map} +1 -1
  7. package/dist/_chunks/{EditConfigurationPage-_prbqpTM.mjs → EditConfigurationPage-CWao3CZ3.mjs} +3 -3
  8. package/dist/_chunks/{EditConfigurationPage-_prbqpTM.mjs.map → EditConfigurationPage-CWao3CZ3.mjs.map} +1 -1
  9. package/dist/_chunks/{EditViewPage-BqZvBN4s.js → EditViewPage-BUtpHsMz.js} +11 -5
  10. package/dist/_chunks/EditViewPage-BUtpHsMz.js.map +1 -0
  11. package/dist/_chunks/{EditViewPage-DAtscabN.mjs → EditViewPage-hiwZg61J.mjs} +12 -6
  12. package/dist/_chunks/EditViewPage-hiwZg61J.mjs.map +1 -0
  13. package/dist/_chunks/{Field-D-mgn1tH.mjs → Field-BQQLwyUs.mjs} +3 -3
  14. package/dist/_chunks/{Field-D-mgn1tH.mjs.map → Field-BQQLwyUs.mjs.map} +1 -1
  15. package/dist/_chunks/{Field-CcoQiiz1.js → Field-DEdug-Ll.js} +3 -3
  16. package/dist/_chunks/{Field-CcoQiiz1.js.map → Field-DEdug-Ll.js.map} +1 -1
  17. package/dist/_chunks/{Form-BxyeWiXW.mjs → Form-DwJovCha.mjs} +2 -2
  18. package/dist/_chunks/{Form-BxyeWiXW.mjs.map → Form-DwJovCha.mjs.map} +1 -1
  19. package/dist/_chunks/{Form-CmLbZDfi.js → Form-v5pkY-X_.js} +2 -2
  20. package/dist/_chunks/{Form-CmLbZDfi.js.map → Form-v5pkY-X_.js.map} +1 -1
  21. package/dist/_chunks/{History-uECUbCZB.js → History-40apIShV.js} +4 -11
  22. package/dist/_chunks/History-40apIShV.js.map +1 -0
  23. package/dist/_chunks/{History-BOhLaq_g.mjs → History-B9uJsxZl.mjs} +4 -11
  24. package/dist/_chunks/History-B9uJsxZl.mjs.map +1 -0
  25. package/dist/_chunks/{ListConfigurationPage-D0vQez6F.mjs → ListConfigurationPage-CA4oi4Hj.mjs} +2 -2
  26. package/dist/_chunks/{ListConfigurationPage-D0vQez6F.mjs.map → ListConfigurationPage-CA4oi4Hj.mjs.map} +1 -1
  27. package/dist/_chunks/{ListConfigurationPage-D_bBSFNW.js → ListConfigurationPage-DAGbWDIL.js} +2 -2
  28. package/dist/_chunks/{ListConfigurationPage-D_bBSFNW.js.map → ListConfigurationPage-DAGbWDIL.js.map} +1 -1
  29. package/dist/_chunks/{ListViewPage-ns-bmy5C.mjs → ListViewPage-Ca8F1NL-.mjs} +3 -3
  30. package/dist/_chunks/{ListViewPage-ns-bmy5C.mjs.map → ListViewPage-Ca8F1NL-.mjs.map} +1 -1
  31. package/dist/_chunks/{ListViewPage-BkZ83b1A.js → ListViewPage-CjaHQ2_V.js} +3 -3
  32. package/dist/_chunks/{ListViewPage-BkZ83b1A.js.map → ListViewPage-CjaHQ2_V.js.map} +1 -1
  33. package/dist/_chunks/{NoContentTypePage-C1439s4s.js → NoContentTypePage-CGxqLI8j.js} +2 -2
  34. package/dist/_chunks/{NoContentTypePage-C1439s4s.js.map → NoContentTypePage-CGxqLI8j.js.map} +1 -1
  35. package/dist/_chunks/{NoContentTypePage-BA5ZKMDR.mjs → NoContentTypePage-CwfnU-aN.mjs} +2 -2
  36. package/dist/_chunks/{NoContentTypePage-BA5ZKMDR.mjs.map → NoContentTypePage-CwfnU-aN.mjs.map} +1 -1
  37. package/dist/_chunks/{NoPermissionsPage-CPGwsVfb.js → NoPermissionsPage-CY3_QduF.js} +2 -2
  38. package/dist/_chunks/{NoPermissionsPage-CPGwsVfb.js.map → NoPermissionsPage-CY3_QduF.js.map} +1 -1
  39. package/dist/_chunks/{NoPermissionsPage-B0GdMw1Q.mjs → NoPermissionsPage-iPk2lFR6.mjs} +2 -2
  40. package/dist/_chunks/{NoPermissionsPage-B0GdMw1Q.mjs.map → NoPermissionsPage-iPk2lFR6.mjs.map} +1 -1
  41. package/dist/_chunks/Preview-DRJhcaIO.mjs +267 -0
  42. package/dist/_chunks/Preview-DRJhcaIO.mjs.map +1 -0
  43. package/dist/_chunks/Preview-V8XOfrQf.js +286 -0
  44. package/dist/_chunks/Preview-V8XOfrQf.js.map +1 -0
  45. package/dist/_chunks/{Relations-d-8Uef_-.js → Relations-CGerEwji.js} +3 -3
  46. package/dist/_chunks/{Relations-d-8Uef_-.js.map → Relations-CGerEwji.js.map} +1 -1
  47. package/dist/_chunks/{Relations-BIGPMSW4.mjs → Relations-DGWa9W2j.mjs} +3 -3
  48. package/dist/_chunks/{Relations-BIGPMSW4.mjs.map → Relations-DGWa9W2j.mjs.map} +1 -1
  49. package/dist/_chunks/{en-Bdpa50w3.js → en-CHOp_xJv.js} +6 -1
  50. package/dist/_chunks/{en-Bdpa50w3.js.map → en-CHOp_xJv.js.map} +1 -1
  51. package/dist/_chunks/{en-CZw4xdPY.mjs → en-D_BMf0hT.mjs} +6 -1
  52. package/dist/_chunks/{en-CZw4xdPY.mjs.map → en-D_BMf0hT.mjs.map} +1 -1
  53. package/dist/_chunks/{index-3_WeHXYp.mjs → index-V8MWkDSd.mjs} +56 -49
  54. package/dist/_chunks/index-V8MWkDSd.mjs.map +1 -0
  55. package/dist/_chunks/{index-BgaeYWIy.js → index-tN1hpOMN.js} +51 -44
  56. package/dist/_chunks/index-tN1hpOMN.js.map +1 -0
  57. package/dist/_chunks/{layout-CrTxOnCy.mjs → layout-Bue_C6ui.mjs} +3 -3
  58. package/dist/_chunks/{layout-CrTxOnCy.mjs.map → layout-Bue_C6ui.mjs.map} +1 -1
  59. package/dist/_chunks/{layout-ByFyQRDH.js → layout-BzX903CL.js} +3 -3
  60. package/dist/_chunks/{layout-ByFyQRDH.js.map → layout-BzX903CL.js.map} +1 -1
  61. package/dist/_chunks/{relations-C5RSW926.js → relations-C4HcWYYJ.js} +6 -3
  62. package/dist/_chunks/relations-C4HcWYYJ.js.map +1 -0
  63. package/dist/_chunks/{relations-BlpLgngh.mjs → relations-C8eyDiIO.mjs} +6 -3
  64. package/dist/_chunks/relations-C8eyDiIO.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/preview/components/PreviewHeader.d.ts +2 -0
  69. package/dist/admin/src/preview/pages/Preview.d.ts +11 -0
  70. package/dist/admin/src/preview/routes.d.ts +3 -0
  71. package/package.json +6 -6
  72. package/dist/_chunks/EditViewPage-BqZvBN4s.js.map +0 -1
  73. package/dist/_chunks/EditViewPage-DAtscabN.mjs.map +0 -1
  74. package/dist/_chunks/History-BOhLaq_g.mjs.map +0 -1
  75. package/dist/_chunks/History-uECUbCZB.js.map +0 -1
  76. package/dist/_chunks/index-3_WeHXYp.mjs.map +0 -1
  77. package/dist/_chunks/index-BgaeYWIy.js.map +0 -1
  78. package/dist/_chunks/relations-BlpLgngh.mjs.map +0 -1
  79. package/dist/_chunks/relations-C5RSW926.js.map +0 -1
@@ -104,6 +104,9 @@ const en = {
104
104
  "containers.Home.introduction": "To edit your entries go to the specific link in the left menu. This plugin doesn't have a proper way to edit settings and it's still under active development.",
105
105
  "containers.Home.pluginHeaderDescription": "Manage your entries through a powerful and beautiful interface.",
106
106
  "containers.Home.pluginHeaderTitle": "Content Manager",
107
+ "containers.List.draft": "Draft",
108
+ "containers.List.published": "Published",
109
+ "containers.List.modified": "Modified",
107
110
  "containers.list.displayedFields": "Displayed Fields",
108
111
  "containers.list.items": "{number} {number, plural, =0 {items} one {item} other {items}}",
109
112
  "containers.list.table.row-actions": "Row actions",
@@ -236,6 +239,8 @@ const en = {
236
239
  "popover.display-relations.label": "Display relations",
237
240
  "preview.panel.title": "Preview",
238
241
  "preview.panel.button": "Open preview",
242
+ "preview.page-title": "{contentType} preview",
243
+ "preview.header.close": "Close preview",
239
244
  "preview.copy.label": "Copy preview link",
240
245
  "preview.copy.success": "Copied preview link",
241
246
  "relation.add": "Add relation",
@@ -294,4 +299,4 @@ export {
294
299
  models,
295
300
  pageNotFound
296
301
  };
297
- //# sourceMappingURL=en-CZw4xdPY.mjs.map
302
+ //# sourceMappingURL=en-D_BMf0hT.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"en-CZw4xdPY.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"en-D_BMf0hT.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,6 +1,6 @@
1
- import { More, Cross, WarningCircle, ListPlus, Pencil, Trash, Check, CrossCircle, CheckCircle, ArrowsCounterClockwise, ChevronRight, Duplicate, ClockCounterClockwise, Link as Link$1, Feather } from "@strapi/icons";
1
+ import { More, Cross, WarningCircle, ListPlus, Pencil, Trash, Check, CrossCircle, CheckCircle, ArrowsCounterClockwise, ChevronRight, Duplicate, ClockCounterClockwise, Feather } from "@strapi/icons";
2
2
  import { jsx, Fragment, jsxs } from "react/jsx-runtime";
3
- import { useStrapiApp, createContext, useQueryParams, useAuth, useRBAC, Page, adminApi, translatedErrors, useNotification, useAPIErrorHandler, getYupValidationErrors, useForm, useTracking, useGuidedTour, BackButton, DescriptionComponentRenderer, useTable, Table, useClipboard } from "@strapi/admin/strapi-admin";
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
6
  import { Button, Menu, VisuallyHidden, Flex, Typography, Dialog, Modal, Radio, Status, Box, SingleSelect, SingleSelectOption, IconButton, Loader, Tooltip, LinkButton } from "@strapi/design-system";
@@ -1663,10 +1663,10 @@ const useDocumentActions = () => {
1663
1663
  update
1664
1664
  };
1665
1665
  };
1666
- const ProtectedHistoryPage = lazy(
1667
- () => import("./History-BOhLaq_g.mjs").then((mod) => ({ default: mod.ProtectedHistoryPage }))
1666
+ const ProtectedHistoryPage = React.lazy(
1667
+ () => import("./History-B9uJsxZl.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-DRJhcaIO.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-DAtscabN.mjs").then((mod) => ({ default: mod.ProtectedEditViewPage }))
1693
+ () => import("./EditViewPage-hiwZg61J.mjs").then((mod) => ({ default: mod.ProtectedEditViewPage }))
1681
1694
  );
1682
1695
  const ProtectedListViewPage = lazy(
1683
- () => import("./ListViewPage-ns-bmy5C.mjs").then((mod) => ({ default: mod.ProtectedListViewPage }))
1696
+ () => import("./ListViewPage-Ca8F1NL-.mjs").then((mod) => ({ default: mod.ProtectedListViewPage }))
1684
1697
  );
1685
1698
  const ProtectedListConfiguration = lazy(
1686
- () => import("./ListConfigurationPage-D0vQez6F.mjs").then((mod) => ({
1699
+ () => import("./ListConfigurationPage-CA4oi4Hj.mjs").then((mod) => ({
1687
1700
  default: mod.ProtectedListConfiguration
1688
1701
  }))
1689
1702
  );
1690
1703
  const ProtectedEditConfigurationPage = lazy(
1691
- () => import("./EditConfigurationPage-_prbqpTM.mjs").then((mod) => ({
1704
+ () => import("./EditConfigurationPage-CWao3CZ3.mjs").then((mod) => ({
1692
1705
  default: mod.ProtectedEditConfigurationPage
1693
1706
  }))
1694
1707
  );
1695
1708
  const ProtectedComponentConfigurationPage = lazy(
1696
- () => import("./ComponentConfigurationPage-BpM_Hc7r.mjs").then((mod) => ({
1709
+ () => import("./ComponentConfigurationPage-DhwMhiRn.mjs").then((mod) => ({
1697
1710
  default: mod.ProtectedComponentConfigurationPage
1698
1711
  }))
1699
1712
  );
1700
1713
  const NoPermissions = lazy(
1701
- () => import("./NoPermissionsPage-B0GdMw1Q.mjs").then((mod) => ({ default: mod.NoPermissions }))
1714
+ () => import("./NoPermissionsPage-iPk2lFR6.mjs").then((mod) => ({ default: mod.NoPermissions }))
1702
1715
  );
1703
1716
  const NoContentType = lazy(
1704
- () => import("./NoContentTypePage-BA5ZKMDR.mjs").then((mod) => ({ default: mod.NoContentType }))
1717
+ () => import("./NoContentTypePage-CwfnU-aN.mjs").then((mod) => ({ default: mod.NoContentType }))
1705
1718
  );
1706
1719
  const CollectionTypePages = () => {
1707
1720
  const { collectionType } = useParams();
@@ -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 }) => {
@@ -2571,7 +2585,11 @@ const getDisplayName = ({
2571
2585
  const capitalise = (str) => str.charAt(0).toUpperCase() + str.slice(1);
2572
2586
  const DocumentStatus = ({ status = "draft", ...restProps }) => {
2573
2587
  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) }) });
2588
+ const { formatMessage } = useIntl();
2589
+ return /* @__PURE__ */ jsx(Status, { ...restProps, showBullet: false, size: "S", variant: statusVariant, children: /* @__PURE__ */ jsx(Typography, { tag: "span", variant: "omega", fontWeight: "bold", children: formatMessage({
2590
+ id: `content-manager.containers.List.${status}`,
2591
+ defaultMessage: capitalise(status)
2592
+ }) }) });
2575
2593
  };
2576
2594
  const Header = ({ isCreating, status, title: documentTitle = "Untitled" }) => {
2577
2595
  const { formatMessage } = useIntl();
@@ -4019,8 +4037,8 @@ const previewApi = contentManagerApi.injectEndpoints({
4019
4037
  const { useGetPreviewUrlQuery } = previewApi;
4020
4038
  const PreviewSidePanel = ({ model, documentId, document }) => {
4021
4039
  const { formatMessage } = useIntl();
4022
- const { toggleNotification } = useNotification();
4023
- const { copy } = useClipboard();
4040
+ const { trackUsage } = useTracking();
4041
+ const [{ query }] = useQueryParams();
4024
4042
  const { data, error } = useGetPreviewUrlQuery({
4025
4043
  params: {
4026
4044
  contentType: model
@@ -4034,37 +4052,25 @@ const PreviewSidePanel = ({ model, documentId, document }) => {
4034
4052
  if (!data?.data?.url || error) {
4035
4053
  return null;
4036
4054
  }
4037
- const { url } = data.data;
4038
- const handleCopyLink = () => {
4039
- copy(url);
4040
- toggleNotification({
4041
- message: formatMessage({
4042
- id: "content-manager.preview.copy.success",
4043
- defaultMessage: "Copied preview link"
4044
- }),
4045
- type: "success"
4046
- });
4055
+ const handleClick = () => {
4056
+ trackUsage("willOpenPreview");
4047
4057
  };
4048
4058
  return {
4049
4059
  title: formatMessage({ id: "content-manager.preview.panel.title", defaultMessage: "Preview" }),
4050
- content: /* @__PURE__ */ jsxs(Flex, { gap: 2, width: "100%", children: [
4051
- /* @__PURE__ */ jsx(Button, { variant: "tertiary", tag: Link, to: url, target: "_blank", flex: "auto", children: formatMessage({
4052
- id: "content-manager.preview.panel.button",
4053
- defaultMessage: "Open preview"
4054
- }) }),
4055
- /* @__PURE__ */ jsx(
4056
- IconButton,
4057
- {
4058
- type: "button",
4059
- label: formatMessage({
4060
- id: "preview.copy.label",
4061
- defaultMessage: "Copy preview link"
4062
- }),
4063
- onClick: handleCopyLink,
4064
- children: /* @__PURE__ */ jsx(Link$1, {})
4065
- }
4066
- )
4067
- ] })
4060
+ content: /* @__PURE__ */ jsx(Flex, { gap: 2, width: "100%", children: /* @__PURE__ */ jsx(
4061
+ Button,
4062
+ {
4063
+ variant: "tertiary",
4064
+ tag: Link,
4065
+ to: { pathname: "preview", search: stringify(query, { encode: false }) },
4066
+ onClick: handleClick,
4067
+ flex: "auto",
4068
+ children: formatMessage({
4069
+ id: "content-manager.preview.panel.button",
4070
+ defaultMessage: "Open preview"
4071
+ })
4072
+ }
4073
+ ) })
4068
4074
  };
4069
4075
  };
4070
4076
  const FEATURE_ID = "preview";
@@ -4096,7 +4102,7 @@ const index = {
4096
4102
  app.router.addRoute({
4097
4103
  path: "content-manager/*",
4098
4104
  lazy: async () => {
4099
- const { Layout } = await import("./layout-CrTxOnCy.mjs");
4105
+ const { Layout } = await import("./layout-Bue_C6ui.mjs");
4100
4106
  return {
4101
4107
  Component: Layout
4102
4108
  };
@@ -4116,7 +4122,7 @@ const index = {
4116
4122
  async registerTrads({ locales }) {
4117
4123
  const importedTrads = await Promise.all(
4118
4124
  locales.map((locale) => {
4119
- 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-CZw4xdPY.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 }) => {
4125
+ 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 }) => {
4120
4126
  return {
4121
4127
  data: prefixPluginTranslations(data, PLUGIN_ID),
4122
4128
  locale
@@ -4143,9 +4149,10 @@ export {
4143
4149
  HOOKS as H,
4144
4150
  InjectionZone as I,
4145
4151
  useDocument as J,
4146
- index as K,
4147
- useContentManagerContext as L,
4148
- useDocumentActions as M,
4152
+ useGetPreviewUrlQuery as K,
4153
+ index as L,
4154
+ useContentManagerContext as M,
4155
+ useDocumentActions as N,
4149
4156
  Panels as P,
4150
4157
  RelativeTime as R,
4151
4158
  SINGLE_TYPES as S,
@@ -4177,4 +4184,4 @@ export {
4177
4184
  capitalise as y,
4178
4185
  useUpdateContentTypeConfigurationMutation as z
4179
4186
  };
4180
- //# sourceMappingURL=index-3_WeHXYp.mjs.map
4187
+ //# sourceMappingURL=index-V8MWkDSd.mjs.map