@strapi/content-manager 0.0.0-experimental.d834c9e658d1fb037e6da1105150593521c667cc → 0.0.0-experimental.da85533897155e719d784f0271223c866d2f69ab
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.
- package/dist/_chunks/{ComponentConfigurationPage-qemkOlnj.mjs → ComponentConfigurationPage-9lRmRdIr.mjs} +3 -3
- package/dist/_chunks/{ComponentConfigurationPage-qemkOlnj.mjs.map → ComponentConfigurationPage-9lRmRdIr.mjs.map} +1 -1
- package/dist/_chunks/{ComponentConfigurationPage-D_M8iBw5.js → ComponentConfigurationPage-DyDkPajU.js} +3 -3
- package/dist/_chunks/{ComponentConfigurationPage-D_M8iBw5.js.map → ComponentConfigurationPage-DyDkPajU.js.map} +1 -1
- package/dist/_chunks/{EditConfigurationPage-CjUrEewK.mjs → EditConfigurationPage-Bk893vVY.mjs} +3 -3
- package/dist/_chunks/{EditConfigurationPage-CjUrEewK.mjs.map → EditConfigurationPage-Bk893vVY.mjs.map} +1 -1
- package/dist/_chunks/{EditConfigurationPage-BePwPuHy.js → EditConfigurationPage-DValmA0m.js} +3 -3
- package/dist/_chunks/{EditConfigurationPage-BePwPuHy.js.map → EditConfigurationPage-DValmA0m.js.map} +1 -1
- package/dist/_chunks/{EditViewPage-De8GyU8P.mjs → EditViewPage-DiNFdFqP.mjs} +3 -3
- package/dist/_chunks/{EditViewPage-De8GyU8P.mjs.map → EditViewPage-DiNFdFqP.mjs.map} +1 -1
- package/dist/_chunks/{EditViewPage-B-RJeiJD.js → EditViewPage-Dk7Eaft4.js} +3 -3
- package/dist/_chunks/{EditViewPage-B-RJeiJD.js.map → EditViewPage-Dk7Eaft4.js.map} +1 -1
- package/dist/_chunks/{Field-dq8Tg1M_.js → Field-DH2OaqUP.js} +17 -45
- package/dist/_chunks/Field-DH2OaqUP.js.map +1 -0
- package/dist/_chunks/{Field-pb2o8uBe.mjs → Field-Dv_HTFTa.mjs} +17 -45
- package/dist/_chunks/Field-Dv_HTFTa.mjs.map +1 -0
- package/dist/_chunks/{Form-DGIf4jQU.js → Form-B_dUDizM.js} +2 -2
- package/dist/_chunks/{Form-DGIf4jQU.js.map → Form-B_dUDizM.js.map} +1 -1
- package/dist/_chunks/{Form-DJn0Dxha.mjs → Form-Dy6P4HgH.mjs} +2 -2
- package/dist/_chunks/{Form-DJn0Dxha.mjs.map → Form-Dy6P4HgH.mjs.map} +1 -1
- package/dist/_chunks/{History-Dh2NEHnR.js → History-BT4w83Oa.js} +4 -4
- package/dist/_chunks/{History-Dh2NEHnR.js.map → History-BT4w83Oa.js.map} +1 -1
- package/dist/_chunks/{History-BowL3JKP.mjs → History-DrwsD1Vc.mjs} +4 -4
- package/dist/_chunks/{History-BowL3JKP.mjs.map → History-DrwsD1Vc.mjs.map} +1 -1
- package/dist/_chunks/{ListConfigurationPage-BpVOB-hn.mjs → ListConfigurationPage-BxIP0jRy.mjs} +2 -2
- package/dist/_chunks/{ListConfigurationPage-BpVOB-hn.mjs.map → ListConfigurationPage-BxIP0jRy.mjs.map} +1 -1
- package/dist/_chunks/{ListConfigurationPage-BxYCWz9e.js → ListConfigurationPage-CuYrMcW3.js} +2 -2
- package/dist/_chunks/{ListConfigurationPage-BxYCWz9e.js.map → ListConfigurationPage-CuYrMcW3.js.map} +1 -1
- package/dist/_chunks/{ListViewPage-CXFUjZQC.mjs → ListViewPage-5a1vw-OK.mjs} +21 -29
- package/dist/_chunks/ListViewPage-5a1vw-OK.mjs.map +1 -0
- package/dist/_chunks/{ListViewPage-4XsciqHZ.js → ListViewPage-BvpwNur7.js} +20 -28
- package/dist/_chunks/ListViewPage-BvpwNur7.js.map +1 -0
- package/dist/_chunks/{NoContentTypePage-DuhOTp3x.mjs → NoContentTypePage-Bm6tRcd3.mjs} +2 -2
- package/dist/_chunks/{NoContentTypePage-DuhOTp3x.mjs.map → NoContentTypePage-Bm6tRcd3.mjs.map} +1 -1
- package/dist/_chunks/{NoContentTypePage-C8OpoHeU.js → NoContentTypePage-UqEiWKkM.js} +2 -2
- package/dist/_chunks/{NoContentTypePage-C8OpoHeU.js.map → NoContentTypePage-UqEiWKkM.js.map} +1 -1
- package/dist/_chunks/{NoPermissionsPage-DVz3mzDz.mjs → NoPermissionsPage-BHPqn_tQ.mjs} +2 -2
- package/dist/_chunks/{NoPermissionsPage-DVz3mzDz.mjs.map → NoPermissionsPage-BHPqn_tQ.mjs.map} +1 -1
- package/dist/_chunks/{NoPermissionsPage-y_r7DVA2.js → NoPermissionsPage-C_vGRo8Q.js} +2 -2
- package/dist/_chunks/{NoPermissionsPage-y_r7DVA2.js.map → NoPermissionsPage-C_vGRo8Q.js.map} +1 -1
- package/dist/_chunks/{Relations-CVNLrn1Y.mjs → Relations-C7fPyh5P.mjs} +3 -3
- package/dist/_chunks/{Relations-CVNLrn1Y.mjs.map → Relations-C7fPyh5P.mjs.map} +1 -1
- package/dist/_chunks/{Relations-DPFCAa7b.js → Relations-CznVF6LS.js} +3 -3
- package/dist/_chunks/{Relations-DPFCAa7b.js.map → Relations-CznVF6LS.js.map} +1 -1
- package/dist/_chunks/{en-BrCTWlZv.mjs → en-CbaIuYoB.mjs} +2 -2
- package/dist/_chunks/{en-BrCTWlZv.mjs.map → en-CbaIuYoB.mjs.map} +1 -1
- package/dist/_chunks/{en-uOUIxfcQ.js → en-otD_UBJi.js} +2 -2
- package/dist/_chunks/{en-uOUIxfcQ.js.map → en-otD_UBJi.js.map} +1 -1
- package/dist/_chunks/{index-DiMrfcfy.mjs → index-BJ6uTqLL.mjs} +21 -26
- package/dist/_chunks/index-BJ6uTqLL.mjs.map +1 -0
- package/dist/_chunks/{index-C3fJE-1-.js → index-D9UmmBcM.js} +20 -25
- package/dist/_chunks/index-D9UmmBcM.js.map +1 -0
- package/dist/_chunks/{layout-C788OmNr.js → layout-kfu5Wtix.js} +3 -3
- package/dist/_chunks/{layout-C788OmNr.js.map → layout-kfu5Wtix.js.map} +1 -1
- package/dist/_chunks/{layout-ls3gxfpH.mjs → layout-uomiIGbG.mjs} +3 -3
- package/dist/_chunks/{layout-ls3gxfpH.mjs.map → layout-uomiIGbG.mjs.map} +1 -1
- package/dist/_chunks/{relations-DYeotliT.js → relations-DKENrxko.js} +2 -2
- package/dist/_chunks/{relations-DYeotliT.js.map → relations-DKENrxko.js.map} +1 -1
- package/dist/_chunks/{relations-CLcOmGO0.mjs → relations-DiDufGSA.mjs} +2 -2
- package/dist/_chunks/{relations-CLcOmGO0.mjs.map → relations-DiDufGSA.mjs.map} +1 -1
- package/dist/admin/index.js +1 -1
- package/dist/admin/index.mjs +1 -1
- package/dist/admin/src/pages/EditView/components/FormInputs/Wysiwyg/WysiwygStyles.d.ts +0 -32
- package/dist/server/index.js +14 -3
- package/dist/server/index.js.map +1 -1
- package/dist/server/index.mjs +14 -3
- package/dist/server/index.mjs.map +1 -1
- package/dist/server/src/history/services/history.d.ts.map +1 -1
- package/dist/server/src/history/services/lifecycles.d.ts.map +1 -1
- package/dist/server/src/history/services/utils.d.ts +1 -0
- package/dist/server/src/history/services/utils.d.ts.map +1 -1
- package/package.json +8 -8
- package/dist/_chunks/Field-dq8Tg1M_.js.map +0 -1
- package/dist/_chunks/Field-pb2o8uBe.mjs.map +0 -1
- package/dist/_chunks/ListViewPage-4XsciqHZ.js.map +0 -1
- package/dist/_chunks/ListViewPage-CXFUjZQC.mjs.map +0 -1
- package/dist/_chunks/index-C3fJE-1-.js.map +0 -1
- package/dist/_chunks/index-DiMrfcfy.mjs.map +0 -1
@@ -3,7 +3,7 @@ import { jsx, Fragment, jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useStrapiApp, createContext, useAuth, useRBAC, Page, adminApi, translatedErrors, useNotification, useAPIErrorHandler, getYupValidationErrors, useQueryParams, useTracking, useForm, BackButton, DescriptionComponentRenderer, useTable, Table } from "@strapi/admin/strapi-admin";
|
4
4
|
import * as React from "react";
|
5
5
|
import { lazy } from "react";
|
6
|
-
import {
|
6
|
+
import { Button, Menu, VisuallyHidden, Flex, Typography, Dialog, Modal, Radio, Status, Box, SingleSelect, SingleSelectOption, Loader, IconButton, Tooltip, LinkButton } from "@strapi/design-system";
|
7
7
|
import { useIntl } from "react-intl";
|
8
8
|
import { useParams, useNavigate, Navigate, useMatch, useLocation, Link, NavLink } from "react-router-dom";
|
9
9
|
import { styled } from "styled-components";
|
@@ -1303,7 +1303,7 @@ const useDocumentActions = () => {
|
|
1303
1303
|
};
|
1304
1304
|
};
|
1305
1305
|
const ProtectedHistoryPage = lazy(
|
1306
|
-
() => import("./History-
|
1306
|
+
() => import("./History-DrwsD1Vc.mjs").then((mod) => ({ default: mod.ProtectedHistoryPage }))
|
1307
1307
|
);
|
1308
1308
|
const routes$1 = [
|
1309
1309
|
{
|
@@ -1316,31 +1316,31 @@ const routes$1 = [
|
|
1316
1316
|
}
|
1317
1317
|
];
|
1318
1318
|
const ProtectedEditViewPage = lazy(
|
1319
|
-
() => import("./EditViewPage-
|
1319
|
+
() => import("./EditViewPage-DiNFdFqP.mjs").then((mod) => ({ default: mod.ProtectedEditViewPage }))
|
1320
1320
|
);
|
1321
1321
|
const ProtectedListViewPage = lazy(
|
1322
|
-
() => import("./ListViewPage-
|
1322
|
+
() => import("./ListViewPage-5a1vw-OK.mjs").then((mod) => ({ default: mod.ProtectedListViewPage }))
|
1323
1323
|
);
|
1324
1324
|
const ProtectedListConfiguration = lazy(
|
1325
|
-
() => import("./ListConfigurationPage-
|
1325
|
+
() => import("./ListConfigurationPage-BxIP0jRy.mjs").then((mod) => ({
|
1326
1326
|
default: mod.ProtectedListConfiguration
|
1327
1327
|
}))
|
1328
1328
|
);
|
1329
1329
|
const ProtectedEditConfigurationPage = lazy(
|
1330
|
-
() => import("./EditConfigurationPage-
|
1330
|
+
() => import("./EditConfigurationPage-Bk893vVY.mjs").then((mod) => ({
|
1331
1331
|
default: mod.ProtectedEditConfigurationPage
|
1332
1332
|
}))
|
1333
1333
|
);
|
1334
1334
|
const ProtectedComponentConfigurationPage = lazy(
|
1335
|
-
() => import("./ComponentConfigurationPage-
|
1335
|
+
() => import("./ComponentConfigurationPage-9lRmRdIr.mjs").then((mod) => ({
|
1336
1336
|
default: mod.ProtectedComponentConfigurationPage
|
1337
1337
|
}))
|
1338
1338
|
);
|
1339
1339
|
const NoPermissions = lazy(
|
1340
|
-
() => import("./NoPermissionsPage-
|
1340
|
+
() => import("./NoPermissionsPage-BHPqn_tQ.mjs").then((mod) => ({ default: mod.NoPermissions }))
|
1341
1341
|
);
|
1342
1342
|
const NoContentType = lazy(
|
1343
|
-
() => import("./NoContentTypePage-
|
1343
|
+
() => import("./NoContentTypePage-Bm6tRcd3.mjs").then((mod) => ({ default: mod.NoContentType }))
|
1344
1344
|
);
|
1345
1345
|
const CollectionTypePages = () => {
|
1346
1346
|
const { collectionType } = useParams();
|
@@ -1521,7 +1521,7 @@ const DocumentActionsMenu = ({
|
|
1521
1521
|
};
|
1522
1522
|
return /* @__PURE__ */ jsxs(Menu.Root, { open: isOpen, onOpenChange: setIsOpen, children: [
|
1523
1523
|
/* @__PURE__ */ jsxs(
|
1524
|
-
|
1524
|
+
Menu.Trigger,
|
1525
1525
|
{
|
1526
1526
|
disabled: isDisabled,
|
1527
1527
|
size: "S",
|
@@ -1637,11 +1637,6 @@ const convertActionVariantToIconColor = (variant = "secondary") => {
|
|
1637
1637
|
return "primary600";
|
1638
1638
|
}
|
1639
1639
|
};
|
1640
|
-
const StyledMoreButton = styled(Menu.Trigger)`
|
1641
|
-
& > span {
|
1642
|
-
display: flex;
|
1643
|
-
}
|
1644
|
-
`;
|
1645
1640
|
const DocumentActionConfirmDialog = ({
|
1646
1641
|
onClose,
|
1647
1642
|
onCancel,
|
@@ -1824,7 +1819,8 @@ const PublishAction$1 = ({
|
|
1824
1819
|
}
|
1825
1820
|
};
|
1826
1821
|
const totalDraftRelations = localCountOfDraftRelations + serverCountOfDraftRelations;
|
1827
|
-
const
|
1822
|
+
const enableDraftRelationsCount = false;
|
1823
|
+
const hasDraftRelations = enableDraftRelationsCount;
|
1828
1824
|
return {
|
1829
1825
|
/**
|
1830
1826
|
* Disabled when:
|
@@ -1841,9 +1837,6 @@ const PublishAction$1 = ({
|
|
1841
1837
|
defaultMessage: "Publish"
|
1842
1838
|
}),
|
1843
1839
|
onClick: async () => {
|
1844
|
-
if (hasDraftRelations) {
|
1845
|
-
return;
|
1846
|
-
}
|
1847
1840
|
await performPublish();
|
1848
1841
|
},
|
1849
1842
|
dialog: hasDraftRelations ? {
|
@@ -2944,6 +2937,7 @@ const ConfirmDialogPublishAll = ({
|
|
2944
2937
|
const { _unstableFormatAPIError: formatAPIError } = useAPIErrorHandler(getTranslation);
|
2945
2938
|
const { model, schema } = useDoc();
|
2946
2939
|
const [{ query }] = useQueryParams();
|
2940
|
+
const enableDraftRelationsCount = false;
|
2947
2941
|
const {
|
2948
2942
|
data: countDraftRelations = 0,
|
2949
2943
|
isLoading,
|
@@ -2955,7 +2949,7 @@ const ConfirmDialogPublishAll = ({
|
|
2955
2949
|
locale: query?.plugins?.i18n?.locale
|
2956
2950
|
},
|
2957
2951
|
{
|
2958
|
-
skip:
|
2952
|
+
skip: !enableDraftRelationsCount
|
2959
2953
|
}
|
2960
2954
|
);
|
2961
2955
|
React.useEffect(() => {
|
@@ -3140,7 +3134,7 @@ const SelectedEntriesTableContent = ({
|
|
3140
3134
|
status: row.status
|
3141
3135
|
}
|
3142
3136
|
) }),
|
3143
|
-
/* @__PURE__ */ jsx(Table.Cell, { children: /* @__PURE__ */ jsx(
|
3137
|
+
/* @__PURE__ */ jsx(Table.Cell, { children: /* @__PURE__ */ jsx(Flex, { children: /* @__PURE__ */ jsx(
|
3144
3138
|
IconButton,
|
3145
3139
|
{
|
3146
3140
|
tag: Link,
|
@@ -3163,9 +3157,10 @@ const SelectedEntriesTableContent = ({
|
|
3163
3157
|
),
|
3164
3158
|
target: "_blank",
|
3165
3159
|
marginLeft: "auto",
|
3166
|
-
|
3160
|
+
variant: "ghost",
|
3161
|
+
children: /* @__PURE__ */ jsx(Pencil, { width: "1.6rem", height: "1.6rem" })
|
3167
3162
|
}
|
3168
|
-
) })
|
3163
|
+
) }) })
|
3169
3164
|
] }, row.id)) })
|
3170
3165
|
] });
|
3171
3166
|
};
|
@@ -3900,7 +3895,7 @@ const index = {
|
|
3900
3895
|
app.router.addRoute({
|
3901
3896
|
path: "content-manager/*",
|
3902
3897
|
lazy: async () => {
|
3903
|
-
const { Layout } = await import("./layout-
|
3898
|
+
const { Layout } = await import("./layout-uomiIGbG.mjs");
|
3904
3899
|
return {
|
3905
3900
|
Component: Layout
|
3906
3901
|
};
|
@@ -3917,7 +3912,7 @@ const index = {
|
|
3917
3912
|
async registerTrads({ locales }) {
|
3918
3913
|
const importedTrads = await Promise.all(
|
3919
3914
|
locales.map((locale) => {
|
3920
|
-
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-
|
3915
|
+
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-CbaIuYoB.mjs"), "./translations/es.json": () => import("./es-CeXiYflN.mjs"), "./translations/eu.json": () => import("./eu-CdALomew.mjs"), "./translations/fr.json": () => import("./fr-CD9VFbPM.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-CtsUxOvk.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 }) => {
|
3921
3916
|
return {
|
3922
3917
|
data: prefixPluginTranslations(data, PLUGIN_ID),
|
3923
3918
|
locale
|
@@ -3977,4 +3972,4 @@ export {
|
|
3977
3972
|
capitalise as y,
|
3978
3973
|
useUpdateContentTypeConfigurationMutation as z
|
3979
3974
|
};
|
3980
|
-
//# sourceMappingURL=index-
|
3975
|
+
//# sourceMappingURL=index-BJ6uTqLL.mjs.map
|