@strapi/content-manager 5.0.0-rc.11 → 5.0.0-rc.12

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 (84) hide show
  1. package/dist/_chunks/{ComponentConfigurationPage-qemkOlnj.mjs → ComponentConfigurationPage-BNYW9KgT.mjs} +3 -3
  2. package/dist/_chunks/{ComponentConfigurationPage-qemkOlnj.mjs.map → ComponentConfigurationPage-BNYW9KgT.mjs.map} +1 -1
  3. package/dist/_chunks/{ComponentConfigurationPage-D_M8iBw5.js → ComponentConfigurationPage-DM3Vsp1l.js} +3 -3
  4. package/dist/_chunks/{ComponentConfigurationPage-D_M8iBw5.js.map → ComponentConfigurationPage-DM3Vsp1l.js.map} +1 -1
  5. package/dist/_chunks/{EditConfigurationPage-CjUrEewK.mjs → EditConfigurationPage-4o3D0nlo.mjs} +3 -3
  6. package/dist/_chunks/{EditConfigurationPage-CjUrEewK.mjs.map → EditConfigurationPage-4o3D0nlo.mjs.map} +1 -1
  7. package/dist/_chunks/{EditConfigurationPage-BePwPuHy.js → EditConfigurationPage-B6TcA_k2.js} +3 -3
  8. package/dist/_chunks/{EditConfigurationPage-BePwPuHy.js.map → EditConfigurationPage-B6TcA_k2.js.map} +1 -1
  9. package/dist/_chunks/{EditViewPage-B-RJeiJD.js → EditViewPage-Ci2MevDY.js} +3 -3
  10. package/dist/_chunks/{EditViewPage-B-RJeiJD.js.map → EditViewPage-Ci2MevDY.js.map} +1 -1
  11. package/dist/_chunks/{EditViewPage-De8GyU8P.mjs → EditViewPage-DMNlG9Jo.mjs} +3 -3
  12. package/dist/_chunks/{EditViewPage-De8GyU8P.mjs.map → EditViewPage-DMNlG9Jo.mjs.map} +1 -1
  13. package/dist/_chunks/{Field-dq8Tg1M_.js → Field-DD0cSHT1.js} +17 -45
  14. package/dist/_chunks/Field-DD0cSHT1.js.map +1 -0
  15. package/dist/_chunks/{Field-pb2o8uBe.mjs → Field-DFMgqDsl.mjs} +17 -45
  16. package/dist/_chunks/Field-DFMgqDsl.mjs.map +1 -0
  17. package/dist/_chunks/{Form-DJn0Dxha.mjs → Form-Btnp546K.mjs} +15 -7
  18. package/dist/_chunks/Form-Btnp546K.mjs.map +1 -0
  19. package/dist/_chunks/{Form-DGIf4jQU.js → Form-CsuR17sZ.js} +15 -7
  20. package/dist/_chunks/Form-CsuR17sZ.js.map +1 -0
  21. package/dist/_chunks/{History-BowL3JKP.mjs → History-D0-C35oC.mjs} +4 -4
  22. package/dist/_chunks/{History-BowL3JKP.mjs.map → History-D0-C35oC.mjs.map} +1 -1
  23. package/dist/_chunks/{History-Dh2NEHnR.js → History-DWPijD_m.js} +4 -4
  24. package/dist/_chunks/{History-Dh2NEHnR.js.map → History-DWPijD_m.js.map} +1 -1
  25. package/dist/_chunks/{ListConfigurationPage-BxYCWz9e.js → ListConfigurationPage-CXZulAfo.js} +2 -2
  26. package/dist/_chunks/{ListConfigurationPage-BxYCWz9e.js.map → ListConfigurationPage-CXZulAfo.js.map} +1 -1
  27. package/dist/_chunks/{ListConfigurationPage-BpVOB-hn.mjs → ListConfigurationPage-DVoaP9lg.mjs} +2 -2
  28. package/dist/_chunks/{ListConfigurationPage-BpVOB-hn.mjs.map → ListConfigurationPage-DVoaP9lg.mjs.map} +1 -1
  29. package/dist/_chunks/{ListViewPage-4XsciqHZ.js → ListViewPage-C-o-L6cX.js} +20 -28
  30. package/dist/_chunks/ListViewPage-C-o-L6cX.js.map +1 -0
  31. package/dist/_chunks/{ListViewPage-CXFUjZQC.mjs → ListViewPage-Cg674I0s.mjs} +21 -29
  32. package/dist/_chunks/ListViewPage-Cg674I0s.mjs.map +1 -0
  33. package/dist/_chunks/{NoContentTypePage-C8OpoHeU.js → NoContentTypePage-CqAdg_fd.js} +2 -2
  34. package/dist/_chunks/{NoContentTypePage-C8OpoHeU.js.map → NoContentTypePage-CqAdg_fd.js.map} +1 -1
  35. package/dist/_chunks/{NoContentTypePage-DuhOTp3x.mjs → NoContentTypePage-Ee3l4Sli.mjs} +2 -2
  36. package/dist/_chunks/{NoContentTypePage-DuhOTp3x.mjs.map → NoContentTypePage-Ee3l4Sli.mjs.map} +1 -1
  37. package/dist/_chunks/{NoPermissionsPage-DVz3mzDz.mjs → NoPermissionsPage-B_hXGAO2.mjs} +2 -2
  38. package/dist/_chunks/{NoPermissionsPage-DVz3mzDz.mjs.map → NoPermissionsPage-B_hXGAO2.mjs.map} +1 -1
  39. package/dist/_chunks/{NoPermissionsPage-y_r7DVA2.js → NoPermissionsPage-CNhQjSog.js} +2 -2
  40. package/dist/_chunks/{NoPermissionsPage-y_r7DVA2.js.map → NoPermissionsPage-CNhQjSog.js.map} +1 -1
  41. package/dist/_chunks/{Relations-DPFCAa7b.js → Relations-Bfms4h-r.js} +3 -3
  42. package/dist/_chunks/{Relations-DPFCAa7b.js.map → Relations-Bfms4h-r.js.map} +1 -1
  43. package/dist/_chunks/{Relations-CVNLrn1Y.mjs → Relations-CjKTIbxN.mjs} +3 -3
  44. package/dist/_chunks/{Relations-CVNLrn1Y.mjs.map → Relations-CjKTIbxN.mjs.map} +1 -1
  45. package/dist/_chunks/{en-uOUIxfcQ.js → en-BVzUkPxZ.js} +6 -5
  46. package/dist/_chunks/{en-uOUIxfcQ.js.map → en-BVzUkPxZ.js.map} +1 -1
  47. package/dist/_chunks/{en-BrCTWlZv.mjs → en-CPTj6CjC.mjs} +6 -5
  48. package/dist/_chunks/{en-BrCTWlZv.mjs.map → en-CPTj6CjC.mjs.map} +1 -1
  49. package/dist/_chunks/{index-C3fJE-1-.js → index-BI-3Gbhi.js} +44 -52
  50. package/dist/_chunks/index-BI-3Gbhi.js.map +1 -0
  51. package/dist/_chunks/{index-DiMrfcfy.mjs → index-DF5b6TFn.mjs} +46 -54
  52. package/dist/_chunks/index-DF5b6TFn.mjs.map +1 -0
  53. package/dist/_chunks/{layout-ls3gxfpH.mjs → layout-CJYFoHje.mjs} +5 -4
  54. package/dist/_chunks/{layout-ls3gxfpH.mjs.map → layout-CJYFoHje.mjs.map} +1 -1
  55. package/dist/_chunks/{layout-C788OmNr.js → layout-DFEVG8Tc.js} +5 -4
  56. package/dist/_chunks/{layout-C788OmNr.js.map → layout-DFEVG8Tc.js.map} +1 -1
  57. package/dist/_chunks/{relations-CLcOmGO0.mjs → relations-B_ASsV1W.mjs} +2 -2
  58. package/dist/_chunks/{relations-CLcOmGO0.mjs.map → relations-B_ASsV1W.mjs.map} +1 -1
  59. package/dist/_chunks/{relations-DYeotliT.js → relations-CLicjYsV.js} +2 -2
  60. package/dist/_chunks/{relations-DYeotliT.js.map → relations-CLicjYsV.js.map} +1 -1
  61. package/dist/admin/index.js +1 -1
  62. package/dist/admin/index.mjs +1 -1
  63. package/dist/admin/src/pages/EditView/components/FormInputs/Wysiwyg/WysiwygStyles.d.ts +0 -32
  64. package/dist/admin/src/services/documents.d.ts +3 -1
  65. package/dist/server/index.js +17 -4
  66. package/dist/server/index.js.map +1 -1
  67. package/dist/server/index.mjs +17 -4
  68. package/dist/server/index.mjs.map +1 -1
  69. package/dist/server/src/controllers/collection-types.d.ts.map +1 -1
  70. package/dist/server/src/history/services/history.d.ts.map +1 -1
  71. package/dist/server/src/history/services/lifecycles.d.ts.map +1 -1
  72. package/dist/server/src/history/services/utils.d.ts +1 -0
  73. package/dist/server/src/history/services/utils.d.ts.map +1 -1
  74. package/dist/shared/contracts/collection-types.d.ts +3 -1
  75. package/dist/shared/contracts/collection-types.d.ts.map +1 -1
  76. package/package.json +8 -8
  77. package/dist/_chunks/Field-dq8Tg1M_.js.map +0 -1
  78. package/dist/_chunks/Field-pb2o8uBe.mjs.map +0 -1
  79. package/dist/_chunks/Form-DGIf4jQU.js.map +0 -1
  80. package/dist/_chunks/Form-DJn0Dxha.mjs.map +0 -1
  81. package/dist/_chunks/ListViewPage-4XsciqHZ.js.map +0 -1
  82. package/dist/_chunks/ListViewPage-CXFUjZQC.mjs.map +0 -1
  83. package/dist/_chunks/index-C3fJE-1-.js.map +0 -1
  84. package/dist/_chunks/index-DiMrfcfy.mjs.map +0 -1
