@strapi/content-manager 0.0.0-next.185e16fdc3e6f1895610ab73932bc3f044bb59e9 → 0.0.0-next.2dcec09530c87d7b3b453630c2d76a967476338d
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/CardDragPreview-C0QyJgRA.js.map +1 -1
- package/dist/_chunks/CardDragPreview-DOxamsuj.mjs.map +1 -1
- package/dist/_chunks/{ComponentConfigurationPage-CBRYXx1V.mjs → ComponentConfigurationPage-BRpuqCO2.mjs} +3 -3
- package/dist/_chunks/{ComponentConfigurationPage-CBRYXx1V.mjs.map → ComponentConfigurationPage-BRpuqCO2.mjs.map} +1 -1
- package/dist/_chunks/{ComponentConfigurationPage-BH5297nw.js → ComponentConfigurationPage-BXIWJOkp.js} +4 -5
- package/dist/_chunks/{ComponentConfigurationPage-BH5297nw.js.map → ComponentConfigurationPage-BXIWJOkp.js.map} +1 -1
- package/dist/_chunks/{ComponentIcon-BXdiCGQp.js → ComponentIcon-CRbtQEUV.js} +2 -3
- package/dist/_chunks/{ComponentIcon-BXdiCGQp.js.map → ComponentIcon-CRbtQEUV.js.map} +1 -1
- package/dist/_chunks/ComponentIcon-u4bIXTFY.mjs.map +1 -1
- package/dist/_chunks/{EditConfigurationPage-CKkb0EW6.js → EditConfigurationPage-BIyaNgiu.js} +4 -5
- package/dist/_chunks/{EditConfigurationPage-CKkb0EW6.js.map → EditConfigurationPage-BIyaNgiu.js.map} +1 -1
- package/dist/_chunks/{EditConfigurationPage-DCFTHMFy.mjs → EditConfigurationPage-CK_3d9D1.mjs} +3 -3
- package/dist/_chunks/{EditConfigurationPage-DCFTHMFy.mjs.map → EditConfigurationPage-CK_3d9D1.mjs.map} +1 -1
- package/dist/_chunks/{EditViewPage-B7qtO55B.mjs → EditViewPage-D_YtFeQf.mjs} +3 -3
- package/dist/_chunks/{EditViewPage-B7qtO55B.mjs.map → EditViewPage-D_YtFeQf.mjs.map} +1 -1
- package/dist/_chunks/{EditViewPage-CtYyxyPW.js → EditViewPage-G_rDXQB6.js} +4 -5
- package/dist/_chunks/{EditViewPage-CtYyxyPW.js.map → EditViewPage-G_rDXQB6.js.map} +1 -1
- package/dist/_chunks/{Field-BMv9ud3N.mjs → Field-DbKNY11A.mjs} +25 -44
- package/dist/_chunks/Field-DbKNY11A.mjs.map +1 -0
- package/dist/_chunks/{Field-oqDBIPId.js → Field-DkB0mrLn.js} +27 -47
- package/dist/_chunks/Field-DkB0mrLn.js.map +1 -0
- package/dist/_chunks/FieldTypeIcon-CMlNO8PE.mjs.map +1 -1
- package/dist/_chunks/FieldTypeIcon-Dnwq_IRF.js.map +1 -1
- package/dist/_chunks/{Form-Drwa2T5R.mjs → Form-BqFnTO7j.mjs} +3 -3
- package/dist/_chunks/{Form-Drwa2T5R.mjs.map → Form-BqFnTO7j.mjs.map} +1 -1
- package/dist/_chunks/{Form-BtsYj5GQ.js → Form-rj1Lhzth.js} +5 -6
- package/dist/_chunks/{Form-BtsYj5GQ.js.map → Form-rj1Lhzth.js.map} +1 -1
- package/dist/_chunks/{History-CxGvvWhH.js → History-BkcR8j3W.js} +5 -6
- package/dist/_chunks/{History-CxGvvWhH.js.map → History-BkcR8j3W.js.map} +1 -1
- package/dist/_chunks/{History-dUA1IWvK.mjs → History-By_Dt8Ic.mjs} +4 -4
- package/dist/_chunks/{History-dUA1IWvK.mjs.map → History-By_Dt8Ic.mjs.map} +1 -1
- package/dist/_chunks/{ListConfigurationPage-fJRHoZ-W.js → ListConfigurationPage-B2F3iLSN.js} +4 -5
- package/dist/_chunks/{ListConfigurationPage-fJRHoZ-W.js.map → ListConfigurationPage-B2F3iLSN.js.map} +1 -1
- package/dist/_chunks/{ListConfigurationPage-C-dzvcr-.mjs → ListConfigurationPage-BKuvGTnq.mjs} +3 -3
- package/dist/_chunks/{ListConfigurationPage-C-dzvcr-.mjs.map → ListConfigurationPage-BKuvGTnq.mjs.map} +1 -1
- package/dist/_chunks/{ListViewPage-Dq1Q0T3K.mjs → ListViewPage--tbvSafE.mjs} +4 -15
- package/dist/_chunks/{ListViewPage-Dq1Q0T3K.mjs.map → ListViewPage--tbvSafE.mjs.map} +1 -1
- package/dist/_chunks/{ListViewPage-BjPkVAd6.js → ListViewPage-C3Z_WX-I.js} +5 -17
- package/dist/_chunks/ListViewPage-C3Z_WX-I.js.map +1 -0
- package/dist/_chunks/{NoContentTypePage-DoosCI8K.js → NoContentTypePage-BR5_n0mp.js} +2 -2
- package/dist/_chunks/{NoContentTypePage-DoosCI8K.js.map → NoContentTypePage-BR5_n0mp.js.map} +1 -1
- package/dist/_chunks/{NoContentTypePage-B2qw4pa9.mjs → NoContentTypePage-C6Vge6Lk.mjs} +2 -2
- package/dist/_chunks/{NoContentTypePage-B2qw4pa9.mjs.map → NoContentTypePage-C6Vge6Lk.mjs.map} +1 -1
- package/dist/_chunks/{NoPermissionsPage-BthC4KSZ.mjs → NoPermissionsPage-DeZjpGiX.mjs} +2 -2
- package/dist/_chunks/{NoPermissionsPage-BthC4KSZ.mjs.map → NoPermissionsPage-DeZjpGiX.mjs.map} +1 -1
- package/dist/_chunks/{NoPermissionsPage-Eb2ZWoy6.js → NoPermissionsPage-OrFm1kPU.js} +2 -2
- package/dist/_chunks/{NoPermissionsPage-Eb2ZWoy6.js.map → NoPermissionsPage-OrFm1kPU.js.map} +1 -1
- package/dist/_chunks/{Preview-kpxJkIOq.mjs → Preview-CS4KH49a.mjs} +3 -3
- package/dist/_chunks/{Preview-kpxJkIOq.mjs.map → Preview-CS4KH49a.mjs.map} +1 -1
- package/dist/_chunks/{Preview-DAZ8xXys.js → Preview-DiUzYyBe.js} +4 -5
- package/dist/_chunks/{Preview-DAZ8xXys.js.map → Preview-DiUzYyBe.js.map} +1 -1
- package/dist/_chunks/{Relations-BVKe5d6m.mjs → Relations-CLmySGRe.mjs} +6 -8
- package/dist/_chunks/{Relations-BVKe5d6m.mjs.map → Relations-CLmySGRe.mjs.map} +1 -1
- package/dist/_chunks/{Relations-30DATMsp.js → Relations-D1GMLvGT.js} +7 -10
- package/dist/_chunks/{Relations-30DATMsp.js.map → Relations-D1GMLvGT.js.map} +1 -1
- package/dist/_chunks/{en-Ic0kXjxB.js → en-BK8Xyl5I.js} +2 -1
- package/dist/_chunks/{en-Ic0kXjxB.js.map → en-BK8Xyl5I.js.map} +1 -1
- package/dist/_chunks/{en-DhFUjrNW.mjs → en-Dtk_ot79.mjs} +2 -1
- package/dist/_chunks/{en-DhFUjrNW.mjs.map → en-Dtk_ot79.mjs.map} +1 -1
- package/dist/_chunks/hooks-BAaaKPS_.js.map +1 -1
- package/dist/_chunks/{index-CliQLPIn.js → index-DWW8Uk8g.js} +191 -122
- package/dist/_chunks/index-DWW8Uk8g.js.map +1 -0
- package/dist/_chunks/{index-C-rEZYIo.mjs → index-OUqkGrKe.mjs} +190 -120
- package/dist/_chunks/index-OUqkGrKe.mjs.map +1 -0
- package/dist/_chunks/{layout-Cc0Kovb9.mjs → layout-Chxcrwu3.mjs} +4 -4
- package/dist/_chunks/{layout-Cc0Kovb9.mjs.map → layout-Chxcrwu3.mjs.map} +1 -1
- package/dist/_chunks/{layout-Ap9UjC0q.js → layout-DSlB2Oox.js} +5 -6
- package/dist/_chunks/{layout-Ap9UjC0q.js.map → layout-DSlB2Oox.js.map} +1 -1
- package/dist/_chunks/objects-BcXOv6_9.js.map +1 -1
- package/dist/_chunks/objects-D6yBsdmx.mjs.map +1 -1
- package/dist/_chunks/{relations-Quzh1sDm.js → relations-B8DGfIFQ.js} +2 -2
- package/dist/_chunks/{relations-Quzh1sDm.js.map → relations-B8DGfIFQ.js.map} +1 -1
- package/dist/_chunks/{relations-CMPpsYC4.mjs → relations-Dom2NHwd.mjs} +2 -2
- package/dist/_chunks/{relations-CMPpsYC4.mjs.map → relations-Dom2NHwd.mjs.map} +1 -1
- package/dist/_chunks/useDebounce-CtcjDB3L.js.map +1 -1
- package/dist/_chunks/useDebounce-DmuSJIF3.mjs.map +1 -1
- package/dist/_chunks/{useDragAndDrop-J0TUUbR6.js → useDragAndDrop-BMtgCYzL.js} +5 -9
- package/dist/_chunks/{useDragAndDrop-J0TUUbR6.js.map → useDragAndDrop-BMtgCYzL.js.map} +1 -1
- package/dist/_chunks/{useDragAndDrop-DdHgKsqq.mjs → useDragAndDrop-DJ6jqvZN.mjs} +4 -7
- package/dist/_chunks/{useDragAndDrop-DdHgKsqq.mjs.map → useDragAndDrop-DJ6jqvZN.mjs.map} +1 -1
- package/dist/admin/index.js +1 -1
- package/dist/admin/index.mjs +1 -1
- package/dist/admin/src/content-manager.d.ts +3 -2
- package/dist/admin/src/pages/EditView/components/DocumentActions.d.ts +1 -1
- package/dist/admin/src/services/documents.d.ts +0 -3
- package/dist/server/index.js +18 -36
- package/dist/server/index.js.map +1 -1
- package/dist/server/index.mjs +17 -34
- package/dist/server/index.mjs.map +1 -1
- package/package.json +9 -9
- package/dist/_chunks/Field-BMv9ud3N.mjs.map +0 -1
- package/dist/_chunks/Field-oqDBIPId.js.map +0 -1
- package/dist/_chunks/ListViewPage-BjPkVAd6.js.map +0 -1
- package/dist/_chunks/index-C-rEZYIo.mjs.map +0 -1
- package/dist/_chunks/index-CliQLPIn.js.map +0 -1
@@ -239,6 +239,7 @@ const en = {
|
|
239
239
|
"popover.display-relations.label": "Display relations",
|
240
240
|
"preview.panel.title": "Preview",
|
241
241
|
"preview.panel.button": "Open preview",
|
242
|
+
"preview.panel.button-disabled-tooltip": "Please save to open the preview",
|
242
243
|
"preview.page-title": "{contentType} preview",
|
243
244
|
"preview.header.close": "Close preview",
|
244
245
|
"preview.copy.label": "Copy preview link",
|
@@ -301,4 +302,4 @@ export {
|
|
301
302
|
models,
|
302
303
|
pageNotFound
|
303
304
|
};
|
304
|
-
//# sourceMappingURL=en-
|
305
|
+
//# sourceMappingURL=en-Dtk_ot79.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"en-
|
1
|
+
{"version":3,"file":"en-Dtk_ot79.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"hooks-BAaaKPS_.js","sources":["../../admin/src/modules/hooks.ts"],"sourcesContent":["import { Dispatch } from '@reduxjs/toolkit';\nimport { TypedUseSelectorHook, useDispatch, useSelector } from 'react-redux';\n\nimport { State } from './reducers';\n\nimport type { Store } from '@strapi/admin/strapi-admin';\n\ntype RootState = ReturnType<Store['getState']> & {\n ['content-manager']: State;\n};\n\nconst useTypedDispatch: () => Dispatch = useDispatch;\nconst useTypedSelector: TypedUseSelectorHook<RootState> = useSelector;\n\nexport { useTypedSelector, useTypedDispatch };\n"],"names":["useDispatch","useSelector"],"mappings":";;AAWA,MAAM,mBAAmCA,
|
1
|
+
{"version":3,"file":"hooks-BAaaKPS_.js","sources":["../../admin/src/modules/hooks.ts"],"sourcesContent":["import { Dispatch } from '@reduxjs/toolkit';\nimport { TypedUseSelectorHook, useDispatch, useSelector } from 'react-redux';\n\nimport { State } from './reducers';\n\nimport type { Store } from '@strapi/admin/strapi-admin';\n\ntype RootState = ReturnType<Store['getState']> & {\n ['content-manager']: State;\n};\n\nconst useTypedDispatch: () => Dispatch = useDispatch;\nconst useTypedSelector: TypedUseSelectorHook<RootState> = useSelector;\n\nexport { useTypedSelector, useTypedDispatch };\n"],"names":["useDispatch","useSelector"],"mappings":";;AAWA,MAAM,mBAAmCA,WAAAA;AACzC,MAAM,mBAAoDC,WAAAA;;;"}
|
@@ -9,14 +9,13 @@ const reactIntl = require("react-intl");
|
|
9
9
|
const reactRouterDom = require("react-router-dom");
|
10
10
|
const styledComponents = require("styled-components");
|
11
11
|
const yup = require("yup");
|
12
|
+
const qs = require("qs");
|
12
13
|
const pipe = require("lodash/fp/pipe");
|
13
14
|
const dateFns = require("date-fns");
|
14
|
-
const qs = require("qs");
|
15
15
|
const toolkit = require("@reduxjs/toolkit");
|
16
16
|
const _interopDefault = (e) => e && e.__esModule ? e : { default: e };
|
17
17
|
function _interopNamespace(e) {
|
18
|
-
if (e && e.__esModule)
|
19
|
-
return e;
|
18
|
+
if (e && e.__esModule) return e;
|
20
19
|
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
21
20
|
if (e) {
|
22
21
|
for (const k in e) {
|
@@ -36,13 +35,20 @@ const React__namespace = /* @__PURE__ */ _interopNamespace(React);
|
|
36
35
|
const mapValues__default = /* @__PURE__ */ _interopDefault(mapValues);
|
37
36
|
const yup__namespace = /* @__PURE__ */ _interopNamespace(yup);
|
38
37
|
const pipe__default = /* @__PURE__ */ _interopDefault(pipe);
|
39
|
-
const __variableDynamicImportRuntimeHelper = (glob, path) => {
|
38
|
+
const __variableDynamicImportRuntimeHelper = (glob, path, segs) => {
|
40
39
|
const v = glob[path];
|
41
40
|
if (v) {
|
42
41
|
return typeof v === "function" ? v() : Promise.resolve(v);
|
43
42
|
}
|
44
43
|
return new Promise((_, reject) => {
|
45
|
-
(typeof queueMicrotask === "function" ? queueMicrotask : setTimeout)(
|
44
|
+
(typeof queueMicrotask === "function" ? queueMicrotask : setTimeout)(
|
45
|
+
reject.bind(
|
46
|
+
null,
|
47
|
+
new Error(
|
48
|
+
"Unknown variable dynamic import: " + path + (path.split("/").length !== segs ? ". Note that variables only represent file names one level deep." : "")
|
49
|
+
)
|
50
|
+
)
|
51
|
+
);
|
46
52
|
});
|
47
53
|
};
|
48
54
|
const PLUGIN_ID = "content-manager";
|
@@ -296,7 +302,7 @@ const documentApi = contentManagerApi.injectEndpoints({
|
|
296
302
|
url: `/content-manager/collection-types/${model}`,
|
297
303
|
method: "GET",
|
298
304
|
config: {
|
299
|
-
params
|
305
|
+
params: qs.stringify(params, { encode: true })
|
300
306
|
}
|
301
307
|
}),
|
302
308
|
providesTags: (result, _error, arg) => {
|
@@ -475,8 +481,7 @@ const {
|
|
475
481
|
useUnpublishManyDocumentsMutation
|
476
482
|
} = documentApi;
|
477
483
|
const buildValidParams = (query) => {
|
478
|
-
if (!query)
|
479
|
-
return query;
|
484
|
+
if (!query) return query;
|
480
485
|
const { plugins: _, ...validQueryParams } = {
|
481
486
|
...query,
|
482
487
|
...Object.values(query?.plugins ?? {}).reduce(
|
@@ -484,9 +489,6 @@ const buildValidParams = (query) => {
|
|
484
489
|
{}
|
485
490
|
)
|
486
491
|
};
|
487
|
-
if ("_q" in validQueryParams) {
|
488
|
-
validQueryParams._q = encodeURIComponent(validQueryParams._q);
|
489
|
-
}
|
490
492
|
return validQueryParams;
|
491
493
|
};
|
492
494
|
const isBaseQueryError = (error) => {
|
@@ -1686,7 +1688,7 @@ const useDocumentActions = () => {
|
|
1686
1688
|
};
|
1687
1689
|
};
|
1688
1690
|
const ProtectedHistoryPage = React__namespace.lazy(
|
1689
|
-
() => Promise.resolve().then(() => require("./History-
|
1691
|
+
() => Promise.resolve().then(() => require("./History-BkcR8j3W.js")).then((mod) => ({ default: mod.ProtectedHistoryPage }))
|
1690
1692
|
);
|
1691
1693
|
const routes$2 = [
|
1692
1694
|
{
|
@@ -1699,7 +1701,7 @@ const routes$2 = [
|
|
1699
1701
|
}
|
1700
1702
|
];
|
1701
1703
|
const ProtectedPreviewPage = React__namespace.lazy(
|
1702
|
-
() => Promise.resolve().then(() => require("./Preview-
|
1704
|
+
() => Promise.resolve().then(() => require("./Preview-DiUzYyBe.js")).then((mod) => ({ default: mod.ProtectedPreviewPage }))
|
1703
1705
|
);
|
1704
1706
|
const routes$1 = [
|
1705
1707
|
{
|
@@ -1712,31 +1714,31 @@ const routes$1 = [
|
|
1712
1714
|
}
|
1713
1715
|
];
|
1714
1716
|
const ProtectedEditViewPage = React.lazy(
|
1715
|
-
() => Promise.resolve().then(() => require("./EditViewPage-
|
1717
|
+
() => Promise.resolve().then(() => require("./EditViewPage-G_rDXQB6.js")).then((mod) => ({ default: mod.ProtectedEditViewPage }))
|
1716
1718
|
);
|
1717
1719
|
const ProtectedListViewPage = React.lazy(
|
1718
|
-
() => Promise.resolve().then(() => require("./ListViewPage-
|
1720
|
+
() => Promise.resolve().then(() => require("./ListViewPage-C3Z_WX-I.js")).then((mod) => ({ default: mod.ProtectedListViewPage }))
|
1719
1721
|
);
|
1720
1722
|
const ProtectedListConfiguration = React.lazy(
|
1721
|
-
() => Promise.resolve().then(() => require("./ListConfigurationPage-
|
1723
|
+
() => Promise.resolve().then(() => require("./ListConfigurationPage-B2F3iLSN.js")).then((mod) => ({
|
1722
1724
|
default: mod.ProtectedListConfiguration
|
1723
1725
|
}))
|
1724
1726
|
);
|
1725
1727
|
const ProtectedEditConfigurationPage = React.lazy(
|
1726
|
-
() => Promise.resolve().then(() => require("./EditConfigurationPage-
|
1728
|
+
() => Promise.resolve().then(() => require("./EditConfigurationPage-BIyaNgiu.js")).then((mod) => ({
|
1727
1729
|
default: mod.ProtectedEditConfigurationPage
|
1728
1730
|
}))
|
1729
1731
|
);
|
1730
1732
|
const ProtectedComponentConfigurationPage = React.lazy(
|
1731
|
-
() => Promise.resolve().then(() => require("./ComponentConfigurationPage-
|
1733
|
+
() => Promise.resolve().then(() => require("./ComponentConfigurationPage-BXIWJOkp.js")).then((mod) => ({
|
1732
1734
|
default: mod.ProtectedComponentConfigurationPage
|
1733
1735
|
}))
|
1734
1736
|
);
|
1735
1737
|
const NoPermissions = React.lazy(
|
1736
|
-
() => Promise.resolve().then(() => require("./NoPermissionsPage-
|
1738
|
+
() => Promise.resolve().then(() => require("./NoPermissionsPage-OrFm1kPU.js")).then((mod) => ({ default: mod.NoPermissions }))
|
1737
1739
|
);
|
1738
1740
|
const NoContentType = React.lazy(
|
1739
|
-
() => Promise.resolve().then(() => require("./NoContentTypePage-
|
1741
|
+
() => Promise.resolve().then(() => require("./NoContentTypePage-BR5_n0mp.js")).then((mod) => ({ default: mod.NoContentType }))
|
1740
1742
|
);
|
1741
1743
|
const CollectionTypePages = () => {
|
1742
1744
|
const { collectionType } = reactRouterDom.useParams();
|
@@ -2267,6 +2269,7 @@ const PublishAction$1 = ({
|
|
2267
2269
|
};
|
2268
2270
|
};
|
2269
2271
|
PublishAction$1.type = "publish";
|
2272
|
+
PublishAction$1.position = "panel";
|
2270
2273
|
const UpdateAction = ({
|
2271
2274
|
activeTab,
|
2272
2275
|
documentId,
|
@@ -2289,6 +2292,117 @@ const UpdateAction = ({
|
|
2289
2292
|
const validate = strapiAdmin.useForm("UpdateAction", (state) => state.validate);
|
2290
2293
|
const setErrors = strapiAdmin.useForm("UpdateAction", (state) => state.setErrors);
|
2291
2294
|
const resetForm = strapiAdmin.useForm("PublishAction", ({ resetForm: resetForm2 }) => resetForm2);
|
2295
|
+
const handleUpdate = React__namespace.useCallback(async () => {
|
2296
|
+
setSubmitting(true);
|
2297
|
+
try {
|
2298
|
+
if (!modified) {
|
2299
|
+
return;
|
2300
|
+
}
|
2301
|
+
const { errors } = await validate(true, {
|
2302
|
+
status: "draft"
|
2303
|
+
});
|
2304
|
+
if (errors) {
|
2305
|
+
toggleNotification({
|
2306
|
+
type: "danger",
|
2307
|
+
message: formatMessage({
|
2308
|
+
id: "content-manager.validation.error",
|
2309
|
+
defaultMessage: "There are validation errors in your document. Please fix them before saving."
|
2310
|
+
})
|
2311
|
+
});
|
2312
|
+
return;
|
2313
|
+
}
|
2314
|
+
if (isCloning) {
|
2315
|
+
const res = await clone(
|
2316
|
+
{
|
2317
|
+
model,
|
2318
|
+
documentId: cloneMatch.params.origin,
|
2319
|
+
params
|
2320
|
+
},
|
2321
|
+
transformData(document)
|
2322
|
+
);
|
2323
|
+
if ("data" in res) {
|
2324
|
+
navigate(
|
2325
|
+
{
|
2326
|
+
pathname: `../${res.data.documentId}`,
|
2327
|
+
search: rawQuery
|
2328
|
+
},
|
2329
|
+
{ relative: "path" }
|
2330
|
+
);
|
2331
|
+
} else if ("error" in res && isBaseQueryError(res.error) && res.error.name === "ValidationError") {
|
2332
|
+
setErrors(formatValidationErrors(res.error));
|
2333
|
+
}
|
2334
|
+
} else if (documentId || collectionType === SINGLE_TYPES) {
|
2335
|
+
const res = await update(
|
2336
|
+
{
|
2337
|
+
collectionType,
|
2338
|
+
model,
|
2339
|
+
documentId,
|
2340
|
+
params
|
2341
|
+
},
|
2342
|
+
transformData(document)
|
2343
|
+
);
|
2344
|
+
if ("error" in res && isBaseQueryError(res.error) && res.error.name === "ValidationError") {
|
2345
|
+
setErrors(formatValidationErrors(res.error));
|
2346
|
+
} else {
|
2347
|
+
resetForm();
|
2348
|
+
}
|
2349
|
+
} else {
|
2350
|
+
const res = await create(
|
2351
|
+
{
|
2352
|
+
model,
|
2353
|
+
params
|
2354
|
+
},
|
2355
|
+
transformData(document)
|
2356
|
+
);
|
2357
|
+
if ("data" in res && collectionType !== SINGLE_TYPES) {
|
2358
|
+
navigate(
|
2359
|
+
{
|
2360
|
+
pathname: `../${res.data.documentId}`,
|
2361
|
+
search: rawQuery
|
2362
|
+
},
|
2363
|
+
{ replace: true, relative: "path" }
|
2364
|
+
);
|
2365
|
+
} else if ("error" in res && isBaseQueryError(res.error) && res.error.name === "ValidationError") {
|
2366
|
+
setErrors(formatValidationErrors(res.error));
|
2367
|
+
}
|
2368
|
+
}
|
2369
|
+
} finally {
|
2370
|
+
setSubmitting(false);
|
2371
|
+
}
|
2372
|
+
}, [
|
2373
|
+
clone,
|
2374
|
+
cloneMatch?.params.origin,
|
2375
|
+
collectionType,
|
2376
|
+
create,
|
2377
|
+
document,
|
2378
|
+
documentId,
|
2379
|
+
formatMessage,
|
2380
|
+
formatValidationErrors,
|
2381
|
+
isCloning,
|
2382
|
+
model,
|
2383
|
+
modified,
|
2384
|
+
navigate,
|
2385
|
+
params,
|
2386
|
+
rawQuery,
|
2387
|
+
resetForm,
|
2388
|
+
setErrors,
|
2389
|
+
setSubmitting,
|
2390
|
+
toggleNotification,
|
2391
|
+
update,
|
2392
|
+
validate
|
2393
|
+
]);
|
2394
|
+
React__namespace.useEffect(() => {
|
2395
|
+
const handleKeyDown = (e) => {
|
2396
|
+
if (e.key === "Enter" && (e.metaKey || e.ctrlKey)) {
|
2397
|
+
e.preventDefault();
|
2398
|
+
handleUpdate();
|
2399
|
+
}
|
2400
|
+
};
|
2401
|
+
window.addEventListener("keydown", handleKeyDown);
|
2402
|
+
return () => {
|
2403
|
+
window.removeEventListener("keydown", handleKeyDown);
|
2404
|
+
};
|
2405
|
+
}, [handleUpdate]);
|
2292
2406
|
return {
|
2293
2407
|
/**
|
2294
2408
|
* Disabled when:
|
@@ -2301,84 +2415,11 @@ const UpdateAction = ({
|
|
2301
2415
|
id: "global.save",
|
2302
2416
|
defaultMessage: "Save"
|
2303
2417
|
}),
|
2304
|
-
onClick:
|
2305
|
-
setSubmitting(true);
|
2306
|
-
try {
|
2307
|
-
const { errors } = await validate(true, {
|
2308
|
-
status: "draft"
|
2309
|
-
});
|
2310
|
-
if (errors) {
|
2311
|
-
toggleNotification({
|
2312
|
-
type: "danger",
|
2313
|
-
message: formatMessage({
|
2314
|
-
id: "content-manager.validation.error",
|
2315
|
-
defaultMessage: "There are validation errors in your document. Please fix them before saving."
|
2316
|
-
})
|
2317
|
-
});
|
2318
|
-
return;
|
2319
|
-
}
|
2320
|
-
if (isCloning) {
|
2321
|
-
const res = await clone(
|
2322
|
-
{
|
2323
|
-
model,
|
2324
|
-
documentId: cloneMatch.params.origin,
|
2325
|
-
params
|
2326
|
-
},
|
2327
|
-
transformData(document)
|
2328
|
-
);
|
2329
|
-
if ("data" in res) {
|
2330
|
-
navigate(
|
2331
|
-
{
|
2332
|
-
pathname: `../${res.data.documentId}`,
|
2333
|
-
search: rawQuery
|
2334
|
-
},
|
2335
|
-
{ relative: "path" }
|
2336
|
-
);
|
2337
|
-
} else if ("error" in res && isBaseQueryError(res.error) && res.error.name === "ValidationError") {
|
2338
|
-
setErrors(formatValidationErrors(res.error));
|
2339
|
-
}
|
2340
|
-
} else if (documentId || collectionType === SINGLE_TYPES) {
|
2341
|
-
const res = await update(
|
2342
|
-
{
|
2343
|
-
collectionType,
|
2344
|
-
model,
|
2345
|
-
documentId,
|
2346
|
-
params
|
2347
|
-
},
|
2348
|
-
transformData(document)
|
2349
|
-
);
|
2350
|
-
if ("error" in res && isBaseQueryError(res.error) && res.error.name === "ValidationError") {
|
2351
|
-
setErrors(formatValidationErrors(res.error));
|
2352
|
-
} else {
|
2353
|
-
resetForm();
|
2354
|
-
}
|
2355
|
-
} else {
|
2356
|
-
const res = await create(
|
2357
|
-
{
|
2358
|
-
model,
|
2359
|
-
params
|
2360
|
-
},
|
2361
|
-
transformData(document)
|
2362
|
-
);
|
2363
|
-
if ("data" in res && collectionType !== SINGLE_TYPES) {
|
2364
|
-
navigate(
|
2365
|
-
{
|
2366
|
-
pathname: `../${res.data.documentId}`,
|
2367
|
-
search: rawQuery
|
2368
|
-
},
|
2369
|
-
{ replace: true, relative: "path" }
|
2370
|
-
);
|
2371
|
-
} else if ("error" in res && isBaseQueryError(res.error) && res.error.name === "ValidationError") {
|
2372
|
-
setErrors(formatValidationErrors(res.error));
|
2373
|
-
}
|
2374
|
-
}
|
2375
|
-
} finally {
|
2376
|
-
setSubmitting(false);
|
2377
|
-
}
|
2378
|
-
}
|
2418
|
+
onClick: handleUpdate
|
2379
2419
|
};
|
2380
2420
|
};
|
2381
2421
|
UpdateAction.type = "update";
|
2422
|
+
UpdateAction.position = "panel";
|
2382
2423
|
const UNPUBLISH_DRAFT_OPTIONS = {
|
2383
2424
|
KEEP: "keep",
|
2384
2425
|
DISCARD: "discard"
|
@@ -2501,6 +2542,7 @@ const UnpublishAction$1 = ({
|
|
2501
2542
|
};
|
2502
2543
|
};
|
2503
2544
|
UnpublishAction$1.type = "unpublish";
|
2545
|
+
UnpublishAction$1.position = "panel";
|
2504
2546
|
const DiscardAction = ({
|
2505
2547
|
activeTab,
|
2506
2548
|
documentId,
|
@@ -2551,6 +2593,7 @@ const DiscardAction = ({
|
|
2551
2593
|
};
|
2552
2594
|
};
|
2553
2595
|
DiscardAction.type = "discard";
|
2596
|
+
DiscardAction.position = "panel";
|
2554
2597
|
const DEFAULT_ACTIONS = [PublishAction$1, UpdateAction, UnpublishAction$1, DiscardAction];
|
2555
2598
|
const intervals = ["years", "months", "days", "hours", "minutes", "seconds"];
|
2556
2599
|
const RelativeTime = React__namespace.forwardRef(
|
@@ -2670,7 +2713,7 @@ const HeaderToolbar = () => {
|
|
2670
2713
|
meta: isCloning ? void 0 : meta,
|
2671
2714
|
collectionType
|
2672
2715
|
},
|
2673
|
-
descriptions: plugins["content-manager"].apis.getDocumentActions(),
|
2716
|
+
descriptions: plugins["content-manager"].apis.getDocumentActions("header"),
|
2674
2717
|
children: (actions2) => {
|
2675
2718
|
const headerActions = actions2.filter((action) => {
|
2676
2719
|
const positions = Array.isArray(action.position) ? action.position : [action.position];
|
@@ -2878,6 +2921,7 @@ const ConfigureTheViewAction = ({ collectionType, model }) => {
|
|
2878
2921
|
};
|
2879
2922
|
};
|
2880
2923
|
ConfigureTheViewAction.type = "configure-the-view";
|
2924
|
+
ConfigureTheViewAction.position = "header";
|
2881
2925
|
const EditTheModelAction = ({ model }) => {
|
2882
2926
|
const navigate = reactRouterDom.useNavigate();
|
2883
2927
|
const { formatMessage } = reactIntl.useIntl();
|
@@ -2894,6 +2938,7 @@ const EditTheModelAction = ({ model }) => {
|
|
2894
2938
|
};
|
2895
2939
|
};
|
2896
2940
|
EditTheModelAction.type = "edit-the-model";
|
2941
|
+
EditTheModelAction.position = "header";
|
2897
2942
|
const DeleteAction$1 = ({ documentId, model, collectionType, document }) => {
|
2898
2943
|
const navigate = reactRouterDom.useNavigate();
|
2899
2944
|
const { formatMessage } = reactIntl.useIntl();
|
@@ -2967,6 +3012,7 @@ const DeleteAction$1 = ({ documentId, model, collectionType, document }) => {
|
|
2967
3012
|
};
|
2968
3013
|
};
|
2969
3014
|
DeleteAction$1.type = "delete";
|
3015
|
+
DeleteAction$1.position = ["header", "table-row"];
|
2970
3016
|
const DEFAULT_HEADER_ACTIONS = [EditTheModelAction, ConfigureTheViewAction, DeleteAction$1];
|
2971
3017
|
const Panels = () => {
|
2972
3018
|
const isCloning = reactRouterDom.useMatch(CLONE_PATH) !== null;
|
@@ -3029,7 +3075,7 @@ const ActionsPanelContent = () => {
|
|
3029
3075
|
strapiAdmin.DescriptionComponentRenderer,
|
3030
3076
|
{
|
3031
3077
|
props,
|
3032
|
-
descriptions: plugins["content-manager"].apis.getDocumentActions(),
|
3078
|
+
descriptions: plugins["content-manager"].apis.getDocumentActions("panel"),
|
3033
3079
|
children: (actions2) => /* @__PURE__ */ jsxRuntime.jsx(DocumentActions, { actions: actions2 })
|
3034
3080
|
}
|
3035
3081
|
),
|
@@ -3483,8 +3529,7 @@ const PublishAction = ({ documents, model }) => {
|
|
3483
3529
|
const refetchList = () => {
|
3484
3530
|
contentManagerApi.util.invalidateTags([{ type: "Document", id: `${model}_LIST` }]);
|
3485
3531
|
};
|
3486
|
-
if (!showPublishButton)
|
3487
|
-
return null;
|
3532
|
+
if (!showPublishButton) return null;
|
3488
3533
|
return {
|
3489
3534
|
actionType: "publish",
|
3490
3535
|
variant: "tertiary",
|
@@ -3552,8 +3597,7 @@ const DeleteAction = ({ documents, model }) => {
|
|
3552
3597
|
selectRow([]);
|
3553
3598
|
}
|
3554
3599
|
};
|
3555
|
-
if (!hasDeletePermission)
|
3556
|
-
return null;
|
3600
|
+
if (!hasDeletePermission) return null;
|
3557
3601
|
return {
|
3558
3602
|
variant: "danger-light",
|
3559
3603
|
label: formatMessage({ id: "global.delete", defaultMessage: "Delete" }),
|
@@ -3602,8 +3646,7 @@ const UnpublishAction = ({ documents, model }) => {
|
|
3602
3646
|
}
|
3603
3647
|
};
|
3604
3648
|
const showUnpublishButton = hasDraftAndPublishEnabled && hasPublishPermission && documents.some((entry) => entry.status === "published" || entry.status === "modified");
|
3605
|
-
if (!showUnpublishButton)
|
3606
|
-
return null;
|
3649
|
+
if (!showUnpublishButton) return null;
|
3607
3650
|
return {
|
3608
3651
|
variant: "tertiary",
|
3609
3652
|
label: formatMessage({ id: "app.utils.unpublish", defaultMessage: "Unpublish" }),
|
@@ -3708,7 +3751,7 @@ const TableActions = ({ document }) => {
|
|
3708
3751
|
strapiAdmin.DescriptionComponentRenderer,
|
3709
3752
|
{
|
3710
3753
|
props,
|
3711
|
-
descriptions: plugins["content-manager"].apis.getDocumentActions().filter((action) => action.name !== "PublishAction"),
|
3754
|
+
descriptions: plugins["content-manager"].apis.getDocumentActions("table-row").filter((action) => action.name !== "PublishAction"),
|
3712
3755
|
children: (actions2) => {
|
3713
3756
|
const tableRowActions = actions2.filter((action) => {
|
3714
3757
|
const positions = Array.isArray(action.position) ? action.position : [action.position];
|
@@ -3767,6 +3810,7 @@ const EditAction = ({ documentId }) => {
|
|
3767
3810
|
};
|
3768
3811
|
};
|
3769
3812
|
EditAction.type = "edit";
|
3813
|
+
EditAction.position = "table-row";
|
3770
3814
|
const StyledPencil = styledComponents.styled(Icons.Pencil)`
|
3771
3815
|
path {
|
3772
3816
|
fill: currentColor;
|
@@ -3843,6 +3887,7 @@ const CloneAction = ({ model, documentId }) => {
|
|
3843
3887
|
};
|
3844
3888
|
};
|
3845
3889
|
CloneAction.type = "clone";
|
3890
|
+
CloneAction.position = "table-row";
|
3846
3891
|
const StyledDuplicate = styledComponents.styled(Icons.Duplicate)`
|
3847
3892
|
path {
|
3848
3893
|
fill: currentColor;
|
@@ -3929,7 +3974,14 @@ class ContentManagerPlugin {
|
|
3929
3974
|
addDocumentHeaderAction: this.addDocumentHeaderAction.bind(this),
|
3930
3975
|
addEditViewSidePanel: this.addEditViewSidePanel.bind(this),
|
3931
3976
|
getBulkActions: () => this.bulkActions,
|
3932
|
-
getDocumentActions: () =>
|
3977
|
+
getDocumentActions: (position) => {
|
3978
|
+
if (position) {
|
3979
|
+
return this.documentActions.filter(
|
3980
|
+
(action) => action.position == void 0 || [action.position].flat().includes(position)
|
3981
|
+
);
|
3982
|
+
}
|
3983
|
+
return this.documentActions;
|
3984
|
+
},
|
3933
3985
|
getEditViewSidePanels: () => this.editViewSidePanels,
|
3934
3986
|
getHeaderActions: () => this.headerActions
|
3935
3987
|
}
|
@@ -3939,10 +3991,8 @@ class ContentManagerPlugin {
|
|
3939
3991
|
const getPrintableType = (value) => {
|
3940
3992
|
const nativeType = typeof value;
|
3941
3993
|
if (nativeType === "object") {
|
3942
|
-
if (value === null)
|
3943
|
-
|
3944
|
-
if (Array.isArray(value))
|
3945
|
-
return "array";
|
3994
|
+
if (value === null) return "null";
|
3995
|
+
if (Array.isArray(value)) return "array";
|
3946
3996
|
if (value instanceof Object && value.constructor.name !== "Object") {
|
3947
3997
|
return value.constructor.name;
|
3948
3998
|
}
|
@@ -3995,6 +4045,7 @@ const HistoryAction = ({ model, document }) => {
|
|
3995
4045
|
};
|
3996
4046
|
};
|
3997
4047
|
HistoryAction.type = "history";
|
4048
|
+
HistoryAction.position = "header";
|
3998
4049
|
const historyAdmin = {
|
3999
4050
|
bootstrap(app) {
|
4000
4051
|
const { addDocumentAction } = app.getPlugin("content-manager").apis;
|
@@ -4057,11 +4108,18 @@ const previewApi = contentManagerApi.injectEndpoints({
|
|
4057
4108
|
})
|
4058
4109
|
});
|
4059
4110
|
const { useGetPreviewUrlQuery } = previewApi;
|
4111
|
+
const ConditionalTooltip = ({ isShown, label, children }) => {
|
4112
|
+
if (isShown) {
|
4113
|
+
return /* @__PURE__ */ jsxRuntime.jsx(designSystem.Tooltip, { label, children });
|
4114
|
+
}
|
4115
|
+
return children;
|
4116
|
+
};
|
4060
4117
|
const PreviewSidePanel = ({ model, documentId, document }) => {
|
4061
4118
|
const { formatMessage } = reactIntl.useIntl();
|
4062
4119
|
const { trackUsage } = strapiAdmin.useTracking();
|
4063
4120
|
const { pathname } = reactRouterDom.useLocation();
|
4064
4121
|
const [{ query }] = strapiAdmin.useQueryParams();
|
4122
|
+
const isModified = strapiAdmin.useForm("PreviewSidePanel", (state) => state.modified);
|
4065
4123
|
const { data, error } = useGetPreviewUrlQuery({
|
4066
4124
|
params: {
|
4067
4125
|
contentType: model
|
@@ -4082,17 +4140,28 @@ const PreviewSidePanel = ({ model, documentId, document }) => {
|
|
4082
4140
|
return {
|
4083
4141
|
title: formatMessage({ id: "content-manager.preview.panel.title", defaultMessage: "Preview" }),
|
4084
4142
|
content: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Flex, { gap: 2, width: "100%", children: /* @__PURE__ */ jsxRuntime.jsx(
|
4085
|
-
|
4143
|
+
ConditionalTooltip,
|
4086
4144
|
{
|
4087
|
-
|
4088
|
-
|
4089
|
-
|
4090
|
-
|
4091
|
-
|
4092
|
-
children:
|
4093
|
-
|
4094
|
-
|
4095
|
-
|
4145
|
+
label: formatMessage({
|
4146
|
+
id: "content-manager.preview.panel.button-disabled-tooltip",
|
4147
|
+
defaultMessage: "Please save to open the preview"
|
4148
|
+
}),
|
4149
|
+
isShown: isModified,
|
4150
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
4151
|
+
designSystem.Button,
|
4152
|
+
{
|
4153
|
+
variant: "tertiary",
|
4154
|
+
tag: reactRouterDom.Link,
|
4155
|
+
to: { pathname: "preview", search: qs.stringify(query, { encode: false }) },
|
4156
|
+
onClick: trackNavigation,
|
4157
|
+
flex: "auto",
|
4158
|
+
disabled: isModified,
|
4159
|
+
children: formatMessage({
|
4160
|
+
id: "content-manager.preview.panel.button",
|
4161
|
+
defaultMessage: "Open preview"
|
4162
|
+
})
|
4163
|
+
}
|
4164
|
+
)
|
4096
4165
|
}
|
4097
4166
|
) })
|
4098
4167
|
};
|
@@ -4126,7 +4195,7 @@ const index = {
|
|
4126
4195
|
app.router.addRoute({
|
4127
4196
|
path: "content-manager/*",
|
4128
4197
|
lazy: async () => {
|
4129
|
-
const { Layout } = await Promise.resolve().then(() => require("./layout-
|
4198
|
+
const { Layout } = await Promise.resolve().then(() => require("./layout-DSlB2Oox.js"));
|
4130
4199
|
return {
|
4131
4200
|
Component: Layout
|
4132
4201
|
};
|
@@ -4146,7 +4215,7 @@ const index = {
|
|
4146
4215
|
async registerTrads({ locales }) {
|
4147
4216
|
const importedTrads = await Promise.all(
|
4148
4217
|
locales.map((locale) => {
|
4149
|
-
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-
|
4218
|
+
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-BK8Xyl5I.js")), "./translations/es.json": () => Promise.resolve().then(() => require("./es-9K52xZIr.js")), "./translations/eu.json": () => Promise.resolve().then(() => require("./eu-VDH-3ovk.js")), "./translations/fr.json": () => Promise.resolve().then(() => require("./fr-B2Kyv8Z9.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-7sfIbjxE.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`, 3).then(({ default: data }) => {
|
4150
4219
|
return {
|
4151
4220
|
data: prefixPluginTranslations(data, PLUGIN_ID),
|
4152
4221
|
locale
|
@@ -4206,4 +4275,4 @@ exports.useGetContentTypeConfigurationQuery = useGetContentTypeConfigurationQuer
|
|
4206
4275
|
exports.useGetInitialDataQuery = useGetInitialDataQuery;
|
4207
4276
|
exports.useGetPreviewUrlQuery = useGetPreviewUrlQuery;
|
4208
4277
|
exports.useUpdateContentTypeConfigurationMutation = useUpdateContentTypeConfigurationMutation;
|
4209
|
-
//# sourceMappingURL=index-
|
4278
|
+
//# sourceMappingURL=index-DWW8Uk8g.js.map
|