@strapi/content-manager 0.0.0-experimental.baa6cf22298e591b4d52d8e59c60406d7a9f137f → 0.0.0-experimental.d954d57341a6623992a0d211daaec8e245c3517d
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-DiigqkCf.js → ComponentConfigurationPage-WRPUXGd6.js} +3 -3
- package/dist/_chunks/{ComponentConfigurationPage-DiigqkCf.js.map → ComponentConfigurationPage-WRPUXGd6.js.map} +1 -1
- package/dist/_chunks/{ComponentConfigurationPage-CYqQv0ne.mjs → ComponentConfigurationPage-gdUj_t-O.mjs} +3 -3
- package/dist/_chunks/{ComponentConfigurationPage-CYqQv0ne.mjs.map → ComponentConfigurationPage-gdUj_t-O.mjs.map} +1 -1
- package/dist/_chunks/{EditConfigurationPage-BArY-b8_.mjs → EditConfigurationPage-BwuIPOJG.mjs} +3 -3
- package/dist/_chunks/{EditConfigurationPage-BArY-b8_.mjs.map → EditConfigurationPage-BwuIPOJG.mjs.map} +1 -1
- package/dist/_chunks/{EditConfigurationPage-BeeGw2RI.js → EditConfigurationPage-C1vjMBgy.js} +3 -3
- package/dist/_chunks/{EditConfigurationPage-BeeGw2RI.js.map → EditConfigurationPage-C1vjMBgy.js.map} +1 -1
- package/dist/_chunks/{EditViewPage-B8ETGsFo.mjs → EditViewPage-0MiFkXa8.mjs} +46 -46
- package/dist/_chunks/EditViewPage-0MiFkXa8.mjs.map +1 -0
- package/dist/_chunks/{EditViewPage-DZPDqo_G.js → EditViewPage-DbcGfyqK.js} +45 -45
- package/dist/_chunks/EditViewPage-DbcGfyqK.js.map +1 -0
- package/dist/_chunks/{Field-Dn4ThnFB.mjs → Field-BDMSCcy5.mjs} +104 -116
- package/dist/_chunks/Field-BDMSCcy5.mjs.map +1 -0
- package/dist/_chunks/{Field-DnJMS8cB.js → Field-BG1xu38N.js} +103 -115
- package/dist/_chunks/Field-BG1xu38N.js.map +1 -0
- package/dist/_chunks/{Form-DiTmWq2k.js → Form-9BnFyUjy.js} +21 -25
- package/dist/_chunks/Form-9BnFyUjy.js.map +1 -0
- package/dist/_chunks/{Form-DY721B6y.mjs → Form-CPVWavB8.mjs} +23 -27
- package/dist/_chunks/Form-CPVWavB8.mjs.map +1 -0
- package/dist/_chunks/{History-CwWN_uNp.mjs → History-BVpd8LP3.mjs} +101 -22
- package/dist/_chunks/History-BVpd8LP3.mjs.map +1 -0
- package/dist/_chunks/{History-DShoVAh0.js → History-BWWxLt2Z.js} +100 -21
- package/dist/_chunks/History-BWWxLt2Z.js.map +1 -0
- package/dist/_chunks/{ListConfigurationPage-COIRGF5b.js → ListConfigurationPage-6swzjdAZ.js} +42 -43
- package/dist/_chunks/ListConfigurationPage-6swzjdAZ.js.map +1 -0
- package/dist/_chunks/{ListConfigurationPage-D062TiTL.mjs → ListConfigurationPage-DozVMKcR.mjs} +43 -45
- package/dist/_chunks/ListConfigurationPage-DozVMKcR.mjs.map +1 -0
- package/dist/_chunks/{ListViewPage-CFuXPZ_r.js → ListViewPage-BlzfjS2Q.js} +60 -65
- package/dist/_chunks/ListViewPage-BlzfjS2Q.js.map +1 -0
- package/dist/_chunks/{ListViewPage-BeHTsIr5.mjs → ListViewPage-Ds0ulgfG.mjs} +62 -67
- package/dist/_chunks/ListViewPage-Ds0ulgfG.mjs.map +1 -0
- package/dist/_chunks/{NoContentTypePage-B_KLijrG.mjs → NoContentTypePage-BH11kaKt.mjs} +2 -2
- package/dist/_chunks/{NoContentTypePage-B_KLijrG.mjs.map → NoContentTypePage-BH11kaKt.mjs.map} +1 -1
- package/dist/_chunks/{NoContentTypePage-rdH0Zp0A.js → NoContentTypePage-D2nCCWEl.js} +2 -2
- package/dist/_chunks/{NoContentTypePage-rdH0Zp0A.js.map → NoContentTypePage-D2nCCWEl.js.map} +1 -1
- package/dist/_chunks/{NoPermissionsPage-BPU-v48V.mjs → NoPermissionsPage-BT2Tn0D_.mjs} +2 -2
- package/dist/_chunks/{NoPermissionsPage-BPU-v48V.mjs.map → NoPermissionsPage-BT2Tn0D_.mjs.map} +1 -1
- package/dist/_chunks/{NoPermissionsPage-D8gbX1Y_.js → NoPermissionsPage-DN_JlsU2.js} +2 -2
- package/dist/_chunks/{NoPermissionsPage-D8gbX1Y_.js.map → NoPermissionsPage-DN_JlsU2.js.map} +1 -1
- package/dist/_chunks/{Relations-wHyjWWT5.js → Relations-CcgFTcWo.js} +3 -3
- package/dist/_chunks/{Relations-wHyjWWT5.js.map → Relations-CcgFTcWo.js.map} +1 -1
- package/dist/_chunks/{Relations-Bbz90ZWv.mjs → Relations-Dnag3fhV.mjs} +3 -3
- package/dist/_chunks/{Relations-Bbz90ZWv.mjs.map → Relations-Dnag3fhV.mjs.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-CWpLBSt0.js} +120 -283
- package/dist/_chunks/index-CWpLBSt0.js.map +1 -0
- package/dist/_chunks/{index-Dv4oDn11.mjs → index-JNNNKUHs.mjs} +136 -299
- package/dist/_chunks/index-JNNNKUHs.mjs.map +1 -0
- package/dist/_chunks/{layout-pZc2Q3bK.js → layout--iHdZzRk.js} +17 -12
- package/dist/_chunks/layout--iHdZzRk.js.map +1 -0
- package/dist/_chunks/{layout-hInnLBbA.mjs → layout-DC503LnF.mjs} +17 -12
- package/dist/_chunks/layout-DC503LnF.mjs.map +1 -0
- package/dist/_chunks/{relations-CVE30dYt.js → relations-BbHizA5K.js} +2 -2
- package/dist/_chunks/{relations-CVE30dYt.js.map → relations-BbHizA5K.js.map} +1 -1
- package/dist/_chunks/{relations-BcPI8XhI.mjs → relations-CTje5t-a.mjs} +2 -2
- package/dist/_chunks/{relations-BcPI8XhI.mjs.map → relations-CTje5t-a.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/admin/src/pages/EditView/components/DocumentActions.d.ts +7 -3
- package/dist/admin/src/pages/EditView/components/FormInputs/Wysiwyg/WysiwygStyles.d.ts +2 -10
- package/dist/admin/src/pages/ListView/components/BulkActions/Actions.d.ts +3 -30
- package/dist/admin/src/pages/ListView/components/BulkActions/ConfirmBulkActionDialog.d.ts +2 -2
- 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 +8 -8
- package/dist/_chunks/EditViewPage-B8ETGsFo.mjs.map +0 -1
- package/dist/_chunks/EditViewPage-DZPDqo_G.js.map +0 -1
- package/dist/_chunks/Field-Dn4ThnFB.mjs.map +0 -1
- package/dist/_chunks/Field-DnJMS8cB.js.map +0 -1
- package/dist/_chunks/Form-DY721B6y.mjs.map +0 -1
- package/dist/_chunks/Form-DiTmWq2k.js.map +0 -1
- package/dist/_chunks/History-CwWN_uNp.mjs.map +0 -1
- package/dist/_chunks/History-DShoVAh0.js.map +0 -1
- package/dist/_chunks/ListConfigurationPage-COIRGF5b.js.map +0 -1
- package/dist/_chunks/ListConfigurationPage-D062TiTL.mjs.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
@@ -948,12 +948,13 @@ const useDocumentActions = () => {
|
|
948
948
|
);
|
949
949
|
const [discardDocument] = useDiscardDocumentMutation();
|
950
950
|
const discard = React__namespace.useCallback(
|
951
|
-
async ({ collectionType, model, documentId }) => {
|
951
|
+
async ({ collectionType, model, documentId, params }) => {
|
952
952
|
try {
|
953
953
|
const res = await discardDocument({
|
954
954
|
collectionType,
|
955
955
|
model,
|
956
|
-
documentId
|
956
|
+
documentId,
|
957
|
+
params
|
957
958
|
});
|
958
959
|
if ("error" in res) {
|
959
960
|
toggleNotification({
|
@@ -1285,7 +1286,7 @@ const useDocumentActions = () => {
|
|
1285
1286
|
};
|
1286
1287
|
};
|
1287
1288
|
const ProtectedHistoryPage = React.lazy(
|
1288
|
-
() => Promise.resolve().then(() => require("./History-
|
1289
|
+
() => Promise.resolve().then(() => require("./History-BWWxLt2Z.js")).then((mod) => ({ default: mod.ProtectedHistoryPage }))
|
1289
1290
|
);
|
1290
1291
|
const routes$1 = [
|
1291
1292
|
{
|
@@ -1298,31 +1299,31 @@ const routes$1 = [
|
|
1298
1299
|
}
|
1299
1300
|
];
|
1300
1301
|
const ProtectedEditViewPage = React.lazy(
|
1301
|
-
() => Promise.resolve().then(() => require("./EditViewPage-
|
1302
|
+
() => Promise.resolve().then(() => require("./EditViewPage-DbcGfyqK.js")).then((mod) => ({ default: mod.ProtectedEditViewPage }))
|
1302
1303
|
);
|
1303
1304
|
const ProtectedListViewPage = React.lazy(
|
1304
|
-
() => Promise.resolve().then(() => require("./ListViewPage-
|
1305
|
+
() => Promise.resolve().then(() => require("./ListViewPage-BlzfjS2Q.js")).then((mod) => ({ default: mod.ProtectedListViewPage }))
|
1305
1306
|
);
|
1306
1307
|
const ProtectedListConfiguration = React.lazy(
|
1307
|
-
() => Promise.resolve().then(() => require("./ListConfigurationPage-
|
1308
|
+
() => Promise.resolve().then(() => require("./ListConfigurationPage-6swzjdAZ.js")).then((mod) => ({
|
1308
1309
|
default: mod.ProtectedListConfiguration
|
1309
1310
|
}))
|
1310
1311
|
);
|
1311
1312
|
const ProtectedEditConfigurationPage = React.lazy(
|
1312
|
-
() => Promise.resolve().then(() => require("./EditConfigurationPage-
|
1313
|
+
() => Promise.resolve().then(() => require("./EditConfigurationPage-C1vjMBgy.js")).then((mod) => ({
|
1313
1314
|
default: mod.ProtectedEditConfigurationPage
|
1314
1315
|
}))
|
1315
1316
|
);
|
1316
1317
|
const ProtectedComponentConfigurationPage = React.lazy(
|
1317
|
-
() => Promise.resolve().then(() => require("./ComponentConfigurationPage-
|
1318
|
+
() => Promise.resolve().then(() => require("./ComponentConfigurationPage-WRPUXGd6.js")).then((mod) => ({
|
1318
1319
|
default: mod.ProtectedComponentConfigurationPage
|
1319
1320
|
}))
|
1320
1321
|
);
|
1321
1322
|
const NoPermissions = React.lazy(
|
1322
|
-
() => Promise.resolve().then(() => require("./NoPermissionsPage-
|
1323
|
+
() => Promise.resolve().then(() => require("./NoPermissionsPage-DN_JlsU2.js")).then((mod) => ({ default: mod.NoPermissions }))
|
1323
1324
|
);
|
1324
1325
|
const NoContentType = React.lazy(
|
1325
|
-
() => Promise.resolve().then(() => require("./NoContentTypePage-
|
1326
|
+
() => Promise.resolve().then(() => require("./NoContentTypePage-D2nCCWEl.js")).then((mod) => ({ default: mod.NoContentType }))
|
1326
1327
|
);
|
1327
1328
|
const CollectionTypePages = () => {
|
1328
1329
|
const { collectionType } = reactRouterDom.useParams();
|
@@ -1612,22 +1613,20 @@ const DocumentActionConfirmDialog = ({
|
|
1612
1613
|
}
|
1613
1614
|
onClose();
|
1614
1615
|
};
|
1615
|
-
return /* @__PURE__ */ jsxRuntime.
|
1616
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.
|
1617
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
1618
|
-
|
1619
|
-
{
|
1620
|
-
|
1621
|
-
|
1622
|
-
|
1623
|
-
|
1624
|
-
|
1625
|
-
|
1626
|
-
|
1627
|
-
|
1628
|
-
|
1629
|
-
)
|
1630
|
-
] });
|
1616
|
+
return /* @__PURE__ */ jsxRuntime.jsx(designSystem.Dialog.Root, { open: isOpen, onOpenChange: handleClose, children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Dialog.Content, { children: [
|
1617
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Dialog.Header, { children: title }),
|
1618
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Dialog.Body, { children: content }),
|
1619
|
+
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Dialog.Footer, { children: [
|
1620
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Dialog.Cancel, { children: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Button, { variant: "tertiary", children: formatMessage({
|
1621
|
+
id: "app.components.Button.cancel",
|
1622
|
+
defaultMessage: "Cancel"
|
1623
|
+
}) }) }),
|
1624
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Button, { onClick: handleConfirm, variant, children: formatMessage({
|
1625
|
+
id: "app.components.Button.confirm",
|
1626
|
+
defaultMessage: "Confirm"
|
1627
|
+
}) })
|
1628
|
+
] })
|
1629
|
+
] }) });
|
1631
1630
|
};
|
1632
1631
|
const DocumentActionModal = ({
|
1633
1632
|
isOpen,
|
@@ -1637,34 +1636,17 @@ const DocumentActionModal = ({
|
|
1637
1636
|
content: Content,
|
1638
1637
|
onModalClose
|
1639
1638
|
}) => {
|
1640
|
-
const id = React__namespace.useId();
|
1641
|
-
if (!isOpen) {
|
1642
|
-
return null;
|
1643
|
-
}
|
1644
1639
|
const handleClose = () => {
|
1645
1640
|
if (onClose) {
|
1646
1641
|
onClose();
|
1647
1642
|
}
|
1648
1643
|
onModalClose();
|
1649
1644
|
};
|
1650
|
-
return /* @__PURE__ */ jsxRuntime.
|
1651
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.
|
1652
|
-
|
1653
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
1654
|
-
|
1655
|
-
{
|
1656
|
-
paddingTop: 4,
|
1657
|
-
paddingBottom: 4,
|
1658
|
-
paddingLeft: 5,
|
1659
|
-
paddingRight: 5,
|
1660
|
-
borderWidth: "1px 0 0 0",
|
1661
|
-
borderStyle: "solid",
|
1662
|
-
borderColor: "neutral150",
|
1663
|
-
background: "neutral100",
|
1664
|
-
children: typeof Footer === "function" ? /* @__PURE__ */ jsxRuntime.jsx(Footer, { onClose: handleClose }) : Footer
|
1665
|
-
}
|
1666
|
-
)
|
1667
|
-
] });
|
1645
|
+
return /* @__PURE__ */ jsxRuntime.jsx(designSystem.Modal.Root, { open: isOpen, onOpenChange: handleClose, children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Modal.Content, { children: [
|
1646
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Modal.Header, { children: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Modal.Title, { children: title }) }),
|
1647
|
+
typeof Content === "function" ? /* @__PURE__ */ jsxRuntime.jsx(Content, { onClose: handleClose }) : /* @__PURE__ */ jsxRuntime.jsx(designSystem.Modal.Body, { children: Content }),
|
1648
|
+
typeof Footer === "function" ? /* @__PURE__ */ jsxRuntime.jsx(Footer, { onClose: handleClose }) : Footer
|
1649
|
+
] }) });
|
1668
1650
|
};
|
1669
1651
|
const PublishAction$1 = ({
|
1670
1652
|
activeTab,
|
@@ -1882,10 +1864,8 @@ const UnpublishAction$1 = ({
|
|
1882
1864
|
const { toggleNotification } = strapiAdmin.useNotification();
|
1883
1865
|
const [shouldKeepDraft, setShouldKeepDraft] = React__namespace.useState(true);
|
1884
1866
|
const isDocumentModified = document?.status === "modified";
|
1885
|
-
const handleChange = (
|
1886
|
-
|
1887
|
-
setShouldKeepDraft(e.target.value === UNPUBLISH_DRAFT_OPTIONS.KEEP);
|
1888
|
-
}
|
1867
|
+
const handleChange = (value) => {
|
1868
|
+
setShouldKeepDraft(value === UNPUBLISH_DRAFT_OPTIONS.KEEP);
|
1889
1869
|
};
|
1890
1870
|
if (!schema?.options?.draftAndPublish) {
|
1891
1871
|
return null;
|
@@ -1935,40 +1915,24 @@ const UnpublishAction$1 = ({
|
|
1935
1915
|
}) })
|
1936
1916
|
] }),
|
1937
1917
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
1938
|
-
designSystem.
|
1918
|
+
designSystem.Radio.Group,
|
1939
1919
|
{
|
1940
|
-
|
1941
|
-
|
1942
|
-
|
1943
|
-
|
1944
|
-
|
1945
|
-
|
1920
|
+
defaultValue: UNPUBLISH_DRAFT_OPTIONS.KEEP,
|
1921
|
+
name: "discard-options",
|
1922
|
+
"aria-label": formatMessage({
|
1923
|
+
id: "content-manager.actions.unpublish.dialog.radio-label",
|
1924
|
+
defaultMessage: "Choose an option to unpublish the document."
|
1925
|
+
}),
|
1926
|
+
onValueChange: handleChange,
|
1946
1927
|
children: [
|
1947
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.
|
1948
|
-
|
1949
|
-
|
1950
|
-
|
1951
|
-
|
1952
|
-
|
1953
|
-
|
1954
|
-
|
1955
|
-
id: "content-manager.actions.unpublish.dialog.option.keep-draft",
|
1956
|
-
defaultMessage: "Keep draft"
|
1957
|
-
})
|
1958
|
-
}
|
1959
|
-
),
|
1960
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
1961
|
-
designSystem.Radio,
|
1962
|
-
{
|
1963
|
-
checked: !shouldKeepDraft,
|
1964
|
-
value: UNPUBLISH_DRAFT_OPTIONS.DISCARD,
|
1965
|
-
name: "discard-options",
|
1966
|
-
children: formatMessage({
|
1967
|
-
id: "content-manager.actions.unpublish.dialog.option.replace-draft",
|
1968
|
-
defaultMessage: "Replace draft"
|
1969
|
-
})
|
1970
|
-
}
|
1971
|
-
)
|
1928
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Radio.Item, { checked: shouldKeepDraft, value: UNPUBLISH_DRAFT_OPTIONS.KEEP, children: formatMessage({
|
1929
|
+
id: "content-manager.actions.unpublish.dialog.option.keep-draft",
|
1930
|
+
defaultMessage: "Keep draft"
|
1931
|
+
}) }),
|
1932
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Radio.Item, { checked: !shouldKeepDraft, value: UNPUBLISH_DRAFT_OPTIONS.DISCARD, children: formatMessage({
|
1933
|
+
id: "content-manager.actions.unpublish.dialog.option.replace-draft",
|
1934
|
+
defaultMessage: "Replace draft"
|
1935
|
+
}) })
|
1972
1936
|
]
|
1973
1937
|
}
|
1974
1938
|
)
|
@@ -2821,30 +2785,23 @@ const ConfirmBulkActionDialog = ({
|
|
2821
2785
|
endAction
|
2822
2786
|
}) => {
|
2823
2787
|
const { formatMessage } = reactIntl.useIntl();
|
2824
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
2825
|
-
designSystem.Dialog,
|
2826
|
-
|
2827
|
-
|
2828
|
-
|
2829
|
-
|
2830
|
-
|
2831
|
-
|
2832
|
-
|
2833
|
-
|
2834
|
-
|
2835
|
-
|
2836
|
-
|
2837
|
-
|
2838
|
-
|
2839
|
-
|
2840
|
-
|
2841
|
-
}) }),
|
2842
|
-
endAction
|
2843
|
-
}
|
2844
|
-
)
|
2845
|
-
]
|
2846
|
-
}
|
2847
|
-
);
|
2788
|
+
return /* @__PURE__ */ jsxRuntime.jsx(designSystem.Dialog.Root, { onOpenChange: onToggleDialog, open: isOpen, children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Dialog.Content, { children: [
|
2789
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Dialog.Header, { children: formatMessage({
|
2790
|
+
id: "app.components.ConfirmDialog.title",
|
2791
|
+
defaultMessage: "Confirmation"
|
2792
|
+
}) }),
|
2793
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Dialog.Body, { children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { direction: "column", alignItems: "stretch", gap: 2, children: [
|
2794
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Flex, { justifyContent: "center", children: /* @__PURE__ */ jsxRuntime.jsx(Icons.WarningCircle, { width: "24px", height: "24px", fill: "danger600" }) }),
|
2795
|
+
dialogBody
|
2796
|
+
] }) }),
|
2797
|
+
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Dialog.Footer, { children: [
|
2798
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Dialog.Cancel, { children: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Button, { fullWidth: true, onClick: onToggleDialog, variant: "tertiary", children: formatMessage({
|
2799
|
+
id: "app.components.Button.cancel",
|
2800
|
+
defaultMessage: "Cancel"
|
2801
|
+
}) }) }),
|
2802
|
+
endAction
|
2803
|
+
] })
|
2804
|
+
] }) });
|
2848
2805
|
};
|
2849
2806
|
const BoldChunk$1 = (chunks) => /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { fontWeight: "bold", children: chunks });
|
2850
2807
|
const ConfirmDialogPublishAll = ({
|
@@ -2904,7 +2861,7 @@ const ConfirmDialogPublishAll = ({
|
|
2904
2861
|
defaultMessage: "Are you sure you want to publish these entries?"
|
2905
2862
|
})
|
2906
2863
|
] }),
|
2907
|
-
schema?.pluginOptions && "i18n" in schema.pluginOptions && schema?.pluginOptions.i18n && /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { textColor: "danger500", children: formatMessage(
|
2864
|
+
schema?.pluginOptions && "i18n" in schema.pluginOptions && schema?.pluginOptions.i18n && /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { textColor: "danger500", textAlign: "center", children: formatMessage(
|
2908
2865
|
{
|
2909
2866
|
id: getTranslation("Settings.list.actions.publishAdditionalInfos"),
|
2910
2867
|
defaultMessage: "This will publish the active locale versions <em>(from Internationalization)</em>"
|
@@ -2951,14 +2908,21 @@ const formatErrorMessages = (errors, parentKey, formatMessage) => {
|
|
2951
2908
|
} else {
|
2952
2909
|
messages.push(...formatErrorMessages(value, currentKey, formatMessage));
|
2953
2910
|
}
|
2911
|
+
} else {
|
2912
|
+
messages.push(
|
2913
|
+
formatMessage(
|
2914
|
+
{
|
2915
|
+
id: `${value}.withField`,
|
2916
|
+
defaultMessage: value
|
2917
|
+
},
|
2918
|
+
{ field: currentKey }
|
2919
|
+
)
|
2920
|
+
);
|
2954
2921
|
}
|
2955
2922
|
});
|
2956
2923
|
return messages;
|
2957
2924
|
};
|
2958
|
-
const EntryValidationText = ({
|
2959
|
-
validationErrors,
|
2960
|
-
isPublished = false
|
2961
|
-
}) => {
|
2925
|
+
const EntryValidationText = ({ validationErrors, status }) => {
|
2962
2926
|
const { formatMessage } = reactIntl.useIntl();
|
2963
2927
|
if (validationErrors) {
|
2964
2928
|
const validationErrorsMessages = formatErrorMessages(validationErrors, "", formatMessage).join(
|
@@ -2969,7 +2933,7 @@ const EntryValidationText = ({
|
|
2969
2933
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Tooltip, { description: validationErrorsMessages, children: /* @__PURE__ */ jsxRuntime.jsx(TypographyMaxWidth, { textColor: "danger600", variant: "omega", fontWeight: "semiBold", ellipsis: true, children: validationErrorsMessages }) })
|
2970
2934
|
] });
|
2971
2935
|
}
|
2972
|
-
if (
|
2936
|
+
if (status === "published") {
|
2973
2937
|
return /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { gap: 2, children: [
|
2974
2938
|
/* @__PURE__ */ jsxRuntime.jsx(Icons.CheckCircle, { fill: "success600" }),
|
2975
2939
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { textColor: "success600", fontWeight: "bold", children: formatMessage({
|
@@ -2978,6 +2942,15 @@ const EntryValidationText = ({
|
|
2978
2942
|
}) })
|
2979
2943
|
] });
|
2980
2944
|
}
|
2945
|
+
if (status === "modified") {
|
2946
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { gap: 2, children: [
|
2947
|
+
/* @__PURE__ */ jsxRuntime.jsx(Icons.ArrowsCounterClockwise, { fill: "alternative600" }),
|
2948
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { children: formatMessage({
|
2949
|
+
id: "content-manager.bulk-publish.modified",
|
2950
|
+
defaultMessage: "Ready to publish changes"
|
2951
|
+
}) })
|
2952
|
+
] });
|
2953
|
+
}
|
2981
2954
|
return /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { gap: 2, children: [
|
2982
2955
|
/* @__PURE__ */ jsxRuntime.jsx(Icons.CheckCircle, { fill: "success600" }),
|
2983
2956
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { children: formatMessage({
|
@@ -3029,7 +3002,7 @@ const SelectedEntriesTableContent = ({
|
|
3029
3002
|
EntryValidationText,
|
3030
3003
|
{
|
3031
3004
|
validationErrors: validationErrors[row.documentId],
|
3032
|
-
|
3005
|
+
status: row.status
|
3033
3006
|
}
|
3034
3007
|
) }),
|
3035
3008
|
/* @__PURE__ */ jsxRuntime.jsx(strapiAdmin.Table.Cell, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
@@ -3118,18 +3091,16 @@ const SelectedEntriesModalContent = ({
|
|
3118
3091
|
const [isDialogOpen, setIsDialogOpen] = React__namespace.useState(false);
|
3119
3092
|
const { publishMany: bulkPublishAction } = useDocumentActions();
|
3120
3093
|
const [, { isLoading: isSubmittingForm }] = usePublishManyDocumentsMutation();
|
3121
|
-
const
|
3122
|
-
const
|
3123
|
-
|
3124
|
-
|
3125
|
-
|
3126
|
-
return acc;
|
3127
|
-
}, []);
|
3094
|
+
const selectedRows = strapiAdmin.useTable("publishAction", (state) => state.selectedRows);
|
3095
|
+
const selectedEntries = rows.filter(
|
3096
|
+
(entry) => selectedRows.some((selectedEntry) => selectedEntry.documentId === entry.documentId)
|
3097
|
+
);
|
3098
|
+
const entriesToPublish = selectedEntries.filter((entry) => !validationErrors[entry.documentId]).map((entry) => entry.documentId);
|
3128
3099
|
const selectedEntriesWithErrorsCount = selectedEntries.filter(
|
3129
3100
|
({ documentId }) => validationErrors[documentId]
|
3130
3101
|
).length;
|
3131
3102
|
const selectedEntriesPublished = selectedEntries.filter(
|
3132
|
-
({
|
3103
|
+
({ status }) => status === "published"
|
3133
3104
|
).length;
|
3134
3105
|
const selectedEntriesWithNoErrorsCount = selectedEntries.length - selectedEntriesWithErrorsCount - selectedEntriesPublished;
|
3135
3106
|
const toggleDialog = () => setIsDialogOpen((prev) => !prev);
|
@@ -3172,7 +3143,7 @@ const SelectedEntriesModalContent = ({
|
|
3172
3143
|
);
|
3173
3144
|
};
|
3174
3145
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
3175
|
-
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.
|
3146
|
+
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Modal.Body, { children: [
|
3176
3147
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { children: getFormattedCountMessage() }),
|
3177
3148
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Box, { marginTop: 5, children: /* @__PURE__ */ jsxRuntime.jsx(
|
3178
3149
|
SelectedEntriesTableContent,
|
@@ -3184,27 +3155,24 @@ const SelectedEntriesModalContent = ({
|
|
3184
3155
|
}
|
3185
3156
|
) })
|
3186
3157
|
] }),
|
3187
|
-
/* @__PURE__ */ jsxRuntime.
|
3188
|
-
designSystem.
|
3189
|
-
|
3190
|
-
|
3191
|
-
|
3192
|
-
|
3193
|
-
}) }),
|
3194
|
-
|
3195
|
-
|
3196
|
-
|
3197
|
-
|
3198
|
-
|
3199
|
-
|
3200
|
-
|
3201
|
-
|
3202
|
-
|
3203
|
-
|
3204
|
-
|
3205
|
-
] })
|
3206
|
-
}
|
3207
|
-
),
|
3158
|
+
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Modal.Footer, { children: [
|
3159
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Button, { onClick: toggleModal, variant: "tertiary", children: formatMessage({
|
3160
|
+
id: "app.components.Button.cancel",
|
3161
|
+
defaultMessage: "Cancel"
|
3162
|
+
}) }),
|
3163
|
+
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { gap: 2, children: [
|
3164
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Button, { onClick: refetch, variant: "tertiary", loading: isFetching, children: formatMessage({ id: "app.utils.refresh", defaultMessage: "Refresh" }) }),
|
3165
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
3166
|
+
designSystem.Button,
|
3167
|
+
{
|
3168
|
+
onClick: toggleDialog,
|
3169
|
+
disabled: selectedEntries.length === 0 || selectedEntries.length === selectedEntriesWithErrorsCount || selectedEntriesPublished === selectedEntries.length || isLoading,
|
3170
|
+
loading: isSubmittingForm,
|
3171
|
+
children: formatMessage({ id: "app.utils.publish", defaultMessage: "Publish" })
|
3172
|
+
}
|
3173
|
+
)
|
3174
|
+
] })
|
3175
|
+
] }),
|
3208
3176
|
/* @__PURE__ */ jsxRuntime.jsx(
|
3209
3177
|
ConfirmDialogPublishAll,
|
3210
3178
|
{
|
@@ -3269,143 +3237,10 @@ const BulkActionsRenderer = () => {
|
|
3269
3237
|
documents: selectedRows
|
3270
3238
|
},
|
3271
3239
|
descriptions: plugins["content-manager"].apis.getBulkActions(),
|
3272
|
-
children: (actions2) => actions2.map((action) => /* @__PURE__ */ jsxRuntime.jsx(
|
3240
|
+
children: (actions2) => actions2.map((action) => /* @__PURE__ */ jsxRuntime.jsx(DocumentActionButton, { ...action }, action.id))
|
3273
3241
|
}
|
3274
3242
|
) });
|
3275
3243
|
};
|
3276
|
-
const BulkActionAction = (action) => {
|
3277
|
-
const [dialogId, setDialogId] = React__namespace.useState(null);
|
3278
|
-
const { toggleNotification } = strapiAdmin.useNotification();
|
3279
|
-
const handleClick = (action2) => (e) => {
|
3280
|
-
const { onClick, dialog, id } = action2;
|
3281
|
-
if (onClick) {
|
3282
|
-
onClick(e);
|
3283
|
-
}
|
3284
|
-
if (dialog) {
|
3285
|
-
switch (dialog.type) {
|
3286
|
-
case "notification":
|
3287
|
-
toggleNotification({
|
3288
|
-
title: dialog.title,
|
3289
|
-
message: dialog.content,
|
3290
|
-
type: dialog.status,
|
3291
|
-
timeout: dialog.timeout,
|
3292
|
-
onClose: dialog.onClose
|
3293
|
-
});
|
3294
|
-
break;
|
3295
|
-
case "dialog":
|
3296
|
-
case "modal": {
|
3297
|
-
e.preventDefault();
|
3298
|
-
setDialogId(id);
|
3299
|
-
}
|
3300
|
-
}
|
3301
|
-
}
|
3302
|
-
};
|
3303
|
-
const handleClose = () => {
|
3304
|
-
setDialogId(null);
|
3305
|
-
if (action.dialog?.type === "modal" && action.dialog?.onClose) {
|
3306
|
-
action.dialog.onClose();
|
3307
|
-
}
|
3308
|
-
};
|
3309
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
3310
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
3311
|
-
designSystem.Button,
|
3312
|
-
{
|
3313
|
-
disabled: action.disabled,
|
3314
|
-
startIcon: action.icon,
|
3315
|
-
variant: action.variant,
|
3316
|
-
onClick: handleClick(action),
|
3317
|
-
children: action.label
|
3318
|
-
}
|
3319
|
-
),
|
3320
|
-
action.dialog?.type === "dialog" ? /* @__PURE__ */ jsxRuntime.jsx(
|
3321
|
-
BulkActionConfirmDialog,
|
3322
|
-
{
|
3323
|
-
...action.dialog,
|
3324
|
-
variant: action.variant,
|
3325
|
-
isOpen: dialogId === action.id,
|
3326
|
-
onClose: handleClose
|
3327
|
-
}
|
3328
|
-
) : null,
|
3329
|
-
action.dialog?.type === "modal" ? /* @__PURE__ */ jsxRuntime.jsx(
|
3330
|
-
BulkActionModal,
|
3331
|
-
{
|
3332
|
-
...action.dialog,
|
3333
|
-
onModalClose: handleClose,
|
3334
|
-
isOpen: dialogId === action.id
|
3335
|
-
}
|
3336
|
-
) : null
|
3337
|
-
] });
|
3338
|
-
};
|
3339
|
-
const BulkActionConfirmDialog = ({
|
3340
|
-
onClose,
|
3341
|
-
onCancel,
|
3342
|
-
onConfirm,
|
3343
|
-
title,
|
3344
|
-
content,
|
3345
|
-
confirmButton,
|
3346
|
-
isOpen,
|
3347
|
-
variant = "secondary"
|
3348
|
-
}) => {
|
3349
|
-
const { formatMessage } = reactIntl.useIntl();
|
3350
|
-
const handleClose = async () => {
|
3351
|
-
if (onCancel) {
|
3352
|
-
await onCancel();
|
3353
|
-
}
|
3354
|
-
onClose();
|
3355
|
-
};
|
3356
|
-
const handleConfirm = async () => {
|
3357
|
-
if (onConfirm) {
|
3358
|
-
await onConfirm();
|
3359
|
-
}
|
3360
|
-
onClose();
|
3361
|
-
};
|
3362
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Dialog, { isOpen, title, onClose: handleClose, children: [
|
3363
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.DialogBody, { icon: /* @__PURE__ */ jsxRuntime.jsx(Icons.WarningCircle, {}), children: content }),
|
3364
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
3365
|
-
designSystem.DialogFooter,
|
3366
|
-
{
|
3367
|
-
startAction: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Button, { onClick: handleClose, variant: "tertiary", children: formatMessage({
|
3368
|
-
id: "app.components.Button.cancel",
|
3369
|
-
defaultMessage: "Cancel"
|
3370
|
-
}) }),
|
3371
|
-
endAction: /* @__PURE__ */ jsxRuntime.jsx(
|
3372
|
-
designSystem.Button,
|
3373
|
-
{
|
3374
|
-
onClick: handleConfirm,
|
3375
|
-
variant: variant === "danger-light" ? variant : "secondary",
|
3376
|
-
startIcon: variant === "danger-light" ? /* @__PURE__ */ jsxRuntime.jsx(Icons.Trash, {}) : /* @__PURE__ */ jsxRuntime.jsx(Icons.Check, {}),
|
3377
|
-
children: confirmButton ? confirmButton : formatMessage({
|
3378
|
-
id: "app.components.Button.confirm",
|
3379
|
-
defaultMessage: "Confirm"
|
3380
|
-
})
|
3381
|
-
}
|
3382
|
-
)
|
3383
|
-
}
|
3384
|
-
)
|
3385
|
-
] });
|
3386
|
-
};
|
3387
|
-
const BulkActionModal = ({
|
3388
|
-
isOpen,
|
3389
|
-
title,
|
3390
|
-
onClose,
|
3391
|
-
content: Content,
|
3392
|
-
onModalClose
|
3393
|
-
}) => {
|
3394
|
-
const id = React__namespace.useId();
|
3395
|
-
if (!isOpen) {
|
3396
|
-
return null;
|
3397
|
-
}
|
3398
|
-
const handleClose = () => {
|
3399
|
-
if (onClose) {
|
3400
|
-
onClose();
|
3401
|
-
}
|
3402
|
-
onModalClose();
|
3403
|
-
};
|
3404
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(designSystem.ModalLayout, { borderRadius: "4px", overflow: "hidden", onClose: handleClose, labelledBy: id, children: [
|
3405
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.ModalHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { fontWeight: "bold", textColor: "neutral800", tag: "h2", id, children: title }) }),
|
3406
|
-
/* @__PURE__ */ jsxRuntime.jsx(Content, { onClose: handleClose })
|
3407
|
-
] });
|
3408
|
-
};
|
3409
3244
|
const DeleteAction = ({ documents, model }) => {
|
3410
3245
|
const { formatMessage } = reactIntl.useIntl();
|
3411
3246
|
const { schema: contentType } = useDoc();
|
@@ -3438,6 +3273,7 @@ const DeleteAction = ({ documents, model }) => {
|
|
3438
3273
|
defaultMessage: "Confirmation"
|
3439
3274
|
}),
|
3440
3275
|
content: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { direction: "column", alignItems: "stretch", gap: 2, children: [
|
3276
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Flex, { justifyContent: "center", children: /* @__PURE__ */ jsxRuntime.jsx(Icons.WarningCircle, { width: "24px", height: "24px", fill: "danger600" }) }),
|
3441
3277
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { id: "confirm-description", textAlign: "center", children: formatMessage({
|
3442
3278
|
id: "popUpWarning.bodyMessage.contentType.delete.all",
|
3443
3279
|
defaultMessage: "Are you sure you want to delete these entries?"
|
@@ -3474,7 +3310,7 @@ const UnpublishAction = ({ documents, model }) => {
|
|
3474
3310
|
selectRow([]);
|
3475
3311
|
}
|
3476
3312
|
};
|
3477
|
-
const showUnpublishButton = hasDraftAndPublishEnabled && hasPublishPermission && documents.some((entry) => entry.status === "published");
|
3313
|
+
const showUnpublishButton = hasDraftAndPublishEnabled && hasPublishPermission && documents.some((entry) => entry.status === "published" || entry.status === "modified");
|
3478
3314
|
if (!showUnpublishButton)
|
3479
3315
|
return null;
|
3480
3316
|
return {
|
@@ -3487,6 +3323,7 @@ const UnpublishAction = ({ documents, model }) => {
|
|
3487
3323
|
defaultMessage: "Confirmation"
|
3488
3324
|
}),
|
3489
3325
|
content: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { direction: "column", alignItems: "stretch", gap: 2, children: [
|
3326
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Flex, { justifyContent: "center", children: /* @__PURE__ */ jsxRuntime.jsx(Icons.WarningCircle, { width: "24px", height: "24px", fill: "danger600" }) }),
|
3490
3327
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { id: "confirm-description", textAlign: "center", children: formatMessage({
|
3491
3328
|
id: "popUpWarning.bodyMessage.contentType.unpublish.all",
|
3492
3329
|
defaultMessage: "Are you sure you want to unpublish these entries?"
|
@@ -3872,7 +3709,7 @@ const index = {
|
|
3872
3709
|
defaultMessage: "Content Manager"
|
3873
3710
|
},
|
3874
3711
|
permissions: [],
|
3875
|
-
Component: () => Promise.resolve().then(() => require("./layout
|
3712
|
+
Component: () => Promise.resolve().then(() => require("./layout--iHdZzRk.js")).then((mod) => ({ default: mod.Layout })),
|
3876
3713
|
position: 1
|
3877
3714
|
});
|
3878
3715
|
app.registerPlugin(cm.config);
|
@@ -3880,7 +3717,7 @@ const index = {
|
|
3880
3717
|
async registerTrads({ locales }) {
|
3881
3718
|
const importedTrads = await Promise.all(
|
3882
3719
|
locales.map((locale) => {
|
3883
|
-
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-
|
3720
|
+
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-fbKQxLGn.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 }) => {
|
3884
3721
|
return {
|
3885
3722
|
data: prefixPluginTranslations(data, PLUGIN_ID),
|
3886
3723
|
locale
|
@@ -3938,4 +3775,4 @@ exports.useGetAllDocumentsQuery = useGetAllDocumentsQuery;
|
|
3938
3775
|
exports.useGetContentTypeConfigurationQuery = useGetContentTypeConfigurationQuery;
|
3939
3776
|
exports.useGetInitialDataQuery = useGetInitialDataQuery;
|
3940
3777
|
exports.useUpdateContentTypeConfigurationMutation = useUpdateContentTypeConfigurationMutation;
|
3941
|
-
//# sourceMappingURL=index-
|
3778
|
+
//# sourceMappingURL=index-CWpLBSt0.js.map
|