@strapi/content-manager 0.0.0-experimental.baa6cf22298e591b4d52d8e59c60406d7a9f137f → 0.0.0-experimental.dd3311938ac827f1fa8560c8840a9a394f5896c0
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-CYqQv0ne.mjs → ComponentConfigurationPage-BMajAl1u.mjs} +3 -3
- package/dist/_chunks/{ComponentConfigurationPage-CYqQv0ne.mjs.map → ComponentConfigurationPage-BMajAl1u.mjs.map} +1 -1
- package/dist/_chunks/{ComponentConfigurationPage-DiigqkCf.js → ComponentConfigurationPage-y_7iLdmB.js} +3 -3
- package/dist/_chunks/{ComponentConfigurationPage-DiigqkCf.js.map → ComponentConfigurationPage-y_7iLdmB.js.map} +1 -1
- package/dist/_chunks/{EditConfigurationPage-BeeGw2RI.js → EditConfigurationPage-CPVB8Uqc.js} +3 -3
- package/dist/_chunks/{EditConfigurationPage-BeeGw2RI.js.map → EditConfigurationPage-CPVB8Uqc.js.map} +1 -1
- package/dist/_chunks/{EditConfigurationPage-BArY-b8_.mjs → EditConfigurationPage-CcOoD26O.mjs} +3 -3
- package/dist/_chunks/{EditConfigurationPage-BArY-b8_.mjs.map → EditConfigurationPage-CcOoD26O.mjs.map} +1 -1
- package/dist/_chunks/{EditViewPage-DZPDqo_G.js → EditViewPage-CTTDHKkQ.js} +3 -3
- package/dist/_chunks/{EditViewPage-DZPDqo_G.js.map → EditViewPage-CTTDHKkQ.js.map} +1 -1
- package/dist/_chunks/{EditViewPage-B8ETGsFo.mjs → EditViewPage-DWb0DE7R.mjs} +3 -3
- package/dist/_chunks/{EditViewPage-B8ETGsFo.mjs.map → EditViewPage-DWb0DE7R.mjs.map} +1 -1
- package/dist/_chunks/{Field-DnJMS8cB.js → Field-C5Z1Ivdv.js} +3 -3
- package/dist/_chunks/{Field-DnJMS8cB.js.map → Field-C5Z1Ivdv.js.map} +1 -1
- package/dist/_chunks/{Field-Dn4ThnFB.mjs → Field-DnStdvQw.mjs} +3 -3
- package/dist/_chunks/{Field-Dn4ThnFB.mjs.map → Field-DnStdvQw.mjs.map} +1 -1
- package/dist/_chunks/{Form-DiTmWq2k.js → Form-B81OtW-k.js} +2 -2
- package/dist/_chunks/{Form-DiTmWq2k.js.map → Form-B81OtW-k.js.map} +1 -1
- package/dist/_chunks/{Form-DY721B6y.mjs → Form-DqGgE55Q.mjs} +2 -2
- package/dist/_chunks/{Form-DY721B6y.mjs.map → Form-DqGgE55Q.mjs.map} +1 -1
- package/dist/_chunks/{History-DShoVAh0.js → History-4NbOq2dX.js} +93 -12
- package/dist/_chunks/History-4NbOq2dX.js.map +1 -0
- package/dist/_chunks/{History-CwWN_uNp.mjs → History-DS6-HCYX.mjs} +93 -12
- package/dist/_chunks/History-DS6-HCYX.mjs.map +1 -0
- package/dist/_chunks/{ListConfigurationPage-COIRGF5b.js → ListConfigurationPage-CpfstlYY.js} +2 -2
- package/dist/_chunks/{ListConfigurationPage-COIRGF5b.js.map → ListConfigurationPage-CpfstlYY.js.map} +1 -1
- package/dist/_chunks/{ListConfigurationPage-D062TiTL.mjs → ListConfigurationPage-DQJJltko.mjs} +2 -2
- package/dist/_chunks/{ListConfigurationPage-D062TiTL.mjs.map → ListConfigurationPage-DQJJltko.mjs.map} +1 -1
- package/dist/_chunks/{ListViewPage-CFuXPZ_r.js → ListViewPage-CA3I75m5.js} +16 -4
- package/dist/_chunks/ListViewPage-CA3I75m5.js.map +1 -0
- package/dist/_chunks/{ListViewPage-BeHTsIr5.mjs → ListViewPage-nQrOQuVo.mjs} +17 -5
- package/dist/_chunks/ListViewPage-nQrOQuVo.mjs.map +1 -0
- package/dist/_chunks/{NoContentTypePage-B_KLijrG.mjs → NoContentTypePage-DbnHE22g.mjs} +2 -2
- package/dist/_chunks/{NoContentTypePage-B_KLijrG.mjs.map → NoContentTypePage-DbnHE22g.mjs.map} +1 -1
- package/dist/_chunks/{NoContentTypePage-rdH0Zp0A.js → NoContentTypePage-Dldu-_Mx.js} +2 -2
- package/dist/_chunks/{NoContentTypePage-rdH0Zp0A.js.map → NoContentTypePage-Dldu-_Mx.js.map} +1 -1
- package/dist/_chunks/{NoPermissionsPage-D8gbX1Y_.js → NoPermissionsPage-CO2MK200.js} +2 -2
- package/dist/_chunks/{NoPermissionsPage-D8gbX1Y_.js.map → NoPermissionsPage-CO2MK200.js.map} +1 -1
- package/dist/_chunks/{NoPermissionsPage-BPU-v48V.mjs → NoPermissionsPage-fOIkQM0v.mjs} +2 -2
- package/dist/_chunks/{NoPermissionsPage-BPU-v48V.mjs.map → NoPermissionsPage-fOIkQM0v.mjs.map} +1 -1
- package/dist/_chunks/{Relations-Bbz90ZWv.mjs → Relations-BDRl99Ux.mjs} +3 -3
- package/dist/_chunks/{Relations-Bbz90ZWv.mjs.map → Relations-BDRl99Ux.mjs.map} +1 -1
- package/dist/_chunks/{Relations-wHyjWWT5.js → Relations-DG2jnOcr.js} +3 -3
- package/dist/_chunks/{Relations-wHyjWWT5.js.map → Relations-DG2jnOcr.js.map} +1 -1
- package/dist/_chunks/{en-Dzv55oQw.mjs → en-Ux26r5pl.mjs} +4 -1
- package/dist/_chunks/{en-Dzv55oQw.mjs.map → en-Ux26r5pl.mjs.map} +1 -1
- package/dist/_chunks/{en-BN1bvFK7.js → en-fbKQxLGn.js} +4 -1
- package/dist/_chunks/{en-BN1bvFK7.js.map → en-fbKQxLGn.js.map} +1 -1
- package/dist/_chunks/{index-BRHpg0az.js → index-BZoNZMXL.js} +45 -30
- package/dist/_chunks/index-BZoNZMXL.js.map +1 -0
- package/dist/_chunks/{index-Dv4oDn11.mjs → index-Drt2DN7v.mjs} +60 -45
- package/dist/_chunks/index-Drt2DN7v.mjs.map +1 -0
- package/dist/_chunks/{layout-hInnLBbA.mjs → layout-BzAbmoO6.mjs} +17 -12
- package/dist/_chunks/layout-BzAbmoO6.mjs.map +1 -0
- package/dist/_chunks/{layout-pZc2Q3bK.js → layout-DEYBqgF1.js} +17 -12
- package/dist/_chunks/layout-DEYBqgF1.js.map +1 -0
- package/dist/_chunks/{relations-CVE30dYt.js → relations-D0eZ4VWw.js} +2 -2
- package/dist/_chunks/{relations-CVE30dYt.js.map → relations-D0eZ4VWw.js.map} +1 -1
- package/dist/_chunks/{relations-BcPI8XhI.mjs → relations-D26zVRdi.mjs} +2 -2
- package/dist/_chunks/{relations-BcPI8XhI.mjs.map → relations-D26zVRdi.mjs.map} +1 -1
- package/dist/admin/index.js +1 -1
- package/dist/admin/index.mjs +5 -5
- package/dist/admin/src/history/components/VersionInputRenderer.d.ts +1 -1
- package/dist/server/index.js +18 -11
- package/dist/server/index.js.map +1 -1
- package/dist/server/index.mjs +18 -11
- package/dist/server/index.mjs.map +1 -1
- package/dist/server/src/controllers/collection-types.d.ts.map +1 -1
- package/dist/server/src/controllers/single-types.d.ts.map +1 -1
- package/dist/server/src/history/services/lifecycles.d.ts.map +1 -1
- package/dist/server/src/services/utils/populate.d.ts.map +1 -1
- package/package.json +6 -6
- package/dist/_chunks/History-CwWN_uNp.mjs.map +0 -1
- package/dist/_chunks/History-DShoVAh0.js.map +0 -1
- package/dist/_chunks/ListViewPage-BeHTsIr5.mjs.map +0 -1
- package/dist/_chunks/ListViewPage-CFuXPZ_r.js.map +0 -1
- package/dist/_chunks/index-BRHpg0az.js.map +0 -1
- package/dist/_chunks/index-Dv4oDn11.mjs.map +0 -1
- package/dist/_chunks/layout-hInnLBbA.mjs.map +0 -1
- package/dist/_chunks/layout-pZc2Q3bK.js.map +0 -1
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ClockCounterClockwise, CrossCircle, More, WarningCircle, ListPlus, Pencil, Trash, Check, CheckCircle, ChevronRight, Duplicate, Feather } from "@strapi/icons";
|
1
|
+
import { ClockCounterClockwise, CrossCircle, More, WarningCircle, ListPlus, Pencil, Trash, Check, CheckCircle, ArrowsCounterClockwise, ChevronRight, Duplicate, Feather } from "@strapi/icons";
|
2
2
|
import { jsx, Fragment, jsxs } from "react/jsx-runtime";
|
3
3
|
import { useStrapiApp, useQueryParams, createContext, useAuth, useRBAC, Page, adminApi, translatedErrors, useNotification, useAPIErrorHandler, getYupValidationErrors, useTracking, useForm, BackButton, DescriptionComponentRenderer, useTable, Table } from "@strapi/admin/strapi-admin";
|
4
4
|
import { stringify } from "qs";
|
@@ -927,12 +927,13 @@ const useDocumentActions = () => {
|
|
927
927
|
);
|
928
928
|
const [discardDocument] = useDiscardDocumentMutation();
|
929
929
|
const discard = React.useCallback(
|
930
|
-
async ({ collectionType, model, documentId }) => {
|
930
|
+
async ({ collectionType, model, documentId, params }) => {
|
931
931
|
try {
|
932
932
|
const res = await discardDocument({
|
933
933
|
collectionType,
|
934
934
|
model,
|
935
|
-
documentId
|
935
|
+
documentId,
|
936
|
+
params
|
936
937
|
});
|
937
938
|
if ("error" in res) {
|
938
939
|
toggleNotification({
|
@@ -1264,7 +1265,7 @@ const useDocumentActions = () => {
|
|
1264
1265
|
};
|
1265
1266
|
};
|
1266
1267
|
const ProtectedHistoryPage = lazy(
|
1267
|
-
() => import("./History-
|
1268
|
+
() => import("./History-DS6-HCYX.mjs").then((mod) => ({ default: mod.ProtectedHistoryPage }))
|
1268
1269
|
);
|
1269
1270
|
const routes$1 = [
|
1270
1271
|
{
|
@@ -1277,31 +1278,31 @@ const routes$1 = [
|
|
1277
1278
|
}
|
1278
1279
|
];
|
1279
1280
|
const ProtectedEditViewPage = lazy(
|
1280
|
-
() => import("./EditViewPage-
|
1281
|
+
() => import("./EditViewPage-DWb0DE7R.mjs").then((mod) => ({ default: mod.ProtectedEditViewPage }))
|
1281
1282
|
);
|
1282
1283
|
const ProtectedListViewPage = lazy(
|
1283
|
-
() => import("./ListViewPage-
|
1284
|
+
() => import("./ListViewPage-nQrOQuVo.mjs").then((mod) => ({ default: mod.ProtectedListViewPage }))
|
1284
1285
|
);
|
1285
1286
|
const ProtectedListConfiguration = lazy(
|
1286
|
-
() => import("./ListConfigurationPage-
|
1287
|
+
() => import("./ListConfigurationPage-DQJJltko.mjs").then((mod) => ({
|
1287
1288
|
default: mod.ProtectedListConfiguration
|
1288
1289
|
}))
|
1289
1290
|
);
|
1290
1291
|
const ProtectedEditConfigurationPage = lazy(
|
1291
|
-
() => import("./EditConfigurationPage-
|
1292
|
+
() => import("./EditConfigurationPage-CcOoD26O.mjs").then((mod) => ({
|
1292
1293
|
default: mod.ProtectedEditConfigurationPage
|
1293
1294
|
}))
|
1294
1295
|
);
|
1295
1296
|
const ProtectedComponentConfigurationPage = lazy(
|
1296
|
-
() => import("./ComponentConfigurationPage-
|
1297
|
+
() => import("./ComponentConfigurationPage-BMajAl1u.mjs").then((mod) => ({
|
1297
1298
|
default: mod.ProtectedComponentConfigurationPage
|
1298
1299
|
}))
|
1299
1300
|
);
|
1300
1301
|
const NoPermissions = lazy(
|
1301
|
-
() => import("./NoPermissionsPage-
|
1302
|
+
() => import("./NoPermissionsPage-fOIkQM0v.mjs").then((mod) => ({ default: mod.NoPermissions }))
|
1302
1303
|
);
|
1303
1304
|
const NoContentType = lazy(
|
1304
|
-
() => import("./NoContentTypePage-
|
1305
|
+
() => import("./NoContentTypePage-DbnHE22g.mjs").then((mod) => ({ default: mod.NoContentType }))
|
1305
1306
|
);
|
1306
1307
|
const CollectionTypePages = () => {
|
1307
1308
|
const { collectionType } = useParams();
|
@@ -2883,7 +2884,7 @@ const ConfirmDialogPublishAll = ({
|
|
2883
2884
|
defaultMessage: "Are you sure you want to publish these entries?"
|
2884
2885
|
})
|
2885
2886
|
] }),
|
2886
|
-
schema?.pluginOptions && "i18n" in schema.pluginOptions && schema?.pluginOptions.i18n && /* @__PURE__ */ jsx(Typography, { textColor: "danger500", children: formatMessage(
|
2887
|
+
schema?.pluginOptions && "i18n" in schema.pluginOptions && schema?.pluginOptions.i18n && /* @__PURE__ */ jsx(Typography, { textColor: "danger500", textAlign: "center", children: formatMessage(
|
2887
2888
|
{
|
2888
2889
|
id: getTranslation("Settings.list.actions.publishAdditionalInfos"),
|
2889
2890
|
defaultMessage: "This will publish the active locale versions <em>(from Internationalization)</em>"
|
@@ -2930,14 +2931,21 @@ const formatErrorMessages = (errors, parentKey, formatMessage) => {
|
|
2930
2931
|
} else {
|
2931
2932
|
messages.push(...formatErrorMessages(value, currentKey, formatMessage));
|
2932
2933
|
}
|
2934
|
+
} else {
|
2935
|
+
messages.push(
|
2936
|
+
formatMessage(
|
2937
|
+
{
|
2938
|
+
id: `${value}.withField`,
|
2939
|
+
defaultMessage: value
|
2940
|
+
},
|
2941
|
+
{ field: currentKey }
|
2942
|
+
)
|
2943
|
+
);
|
2933
2944
|
}
|
2934
2945
|
});
|
2935
2946
|
return messages;
|
2936
2947
|
};
|
2937
|
-
const EntryValidationText = ({
|
2938
|
-
validationErrors,
|
2939
|
-
isPublished = false
|
2940
|
-
}) => {
|
2948
|
+
const EntryValidationText = ({ validationErrors, status }) => {
|
2941
2949
|
const { formatMessage } = useIntl();
|
2942
2950
|
if (validationErrors) {
|
2943
2951
|
const validationErrorsMessages = formatErrorMessages(validationErrors, "", formatMessage).join(
|
@@ -2948,7 +2956,7 @@ const EntryValidationText = ({
|
|
2948
2956
|
/* @__PURE__ */ jsx(Tooltip, { description: validationErrorsMessages, children: /* @__PURE__ */ jsx(TypographyMaxWidth, { textColor: "danger600", variant: "omega", fontWeight: "semiBold", ellipsis: true, children: validationErrorsMessages }) })
|
2949
2957
|
] });
|
2950
2958
|
}
|
2951
|
-
if (
|
2959
|
+
if (status === "published") {
|
2952
2960
|
return /* @__PURE__ */ jsxs(Flex, { gap: 2, children: [
|
2953
2961
|
/* @__PURE__ */ jsx(CheckCircle, { fill: "success600" }),
|
2954
2962
|
/* @__PURE__ */ jsx(Typography, { textColor: "success600", fontWeight: "bold", children: formatMessage({
|
@@ -2957,6 +2965,15 @@ const EntryValidationText = ({
|
|
2957
2965
|
}) })
|
2958
2966
|
] });
|
2959
2967
|
}
|
2968
|
+
if (status === "modified") {
|
2969
|
+
return /* @__PURE__ */ jsxs(Flex, { gap: 2, children: [
|
2970
|
+
/* @__PURE__ */ jsx(ArrowsCounterClockwise, { fill: "alternative600" }),
|
2971
|
+
/* @__PURE__ */ jsx(Typography, { children: formatMessage({
|
2972
|
+
id: "content-manager.bulk-publish.modified",
|
2973
|
+
defaultMessage: "Ready to publish changes"
|
2974
|
+
}) })
|
2975
|
+
] });
|
2976
|
+
}
|
2960
2977
|
return /* @__PURE__ */ jsxs(Flex, { gap: 2, children: [
|
2961
2978
|
/* @__PURE__ */ jsx(CheckCircle, { fill: "success600" }),
|
2962
2979
|
/* @__PURE__ */ jsx(Typography, { children: formatMessage({
|
@@ -3008,7 +3025,7 @@ const SelectedEntriesTableContent = ({
|
|
3008
3025
|
EntryValidationText,
|
3009
3026
|
{
|
3010
3027
|
validationErrors: validationErrors[row.documentId],
|
3011
|
-
|
3028
|
+
status: row.status
|
3012
3029
|
}
|
3013
3030
|
) }),
|
3014
3031
|
/* @__PURE__ */ jsx(Table.Cell, { children: /* @__PURE__ */ jsx(
|
@@ -3097,18 +3114,16 @@ const SelectedEntriesModalContent = ({
|
|
3097
3114
|
const [isDialogOpen, setIsDialogOpen] = React.useState(false);
|
3098
3115
|
const { publishMany: bulkPublishAction } = useDocumentActions();
|
3099
3116
|
const [, { isLoading: isSubmittingForm }] = usePublishManyDocumentsMutation();
|
3100
|
-
const
|
3101
|
-
const
|
3102
|
-
|
3103
|
-
|
3104
|
-
|
3105
|
-
return acc;
|
3106
|
-
}, []);
|
3117
|
+
const selectedRows = useTable("publishAction", (state) => state.selectedRows);
|
3118
|
+
const selectedEntries = rows.filter(
|
3119
|
+
(entry) => selectedRows.some((selectedEntry) => selectedEntry.documentId === entry.documentId)
|
3120
|
+
);
|
3121
|
+
const entriesToPublish = selectedEntries.filter((entry) => !validationErrors[entry.documentId]).map((entry) => entry.documentId);
|
3107
3122
|
const selectedEntriesWithErrorsCount = selectedEntries.filter(
|
3108
3123
|
({ documentId }) => validationErrors[documentId]
|
3109
3124
|
).length;
|
3110
3125
|
const selectedEntriesPublished = selectedEntries.filter(
|
3111
|
-
({
|
3126
|
+
({ status }) => status === "published"
|
3112
3127
|
).length;
|
3113
3128
|
const selectedEntriesWithNoErrorsCount = selectedEntries.length - selectedEntriesWithErrorsCount - selectedEntriesPublished;
|
3114
3129
|
const toggleDialog = () => setIsDialogOpen((prev) => !prev);
|
@@ -3176,7 +3191,7 @@ const SelectedEntriesModalContent = ({
|
|
3176
3191
|
Button,
|
3177
3192
|
{
|
3178
3193
|
onClick: toggleDialog,
|
3179
|
-
disabled: selectedEntries.length === 0 || selectedEntries.length === selectedEntriesWithErrorsCount || isLoading,
|
3194
|
+
disabled: selectedEntries.length === 0 || selectedEntries.length === selectedEntriesWithErrorsCount || selectedEntriesPublished === selectedEntries.length || isLoading,
|
3180
3195
|
loading: isSubmittingForm,
|
3181
3196
|
children: formatMessage({ id: "app.utils.publish", defaultMessage: "Publish" })
|
3182
3197
|
}
|
@@ -3453,7 +3468,7 @@ const UnpublishAction = ({ documents, model }) => {
|
|
3453
3468
|
selectRow([]);
|
3454
3469
|
}
|
3455
3470
|
};
|
3456
|
-
const showUnpublishButton = hasDraftAndPublishEnabled && hasPublishPermission && documents.some((entry) => entry.status === "published");
|
3471
|
+
const showUnpublishButton = hasDraftAndPublishEnabled && hasPublishPermission && documents.some((entry) => entry.status === "published" || entry.status === "modified");
|
3457
3472
|
if (!showUnpublishButton)
|
3458
3473
|
return null;
|
3459
3474
|
return {
|
@@ -3851,7 +3866,7 @@ const index = {
|
|
3851
3866
|
defaultMessage: "Content Manager"
|
3852
3867
|
},
|
3853
3868
|
permissions: [],
|
3854
|
-
Component: () => import("./layout-
|
3869
|
+
Component: () => import("./layout-BzAbmoO6.mjs").then((mod) => ({ default: mod.Layout })),
|
3855
3870
|
position: 1
|
3856
3871
|
});
|
3857
3872
|
app.registerPlugin(cm.config);
|
@@ -3859,7 +3874,7 @@ const index = {
|
|
3859
3874
|
async registerTrads({ locales }) {
|
3860
3875
|
const importedTrads = await Promise.all(
|
3861
3876
|
locales.map((locale) => {
|
3862
|
-
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-
|
3877
|
+
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-Ux26r5pl.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 }) => {
|
3863
3878
|
return {
|
3864
3879
|
data: prefixPluginTranslations(data, PLUGIN_ID),
|
3865
3880
|
locale
|
@@ -3892,31 +3907,31 @@ export {
|
|
3892
3907
|
RelativeTime as R,
|
3893
3908
|
SINGLE_TYPES as S,
|
3894
3909
|
TableActions as T,
|
3895
|
-
|
3896
|
-
|
3897
|
-
|
3898
|
-
|
3899
|
-
|
3900
|
-
|
3910
|
+
useGetInitialDataQuery as a,
|
3911
|
+
useGetAllContentTypeSettingsQuery as b,
|
3912
|
+
useDoc as c,
|
3913
|
+
buildValidParams as d,
|
3914
|
+
contentManagerApi as e,
|
3915
|
+
useDocumentRBAC as f,
|
3901
3916
|
getTranslation as g,
|
3902
|
-
|
3903
|
-
|
3904
|
-
|
3905
|
-
|
3906
|
-
|
3907
|
-
|
3908
|
-
|
3917
|
+
useDocumentLayout as h,
|
3918
|
+
createYupSchema as i,
|
3919
|
+
Header as j,
|
3920
|
+
PERMISSIONS as k,
|
3921
|
+
DocumentRBAC as l,
|
3922
|
+
DOCUMENT_META_FIELDS as m,
|
3923
|
+
useDocLayout as n,
|
3909
3924
|
useGetContentTypeConfigurationQuery as o,
|
3910
3925
|
CREATOR_FIELDS as p,
|
3911
3926
|
getMainField as q,
|
3912
3927
|
routes as r,
|
3913
3928
|
setInitialData as s,
|
3914
3929
|
getDisplayName as t,
|
3915
|
-
|
3930
|
+
useContentTypeSchema as u,
|
3916
3931
|
checkIfAttributeIsDisplayable as v,
|
3917
3932
|
useGetAllDocumentsQuery as w,
|
3918
3933
|
convertListLayoutToFieldLayouts as x,
|
3919
3934
|
capitalise as y,
|
3920
3935
|
useUpdateContentTypeConfigurationMutation as z
|
3921
3936
|
};
|
3922
|
-
//# sourceMappingURL=index-
|
3937
|
+
//# sourceMappingURL=index-Drt2DN7v.mjs.map
|