@@ -66,6 +66,7 @@ const en = {
66
66
  "components.SettingsViewWrapper.pluginHeader.description.list-settings": "Define the settings of the list view.",
67
67
  "components.SettingsViewWrapper.pluginHeader.title": "Configure the view — {name}",
68
68
  "bulk-publish.already-published": "Already Published",
69
+ "bulk-unpublish.already-unpublished": "Already Unpublished",
69
70
  "bulk-publish.modified": "Ready to publish changes",
70
71
  "components.TableDelete.delete": "Delete all",
71
72
  "components.TableDelete.deleteSelected": "Delete selected",
@@ -86,7 +87,7 @@ const en = {
86
87
  "containers.edit.tabs.label": "Document status",
87
88
  "containers.edit.tabs.draft": "draft",
88
89
  "containers.edit.tabs.published": "published",
89
- "containers.edit.panels.default.title": "Document",
90
+ "containers.edit.panels.default.title": "Entry",
90
91
  "containers.edit.panels.default.more-actions": "More document actions",
91
92
  "containers.Edit.delete": "Delete",
92
93
  "containers.edit.title.new": "Create an entry",
@@ -104,11 +105,11 @@ const en = {
104
105
  "containers.Home.pluginHeaderDescription": "Manage your entries through a powerful and beautiful interface.",
105
106
  "containers.Home.pluginHeaderTitle": "Content Manager",
106
107
  "containers.list.displayedFields": "Displayed Fields",
107
- "containers.list.items": "{number, plural, =0 {items} one {item} other {items}}",
108
+ "containers.list.items": "{number} {number, plural, =0 {items} one {item} other {items}}",
108
109
  "containers.list.table.row-actions": "Row actions",
109
110
  "containers.list.selectedEntriesModal.title": "Publish entries",
110
- "containers.list.selectedEntriesModal.selectedCount": "<b>{alreadyPublishedCount}</b> {alreadyPublishedCount, plural, =0 {entries} one {entry} other {entries}} already published. <b>{readyToPublishCount}</b> {readyToPublishCount, plural, =0 {entries} one {entry} other {entries}} ready to publish. <b>{withErrorsCount}</b> {withErrorsCount, plural, =0 {entries} one {entry} other {entries}} waiting for action.",
111
- "containers.list.selectedEntriesModal.publishedCount": "<b>{publishedCount}</b> {publishedCount, plural, =0 {entries} one {entry} other {entries}} published. <b>{withErrorsCount}</b> {withErrorsCount, plural, =0 {entries} one {entry} other {entries}} waiting for action.",
111
+ "containers.list.selectedEntriesModal.selectedCount.publish": "<b>{publishedCount}</b> {publishedCount, plural, =0 {entries} one {entry} other {entries}} already published. <b>{draftCount}</b> {draftCount, plural, =0 {entries} one {entry} other {entries}} ready to publish. <b>{withErrorsCount}</b> {withErrorsCount, plural, =0 {entries} one {entry} other {entries}} waiting for action.",
112
+ "containers.list.selectedEntriesModal.selectedCount.unpublish": "<b>{draftCount}</b> {draftCount, plural, =0 {entries} one {entry} other {entries}} already unpublished. <b>{publishedCount}</b> {publishedCount, plural, =0 {entries} one {entry} other {entries}} ready to unpublish.",
112
113
  "containers.list.autoCloneModal.header": "Duplicate",
113
114
  "containers.list.autoCloneModal.title": "This entry can't be duplicated directly.",
114
115
  "containers.list.autoCloneModal.description": "A new entry will be created with the same content, but you'll have to change the following fields to save it.",
@@ -289,4 +290,4 @@ export {
289
290
  models,
290
291
  pageNotFound
291
292
  };
292
- //# sourceMappingURL=en-BrCTWlZv.mjs.map
293
+ //# sourceMappingURL=en-CPTj6CjC.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"en-BrCTWlZv.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"en-CPTj6CjC.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -6,10 +6,10 @@ const React = require("react");
6
6
  const designSystem = require("@strapi/design-system");
7
7
  const reactIntl = require("react-intl");
8
8
  const reactRouterDom = require("react-router-dom");
9
- const styledComponents = require("styled-components");
10
9
  const yup = require("yup");
11
10
  const pipe = require("lodash/fp/pipe");
12
11
  const dateFns = require("date-fns");
12
+ const styledComponents = require("styled-components");
13
13
  const qs = require("qs");
14
14
  const toolkit = require("@reduxjs/toolkit");
15
15
  const _interopDefault = (e) => e && e.__esModule ? e : { default: e };
@@ -1324,7 +1324,7 @@ const useDocumentActions = () => {
1324
1324
  };
1325
1325
  };
1326
1326
  const ProtectedHistoryPage = React.lazy(
1327
- () => Promise.resolve().then(() => require("./History-Dh2NEHnR.js")).then((mod) => ({ default: mod.ProtectedHistoryPage }))
1327
+ () => Promise.resolve().then(() => require("./History-DWPijD_m.js")).then((mod) => ({ default: mod.ProtectedHistoryPage }))
1328
1328
  );
1329
1329
  const routes$1 = [
1330
1330
  {
@@ -1337,31 +1337,31 @@ const routes$1 = [
1337
1337
  }
1338
1338
  ];
1339
1339
  const ProtectedEditViewPage = React.lazy(
1340
- () => Promise.resolve().then(() => require("./EditViewPage-B-RJeiJD.js")).then((mod) => ({ default: mod.ProtectedEditViewPage }))
1340
+ () => Promise.resolve().then(() => require("./EditViewPage-Ci2MevDY.js")).then((mod) => ({ default: mod.ProtectedEditViewPage }))
1341
1341
  );
1342
1342
  const ProtectedListViewPage = React.lazy(
1343
- () => Promise.resolve().then(() => require("./ListViewPage-4XsciqHZ.js")).then((mod) => ({ default: mod.ProtectedListViewPage }))
1343
+ () => Promise.resolve().then(() => require("./ListViewPage-C-o-L6cX.js")).then((mod) => ({ default: mod.ProtectedListViewPage }))
1344
1344
  );
1345
1345
  const ProtectedListConfiguration = React.lazy(
1346
- () => Promise.resolve().then(() => require("./ListConfigurationPage-BxYCWz9e.js")).then((mod) => ({
1346
+ () => Promise.resolve().then(() => require("./ListConfigurationPage-CXZulAfo.js")).then((mod) => ({
1347
1347
  default: mod.ProtectedListConfiguration
1348
1348
  }))
1349
1349
  );
1350
1350
  const ProtectedEditConfigurationPage = React.lazy(
1351
- () => Promise.resolve().then(() => require("./EditConfigurationPage-BePwPuHy.js")).then((mod) => ({
1351
+ () => Promise.resolve().then(() => require("./EditConfigurationPage-B6TcA_k2.js")).then((mod) => ({
1352
1352
  default: mod.ProtectedEditConfigurationPage
1353
1353
  }))
1354
1354
  );
1355
1355
  const ProtectedComponentConfigurationPage = React.lazy(
1356
- () => Promise.resolve().then(() => require("./ComponentConfigurationPage-D_M8iBw5.js")).then((mod) => ({
1356
+ () => Promise.resolve().then(() => require("./ComponentConfigurationPage-DM3Vsp1l.js")).then((mod) => ({
1357
1357
  default: mod.ProtectedComponentConfigurationPage
1358
1358
  }))
1359
1359
  );
1360
1360
  const NoPermissions = React.lazy(
1361
- () => Promise.resolve().then(() => require("./NoPermissionsPage-y_r7DVA2.js")).then((mod) => ({ default: mod.NoPermissions }))
1361
+ () => Promise.resolve().then(() => require("./NoPermissionsPage-CNhQjSog.js")).then((mod) => ({ default: mod.NoPermissions }))
1362
1362
  );
1363
1363
  const NoContentType = React.lazy(
1364
- () => Promise.resolve().then(() => require("./NoContentTypePage-C8OpoHeU.js")).then((mod) => ({ default: mod.NoContentType }))
1364
+ () => Promise.resolve().then(() => require("./NoContentTypePage-CqAdg_fd.js")).then((mod) => ({ default: mod.NoContentType }))
1365
1365
  );
1366
1366
  const CollectionTypePages = () => {
1367
1367
  const { collectionType } = reactRouterDom.useParams();
@@ -1542,7 +1542,7 @@ const DocumentActionsMenu = ({
1542
1542
  };
1543
1543
  return /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Menu.Root, { open: isOpen, onOpenChange: setIsOpen, children: [
1544
1544
  /* @__PURE__ */ jsxRuntime.jsxs(
1545
- StyledMoreButton,
1545
+ designSystem.Menu.Trigger,
1546
1546
  {
1547
1547
  disabled: isDisabled,
1548
1548
  size: "S",
@@ -1658,11 +1658,6 @@ const convertActionVariantToIconColor = (variant = "secondary") => {
1658
1658
  return "primary600";
1659
1659
  }
1660
1660
  };
1661
- const StyledMoreButton = styledComponents.styled(designSystem.Menu.Trigger)`
1662
- & > span {
1663
- display: flex;
1664
- }
1665
- `;
1666
1661
  const DocumentActionConfirmDialog = ({
1667
1662
  onClose,
1668
1663
  onCancel,
@@ -1787,24 +1782,25 @@ const PublishAction$1 = ({
1787
1782
  }
1788
1783
  }, [documentId, modified, formValues, setLocalCountOfDraftRelations]);
1789
1784
  React__namespace.useEffect(() => {
1790
- if (documentId && !isListView) {
1791
- const fetchDraftRelationsCount = async () => {
1792
- const { data, error } = await countDraftRelations({
1793
- collectionType,
1794
- model,
1795
- documentId,
1796
- params
1797
- });
1798
- if (error) {
1799
- throw error;
1800
- }
1801
- if (data) {
1802
- setServerCountOfDraftRelations(data.data);
1803
- }
1804
- };
1805
- fetchDraftRelationsCount();
1785
+ if (!document || !document.documentId || isListView) {
1786
+ return;
1806
1787
  }
1807
- }, [isListView, documentId, countDraftRelations, collectionType, model, params]);
1788
+ const fetchDraftRelationsCount = async () => {
1789
+ const { data, error } = await countDraftRelations({
1790
+ collectionType,
1791
+ model,
1792
+ documentId,
1793
+ params
1794
+ });
1795
+ if (error) {
1796
+ throw error;
1797
+ }
1798
+ if (data) {
1799
+ setServerCountOfDraftRelations(data.data);
1800
+ }
1801
+ };
1802
+ fetchDraftRelationsCount();
1803
+ }, [isListView, document, documentId, countDraftRelations, collectionType, model, params]);
1808
1804
  const isDocumentPublished = (document?.[PUBLISHED_AT_ATTRIBUTE_NAME] || meta?.availableStatus.some((doc) => doc[PUBLISHED_AT_ATTRIBUTE_NAME] !== null)) && document?.status !== "modified";
1809
1805
  if (!schema?.options?.draftAndPublish) {
1810
1806
  return null;
@@ -1845,7 +1841,8 @@ const PublishAction$1 = ({
1845
1841
  }
1846
1842
  };
1847
1843
  const totalDraftRelations = localCountOfDraftRelations + serverCountOfDraftRelations;
1848
- const hasDraftRelations = totalDraftRelations > 0;
1844
+ const enableDraftRelationsCount = false;
1845
+ const hasDraftRelations = enableDraftRelationsCount;
1849
1846
  return {
1850
1847
  /**
1851
1848
  * Disabled when:
@@ -1862,9 +1859,6 @@ const PublishAction$1 = ({
1862
1859
  defaultMessage: "Publish"
1863
1860
  }),
1864
1861
  onClick: async () => {
1865
- if (hasDraftRelations) {
1866
- return;
1867
- }
1868
1862
  await performPublish();
1869
1863
  },
1870
1864
  dialog: hasDraftRelations ? {
@@ -2035,7 +2029,7 @@ const UnpublishAction$1 = ({
2035
2029
  id: "app.utils.unpublish",
2036
2030
  defaultMessage: "Unpublish"
2037
2031
  }),
2038
- icon: /* @__PURE__ */ jsxRuntime.jsx(StyledCrossCircle, {}),
2032
+ icon: /* @__PURE__ */ jsxRuntime.jsx(Icons.Cross, {}),
2039
2033
  onClick: async () => {
2040
2034
  if (!documentId && collectionType !== SINGLE_TYPES || isDocumentModified) {
2041
2035
  if (!documentId) {
@@ -2147,7 +2141,7 @@ const DiscardAction = ({
2147
2141
  id: "content-manager.actions.discard.label",
2148
2142
  defaultMessage: "Discard changes"
2149
2143
  }),
2150
- icon: /* @__PURE__ */ jsxRuntime.jsx(StyledCrossCircle, {}),
2144
+ icon: /* @__PURE__ */ jsxRuntime.jsx(Icons.Cross, {}),
2151
2145
  position: ["panel", "table-row"],
2152
2146
  variant: "danger",
2153
2147
  dialog: {
@@ -2175,11 +2169,6 @@ const DiscardAction = ({
2175
2169
  };
2176
2170
  };
2177
2171
  DiscardAction.type = "discard";
2178
- const StyledCrossCircle = styledComponents.styled(Icons.CrossCircle)`
2179
- path {
2180
- fill: currentColor;
2181
- }
2182
- `;
2183
2172
  const DEFAULT_ACTIONS = [PublishAction$1, UpdateAction, UnpublishAction$1, DiscardAction];
2184
2173
  const intervals = ["years", "months", "days", "hours", "minutes", "seconds"];
2185
2174
  const RelativeTime = React__namespace.forwardRef(
@@ -2564,7 +2553,7 @@ const ActionsPanel = () => {
2564
2553
  return {
2565
2554
  title: formatMessage({
2566
2555
  id: "content-manager.containers.edit.panels.default.title",
2567
- defaultMessage: "Document"
2556
+ defaultMessage: "Entry"
2568
2557
  }),
2569
2558
  content: /* @__PURE__ */ jsxRuntime.jsx(ActionsPanelContent, {})
2570
2559
  };
@@ -2808,7 +2797,8 @@ const formatEditLayout = (data, {
2808
2797
  layout: convertEditLayoutToFieldLayouts(
2809
2798
  configuration.layouts.edit,
2810
2799
  components[uid].attributes,
2811
- configuration.metadatas
2800
+ configuration.metadatas,
2801
+ { configurations: data.components, schemas: components }
2812
2802
  ),
2813
2803
  settings: {
2814
2804
  ...configuration.settings,
@@ -2965,6 +2955,7 @@ const ConfirmDialogPublishAll = ({
2965
2955
  const { _unstableFormatAPIError: formatAPIError } = strapiAdmin.useAPIErrorHandler(getTranslation);
2966
2956
  const { model, schema } = useDoc();
2967
2957
  const [{ query }] = strapiAdmin.useQueryParams();
2958
+ const enableDraftRelationsCount = false;
2968
2959
  const {
2969
2960
  data: countDraftRelations = 0,
2970
2961
  isLoading,
@@ -2976,7 +2967,7 @@ const ConfirmDialogPublishAll = ({
2976
2967
  locale: query?.plugins?.i18n?.locale
2977
2968
  },
2978
2969
  {
2979
- skip: selectedEntries.length === 0
2970
+ skip: !enableDraftRelationsCount
2980
2971
  }
2981
2972
  );
2982
2973
  React__namespace.useEffect(() => {
@@ -3161,7 +3152,7 @@ const SelectedEntriesTableContent = ({
3161
3152
  status: row.status
3162
3153
  }
3163
3154
  ) }),
3164
- /* @__PURE__ */ jsxRuntime.jsx(strapiAdmin.Table.Cell, { children: /* @__PURE__ */ jsxRuntime.jsx(
3155
+ /* @__PURE__ */ jsxRuntime.jsx(strapiAdmin.Table.Cell, { children: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Flex, { children: /* @__PURE__ */ jsxRuntime.jsx(
3165
3156
  designSystem.IconButton,
3166
3157
  {
3167
3158
  tag: reactRouterDom.Link,
@@ -3184,9 +3175,10 @@ const SelectedEntriesTableContent = ({
3184
3175
  ),
3185
3176
  target: "_blank",
3186
3177
  marginLeft: "auto",
3187
- children: /* @__PURE__ */ jsxRuntime.jsx(Icons.Pencil, {})
3178
+ variant: "ghost",
3179
+ children: /* @__PURE__ */ jsxRuntime.jsx(Icons.Pencil, { width: "1.6rem", height: "1.6rem" })
3188
3180
  }
3189
- ) })
3181
+ ) }) })
3190
3182
  ] }, row.id)) })
3191
3183
  ] });
3192
3184
  };
@@ -3921,7 +3913,7 @@ const index = {
3921
3913
  app.router.addRoute({
3922
3914
  path: "content-manager/*",
3923
3915
  lazy: async () => {
3924
- const { Layout } = await Promise.resolve().then(() => require("./layout-C788OmNr.js"));
3916
+ const { Layout } = await Promise.resolve().then(() => require("./layout-DFEVG8Tc.js"));
3925
3917
  return {
3926
3918
  Component: Layout
3927
3919
  };
@@ -3938,7 +3930,7 @@ const index = {
3938
3930
  async registerTrads({ locales }) {
3939
3931
  const importedTrads = await Promise.all(
3940
3932
  locales.map((locale) => {
3941
- 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-uOUIxfcQ.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 }) => {
3933
+ 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-BVzUkPxZ.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 }) => {
3942
3934
  return {
3943
3935
  data: prefixPluginTranslations(data, PLUGIN_ID),
3944
3936
  locale
@@ -3996,4 +3988,4 @@ exports.useGetAllDocumentsQuery = useGetAllDocumentsQuery;
3996
3988
  exports.useGetContentTypeConfigurationQuery = useGetContentTypeConfigurationQuery;
3997
3989
  exports.useGetInitialDataQuery = useGetInitialDataQuery;
3998
3990
  exports.useUpdateContentTypeConfigurationMutation = useUpdateContentTypeConfigurationMutation;
3999
- //# sourceMappingURL=index-C3fJE-1-.js.map
3991
+ //# sourceMappingURL=index-BI-3Gbhi.js.map