@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
@@ -1324,7 +1324,7 @@ const useDocumentActions = () => {
|
|
1324
1324
|
};
|
1325
1325
|
};
|
1326
1326
|
const ProtectedHistoryPage = React.lazy(
|
1327
|
-
() => Promise.resolve().then(() => require("./History-
|
1327
|
+
() => Promise.resolve().then(() => require("./History-BT4w83Oa.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-
|
1340
|
+
() => Promise.resolve().then(() => require("./EditViewPage-Dk7Eaft4.js")).then((mod) => ({ default: mod.ProtectedEditViewPage }))
|
1341
1341
|
);
|
1342
1342
|
const ProtectedListViewPage = React.lazy(
|
1343
|
-
() => Promise.resolve().then(() => require("./ListViewPage-
|
1343
|
+
() => Promise.resolve().then(() => require("./ListViewPage-BvpwNur7.js")).then((mod) => ({ default: mod.ProtectedListViewPage }))
|
1344
1344
|
);
|
1345
1345
|
const ProtectedListConfiguration = React.lazy(
|
1346
|
-
() => Promise.resolve().then(() => require("./ListConfigurationPage-
|
1346
|
+
() => Promise.resolve().then(() => require("./ListConfigurationPage-CuYrMcW3.js")).then((mod) => ({
|
1347
1347
|
default: mod.ProtectedListConfiguration
|
1348
1348
|
}))
|
1349
1349
|
);
|
1350
1350
|
const ProtectedEditConfigurationPage = React.lazy(
|
1351
|
-
() => Promise.resolve().then(() => require("./EditConfigurationPage-
|
1351
|
+
() => Promise.resolve().then(() => require("./EditConfigurationPage-DValmA0m.js")).then((mod) => ({
|
1352
1352
|
default: mod.ProtectedEditConfigurationPage
|
1353
1353
|
}))
|
1354
1354
|
);
|
1355
1355
|
const ProtectedComponentConfigurationPage = React.lazy(
|
1356
|
-
() => Promise.resolve().then(() => require("./ComponentConfigurationPage-
|
1356
|
+
() => Promise.resolve().then(() => require("./ComponentConfigurationPage-DyDkPajU.js")).then((mod) => ({
|
1357
1357
|
default: mod.ProtectedComponentConfigurationPage
|
1358
1358
|
}))
|
1359
1359
|
);
|
1360
1360
|
const NoPermissions = React.lazy(
|
1361
|
-
() => Promise.resolve().then(() => require("./NoPermissionsPage-
|
1361
|
+
() => Promise.resolve().then(() => require("./NoPermissionsPage-C_vGRo8Q.js")).then((mod) => ({ default: mod.NoPermissions }))
|
1362
1362
|
);
|
1363
1363
|
const NoContentType = React.lazy(
|
1364
|
-
() => Promise.resolve().then(() => require("./NoContentTypePage-
|
1364
|
+
() => Promise.resolve().then(() => require("./NoContentTypePage-UqEiWKkM.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
|
-
|
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,
|
@@ -1845,7 +1840,8 @@ const PublishAction$1 = ({
|
|
1845
1840
|
}
|
1846
1841
|
};
|
1847
1842
|
const totalDraftRelations = localCountOfDraftRelations + serverCountOfDraftRelations;
|
1848
|
-
const
|
1843
|
+
const enableDraftRelationsCount = false;
|
1844
|
+
const hasDraftRelations = enableDraftRelationsCount;
|
1849
1845
|
return {
|
1850
1846
|
/**
|
1851
1847
|
* Disabled when:
|
@@ -1862,9 +1858,6 @@ const PublishAction$1 = ({
|
|
1862
1858
|
defaultMessage: "Publish"
|
1863
1859
|
}),
|
1864
1860
|
onClick: async () => {
|
1865
|
-
if (hasDraftRelations) {
|
1866
|
-
return;
|
1867
|
-
}
|
1868
1861
|
await performPublish();
|
1869
1862
|
},
|
1870
1863
|
dialog: hasDraftRelations ? {
|
@@ -2965,6 +2958,7 @@ const ConfirmDialogPublishAll = ({
|
|
2965
2958
|
const { _unstableFormatAPIError: formatAPIError } = strapiAdmin.useAPIErrorHandler(getTranslation);
|
2966
2959
|
const { model, schema } = useDoc();
|
2967
2960
|
const [{ query }] = strapiAdmin.useQueryParams();
|
2961
|
+
const enableDraftRelationsCount = false;
|
2968
2962
|
const {
|
2969
2963
|
data: countDraftRelations = 0,
|
2970
2964
|
isLoading,
|
@@ -2976,7 +2970,7 @@ const ConfirmDialogPublishAll = ({
|
|
2976
2970
|
locale: query?.plugins?.i18n?.locale
|
2977
2971
|
},
|
2978
2972
|
{
|
2979
|
-
skip:
|
2973
|
+
skip: !enableDraftRelationsCount
|
2980
2974
|
}
|
2981
2975
|
);
|
2982
2976
|
React__namespace.useEffect(() => {
|
@@ -3161,7 +3155,7 @@ const SelectedEntriesTableContent = ({
|
|
3161
3155
|
status: row.status
|
3162
3156
|
}
|
3163
3157
|
) }),
|
3164
|
-
/* @__PURE__ */ jsxRuntime.jsx(strapiAdmin.Table.Cell, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
3158
|
+
/* @__PURE__ */ jsxRuntime.jsx(strapiAdmin.Table.Cell, { children: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Flex, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
3165
3159
|
designSystem.IconButton,
|
3166
3160
|
{
|
3167
3161
|
tag: reactRouterDom.Link,
|
@@ -3184,9 +3178,10 @@ const SelectedEntriesTableContent = ({
|
|
3184
3178
|
),
|
3185
3179
|
target: "_blank",
|
3186
3180
|
marginLeft: "auto",
|
3187
|
-
|
3181
|
+
variant: "ghost",
|
3182
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(Icons.Pencil, { width: "1.6rem", height: "1.6rem" })
|
3188
3183
|
}
|
3189
|
-
) })
|
3184
|
+
) }) })
|
3190
3185
|
] }, row.id)) })
|
3191
3186
|
] });
|
3192
3187
|
};
|
@@ -3921,7 +3916,7 @@ const index = {
|
|
3921
3916
|
app.router.addRoute({
|
3922
3917
|
path: "content-manager/*",
|
3923
3918
|
lazy: async () => {
|
3924
|
-
const { Layout } = await Promise.resolve().then(() => require("./layout-
|
3919
|
+
const { Layout } = await Promise.resolve().then(() => require("./layout-kfu5Wtix.js"));
|
3925
3920
|
return {
|
3926
3921
|
Component: Layout
|
3927
3922
|
};
|
@@ -3938,7 +3933,7 @@ const index = {
|
|
3938
3933
|
async registerTrads({ locales }) {
|
3939
3934
|
const importedTrads = await Promise.all(
|
3940
3935
|
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-
|
3936
|
+
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-otD_UBJi.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
3937
|
return {
|
3943
3938
|
data: prefixPluginTranslations(data, PLUGIN_ID),
|
3944
3939
|
locale
|
@@ -3996,4 +3991,4 @@ exports.useGetAllDocumentsQuery = useGetAllDocumentsQuery;
|
|
3996
3991
|
exports.useGetContentTypeConfigurationQuery = useGetContentTypeConfigurationQuery;
|
3997
3992
|
exports.useGetInitialDataQuery = useGetInitialDataQuery;
|
3998
3993
|
exports.useUpdateContentTypeConfigurationMutation = useUpdateContentTypeConfigurationMutation;
|
3999
|
-
//# sourceMappingURL=index-
|
3994
|
+
//# sourceMappingURL=index-D9UmmBcM.js.map
|