@strapi/content-manager 5.0.5 → 5.1.0
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-DWxHeClF.mjs → ComponentConfigurationPage-BpM_Hc7r.mjs} +3 -3
- package/dist/_chunks/{ComponentConfigurationPage-DWxHeClF.mjs.map → ComponentConfigurationPage-BpM_Hc7r.mjs.map} +1 -1
- package/dist/_chunks/{ComponentConfigurationPage-B6_S7HuK.js → ComponentConfigurationPage-CL9CAMaL.js} +3 -3
- package/dist/_chunks/{ComponentConfigurationPage-B6_S7HuK.js.map → ComponentConfigurationPage-CL9CAMaL.js.map} +1 -1
- package/dist/_chunks/{EditConfigurationPage-CU1UZNov.js → EditConfigurationPage-ILWo0h1e.js} +3 -3
- package/dist/_chunks/{EditConfigurationPage-CU1UZNov.js.map → EditConfigurationPage-ILWo0h1e.js.map} +1 -1
- package/dist/_chunks/{EditConfigurationPage-CPNOHO6p.mjs → EditConfigurationPage-_prbqpTM.mjs} +3 -3
- package/dist/_chunks/{EditConfigurationPage-CPNOHO6p.mjs.map → EditConfigurationPage-_prbqpTM.mjs.map} +1 -1
- package/dist/_chunks/{EditViewPage-DaF3tkZZ.js → EditViewPage-BqZvBN4s.js} +3 -3
- package/dist/_chunks/{EditViewPage-DaF3tkZZ.js.map → EditViewPage-BqZvBN4s.js.map} +1 -1
- package/dist/_chunks/{EditViewPage-DNSIfKKP.mjs → EditViewPage-DAtscabN.mjs} +3 -3
- package/dist/_chunks/{EditViewPage-DNSIfKKP.mjs.map → EditViewPage-DAtscabN.mjs.map} +1 -1
- package/dist/_chunks/{Field-DH47H7B8.js → Field-CcoQiiz1.js} +4 -4
- package/dist/_chunks/Field-CcoQiiz1.js.map +1 -0
- package/dist/_chunks/{Field-ArMLuLzP.mjs → Field-D-mgn1tH.mjs} +4 -4
- package/dist/_chunks/Field-D-mgn1tH.mjs.map +1 -0
- package/dist/_chunks/{Form-CT2R0sf0.mjs → Form-BxyeWiXW.mjs} +2 -2
- package/dist/_chunks/{Form-CT2R0sf0.mjs.map → Form-BxyeWiXW.mjs.map} +1 -1
- package/dist/_chunks/{Form-8jrwSm8k.js → Form-CmLbZDfi.js} +2 -2
- package/dist/_chunks/{Form-8jrwSm8k.js.map → Form-CmLbZDfi.js.map} +1 -1
- package/dist/_chunks/{History-DL1eBEu4.mjs → History-BOhLaq_g.mjs} +17 -33
- package/dist/_chunks/History-BOhLaq_g.mjs.map +1 -0
- package/dist/_chunks/{History-CfXujgPi.js → History-uECUbCZB.js} +17 -33
- package/dist/_chunks/History-uECUbCZB.js.map +1 -0
- package/dist/_chunks/{ListConfigurationPage-DnGxJY6S.mjs → ListConfigurationPage-D0vQez6F.mjs} +2 -2
- package/dist/_chunks/{ListConfigurationPage-DnGxJY6S.mjs.map → ListConfigurationPage-D0vQez6F.mjs.map} +1 -1
- package/dist/_chunks/{ListConfigurationPage-n2omMsK6.js → ListConfigurationPage-D_bBSFNW.js} +2 -2
- package/dist/_chunks/{ListConfigurationPage-n2omMsK6.js.map → ListConfigurationPage-D_bBSFNW.js.map} +1 -1
- package/dist/_chunks/{ListViewPage-DM8PgfPi.js → ListViewPage-BkZ83b1A.js} +3 -3
- package/dist/_chunks/{ListViewPage-DM8PgfPi.js.map → ListViewPage-BkZ83b1A.js.map} +1 -1
- package/dist/_chunks/{ListViewPage-BzY1kZ43.mjs → ListViewPage-ns-bmy5C.mjs} +3 -3
- package/dist/_chunks/{ListViewPage-BzY1kZ43.mjs.map → ListViewPage-ns-bmy5C.mjs.map} +1 -1
- package/dist/_chunks/{NoContentTypePage-Dng14IxY.mjs → NoContentTypePage-BA5ZKMDR.mjs} +2 -2
- package/dist/_chunks/{NoContentTypePage-Dng14IxY.mjs.map → NoContentTypePage-BA5ZKMDR.mjs.map} +1 -1
- package/dist/_chunks/{NoContentTypePage-CQgAmFxY.js → NoContentTypePage-C1439s4s.js} +2 -2
- package/dist/_chunks/{NoContentTypePage-CQgAmFxY.js.map → NoContentTypePage-C1439s4s.js.map} +1 -1
- package/dist/_chunks/{NoPermissionsPage-CvDTxLVe.mjs → NoPermissionsPage-B0GdMw1Q.mjs} +2 -2
- package/dist/_chunks/{NoPermissionsPage-CvDTxLVe.mjs.map → NoPermissionsPage-B0GdMw1Q.mjs.map} +1 -1
- package/dist/_chunks/{NoPermissionsPage-CDMclDMB.js → NoPermissionsPage-CPGwsVfb.js} +2 -2
- package/dist/_chunks/{NoPermissionsPage-CDMclDMB.js.map → NoPermissionsPage-CPGwsVfb.js.map} +1 -1
- package/dist/_chunks/{Relations-u-F7eBc1.mjs → Relations-BIGPMSW4.mjs} +3 -3
- package/dist/_chunks/{Relations-u-F7eBc1.mjs.map → Relations-BIGPMSW4.mjs.map} +1 -1
- package/dist/_chunks/{Relations-DPgT9YBQ.js → Relations-d-8Uef_-.js} +3 -3
- package/dist/_chunks/{Relations-DPgT9YBQ.js.map → Relations-d-8Uef_-.js.map} +1 -1
- package/dist/_chunks/{en-Bm0D0IWz.js → en-Bdpa50w3.js} +6 -2
- package/dist/_chunks/{en-Bm0D0IWz.js.map → en-Bdpa50w3.js.map} +1 -1
- package/dist/_chunks/{en-DKV44jRb.mjs → en-CZw4xdPY.mjs} +6 -2
- package/dist/_chunks/{en-DKV44jRb.mjs.map → en-CZw4xdPY.mjs.map} +1 -1
- package/dist/_chunks/{es-EUonQTon.js → es-9K52xZIr.js} +2 -2
- package/dist/_chunks/{ja-CcFe8diO.js.map → es-9K52xZIr.js.map} +1 -1
- package/dist/_chunks/{es-CeXiYflN.mjs → es-D34tqjMw.mjs} +2 -2
- package/dist/_chunks/{es-CeXiYflN.mjs.map → es-D34tqjMw.mjs.map} +1 -1
- package/dist/_chunks/{fr-CD9VFbPM.mjs → fr--pg5jUbt.mjs} +13 -3
- package/dist/_chunks/{fr-CD9VFbPM.mjs.map → fr--pg5jUbt.mjs.map} +1 -1
- package/dist/_chunks/{fr-B7kGGg3E.js → fr-B2Kyv8Z9.js} +13 -3
- package/dist/_chunks/{fr-B7kGGg3E.js.map → fr-B2Kyv8Z9.js.map} +1 -1
- package/dist/_chunks/{index-CpWBTebP.mjs → index-3_WeHXYp.mjs} +83 -16
- package/dist/_chunks/index-3_WeHXYp.mjs.map +1 -0
- package/dist/_chunks/{index-By9LCuJo.js → index-BgaeYWIy.js} +81 -14
- package/dist/_chunks/index-BgaeYWIy.js.map +1 -0
- package/dist/_chunks/{ja-CcFe8diO.js → ja-7sfIbjxE.js} +2 -2
- package/dist/_chunks/{es-EUonQTon.js.map → ja-7sfIbjxE.js.map} +1 -1
- package/dist/_chunks/{ja-CtsUxOvk.mjs → ja-BHqhDq4V.mjs} +2 -2
- package/dist/_chunks/{ja-CtsUxOvk.mjs.map → ja-BHqhDq4V.mjs.map} +1 -1
- package/dist/_chunks/{layout-DgVwKNX2.js → layout-ByFyQRDH.js} +3 -3
- package/dist/_chunks/{layout-DgVwKNX2.js.map → layout-ByFyQRDH.js.map} +1 -1
- package/dist/_chunks/{layout-Dyy-wd_i.mjs → layout-CrTxOnCy.mjs} +3 -3
- package/dist/_chunks/{layout-Dyy-wd_i.mjs.map → layout-CrTxOnCy.mjs.map} +1 -1
- package/dist/_chunks/{relations-BSPEL9Tj.mjs → relations-BlpLgngh.mjs} +2 -2
- package/dist/_chunks/{relations-BSPEL9Tj.mjs.map → relations-BlpLgngh.mjs.map} +1 -1
- package/dist/_chunks/{relations-Cybx8J7k.js → relations-C5RSW926.js} +2 -2
- package/dist/_chunks/{relations-Cybx8J7k.js.map → relations-C5RSW926.js.map} +1 -1
- package/dist/admin/index.js +1 -1
- package/dist/admin/index.mjs +1 -1
- package/dist/admin/src/preview/components/PreviewSidePanel.d.ts +3 -0
- package/dist/admin/src/preview/index.d.ts +1 -1
- package/dist/admin/src/preview/services/preview.d.ts +3 -0
- package/package.json +6 -6
- package/dist/_chunks/Field-ArMLuLzP.mjs.map +0 -1
- package/dist/_chunks/Field-DH47H7B8.js.map +0 -1
- package/dist/_chunks/History-CfXujgPi.js.map +0 -1
- package/dist/_chunks/History-DL1eBEu4.mjs.map +0 -1
- package/dist/_chunks/index-By9LCuJo.js.map +0 -1
- package/dist/_chunks/index-CpWBTebP.mjs.map +0 -1
@@ -74,7 +74,7 @@ const en = {
|
|
74
74
|
"components.TableEmpty.withFilters": "There are no {contentType} with the applied filters...",
|
75
75
|
"components.TableEmpty.withSearch": "There are no {contentType} corresponding to the search ({search})...",
|
76
76
|
"components.TableEmpty.withoutFilter": "There are no {contentType}...",
|
77
|
-
"components.empty-repeatable": "No entry yet. Click
|
77
|
+
"components.empty-repeatable": "No entry yet. Click to add one.",
|
78
78
|
"components.notification.info.maximum-requirement": "You have already reached the maximum number of fields",
|
79
79
|
"components.notification.info.minimum-requirement": "A field has been added to match the minimum requirement",
|
80
80
|
"components.repeatable.reorder.error": "An error occurred while reordering your component's field, please try again",
|
@@ -234,6 +234,10 @@ const en = {
|
|
234
234
|
"popUpWarning.warning.unpublish-question": "Are you sure you don't want to publish it?",
|
235
235
|
"popUpWarning.warning.updateAllSettings": "This will modify all your settings",
|
236
236
|
"popover.display-relations.label": "Display relations",
|
237
|
+
"preview.panel.title": "Preview",
|
238
|
+
"preview.panel.button": "Open preview",
|
239
|
+
"preview.copy.label": "Copy preview link",
|
240
|
+
"preview.copy.success": "Copied preview link",
|
237
241
|
"relation.add": "Add relation",
|
238
242
|
"relation.disconnect": "Remove",
|
239
243
|
"relation.error-adding-relation": "An error occurred while trying to add the relation.",
|
@@ -290,4 +294,4 @@ export {
|
|
290
294
|
models,
|
291
295
|
pageNotFound
|
292
296
|
};
|
293
|
-
//# sourceMappingURL=en-
|
297
|
+
//# sourceMappingURL=en-CZw4xdPY.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"en-
|
1
|
+
{"version":3,"file":"en-CZw4xdPY.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -54,7 +54,7 @@ const es = {
|
|
54
54
|
"components.TableEmpty.withFilters": "No hay {contentType} con los filtros aplicados...",
|
55
55
|
"components.TableEmpty.withSearch": "No hay {contentType} que coincida con la búsqueda ({search})...",
|
56
56
|
"components.TableEmpty.withoutFilter": "No hay {contentType}...",
|
57
|
-
"components.empty-repeatable": "Aún no hay entrada. Haga clic
|
57
|
+
"components.empty-repeatable": "Aún no hay entrada. Haga clic para agregar una.",
|
58
58
|
"components.notification.info.maximum-requirement": "Ya has alcanzado el número máximo de campos",
|
59
59
|
"components.notification.info.minimum-requirement": "Se ha agregado un campo para cumplir con el requisito mínimo",
|
60
60
|
"components.repeatable.reorder.error": "Se produjo un error al reordenar el campo de su componente. Vuelva a intentarlo.",
|
@@ -193,4 +193,4 @@ exports.default = es;
|
|
193
193
|
exports.groups = groups;
|
194
194
|
exports.models = models;
|
195
195
|
exports.pageNotFound = pageNotFound;
|
196
|
-
//# sourceMappingURL=es-
|
196
|
+
//# sourceMappingURL=es-9K52xZIr.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"
|
1
|
+
{"version":3,"file":"es-9K52xZIr.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -52,7 +52,7 @@ const es = {
|
|
52
52
|
"components.TableEmpty.withFilters": "No hay {contentType} con los filtros aplicados...",
|
53
53
|
"components.TableEmpty.withSearch": "No hay {contentType} que coincida con la búsqueda ({search})...",
|
54
54
|
"components.TableEmpty.withoutFilter": "No hay {contentType}...",
|
55
|
-
"components.empty-repeatable": "Aún no hay entrada. Haga clic
|
55
|
+
"components.empty-repeatable": "Aún no hay entrada. Haga clic para agregar una.",
|
56
56
|
"components.notification.info.maximum-requirement": "Ya has alcanzado el número máximo de campos",
|
57
57
|
"components.notification.info.minimum-requirement": "Se ha agregado un campo para cumplir con el requisito mínimo",
|
58
58
|
"components.repeatable.reorder.error": "Se produjo un error al reordenar el campo de su componente. Vuelva a intentarlo.",
|
@@ -193,4 +193,4 @@ export {
|
|
193
193
|
models,
|
194
194
|
pageNotFound
|
195
195
|
};
|
196
|
-
//# sourceMappingURL=es-
|
196
|
+
//# sourceMappingURL=es-D34tqjMw.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"es-
|
1
|
+
{"version":3,"file":"es-D34tqjMw.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -52,7 +52,7 @@ const fr = {
|
|
52
52
|
"components.TableEmpty.withFilters": "Aucun {contentType} n'a été trouvé avec ces filtres...",
|
53
53
|
"components.TableEmpty.withSearch": "Aucun {contentType} n'a été trouvé avec cette recherche ({search})...",
|
54
54
|
"components.TableEmpty.withoutFilter": "Aucun {contentType} n'a été trouvé...",
|
55
|
-
"components.empty-repeatable": "Il n'a pas encore d'entrée. Cliquez
|
55
|
+
"components.empty-repeatable": "Il n'a pas encore d'entrée. Cliquez pour en ajouter une.",
|
56
56
|
"components.notification.info.maximum-requirement": "Le nombre maximal de champs est atteint",
|
57
57
|
"components.notification.info.minimum-requirement": "Un champ a été rajouté pour remplir les conditions minimales",
|
58
58
|
"components.repeatable.reorder.error": "Une erreur s'est produite lors de la réorganisation du champ de votre composant, veuillez réessayer",
|
@@ -195,7 +195,17 @@ const fr = {
|
|
195
195
|
"apiError.This attribute must be unique": "Le champ {field} doit être unique",
|
196
196
|
"popUpWarning.warning.publish-question": "Êtes-vous sûr de vouloir le publier ?",
|
197
197
|
"popUpwarning.warning.has-draft-relations.button-confirm": "Oui, publier",
|
198
|
-
"popUpwarning.warning.has-draft-relations.message": "<b>{count, plural, =0 { des relations de votre contenu n'est} one { des relations de votre contenu n'est} other { des relations de votre contenu ne sont}}</b> pas publié actuellement.<br></br>Cela peut engendrer des liens cassés ou des erreurs dans votre projet."
|
198
|
+
"popUpwarning.warning.has-draft-relations.message": "<b>{count, plural, =0 { des relations de votre contenu n'est} one { des relations de votre contenu n'est} other { des relations de votre contenu ne sont}}</b> pas publié actuellement.<br></br>Cela peut engendrer des liens cassés ou des erreurs dans votre projet.",
|
199
|
+
"history.sidebar.show-newer": "Voir les versions récentes",
|
200
|
+
"history.sidebar.show-older": "Voir les anciennes versions",
|
201
|
+
"history.content.new-field.message": "Ce champ n'existait pas lorsque cette version a été sauvegardée. Si vous restaurez cette version, il sera vide.",
|
202
|
+
"history.content.unknown-fields.message": "Ces champs ont été supprimés ou renommés dans le Content-Type Builder. <b>Ces champs ne seront pas restaurés.</b>",
|
203
|
+
"history.content.no-relations": "Aucune relation.",
|
204
|
+
"history.restore.confirm.button": "Restaurer",
|
205
|
+
"history.restore.confirm.title": "Êtes-vous sûr de vouloir restaurer cette version ?",
|
206
|
+
"history.restore.confirm.message": "{isDraft, select, true {Le contenu restauré écrasera votre brouillon.} other {Le contenu restauré ne sera pas publié, il écrasera le brouillon et sera sauvegardé en tant que changement en attente de publication. Vous pourrez publier les changements à tout moment.}}",
|
207
|
+
"history.restore.success.title": "Version restaurée.",
|
208
|
+
"history.restore.success.message": "Le contenu de la version restaurée n'a pas encore été publié."
|
199
209
|
};
|
200
210
|
export {
|
201
211
|
fr as default,
|
@@ -203,4 +213,4 @@ export {
|
|
203
213
|
models,
|
204
214
|
pageNotFound
|
205
215
|
};
|
206
|
-
//# sourceMappingURL=fr
|
216
|
+
//# sourceMappingURL=fr--pg5jUbt.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"fr
|
1
|
+
{"version":3,"file":"fr--pg5jUbt.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -54,7 +54,7 @@ const fr = {
|
|
54
54
|
"components.TableEmpty.withFilters": "Aucun {contentType} n'a été trouvé avec ces filtres...",
|
55
55
|
"components.TableEmpty.withSearch": "Aucun {contentType} n'a été trouvé avec cette recherche ({search})...",
|
56
56
|
"components.TableEmpty.withoutFilter": "Aucun {contentType} n'a été trouvé...",
|
57
|
-
"components.empty-repeatable": "Il n'a pas encore d'entrée. Cliquez
|
57
|
+
"components.empty-repeatable": "Il n'a pas encore d'entrée. Cliquez pour en ajouter une.",
|
58
58
|
"components.notification.info.maximum-requirement": "Le nombre maximal de champs est atteint",
|
59
59
|
"components.notification.info.minimum-requirement": "Un champ a été rajouté pour remplir les conditions minimales",
|
60
60
|
"components.repeatable.reorder.error": "Une erreur s'est produite lors de la réorganisation du champ de votre composant, veuillez réessayer",
|
@@ -197,10 +197,20 @@ const fr = {
|
|
197
197
|
"apiError.This attribute must be unique": "Le champ {field} doit être unique",
|
198
198
|
"popUpWarning.warning.publish-question": "Êtes-vous sûr de vouloir le publier ?",
|
199
199
|
"popUpwarning.warning.has-draft-relations.button-confirm": "Oui, publier",
|
200
|
-
"popUpwarning.warning.has-draft-relations.message": "<b>{count, plural, =0 { des relations de votre contenu n'est} one { des relations de votre contenu n'est} other { des relations de votre contenu ne sont}}</b> pas publié actuellement.<br></br>Cela peut engendrer des liens cassés ou des erreurs dans votre projet."
|
200
|
+
"popUpwarning.warning.has-draft-relations.message": "<b>{count, plural, =0 { des relations de votre contenu n'est} one { des relations de votre contenu n'est} other { des relations de votre contenu ne sont}}</b> pas publié actuellement.<br></br>Cela peut engendrer des liens cassés ou des erreurs dans votre projet.",
|
201
|
+
"history.sidebar.show-newer": "Voir les versions récentes",
|
202
|
+
"history.sidebar.show-older": "Voir les anciennes versions",
|
203
|
+
"history.content.new-field.message": "Ce champ n'existait pas lorsque cette version a été sauvegardée. Si vous restaurez cette version, il sera vide.",
|
204
|
+
"history.content.unknown-fields.message": "Ces champs ont été supprimés ou renommés dans le Content-Type Builder. <b>Ces champs ne seront pas restaurés.</b>",
|
205
|
+
"history.content.no-relations": "Aucune relation.",
|
206
|
+
"history.restore.confirm.button": "Restaurer",
|
207
|
+
"history.restore.confirm.title": "Êtes-vous sûr de vouloir restaurer cette version ?",
|
208
|
+
"history.restore.confirm.message": "{isDraft, select, true {Le contenu restauré écrasera votre brouillon.} other {Le contenu restauré ne sera pas publié, il écrasera le brouillon et sera sauvegardé en tant que changement en attente de publication. Vous pourrez publier les changements à tout moment.}}",
|
209
|
+
"history.restore.success.title": "Version restaurée.",
|
210
|
+
"history.restore.success.message": "Le contenu de la version restaurée n'a pas encore été publié."
|
201
211
|
};
|
202
212
|
exports.default = fr;
|
203
213
|
exports.groups = groups;
|
204
214
|
exports.models = models;
|
205
215
|
exports.pageNotFound = pageNotFound;
|
206
|
-
//# sourceMappingURL=fr-
|
216
|
+
//# sourceMappingURL=fr-B2Kyv8Z9.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"fr-
|
1
|
+
{"version":3,"file":"fr-B2Kyv8Z9.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { More, Cross, WarningCircle, ListPlus, Pencil, Trash, Check, CrossCircle, CheckCircle, ArrowsCounterClockwise, ChevronRight, Duplicate, ClockCounterClockwise, Feather } from "@strapi/icons";
|
1
|
+
import { More, Cross, WarningCircle, ListPlus, Pencil, Trash, Check, CrossCircle, CheckCircle, ArrowsCounterClockwise, ChevronRight, Duplicate, ClockCounterClockwise, Link as Link$1, Feather } from "@strapi/icons";
|
2
2
|
import { jsx, Fragment, jsxs } from "react/jsx-runtime";
|
3
|
-
import { useStrapiApp, createContext, useQueryParams, useAuth, useRBAC, Page, adminApi, translatedErrors, useNotification, useAPIErrorHandler, getYupValidationErrors, useForm, useTracking, useGuidedTour, BackButton, DescriptionComponentRenderer, useTable, Table } from "@strapi/admin/strapi-admin";
|
3
|
+
import { useStrapiApp, createContext, useQueryParams, useAuth, useRBAC, Page, adminApi, translatedErrors, useNotification, useAPIErrorHandler, getYupValidationErrors, useForm, useTracking, useGuidedTour, BackButton, DescriptionComponentRenderer, useTable, Table, useClipboard } from "@strapi/admin/strapi-admin";
|
4
4
|
import * as React from "react";
|
5
5
|
import { lazy } from "react";
|
6
6
|
import { Button, Menu, VisuallyHidden, Flex, Typography, Dialog, Modal, Radio, Status, Box, SingleSelect, SingleSelectOption, IconButton, Loader, Tooltip, LinkButton } from "@strapi/design-system";
|
@@ -271,7 +271,7 @@ const documentApi = contentManagerApi.injectEndpoints({
|
|
271
271
|
*/
|
272
272
|
getAllDocuments: builder.query({
|
273
273
|
query: ({ model, params }) => ({
|
274
|
-
url: `/content-manager/collection-types/${model}
|
274
|
+
url: `/content-manager/collection-types/${model}`,
|
275
275
|
method: "GET",
|
276
276
|
config: {
|
277
277
|
params
|
@@ -1664,7 +1664,7 @@ const useDocumentActions = () => {
|
|
1664
1664
|
};
|
1665
1665
|
};
|
1666
1666
|
const ProtectedHistoryPage = lazy(
|
1667
|
-
() => import("./History-
|
1667
|
+
() => import("./History-BOhLaq_g.mjs").then((mod) => ({ default: mod.ProtectedHistoryPage }))
|
1668
1668
|
);
|
1669
1669
|
const routes$1 = [
|
1670
1670
|
{
|
@@ -1677,31 +1677,31 @@ const routes$1 = [
|
|
1677
1677
|
}
|
1678
1678
|
];
|
1679
1679
|
const ProtectedEditViewPage = lazy(
|
1680
|
-
() => import("./EditViewPage-
|
1680
|
+
() => import("./EditViewPage-DAtscabN.mjs").then((mod) => ({ default: mod.ProtectedEditViewPage }))
|
1681
1681
|
);
|
1682
1682
|
const ProtectedListViewPage = lazy(
|
1683
|
-
() => import("./ListViewPage-
|
1683
|
+
() => import("./ListViewPage-ns-bmy5C.mjs").then((mod) => ({ default: mod.ProtectedListViewPage }))
|
1684
1684
|
);
|
1685
1685
|
const ProtectedListConfiguration = lazy(
|
1686
|
-
() => import("./ListConfigurationPage-
|
1686
|
+
() => import("./ListConfigurationPage-D0vQez6F.mjs").then((mod) => ({
|
1687
1687
|
default: mod.ProtectedListConfiguration
|
1688
1688
|
}))
|
1689
1689
|
);
|
1690
1690
|
const ProtectedEditConfigurationPage = lazy(
|
1691
|
-
() => import("./EditConfigurationPage-
|
1691
|
+
() => import("./EditConfigurationPage-_prbqpTM.mjs").then((mod) => ({
|
1692
1692
|
default: mod.ProtectedEditConfigurationPage
|
1693
1693
|
}))
|
1694
1694
|
);
|
1695
1695
|
const ProtectedComponentConfigurationPage = lazy(
|
1696
|
-
() => import("./ComponentConfigurationPage-
|
1696
|
+
() => import("./ComponentConfigurationPage-BpM_Hc7r.mjs").then((mod) => ({
|
1697
1697
|
default: mod.ProtectedComponentConfigurationPage
|
1698
1698
|
}))
|
1699
1699
|
);
|
1700
1700
|
const NoPermissions = lazy(
|
1701
|
-
() => import("./NoPermissionsPage-
|
1701
|
+
() => import("./NoPermissionsPage-B0GdMw1Q.mjs").then((mod) => ({ default: mod.NoPermissions }))
|
1702
1702
|
);
|
1703
1703
|
const NoContentType = lazy(
|
1704
|
-
() => import("./NoContentTypePage-
|
1704
|
+
() => import("./NoContentTypePage-BA5ZKMDR.mjs").then((mod) => ({ default: mod.NoContentType }))
|
1705
1705
|
);
|
1706
1706
|
const CollectionTypePages = () => {
|
1707
1707
|
const { collectionType } = useParams();
|
@@ -4001,13 +4001,80 @@ const { setInitialData } = actions;
|
|
4001
4001
|
const reducer = combineReducers({
|
4002
4002
|
app: reducer$1
|
4003
4003
|
});
|
4004
|
+
const previewApi = contentManagerApi.injectEndpoints({
|
4005
|
+
endpoints: (builder) => ({
|
4006
|
+
getPreviewUrl: builder.query({
|
4007
|
+
query({ query, params }) {
|
4008
|
+
return {
|
4009
|
+
url: `/content-manager/preview/url/${params.contentType}`,
|
4010
|
+
method: "GET",
|
4011
|
+
config: {
|
4012
|
+
params: query
|
4013
|
+
}
|
4014
|
+
};
|
4015
|
+
}
|
4016
|
+
})
|
4017
|
+
})
|
4018
|
+
});
|
4019
|
+
const { useGetPreviewUrlQuery } = previewApi;
|
4020
|
+
const PreviewSidePanel = ({ model, documentId, document }) => {
|
4021
|
+
const { formatMessage } = useIntl();
|
4022
|
+
const { toggleNotification } = useNotification();
|
4023
|
+
const { copy } = useClipboard();
|
4024
|
+
const { data, error } = useGetPreviewUrlQuery({
|
4025
|
+
params: {
|
4026
|
+
contentType: model
|
4027
|
+
},
|
4028
|
+
query: {
|
4029
|
+
documentId,
|
4030
|
+
locale: document?.locale,
|
4031
|
+
status: document?.status
|
4032
|
+
}
|
4033
|
+
});
|
4034
|
+
if (!data?.data?.url || error) {
|
4035
|
+
return null;
|
4036
|
+
}
|
4037
|
+
const { url } = data.data;
|
4038
|
+
const handleCopyLink = () => {
|
4039
|
+
copy(url);
|
4040
|
+
toggleNotification({
|
4041
|
+
message: formatMessage({
|
4042
|
+
id: "content-manager.preview.copy.success",
|
4043
|
+
defaultMessage: "Copied preview link"
|
4044
|
+
}),
|
4045
|
+
type: "success"
|
4046
|
+
});
|
4047
|
+
};
|
4048
|
+
return {
|
4049
|
+
title: formatMessage({ id: "content-manager.preview.panel.title", defaultMessage: "Preview" }),
|
4050
|
+
content: /* @__PURE__ */ jsxs(Flex, { gap: 2, width: "100%", children: [
|
4051
|
+
/* @__PURE__ */ jsx(Button, { variant: "tertiary", tag: Link, to: url, target: "_blank", flex: "auto", children: formatMessage({
|
4052
|
+
id: "content-manager.preview.panel.button",
|
4053
|
+
defaultMessage: "Open preview"
|
4054
|
+
}) }),
|
4055
|
+
/* @__PURE__ */ jsx(
|
4056
|
+
IconButton,
|
4057
|
+
{
|
4058
|
+
type: "button",
|
4059
|
+
label: formatMessage({
|
4060
|
+
id: "preview.copy.label",
|
4061
|
+
defaultMessage: "Copy preview link"
|
4062
|
+
}),
|
4063
|
+
onClick: handleCopyLink,
|
4064
|
+
children: /* @__PURE__ */ jsx(Link$1, {})
|
4065
|
+
}
|
4066
|
+
)
|
4067
|
+
] })
|
4068
|
+
};
|
4069
|
+
};
|
4004
4070
|
const FEATURE_ID = "preview";
|
4005
4071
|
const previewAdmin = {
|
4006
4072
|
bootstrap(app) {
|
4007
4073
|
if (!window.strapi.future.isEnabled(FEATURE_ID)) {
|
4008
|
-
return
|
4074
|
+
return;
|
4009
4075
|
}
|
4010
|
-
|
4076
|
+
const contentManagerPluginApis = app.getPlugin("content-manager").apis;
|
4077
|
+
contentManagerPluginApis.addEditViewSidePanel([PreviewSidePanel]);
|
4011
4078
|
}
|
4012
4079
|
};
|
4013
4080
|
const index = {
|
@@ -4029,7 +4096,7 @@ const index = {
|
|
4029
4096
|
app.router.addRoute({
|
4030
4097
|
path: "content-manager/*",
|
4031
4098
|
lazy: async () => {
|
4032
|
-
const { Layout } = await import("./layout-
|
4099
|
+
const { Layout } = await import("./layout-CrTxOnCy.mjs");
|
4033
4100
|
return {
|
4034
4101
|
Component: Layout
|
4035
4102
|
};
|
@@ -4049,7 +4116,7 @@ const index = {
|
|
4049
4116
|
async registerTrads({ locales }) {
|
4050
4117
|
const importedTrads = await Promise.all(
|
4051
4118
|
locales.map((locale) => {
|
4052
|
-
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-
|
4119
|
+
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-CZw4xdPY.mjs"), "./translations/es.json": () => import("./es-D34tqjMw.mjs"), "./translations/eu.json": () => import("./eu-CdALomew.mjs"), "./translations/fr.json": () => import("./fr--pg5jUbt.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-BHqhDq4V.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 }) => {
|
4053
4120
|
return {
|
4054
4121
|
data: prefixPluginTranslations(data, PLUGIN_ID),
|
4055
4122
|
locale
|
@@ -4110,4 +4177,4 @@ export {
|
|
4110
4177
|
capitalise as y,
|
4111
4178
|
useUpdateContentTypeConfigurationMutation as z
|
4112
4179
|
};
|
4113
|
-
//# sourceMappingURL=index-
|
4180
|
+
//# sourceMappingURL=index-3_WeHXYp.mjs.map
|