strapi-plugin-comments 3.2.3-beta.2 → 3.2.4

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.
Files changed (48) hide show
  1. package/dist/_chunks/{en-Y06L5Ws_.mjs → en-CT6Rt2uf.mjs} +5 -0
  2. package/dist/_chunks/en-Tdlz6WoL.js +1 -0
  3. package/dist/_chunks/fr-BlaISu0-.js +1 -0
  4. package/dist/_chunks/{fr-Cv2agoba.mjs → fr-CTKzDZoe.mjs} +7 -2
  5. package/dist/_chunks/{index-T4wQaxSs.mjs → index-BIaTg-pL.mjs} +2062 -2080
  6. package/dist/_chunks/{index-DxpJkJBv.js → index-BIivsuhp.js} +1 -1
  7. package/dist/_chunks/{index-QQjHUmZX.js → index-CgbBtemc.js} +14 -14
  8. package/dist/_chunks/{index-CEpIxnxx.mjs → index-CqWqvu-C.mjs} +814 -781
  9. package/dist/_chunks/{index-BOiPKIfk.mjs → index-CynNsAVf.mjs} +14 -13
  10. package/dist/_chunks/index-D9B_m9fB.mjs +417 -0
  11. package/dist/_chunks/index-Dz3cg8MA.js +1 -0
  12. package/dist/_chunks/index-sPxsE9Y1.js +5 -0
  13. package/dist/_chunks/{pl-a5516Yys.mjs → pl-BE9Xc2Tq.mjs} +4 -0
  14. package/dist/_chunks/pl-r2tJzCYX.js +1 -0
  15. package/dist/_chunks/pt-BR-BntmApbV.js +1 -0
  16. package/dist/_chunks/{pt-BR-DwEywOda.mjs → pt-BR-ZzKZqryk.mjs} +4 -0
  17. package/dist/_chunks/ru-DdjjIy0c.js +1 -0
  18. package/dist/_chunks/{ru-72L1_BWN.mjs → ru-NqAiywiG.mjs} +4 -0
  19. package/dist/_chunks/{tr-Ca93Ai2h.mjs → tr-6Vivmm9L.mjs} +4 -0
  20. package/dist/_chunks/{tr-B2Tw9kcB.js → tr-v1mNvsod.js} +1 -1
  21. package/dist/_chunks/{zh-Hans-DXLzMysj.mjs → zh-Hans-B3CCaxs8.mjs} +4 -0
  22. package/dist/_chunks/zh-Hans-_ImAlhp2.js +1 -0
  23. package/dist/admin/index.js +1 -1
  24. package/dist/admin/index.mjs +1 -1
  25. package/dist/admin/src/translations/en.d.ts +5 -0
  26. package/dist/admin/src/translations/fr.d.ts +5 -0
  27. package/dist/admin/src/translations/pl.d.ts +196 -192
  28. package/dist/admin/src/translations/pt-BR.d.ts +4 -0
  29. package/dist/admin/src/translations/ru.d.ts +4 -0
  30. package/dist/admin/src/translations/tr.d.ts +4 -0
  31. package/dist/admin/src/translations/zh-Hans.d.ts +4 -0
  32. package/dist/server/index.js +22 -22
  33. package/dist/server/index.mjs +874 -844
  34. package/dist/server/src/index.d.ts +3 -3
  35. package/dist/server/src/services/admin/admin.service.d.ts +1 -1
  36. package/dist/server/src/services/client.service.d.ts +1 -1
  37. package/dist/server/src/services/common.service.d.ts +1 -1
  38. package/dist/server/src/services/index.d.ts +3 -3
  39. package/package.json +1 -1
  40. package/dist/_chunks/en-nurIIakL.js +0 -1
  41. package/dist/_chunks/fr-JAoXWyAN.js +0 -1
  42. package/dist/_chunks/index-BR27qalE.js +0 -1
  43. package/dist/_chunks/index-DMbK1qUe.js +0 -5
  44. package/dist/_chunks/index-DToI8I6s.mjs +0 -340
  45. package/dist/_chunks/pl-DUaDM2d3.js +0 -1
  46. package/dist/_chunks/pt-BR-BXuFBSgm.js +0 -1
  47. package/dist/_chunks/ru-B7jFc-n7.js +0 -1
  48. package/dist/_chunks/zh-Hans-Cp3JcN8q.js +0 -1
@@ -13794,7 +13794,7 @@ declare const _default: {
13794
13794
  author?: any;
13795
13795
  };
13796
13796
  }>;
13797
- findAllPerAuthor({ filters, populate, pagination, sort, fields, isAdmin, authorId, }: {
13797
+ findAllPerAuthor({ filters, populate, pagination, sort, omit, fields, isAdmin, authorId, limit, locale, skip, }: {
13798
13798
  type?: string;
13799
13799
  sort?: string;
13800
13800
  authorId?: string | number;
@@ -23766,7 +23766,7 @@ declare const _default: {
23766
23766
  author?: any;
23767
23767
  };
23768
23768
  }>;
23769
- findAllPerAuthor({ filters, populate, pagination, sort, fields, isAdmin, authorId, }: {
23769
+ findAllPerAuthor({ filters, populate, pagination, sort, omit, fields, isAdmin, authorId, limit, locale, skip, }: {
23770
23770
  type?: string;
23771
23771
  sort?: string;
23772
23772
  authorId?: string | number;
@@ -32727,7 +32727,7 @@ declare const _default: {
32727
32727
  author?: any;
32728
32728
  };
32729
32729
  }>;
32730
- findAllPerAuthor({ filters, populate, pagination, sort, fields, isAdmin, authorId, }: {
32730
+ findAllPerAuthor({ filters, populate, pagination, sort, omit, fields, isAdmin, authorId, limit, locale, skip, }: {
32731
32731
  type?: string;
32732
32732
  sort?: string;
32733
32733
  authorId?: string | number;
@@ -5944,7 +5944,7 @@ declare const _default: ({ strapi }: StrapiContext) => {
5944
5944
  author?: any;
5945
5945
  };
5946
5946
  }>;
5947
- findAllPerAuthor({ filters, populate, pagination, sort, fields, isAdmin, authorId, }: {
5947
+ findAllPerAuthor({ filters, populate, pagination, sort, omit, fields, isAdmin, authorId, limit, locale, skip, }: {
5948
5948
  type?: string;
5949
5949
  sort?: string;
5950
5950
  authorId?: string | number;
@@ -5948,7 +5948,7 @@ export declare const clientService: ({ strapi }: StrapiContext) => {
5948
5948
  author?: any;
5949
5949
  };
5950
5950
  }>;
5951
- findAllPerAuthor({ filters, populate, pagination, sort, fields, isAdmin, authorId, }: {
5951
+ findAllPerAuthor({ filters, populate, pagination, sort, omit, fields, isAdmin, authorId, limit, locale, skip, }: {
5952
5952
  type?: string;
5953
5953
  sort?: string;
5954
5954
  authorId?: string | number;
@@ -424,7 +424,7 @@ declare const commonService: ({ strapi }: StrapiContext) => {
424
424
  author?: any;
425
425
  };
426
426
  }>;
427
- findAllPerAuthor({ filters, populate, pagination, sort, fields, isAdmin, authorId, }: clientValidator.FindAllPerAuthorValidatorSchema, isStrapiAuthor?: boolean): Promise<{
427
+ findAllPerAuthor({ filters, populate, pagination, sort, omit, fields, isAdmin, authorId, limit, locale, skip, }: clientValidator.FindAllPerAuthorValidatorSchema, isStrapiAuthor?: boolean): Promise<{
428
428
  data: ({
429
429
  id?: number;
430
430
  documentId?: string;
@@ -5943,7 +5943,7 @@ declare const pluginServices: {
5943
5943
  author?: any;
5944
5944
  };
5945
5945
  }>;
5946
- findAllPerAuthor({ filters, populate, pagination, sort, fields, isAdmin, authorId, }: {
5946
+ findAllPerAuthor({ filters, populate, pagination, sort, omit, fields, isAdmin, authorId, limit, locale, skip, }: {
5947
5947
  type?: string;
5948
5948
  sort?: string;
5949
5949
  authorId?: string | number;
@@ -15915,7 +15915,7 @@ declare const pluginServices: {
15915
15915
  author?: any;
15916
15916
  };
15917
15917
  }>;
15918
- findAllPerAuthor({ filters, populate, pagination, sort, fields, isAdmin, authorId, }: {
15918
+ findAllPerAuthor({ filters, populate, pagination, sort, omit, fields, isAdmin, authorId, limit, locale, skip, }: {
15919
15919
  type?: string;
15920
15920
  sort?: string;
15921
15921
  authorId?: string | number;
@@ -24876,7 +24876,7 @@ declare const pluginServices: {
24876
24876
  author?: any;
24877
24877
  };
24878
24878
  }>;
24879
- findAllPerAuthor({ filters, populate, pagination, sort, fields, isAdmin, authorId, }: {
24879
+ findAllPerAuthor({ filters, populate, pagination, sort, omit, fields, isAdmin, authorId, limit, locale, skip, }: {
24880
24880
  type?: string;
24881
24881
  sort?: string;
24882
24882
  authorId?: string | number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "strapi-plugin-comments",
3
- "version": "3.2.3-beta.2",
3
+ "version": "3.2.4",
4
4
  "description": "Strapi - Comments plugin",
5
5
  "strapi": {
6
6
  "name": "comments",
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={"plugin.name":"Comments","plugin.section":"Comments plugin","plugin.section.item":"Configuration","common.button.back":"Go back","common.more":"More","common.search":"Search","nav.header.moderation":"Moderation","nav.header.settings":"Settings","nav.item.updates":"Updates","nav.item.discover":"Discover","nav.item.reports":"Reports","nav.item.settings":"Settings","page.auth.noAccess":"No access","page.auth.not.allowed":"Oops! It seems like You do not have access to this page...","page.common.item.status.OPEN":"Open","page.common.item.status.PENDING":"Pending","page.common.item.status.BLOCKED":"Blocked","page.common.item.status.APPROVED":"Approved","page.common.item.status.RESOLVED":"Resolved","page.common.item.status.TO_REVIEW":"To review ({count, number})","page.common.item.status.REJECTED":"Rejected","page.common.item.status.REMOVED":"Removed","page.common.item.status.setFilter":"Set status...","page.updates.header":"Recent updates","page.discover.header":"Discover threads","page.discover.header.count":"{count} entries found","page.discover.table.header.id":"ID","page.discover.table.header.author":"Author","page.discover.table.header.author.email":"E-mail not provided","page.discover.table.header.message":"Message","page.discover.table.header.thread":"Thread of","page.discover.table.header.entry":"Entry","page.discover.table.header.lastUpdate":"Last update","page.discover.table.header.status":"Status","page.discover.table.header.actions":"Actions","page.discover.table.cell.thread":"Comment #{id}","page.discover.table.action.display":"Display","page.discover.table.action.reports":"Reports","page.discover.table.empty":"You don't have any comments yet.","page.discover.table.empty.search":"No comments match the search.","page.discover.table.filters":"Filtering","page.discover.table.reports.review":"Review reports","page.reports.header":"Resolve reports","page.reports.table.empty":"You don't have any reports yet.","page.reports.table.empty.search":"No reports match the search.","page.reports.table.header.id":"ID","page.reports.table.header.reason":"Reason","page.reports.table.header.content":"Content","page.reports.table.header.status":"Status","page.reports.table.header.issueDate":"Issue date","page.reports.table.header.relatedComment":"Related comment","page.reports.table.header.actions":"Actions","page.reports.table.cell.action.resolve":"resolved","page.reports.table.cell.action.block":"Block","page.details.header":"Discussion panel","page.details.header.description":"Drilldown and manage discussion related to the entity","page.details.header.description.empty":"This entry has been deleted","page.details.panel.discussion":"Discussion","page.details.panel.discussion.nav.drilldown":"Drilldown","page.details.panel.discussion.nav.back":"Go top","page.details.panel.discussion.warnings.reports.description":"open reports","page.details.panel.discussion.warnings.reports.review":"Review","page.details.panel.discussion.warnings.reports.dialog.list":"Reports","page.details.panel.discussion.warnings.reports.dialog.header":"Moderation: Review open reports","page.details.panel.discussion.warnings.reports.dialog.selectAll":"Select all entries","page.details.panel.discussion.warnings.reports.dialog.select":"Select entity","page.details.panel.discussion.warnings.reports.dialog.reason":"Reason","page.details.panel.discussion.warnings.reports.dialog.reason.BAD_LANGUAGE":"Bad language","page.details.panel.discussion.warnings.reports.dialog.reason.DISCRIMINATION":"Discrimination","page.details.panel.discussion.warnings.reports.dialog.reason.OTHER":"Other","page.details.panel.discussion.warnings.reports.dialog.content":"Content","page.details.panel.discussion.warnings.reports.dialog.createdAt":"Issue date","page.details.panel.discussion.warnings.reports.dialog.status":"Status","page.details.panel.discussion.warnings.reports.dialog.status.OPEN":"Open","page.details.panel.discussion.warnings.reports.dialog.status.RESOLVED":"Resolved","page.details.panel.discussion.warnings.reports.dialog.actions":"Actions","page.details.panel.discussion.warnings.reports.dialog.actions.resolve":"Resolve","page.details.panel.discussion.warnings.reports.dialog.actions.resolve.selected":"Resolve reports ({count})","page.details.panel.discussion.warnings.reports.dialog.confirmation.success":"Open report has been resolved","page.details.panel.discussion.warnings.reports.selected.dialog.confirmation.success":"Open reports has been resolved","page.details.panel.discussion.warnings.comments.header":"Moderation: Review reported comment","page.details.panel.discussion.status.blocked":"Blocked","page.details.panel.discussion.reply":"Reply","page.details.panel.discussion.reopen":"Re-open","page.details.panel.discussion.send":"Send Moderator response","page.details.actions.comment.post.confirmation":"Comment has been posted","page.details.actions.comment.update.confirmation":"Comment has been updated","page.details.panel.entity":"Entity details","page.details.panel.status":"Discussion is","page.details.panel.status.open":"Open","page.details.panel.status.blocked":"Blocked","page.details.panel.status.pending":"Pending","page.details.panel.loading":"Fetching entity...","page.details.actions.comment.block":"Block comment","page.details.actions.comment.block.confirmation.header":"Moderation: Block comment","page.details.actions.comment.block.confirmation.description":"Do you really want to block this comment?","page.details.actions.comment.block.confirmation.button.confirm":"Yes, block it","page.details.actions.comment.block.confirmation.success":"Comment has been blocked","page.details.actions.comment.unblock":"Unblock comment","page.details.actions.comment.unblock.confirmation.success":"Comment has been unblocked","page.details.actions.comment.delete":"Delete comment","page.details.actions.comment.delete.confirmation.success":"Comment has been deleted","page.details.actions.comment.reports.review":"Review","page.details.actions.comment.reports.approve":"Approve","page.details.actions.comment.reports.reject":"Reject","page.details.actions.thread.block":"Block thread","page.details.actions.thread.block.confirmation.header":"Moderation: Block thread","page.details.actions.thread.block.confirmation.description":"Do you really want to block whole thread? No further discussions are going to be allowed.","page.details.actions.thread.block.confirmation.button.confirm":"Yes, block it","page.details.actions.thread.block.confirmation.success":"Thread has been blocked","page.details.actions.thread.unblock":"Unblock thread","page.details.actions.thread.unblock.confirmation.success":"Thread has been unblocked","page.details.actions.thread.modal.start.thread":"Start thread","page.details.actions.thread.modal.update.comment":"Update comment","page.details.actions.comment.approve.confirmation.success":"Comment has been approved","page.details.actions.comment.reject.confirmation.success":"Comment has been rejected","page.details.filters.label":"View","page.details.filters.removed.visibility":"Show removed comments","page.coming.soon":"Wait for what is coming soon...","page.settings":"Settings","page.settings.header.title":"Comments","page.settings.header.description":"Configure your comments moderation capabilities","page.settings.actions.submit":"Save","page.settings.actions.restore":"Restore default settings","page.settings.actions.restart":"Restart Strapi","page.settings.section.general":"General configuration","page.settings.section.additional":"Additional configuration","page.settings.section.client":"Client portal configuration","page.settings.section.restore":"Restore default settings","page.settings.section.restore.subtitle":"Discarding all of applied settings and getting back to plugin default ones. Use reasonable.","page.settings.form.enabledCollections.label":"Enable comments only for","page.settings.form.enabledCollections.placeholder":"Select one or more collection","page.settings.form.enabledCollections.hint":"If none is selected, all the content types are enabled","page.settings.form.contentTypesSettings.label":"Content types","page.settings.form.contentTypesSettings.tooltip":"Custom configuration per content type","page.settings.form.moderatorRoles.label":"Send significant notifications to","page.settings.form.moderatorRoles.placeholder":"Select one or more roles","page.settings.form.moderatorRoles.hint":"Roles which are going to be notified by the plugin about significant actions to perform","page.settings.form.badWords.label":"Bad words filtering","page.settings.form.badWords.hint":"If enabled, every post / update of comment is going to be checked against bad wording","page.settings.form.gqlAuth.label":"GraphQL queries authorization","page.settings.form.gqlAuth.hint":"If enabled, GraphQL API queries & mutations can be triggered only by Authenticated Strapi users. Otherwise API remains open.","page.settings.form.approvalFlow.label":"Approval flow","page.settings.form.approvalFlow.hint":'Comments associated with content type "{name}" are going to be taken through manual approval flow',"page.settings.form.entryLabel.label":"Title fields","page.settings.form.entryLabel.placeholder":"Select at least one or leave empty to apply defaults","page.settings.form.entryLabel.hint":'If left empty title rendering is going to take following ordered fields: "Title", "Subject" & "Name"',"page.settings.form.client.url.label":"Portal URL","page.settings.form.client.url.hint":"URL where your client portal is available","page.settings.form.client.email.label":"Communication e-mail","page.settings.form.client.email.hint":"E-mail address used for mailings, communication with users on behalf of portal team","page.settings.actions.restore.confirmation.header":"Restore default configuration","page.settings.actions.restore.confirmation.description":"You're about to restore plugin configuration to it default values. It might have destructive impact on already collected content. Do you really want to proceed?","page.settings.actions.restore.confirmation.button.confirm":"Yes, I want to restore","page.settings.actions.restart.alert.title":"Strapi requires restart","page.settings.actions.restart.alert.description":"You've made a configuration changes which requires your Strapi application to be restarted to take an effect in GraphQL schema. Do it manually or by using below trigger.","page.settings.actions.restart.alert.close":"Discard","page.settings.notification.fetch.error":"Failed to fetch configuration. Retrying...","page.settings.notification.submit.success":"Configuration has been saved successfully","page.settings.notification.submit.error":"Failed to save configuration. Try again.","page.settings.notification.restore.success":"Configuration has been restored successfully","page.settings.notification.restore.error":"Failed to restore configuration. Try again.","page.settings.notification.restart.success":"Application has been restarted successfully","page.settings.notification.restart.error":"Failed to restart your application. Try to do it manually.","page.settings.loading":"Fetching configuration...","page.settings.form.author.blockedProps.label":"Blocked author details","page.settings.form.author.blockedProps.hint":"Specified properties will be filtered out from author's details (comma-separated)","components.confirmation.dialog.header":"Confirmation","components.confirmation.dialog.description":"Do you really want to perform this action?","components.confirmation.dialog.button.confirm":"Yes, I do","components.confirmation.dialog.button.cancel":"Cancel","components.toogle.enabled":"Enabled","components.toogle.disabled":"Disabled","components.author.unknown":"Author removed","components.reason.unknown":"Reason not provided","components.content.unknown":"Content not provided","components.notAccessPage.back":"Back to homepage","customField.comments.label":"Comments","customField.comments.description":"Specify comments query params","customField.comments.input.commentsNumber.label":"Number of comments","customField.comments.input.renderType.label":"Render comments as","customField.comments.input.renderType.option.tree.label":"Tree","customField.comments.input.renderType.option.flat.label":"Flat list","customField.comments.input.sortByDate.label":"Sort by creation date","customField.comments.input.sortByDate.option.asc.label":"Ascending","customField.comments.input.sortByDate.option.desc.label":"Descending","customField.comments.input.filterBy.label":"Filter by","customField.comments.input.filterBy.option.dateCreated.label":"Creation date","customField.comments.input.filterBy.option.dateCreated.label.details.label":"Specify date","customField.comments.input.filterBy.option.approvalStatus.label":"Approval Status","customField.comments.input.filterBy.option.approvalStatus.label.details.label":"Specify status","customField.comments.input.filterBy.option.approvalStatus.option.pending.label":"Pending","customField.comments.input.filterBy.option.approvalStatus.option.approved.label":"Approved","customField.comments.input.filterBy.option.approvalStatus.option.rejected.label":"Rejected","customField.comments.input.populate.label":"Populate","customField.comments.input.populate.author.label":"Populate author field","customField.comments.input.populate.avatar.label":"Populate avatar field","wysiwyg.bold":"Bold","wysiwyg.italic":"Italic","wysiwyg.underline":"Underline","wysiwyg.strikethrough":"Strikethrough","wysiwyg.bulletList":"Bullet list","wysiwyg.numberList":"Number list","wysiwyg.code":"Code","wysiwyg.link":"Link","wysiwyg.quote":"Quote","success.approveItem":"Comment has been approved","success.rejectItem":"Comment has been rejected"};exports.default=e;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={"plugin.name":"Commentaires","plugin.section":"Plugin de commentaires","plugin.section.item":"Configuration","common.button.back":"Retour","common.more":"Plus","common.search":"Rechercher","nav.header.moderation":"Modération","nav.header.settings":"Paramètres","nav.item.updates":"Mises à jour","nav.item.discover":"Découvrir","nav.item.reports":"Signalements","nav.item.settings":"Paramètres","page.auth.noAccess":"Aucun accès","page.auth.not.allowed":"Oups ! Il semble que vous n'ayez pas accès à cette page…","page.common.item.status.OPEN":"Ouvert","page.common.item.status.PENDING":"En attente","page.common.item.status.BLOCKED":"Bloqué","page.common.item.status.APPROVED":"Approuvé","page.common.item.status.RESOLVED":"Résolu","page.common.item.status.TO_REVIEW":"À examiner ({count, number})","page.common.item.status.REJECTED":"Rejeté","page.common.item.status.REMOVED":"Retiré par l'auteur","page.common.item.status.setFilter":"Définir le statut…","page.updates.header":"Mises à jour récentes","page.discover.header":"Découvrir les fils de discussion","page.discover.header.count":"{count} entrées trouvées","page.discover.table.header.id":"ID","page.discover.table.header.author":"Auteur","page.discover.table.header.author.email":"E-mail non fourni","page.discover.table.header.message":"Message","page.discover.table.header.thread":"Fil de discussion de","page.discover.table.header.entry":"Entrée","page.discover.table.header.lastUpdate":"Dernière mise à jour","page.discover.table.header.status":"Statut","page.discover.table.header.actions":"Actions","page.discover.table.cell.thread":"Commentaire #{id}","page.discover.table.action.display":"Afficher","page.discover.table.action.reports":"Signalements","page.discover.table.empty":"Vous n'avez pas encore de commentaires.","page.discover.table.empty.search":"Aucun commentaire ne correspond à votre recherche.","page.discover.table.filters":"Filtrage","page.discover.table.reports.review":"Examen des signalements","page.reports.header":"Résoudre les signalements","page.reports.table.empty":"Vous n'avez pas encore de signalements.","page.reports.table.empty.search":"Aucun signalement ne correspond à votre recherche.","page.reports.table.header.id":"ID","page.reports.table.header.reason":"Motif","page.reports.table.header.content":"Contenu","page.reports.table.header.status":"Statut","page.reports.table.header.issueDate":"Date du problème","page.reports.table.header.relatedComment":"Commentaire associé","page.reports.table.header.actions":"Actions","page.reports.table.cell.action.resolve":"résolu","page.reports.table.cell.action.block":"Bloquer","page.details.header":"Panneau de discussion","page.details.header.description":"Exploration et gestion de discussions relatives à l'entité","page.details.header.description.empty":"Cette entrée a été supprimée","page.details.panel.discussion":"Discussion","page.details.panel.discussion.nav.drilldown":"Exploration","page.details.panel.discussion.nav.back":"Retour en haut","page.details.panel.discussion.warnings.reports.description":"signalements ouverts","page.details.panel.discussion.warnings.reports.review":"Examiner","page.details.panel.discussion.warnings.reports.dialog.list":"Signalements","page.details.panel.discussion.warnings.reports.dialog.header":"Modération : Examiner les signalements ouverts","page.details.panel.discussion.warnings.reports.dialog.selectAll":"Sélectionner toutes les entrées","page.details.panel.discussion.warnings.reports.dialog.select":"Sélectionnez l'entité","page.details.panel.discussion.warnings.reports.dialog.reason":"Motif","page.details.panel.discussion.warnings.reports.dialog.reason.BAD_LANGUAGE":"Langage grossier","page.details.panel.discussion.warnings.reports.dialog.reason.DISCRIMINATION":"Discrimination","page.details.panel.discussion.warnings.reports.dialog.reason.OTHER":"Autre","page.details.panel.discussion.warnings.reports.dialog.content":"Contenu","page.details.panel.discussion.warnings.reports.dialog.createdAt":"Date de création","page.details.panel.discussion.warnings.reports.dialog.status":"Statut","page.details.panel.discussion.warnings.reports.dialog.status.OPEN":"Ouvert","page.details.panel.discussion.warnings.reports.dialog.status.RESOLVED":"Résolu","page.details.panel.discussion.warnings.reports.dialog.actions":"Actions","page.details.panel.discussion.warnings.reports.dialog.actions.resolve":"Résoudre","page.details.panel.discussion.warnings.reports.dialog.actions.resolve.selected":"Résoudre les signalements ({count})","page.details.panel.discussion.warnings.reports.dialog.confirmation.success":"Le signalement ouvert a été résolu","page.details.panel.discussion.warnings.reports.selected.dialog.confirmation.success":"Les signalements ouverts ont été résolus","page.details.panel.discussion.warnings.comments.header":"Modération : Examiner le commentaire signalé","page.details.panel.discussion.status.blocked":"Bloqué","page.details.panel.discussion.reply":"Répondre","page.details.panel.discussion.reopen":"Réouvrir","page.details.panel.discussion.send":"Envoyer la réponse du modérateur","page.details.actions.comment.post.confirmation":"Le commentaire a été publié","page.details.actions.comment.update.confirmation":"Le commentaire a été mis à jour","page.details.panel.entity":"Détail de l'entité","page.details.panel.status":"La discussion est","page.details.panel.status.open":"Ouverte","page.details.panel.status.blocked":"Bloquée","page.details.panel.status.pending":"En attente","page.details.panel.loading":"Récupération de l'entité…","page.details.actions.comment.block":"Bloquer le commentaire","page.details.actions.comment.block.confirmation.header":"Modération : Bloquer le commentaire","page.details.actions.comment.block.confirmation.description":"Voulez-vous vraiment bloquer ce commentaire ?","page.details.actions.comment.block.confirmation.button.confirm":"Oui, bloquer","page.details.actions.comment.block.confirmation.success":"Le commentaire a été bloqué","page.details.actions.comment.unblock":"Débloquer le commentaire","page.details.actions.comment.unblock.confirmation.success":"Le commentaire a été débloqué","page.details.actions.comment.delete":"Supprimer le commentaire","page.details.actions.comment.delete.confirmation.success":"Le commentaire a été supprimé","page.details.actions.comment.reports.review":"Examiner","page.details.actions.comment.reports.approve":"Approuver","page.details.actions.comment.reports.reject":"Rejeter","page.details.actions.thread.block":"Bloquer le fil de discussion","page.details.actions.thread.block.confirmation.header":"Modération : Bloquer le fil de discussion","page.details.actions.thread.block.confirmation.description":"Voulez-vous vraiment bloquer tout le fil de discussion ? Aucune autre discussion ne sera autorisée.","page.details.actions.thread.block.confirmation.button.confirm":"Oui, bloquer","page.details.actions.thread.block.confirmation.success":"Le fil de discussion a été bloqué","page.details.actions.thread.unblock":"Débloquer le fil de discussion","page.details.actions.thread.unblock.confirmation.success":"Le fil de discussion a été débloqué","page.details.actions.thread.modal.start.thread":"Démarrer un fil de discussion","page.details.actions.thread.modal.update.comment":"Mettre à jour le commentaire","page.details.actions.comment.approve.confirmation.success":"Le commentaire a été approuvé","page.details.actions.comment.reject.confirmation.success":"Le commentaire a été rejeté","page.details.filters.label":"Voir","page.details.filters.removed.visibility":"Afficher les commentaires supprimés","page.coming.soon":"Attendez de voir ce qui va bientôt arriver…","page.settings":"Paramètres","page.settings.header.title":"Commentaires","page.settings.header.description":"Configurez vos capacités de modération des commentaires","page.settings.actions.submit":"Enregistrer","page.settings.actions.restore":"Restaurer les paramètres par défaut","page.settings.actions.restart":"Redémarrer Strapi","page.settings.section.general":"Configuration générale","page.settings.section.additional":"Configuration supplémentaire","page.settings.section.client":"Configuration du portail client","page.settings.section.restore":"Restaurer les paramètres par défaut","page.settings.section.restore.subtitle":"Suppression de tous les paramètres appliqués et retour aux paramètres par défaut du plugin. À utiliser avec prudence.","page.settings.form.enabledCollections.label":"Activer les commentaires uniquement pour","page.settings.form.enabledCollections.placeholder":"Sélectionnez une ou plusieurs collections","page.settings.form.enabledCollections.hint":"Si rien n'est sélectionné, tous les types de contenu sont activés","page.settings.form.contentTypesSettings.label":"Types de contenu","page.settings.form.contentTypesSettings.tooltip":"Configuration personnalisée par type de contenu","page.settings.form.moderatorRoles.label":"Envoyer des notifications importantes à","page.settings.form.moderatorRoles.placeholder":"Sélectionnez un ou plusieurs rôles","page.settings.form.moderatorRoles.hint":"Rôles qui seront notifiés par le plugin sur les actions importantes à effectuer","page.settings.form.badWords.label":"Filtrage des gros mots","page.settings.form.badWords.hint":"Si activé, chaque publication/mise à jour de commentaire sera vérifiée contre les gros mots","page.settings.form.gqlAuth.label":"Autorisation des requêtes GraphQL","page.settings.form.gqlAuth.hint":"Si activé, les requêtes et mutations de l'API GraphQL ne peuvent être déclenchées que par les utilisateurs Strapi authentifiés. Sinon, l'API reste ouverte.","page.settings.form.approvalFlow.label":"Flux de validation","page.settings.form.approvalFlow.hint":"Les commentaires associés au type de contenu « {nom} » seront soumis à un flux de vérification manuel","page.settings.form.entryLabel.label":"Champs de titre","page.settings.form.entryLabel.placeholder":"Sélectionnez au moins un champ ou laissez vide pour appliquer les valeurs par défaut","page.settings.form.entryLabel.hint":"Si vous laissez vide, le rendu du titre sera le suivant : « Titre », « Sujet » & « Nom »","page.settings.form.client.url.label":"URL du portail","page.settings.form.client.url.hint":"URL où votre portail client est disponible","page.settings.form.client.email.label":"E-mail de communication","page.settings.form.client.email.hint":"Adresse e-mail utilisée pour les campagnes de communication avec les utilisateurs au nom de l'équipe du portail","page.settings.actions.restore.confirmation.header":"Restaurer la configuration par défaut","page.settings.actions.restore.confirmation.description":"Vous êtes sur le point de restaurer la configuration du plugin à ses valeurs par défaut. Cela pourrait avoir un impact destructeur sur le contenu déjà collecté. Voulez-vous vraiment continuer ?","page.settings.actions.restore.confirmation.button.confirm":"Oui, je veux restaurer","page.settings.actions.restart.alert.title":"Strapi requiert un redémarrage","page.settings.actions.restart.alert.description":"Vous avez effectué un changement de configuration qui nécessite que votre application Strapi soit redémarrée pour prendre effet dans le schéma GraphQL. Faites-le manuellement ou en utilisant le déclencheur ci-dessous.","page.settings.actions.restart.alert.close":"Annuler","page.settings.notification.fetch.error":"Impossible de récupérer la configuration. Nouvelle tentative en cours…","page.settings.notification.submit.success":"La configuration a bien été enregistrée","page.settings.notification.submit.error":"Échec de l'enregistrement de la configuration. Veuillez rééssayer plus tard.","page.settings.notification.restore.success":"La configuration a bien été restaurée","page.settings.notification.restore.error":"Impossible de restaurer la configuration. Veuillez rééssayer plus tard.","page.settings.notification.restart.success":"L'application a bien été redémarrée","page.settings.notification.restart.error":"Le redémarrage de votre application a échoué. Essayez de le faire manuellement.","page.settings.loading":"Récupération de la configuration…","page.settings.form.author.blockedProps.label":"Détail de l'auteur bloqué","page.settings.form.author.blockedProps.hint":"Les propriétés indiquées seront masquées dans le détail de l'auteur (séparées par des virgules)","components.confirmation.dialog.header":"Confirmation","components.confirmation.dialog.description":"Voulez-vous vraiment effectuer cette action ?","components.confirmation.dialog.button.confirm":"Oui, je le veux","components.confirmation.dialog.button.cancel":"Annuler","components.toogle.enabled":"Activé","components.toogle.disabled":"Désactivé","components.author.unknown":"Auteur supprimé","components.reason.unknown":"Motif inconnu","components.content.unknown":"Contenu inconnu","components.notAccessPage.back":"Retour à la page d'accueil","customField.comments.label":"Commentaires","customField.comments.description":"Spécifiez les paramètres query des commentaires","customField.comments.input.commentsNumber.label":"Nombre de commentaires","customField.comments.input.renderType.label":"Afficher les commentaires sous forme de","customField.comments.input.renderType.option.tree.label":"Arbre","customField.comments.input.renderType.option.flat.label":"Liste","customField.comments.input.sortByDate.label":"Trier par date de création","customField.comments.input.sortByDate.option.asc.label":"Plus ancien","customField.comments.input.sortByDate.option.desc.label":"Plus récent","customField.comments.input.filterBy.label":"Filtrer par","customField.comments.input.filterBy.option.dateCreated.label":"Date de création","customField.comments.input.filterBy.option.dateCreated.label.details.label":"Date spécifique","customField.comments.input.filterBy.option.approvalStatus.label":"Statut d'approbation","customField.comments.input.filterBy.option.approvalStatus.label.details.label":"Statut spécifique","customField.comments.input.filterBy.option.approvalStatus.option.pending.label":"En attente","customField.comments.input.filterBy.option.approvalStatus.option.approved.label":"Approuvé","customField.comments.input.filterBy.option.approvalStatus.option.rejected.label":"Rejeté","customField.comments.input.populate.label":"Charger","customField.comments.input.populate.author.label":"Charger le champ auteur","customField.comments.input.populate.avatar.label":"Charger le champ avatar","wysiwyg.bold":"Gras","wysiwyg.italic":"Italique","wysiwyg.underline":"Souligné","wysiwyg.strikethrough":"Barré","wysiwyg.bulletList":"Liste à puces","wysiwyg.numberList":"Liste numérotée","wysiwyg.code":"Code","wysiwyg.link":"Lien","wysiwyg.quote":"Citation","success.approveItem":"Le commentaire a été approuvé","success.rejectItem":"Le commentaire a été rejeté"};exports.default=e;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("@strapi/design-system"),y=require("@strapi/icons"),h=require("@strapi/strapi/admin"),g=require("@tanstack/react-query"),s=require("./index-DxpJkJBv.js"),x=require("react"),N=require("styled-components"),W=o=>o&&o.__esModule?o:{default:o},_=W(N),w=({children:o,condition:a})=>a?e.jsx(e.Fragment,{children:o}):null,U=(o={})=>{const a=s.useAPI(),j=g.useMutation({mutationFn:a.settings.update,onSuccess:o.updateSettingsMutationSuccess,onError:o.updateSettingsMutationError}),d=g.useMutation({mutationFn:a.settings.restore,onSuccess:o.restoreSettingsMutationSuccess,onError:o.restoreSettingsMutationError}),b=g.useMutation({mutationFn:a.settings.restart,onSuccess:o.restartStrapiMutationSuccess,onError:o.restartStrapiMutationError}),u=g.useQuery({queryKey:a.config.getKey(),queryFn:a.config.query}),p=g.useQuery({queryKey:a.contentTypeBuilder.all.getKey(),queryFn:a.contentTypeBuilder.all.query}),m=g.useQuery({queryKey:a.roles.getKey(),queryFn:a.roles.query});return x.useMemo(()=>({config:u,collectionTypes:p,roles:m,restoreSettingsMutation:d,updateSettingsMutation:j,restartStrapiMutation:b}),[u,m,p,d,j,b])},M={background:"neutral0",hasRadius:!0,shadow:"filterShadow",padding:6,width:"100%"},V=_.default(t.Alert)(()=>({"[role]":{flexDirection:"column"}})),$=()=>{const o=x.useRef(null),{toggleNotification:a}=h.useNotification(),[j,d]=x.useState(!1),{isLoadingForPermissions:b,canSettingsChange:u}=s.usePermissions(),p=g.useQueryClient(),m=s.useAPI(),{config:l,collectionTypes:C,roles:F,restoreSettingsMutation:T,updateSettingsMutation:R,restartStrapiMutation:A}=U({restoreSettingsMutationSuccess:()=>{p.invalidateQueries({queryKey:m.config.getKey(),exact:!1}),d(!0),a({message:s.getMessage("page.settings.actions.restore.success"),type:"success"})},restartStrapiMutationSuccess:()=>{d(!1)},updateSettingsMutationSuccess:()=>{p.invalidateQueries({queryKey:m.config.getKey(),exact:!1}),d(!0)}}),P=x.useCallback(()=>{o.current?.requestSubmit()},[]),k=x.useCallback(n=>{R.mutate({...n,blockedAuthorProps:n.blockedAuthorProps.split(",").map(r=>r.trim())})},[R]);if(l.status!=="success"||C.status!=="success"||F.status!=="success"||b)return s.getMessage("page.settings.loading");const S=C.data.filter(n=>n.uid.includes("api::")),G=l.data.enabledCollections.filter(n=>S.some(r=>r.uid===n)),v=s.lodashExports.isNil(l.data.badWords)?!0:l.data?.badWords,B=!!l.data.gql?.auth,E=l.data.moderatorRoles.filter(n=>F.data.filter(r=>r.code===n)),H=l.data.client?.url,K=l.data.client?.contactEmail,Q=l.data.blockedAuthorProps??[],O=()=>d(!1);return e.jsxs(e.Fragment,{children:[e.jsx(h.Page.Title,{children:"Comments - settings"}),e.jsxs(h.Page.Main,{children:[e.jsx(h.Layouts.Header,{title:s.getMessage("page.settings.header.title"),subtitle:s.getMessage("page.settings.header.description"),as:"h2",primaryAction:e.jsx(w,{condition:u,children:e.jsx(t.Button,{type:"submit",startIcon:e.jsx(y.Check,{}),onClick:P,children:s.getMessage("page.settings.actions.submit")})})}),e.jsxs(h.Layouts.Content,{children:[j&&e.jsx(t.Box,{marginBottom:4,children:e.jsx(V,{closeLabel:s.getMessage("page.settings.actions.restart.alert.cancel"),title:s.getMessage("page.settings.actions.restart.alert.title"),onClose:O,action:e.jsx(t.Box,{children:e.jsx(t.Button,{onClick:A.mutate,startIcon:e.jsx(y.Play,{}),children:s.getMessage("page.settings.actions.restart")})}),children:e.jsx(t.Box,{marginTop:4,children:s.getMessage("page.settings.actions.restart.alert.description")})})}),e.jsx(h.Form,{method:"POST",width:"auto",height:"auto",ref:o,onSubmit:k,initialValues:{enabledCollections:G,moderatorRoles:E,badWords:v,clientEmail:K,clientUrl:H,gqlAuthEnabled:B,approvalFlow:l.data.approvalFlow,entryLabel:l.data.entryLabel,blockedAuthorProps:Q.join(", ")},children:({values:n,onChange:r})=>e.jsxs(t.Flex,{gap:4,direction:"column",children:[e.jsxs(t.Box,{...M,children:[e.jsx(t.Typography,{variant:"delta",as:"h2",children:s.getMessage("page.settings.section.general")}),e.jsxs(t.Grid.Root,{gap:4,marginTop:4,width:"100%",children:[e.jsx(t.Grid.Item,{xs:12,children:e.jsxs(t.Field.Root,{width:"100%",hint:s.getMessage("page.settings.form.enabledCollections.hint"),children:[e.jsx(t.Field.Label,{htmlFor:"enabledCollections",children:s.getMessage("page.settings.form.enabledCollections.label")}),e.jsx(t.MultiSelect,{withTags:!0,name:"enabledCollections",value:n.enabledCollections,onChange:i=>{r("enabledCollections",i)},children:S.map(i=>e.jsx(t.MultiSelectOption,{value:i.uid,children:i.schema.displayName},i.uid))}),e.jsx(t.Field.Hint,{})]})}),n.enabledCollections.length>0&&e.jsx(t.Grid.Item,{children:e.jsxs(t.Grid.Root,{gap:4,width:"100%",children:[e.jsx(t.Grid.Item,{children:e.jsx(t.Typography,{children:s.getMessage("page.settings.form.contentTypesSettings.label")})}),e.jsx(t.Grid.Item,{children:e.jsx(t.Accordion.Root,{style:{width:"100%"},children:s.lodashExports.orderBy(n.enabledCollections).map(i=>{const I=S.find(f=>f.uid===i);if(I){const{schema:{displayName:f,attributes:q}}=I,L=Object.keys(q).filter(c=>q[c].type==="string");return e.jsxs(t.Accordion.Item,{value:i,children:[e.jsx(t.Accordion.Header,{children:e.jsx(t.Accordion.Trigger,{children:e.jsx(t.Typography,{variant:"epsilon",as:"h3",children:f})})}),e.jsx(t.Accordion.Content,{children:e.jsxs(t.Grid.Root,{padding:6,gap:4,children:[e.jsx(t.Grid.Item,{children:e.jsxs(t.Field.Root,{width:"100%",hint:s.getMessage({id:"page.settings.form.approvalFlow.hint",props:{name:f}}),children:[e.jsx(t.Field.Label,{children:s.getMessage("page.settings.form.approvalFlow.label")}),e.jsx(t.Switch,{visibleLabels:!0,onLabel:s.getMessage("components.toogle.enabled"),offLabel:s.getMessage("components.toogle.disabled"),checked:n.approvalFlow.includes(i),onCheckedChange:c=>{r("approvalFlow",c?[...n.approvalFlow,i]:n.approvalFlow.filter(D=>D!==i))}}),e.jsx(t.Field.Hint,{})]})}),e.jsx(w,{condition:L.length>0,children:e.jsx(t.Grid.Item,{children:e.jsxs(t.Field.Root,{width:"100%",hint:s.getMessage("page.settings.form.entryLabel.hint"),children:[e.jsx(t.Field.Label,{children:s.getMessage("page.settings.form.entryLabel.label")}),e.jsx(t.MultiSelect,{withTags:!0,placeholder:s.getMessage("page.settings.form.entryLabel.placeholder"),name:"enabledCollections",value:n.entryLabel[i]??[],onChange:c=>{r("entryLabel",{...n.entryLabel,[i]:c})},children:L.map(c=>e.jsx(t.MultiSelectOption,{value:c,children:c},c))}),e.jsx(t.Field.Hint,{})]})})})]})})]},i)}return null})})})]})})]})]}),e.jsxs(t.Box,{...M,children:[e.jsx(t.Typography,{variant:"delta",as:"h2",children:s.getMessage("page.settings.section.additional")}),e.jsxs(t.Grid.Root,{gap:4,marginTop:4,width:"100%",children:[e.jsx(t.Grid.Item,{col:4,xs:12,alignItems:"start",children:e.jsxs(t.Field.Root,{width:"100%",hint:s.getMessage("page.settings.form.enabledCollections.hint"),children:[e.jsx(t.Field.Label,{htmlFor:"enabledCollections",children:s.getMessage("page.settings.form.enabledCollections.label")}),e.jsx(t.Toggle,{name:"badWords",checked:n.badWords,onChange:r,onLabel:s.getMessage("components.toogle.enabled"),offLabel:s.getMessage("components.toogle.disabled"),width:"100%"}),e.jsx(t.Field.Hint,{})]})}),e.jsx(t.Grid.Item,{col:4,xs:12,alignItems:"start",children:e.jsxs(t.Field.Root,{width:"100%",hint:s.getMessage("page.settings.form.author.blockedProps.hint"),children:[e.jsx(t.Field.Label,{htmlFor:"enabledCollections",children:s.getMessage("page.settings.form.author.blockedProps.label")}),e.jsx(t.Field.Input,{name:"blockedAuthorProps",value:n.blockedAuthorProps,onChange:r}),e.jsx(t.Field.Hint,{})]})}),e.jsx(t.Grid.Item,{col:4,xs:12,alignItems:"start",children:e.jsxs(t.Field.Root,{width:"100%",hint:s.getMessage("page.settings.form.gqlAuth.hint"),children:[e.jsx(t.Field.Label,{children:s.getMessage("page.settings.form.gqlAuth.label")}),e.jsx(t.Toggle,{name:"gqlAuthEnabled",checked:n.gqlAuthEnabled,onChange:r,onLabel:s.getMessage("components.toogle.enabled"),offLabel:s.getMessage("components.toogle.disabled"),width:"100%"}),e.jsx(t.Field.Hint,{})]})})]})]}),e.jsxs(t.Box,{...M,children:[e.jsx(t.Typography,{variant:"delta",as:"h2",children:s.getMessage("page.settings.section.client")}),e.jsxs(t.Grid.Root,{gap:4,marginTop:4,width:"100%",children:[e.jsx(t.Grid.Item,{col:4,xs:12,alignItems:"start",children:e.jsxs(t.Field.Root,{width:"100%",hint:s.getMessage("page.settings.form.client.url.hint"),children:[e.jsx(t.Field.Label,{children:s.getMessage("page.settings.form.client.url.label")}),e.jsx(t.Field.Input,{name:"clientUrl",onChange:r}),e.jsx(t.Field.Hint,{})]})}),e.jsx(t.Grid.Item,{col:4,xs:12,alignItems:"start",children:e.jsxs(t.Field.Root,{width:"100%",hint:s.getMessage("page.settings.form.client.email.hint"),children:[e.jsx(t.Field.Label,{children:s.getMessage("page.settings.form.client.email.label")}),e.jsx(t.Field.Input,{name:"clientEmail",onChange:r}),e.jsx(t.Field.Hint,{})]})}),e.jsx(t.Grid.Item,{col:4,xs:12,alignItems:"start",children:e.jsxs(t.Field.Root,{width:"100%",hint:s.getMessage("page.settings.form.moderatorRoles.hint"),children:[e.jsx(t.Field.Label,{children:s.getMessage("page.settings.form.moderatorRoles.label")}),e.jsx(t.MultiSelect,{withTags:!0,placeholder:s.getMessage("page.settings.form.moderatorRoles.placeholder"),name:"enabledCollections",value:n.moderatorRoles,onChange:i=>{r("moderatorRoles",i)},children:F.data.map(i=>e.jsx(t.MultiSelectOption,{value:i.code,children:i.name},i.code))}),e.jsx(t.Field.Hint,{})]})})]})]}),e.jsx(w,{condition:u,children:e.jsx(t.Box,{...M,children:e.jsxs(t.Flex,{gap:4,direction:"column",alignItems:"flex-start",children:[e.jsxs(t.Flex,{gap:2,direction:"column",alignItems:"flex-start",children:[e.jsx(t.Typography,{variant:"delta",as:"h2",children:s.getMessage("page.settings.section.restore")}),e.jsx(t.Typography,{variant:"pi",as:"h4",children:s.getMessage("page.settings.section.restore.subtitle")})]}),e.jsx(s.ConfirmationDialog,{Trigger:({onClick:i})=>e.jsx(t.Button,{variant:"danger-light",startIcon:e.jsx(y.ArrowClockwise,{}),onClick:i,children:s.getMessage("page.settings.actions.restore")}),onConfirm:T.mutate,title:s.getMessage("page.settings.actions.restore.confirmation.header"),labelConfirm:s.getMessage("page.settings.actions.restore.confirmation.button.confirm"),iconConfirm:e.jsx(y.ArrowClockwise,{}),children:s.getMessage("page.settings.actions.restore.confirmation.description")})]})})})]})})]})]})]})},z=()=>e.jsx(s.CommonProviders,{children:e.jsx($,{})});exports.default=z;
@@ -1,5 +0,0 @@
1
- "use strict";require("react");const g=require("@strapi/design-system");require("@strapi/icons");const p=require("styled-components"),o=require("react/jsx-runtime"),c=(e,r="")=>Object.keys(e).reduce((i,n)=>{const l=r.length?`${r}.`:"";return typeof e[n]=="object"&&e[n]!==null&&!Array.isArray(e[n])?Object.assign(i,c(e[n],l+n)):i[l+n]=e[n],i},{}),u=(e,r)=>{if(!r)throw new TypeError("pluginId can't be empty");return Object.keys(e).reduce((i,n)=>(i[`${r}.${n}`]=e[n],i),{})};p.styled(g.Flex)`
2
- &>* {
3
- width: 100%;
4
- }
5
- `;const h="strapi-plugin-comments",v={displayName:"Comments"},f=576,q=({width:e=24,height:r=24})=>o.jsx("svg",{viewBox:`0 0 ${e} ${r}`,xmlns:"http://www.w3.org/2000/svg",height:`${r}px`,children:o.jsx("g",{style:{transform:`scale(${e/f})`},fill:"currentColor",children:o.jsx("path",{d:"M416 192c0-88.4-93.1-160-208-160S0 103.6 0 192c0 34.3 14.1 65.9 38 92-13.4 30.2-35.5 54.2-35.8 54.5-2.2 2.3-2.8 5.7-1.5 8.7S4.8 352 8 352c36.6 0 66.9-12.3 88.7-25 32.2 15.7 70.3 25 111.3 25 114.9 0 208-71.6 208-160zm122 220c23.9-26 38-57.7 38-92 0-66.9-53.5-124.2-129.3-148.1.9 6.6 1.3 13.3 1.3 20.1 0 105.9-107.7 192-240 192-10.8 0-21.3-.8-31.7-1.9C207.8 439.6 281.8 480 368 480c41 0 79.1-9.2 111.3-25 21.8 12.7 52.1 25 88.7 25 3.2 0 6.1-1.9 7.3-4.8 1.3-2.9.7-6.3-1.5-8.7-.3-.3-22.4-24.2-35.8-54.5z"})})}),P=o.jsx(q,{}),$=()=>P,t={render:e=>`plugin::comments.${e}`,comments:{read:"comments-read",moderate:"comments-moderate"},reports:{read:"reports-read",review:"reports-review"},settings:{read:"settings-read",change:"settings-change"}},a={access:[{action:t.render(t.comments.read),subject:null},{action:t.render(t.reports.read),subject:null},{action:t.render(t.settings.read),subject:null}],moderate:[{action:t.render(t.comments.moderate),subject:null}],reports:[{action:t.render(t.reports.read),subject:null}],reportsReview:[{action:t.render(t.reports.review),subject:null}],settings:[{action:t.render(t.settings.read),subject:null}],settingsChange:[{action:t.render(t.settings.change),subject:null}]},s=h.replace(/^strapi-plugin-/i,""),d={en:()=>Promise.resolve().then(()=>require("./en-nurIIakL.js")),fr:()=>Promise.resolve().then(()=>require("./fr-JAoXWyAN.js")),"pt-BR":()=>Promise.resolve().then(()=>require("./pt-BR-BXuFBSgm.js")),tr:()=>Promise.resolve().then(()=>require("./tr-B2Tw9kcB.js")),ru:()=>Promise.resolve().then(()=>require("./ru-B7jFc-n7.js")),"zh-Hans":()=>Promise.resolve().then(()=>require("./zh-Hans-Cp3JcN8q.js")),pl:()=>Promise.resolve().then(()=>require("./pl-DUaDM2d3.js"))},{displayName:m}=v,b={register(e){e.addMenuLink({to:`/plugins/${s}`,badgeContent:1,icon:$,intlLabel:{id:`${s}.plugin.name`,defaultMessage:m},Component:()=>Promise.resolve().then(()=>require("./index-QQjHUmZX.js")),permissions:a.access}),e.createSettingSection({id:s,intlLabel:{id:`${s}.plugin.section`,defaultMessage:`${m} plugin`}},[{intlLabel:{id:`${s}.plugin.section.item`,defaultMessage:"Configuration"},id:"comments",to:`/settings/${s}`,Component:()=>Promise.resolve().then(()=>require("./index-BR27qalE.js")),permissions:a.settings}])},registerTrads:async function({locales:e=[]}){return Promise.all(e.map(async r=>r in d?d[r]().then(({default:n})=>({data:u(c(n),s),locale:r})):{data:u(c({}),s),locale:r}))}};exports.index=b;exports.pluginId=s;exports.pluginPermissions=a;
@@ -1,340 +0,0 @@
1
- import { jsx as e, Fragment as O, jsxs as i } from "react/jsx-runtime";
2
- import { Button as F, Box as p, Flex as q, Typography as m, Grid as s, Field as n, MultiSelect as x, MultiSelectOption as A, Accordion as y, Switch as oe, Toggle as B, Alert as re } from "@strapi/design-system";
3
- import { Check as se, Play as le, ArrowClockwise as N } from "@strapi/icons";
4
- import { useNotification as ae, Page as W, Layouts as j, Form as ce } from "@strapi/strapi/admin";
5
- import { useMutation as T, useQuery as P, useQueryClient as de } from "@tanstack/react-query";
6
- import { u as U, f as ge, a as he, g as t, l as D, e as pe } from "./index-T4wQaxSs.mjs";
7
- import { useMemo as me, useRef as ue, useState as be, useCallback as Q } from "react";
8
- import fe from "styled-components";
9
- const M = ({
10
- children: c,
11
- condition: a
12
- }) => a ? /* @__PURE__ */ e(O, { children: c }) : null, ye = (c = {}) => {
13
- const a = U(), S = T({
14
- mutationFn: a.settings.update,
15
- onSuccess: c.updateSettingsMutationSuccess,
16
- onError: c.updateSettingsMutationError
17
- }), h = T({
18
- mutationFn: a.settings.restore,
19
- onSuccess: c.restoreSettingsMutationSuccess,
20
- onError: c.restoreSettingsMutationError
21
- }), w = T({
22
- mutationFn: a.settings.restart,
23
- onSuccess: c.restartStrapiMutationSuccess,
24
- onError: c.restartStrapiMutationError
25
- }), u = P({
26
- queryKey: a.config.getKey(),
27
- queryFn: a.config.query
28
- }), b = P({
29
- queryKey: a.contentTypeBuilder.all.getKey(),
30
- queryFn: a.contentTypeBuilder.all.query
31
- }), f = P({
32
- queryKey: a.roles.getKey(),
33
- queryFn: a.roles.query
34
- });
35
- return me(() => ({
36
- config: u,
37
- collectionTypes: b,
38
- roles: f,
39
- restoreSettingsMutation: h,
40
- updateSettingsMutation: S,
41
- restartStrapiMutation: w
42
- }), [
43
- u,
44
- f,
45
- b,
46
- h,
47
- S,
48
- w
49
- ]);
50
- }, I = {
51
- background: "neutral0",
52
- hasRadius: !0,
53
- shadow: "filterShadow",
54
- padding: 6,
55
- width: "100%"
56
- }, Se = fe(re)(() => ({
57
- "[role]": {
58
- flexDirection: "column"
59
- }
60
- })), we = () => {
61
- const c = ue(null), { toggleNotification: a } = ae(), [S, h] = be(!1), { isLoadingForPermissions: w, canSettingsChange: u } = he(), b = de(), f = U(), {
62
- config: d,
63
- collectionTypes: k,
64
- roles: R,
65
- restoreSettingsMutation: G,
66
- updateSettingsMutation: v,
67
- restartStrapiMutation: V
68
- } = ye({
69
- restoreSettingsMutationSuccess: () => {
70
- b.invalidateQueries({
71
- queryKey: f.config.getKey(),
72
- exact: !1
73
- }), h(!0), a({
74
- message: t("page.settings.actions.restore.success"),
75
- type: "success"
76
- });
77
- },
78
- restartStrapiMutationSuccess: () => {
79
- h(!1);
80
- },
81
- updateSettingsMutationSuccess: () => {
82
- b.invalidateQueries({
83
- queryKey: f.config.getKey(),
84
- exact: !1
85
- }), h(!0);
86
- }
87
- }), z = Q(() => {
88
- c.current?.requestSubmit();
89
- }, []), J = Q((r) => {
90
- v.mutate({
91
- ...r,
92
- blockedAuthorProps: r.blockedAuthorProps.split(",").map((l) => l.trim())
93
- });
94
- }, [v]);
95
- if (d.status !== "success" || k.status !== "success" || R.status !== "success" || w)
96
- return t("page.settings.loading");
97
- const L = k.data.filter((r) => r.uid.includes("api::")), X = d.data.enabledCollections.filter((r) => L.some((l) => l.uid === r)), Y = D.isNil(d.data.badWords) ? !0 : d.data?.badWords, Z = !!d.data.gql?.auth, _ = d.data.moderatorRoles.filter((r) => R.data.filter((l) => l.code === r)), $ = d.data.client?.url, ee = d.data.client?.contactEmail, te = d.data.blockedAuthorProps ?? [], ne = () => h(!1);
98
- return /* @__PURE__ */ i(O, { children: [
99
- /* @__PURE__ */ e(W.Title, { children: "Comments - settings" }),
100
- /* @__PURE__ */ i(W.Main, { children: [
101
- /* @__PURE__ */ e(
102
- j.Header,
103
- {
104
- title: t("page.settings.header.title"),
105
- subtitle: t("page.settings.header.description"),
106
- as: "h2",
107
- primaryAction: /* @__PURE__ */ e(M, { condition: u, children: /* @__PURE__ */ e(F, { type: "submit", startIcon: /* @__PURE__ */ e(se, {}), onClick: z, children: t("page.settings.actions.submit") }) })
108
- }
109
- ),
110
- /* @__PURE__ */ i(j.Content, { children: [
111
- S && /* @__PURE__ */ e(p, { marginBottom: 4, children: /* @__PURE__ */ e(
112
- Se,
113
- {
114
- closeLabel: t("page.settings.actions.restart.alert.cancel"),
115
- title: t("page.settings.actions.restart.alert.title"),
116
- onClose: ne,
117
- action: /* @__PURE__ */ e(p, { children: /* @__PURE__ */ e(F, { onClick: V.mutate, startIcon: /* @__PURE__ */ e(le, {}), children: t("page.settings.actions.restart") }) }),
118
- children: /* @__PURE__ */ e(p, { marginTop: 4, children: t("page.settings.actions.restart.alert.description") })
119
- }
120
- ) }),
121
- /* @__PURE__ */ e(
122
- ce,
123
- {
124
- method: "POST",
125
- width: "auto",
126
- height: "auto",
127
- ref: c,
128
- onSubmit: J,
129
- initialValues: {
130
- enabledCollections: X,
131
- moderatorRoles: _,
132
- badWords: Y,
133
- clientEmail: ee,
134
- clientUrl: $,
135
- gqlAuthEnabled: Z,
136
- approvalFlow: d.data.approvalFlow,
137
- entryLabel: d.data.entryLabel,
138
- blockedAuthorProps: te.join(", ")
139
- },
140
- children: ({ values: r, onChange: l }) => /* @__PURE__ */ i(q, { gap: 4, direction: "column", children: [
141
- /* @__PURE__ */ i(p, { ...I, children: [
142
- /* @__PURE__ */ e(m, { variant: "delta", as: "h2", children: t("page.settings.section.general") }),
143
- /* @__PURE__ */ i(s.Root, { gap: 4, marginTop: 4, width: "100%", children: [
144
- /* @__PURE__ */ e(s.Item, { xs: 12, children: /* @__PURE__ */ i(n.Root, { width: "100%", hint: t("page.settings.form.enabledCollections.hint"), children: [
145
- /* @__PURE__ */ e(n.Label, { htmlFor: "enabledCollections", children: t("page.settings.form.enabledCollections.label") }),
146
- /* @__PURE__ */ e(
147
- x,
148
- {
149
- withTags: !0,
150
- name: "enabledCollections",
151
- value: r.enabledCollections,
152
- onChange: (o) => {
153
- l("enabledCollections", o);
154
- },
155
- children: L.map((o) => /* @__PURE__ */ e(A, { value: o.uid, children: o.schema.displayName }, o.uid))
156
- }
157
- ),
158
- /* @__PURE__ */ e(n.Hint, {})
159
- ] }) }),
160
- r.enabledCollections.length > 0 && /* @__PURE__ */ e(s.Item, { children: /* @__PURE__ */ i(s.Root, { gap: 4, width: "100%", children: [
161
- /* @__PURE__ */ e(s.Item, { children: /* @__PURE__ */ e(m, { children: t("page.settings.form.contentTypesSettings.label") }) }),
162
- /* @__PURE__ */ e(s.Item, { children: /* @__PURE__ */ e(y.Root, { style: { width: "100%" }, children: D.orderBy(r.enabledCollections).map((o) => {
163
- const E = L.find((C) => C.uid === o);
164
- if (E) {
165
- const { schema: { displayName: C, attributes: H } } = E, K = Object.keys(H).filter((g) => H[g].type === "string");
166
- return /* @__PURE__ */ i(y.Item, { value: o, children: [
167
- /* @__PURE__ */ e(y.Header, { children: /* @__PURE__ */ e(y.Trigger, { children: /* @__PURE__ */ e(m, { variant: "epsilon", as: "h3", children: C }) }) }),
168
- /* @__PURE__ */ e(y.Content, { children: /* @__PURE__ */ i(s.Root, { padding: 6, gap: 4, children: [
169
- /* @__PURE__ */ e(s.Item, { children: /* @__PURE__ */ i(
170
- n.Root,
171
- {
172
- width: "100%",
173
- hint: t({
174
- id: "page.settings.form.approvalFlow.hint",
175
- props: { name: C }
176
- }),
177
- children: [
178
- /* @__PURE__ */ e(n.Label, { children: t("page.settings.form.approvalFlow.label") }),
179
- /* @__PURE__ */ e(
180
- oe,
181
- {
182
- visibleLabels: !0,
183
- onLabel: t("components.toogle.enabled"),
184
- offLabel: t("components.toogle.disabled"),
185
- checked: r.approvalFlow.includes(o),
186
- onCheckedChange: (g) => {
187
- l("approvalFlow", g ? [...r.approvalFlow, o] : r.approvalFlow.filter((ie) => ie !== o));
188
- }
189
- }
190
- ),
191
- /* @__PURE__ */ e(n.Hint, {})
192
- ]
193
- }
194
- ) }),
195
- /* @__PURE__ */ e(M, { condition: K.length > 0, children: /* @__PURE__ */ e(s.Item, { children: /* @__PURE__ */ i(
196
- n.Root,
197
- {
198
- width: "100%",
199
- hint: t("page.settings.form.entryLabel.hint"),
200
- children: [
201
- /* @__PURE__ */ e(n.Label, { children: t("page.settings.form.entryLabel.label") }),
202
- /* @__PURE__ */ e(
203
- x,
204
- {
205
- withTags: !0,
206
- placeholder: t("page.settings.form.entryLabel.placeholder"),
207
- name: "enabledCollections",
208
- value: r.entryLabel[o] ?? [],
209
- onChange: (g) => {
210
- l("entryLabel", { ...r.entryLabel, [o]: g });
211
- },
212
- children: K.map((g) => /* @__PURE__ */ e(A, { value: g, children: g }, g))
213
- }
214
- ),
215
- /* @__PURE__ */ e(n.Hint, {})
216
- ]
217
- }
218
- ) }) })
219
- ] }) })
220
- ] }, o);
221
- }
222
- return null;
223
- }) }) })
224
- ] }) })
225
- ] })
226
- ] }),
227
- /* @__PURE__ */ i(p, { ...I, children: [
228
- /* @__PURE__ */ e(m, { variant: "delta", as: "h2", children: t("page.settings.section.additional") }),
229
- /* @__PURE__ */ i(s.Root, { gap: 4, marginTop: 4, width: "100%", children: [
230
- /* @__PURE__ */ e(s.Item, { col: 4, xs: 12, alignItems: "start", children: /* @__PURE__ */ i(n.Root, { width: "100%", hint: t("page.settings.form.enabledCollections.hint"), children: [
231
- /* @__PURE__ */ e(n.Label, { htmlFor: "enabledCollections", children: t("page.settings.form.enabledCollections.label") }),
232
- /* @__PURE__ */ e(
233
- B,
234
- {
235
- name: "badWords",
236
- checked: r.badWords,
237
- onChange: l,
238
- onLabel: t("components.toogle.enabled"),
239
- offLabel: t("components.toogle.disabled"),
240
- width: "100%"
241
- }
242
- ),
243
- /* @__PURE__ */ e(n.Hint, {})
244
- ] }) }),
245
- /* @__PURE__ */ e(s.Item, { col: 4, xs: 12, alignItems: "start", children: /* @__PURE__ */ i(n.Root, { width: "100%", hint: t("page.settings.form.author.blockedProps.hint"), children: [
246
- /* @__PURE__ */ e(n.Label, { htmlFor: "enabledCollections", children: t("page.settings.form.author.blockedProps.label") }),
247
- /* @__PURE__ */ e(n.Input, { name: "blockedAuthorProps", value: r.blockedAuthorProps, onChange: l }),
248
- /* @__PURE__ */ e(n.Hint, {})
249
- ] }) }),
250
- /* @__PURE__ */ e(s.Item, { col: 4, xs: 12, alignItems: "start", children: /* @__PURE__ */ i(n.Root, { width: "100%", hint: t("page.settings.form.gqlAuth.hint"), children: [
251
- /* @__PURE__ */ e(n.Label, { children: t("page.settings.form.gqlAuth.label") }),
252
- /* @__PURE__ */ e(
253
- B,
254
- {
255
- name: "gqlAuthEnabled",
256
- checked: r.gqlAuthEnabled,
257
- onChange: l,
258
- onLabel: t("components.toogle.enabled"),
259
- offLabel: t("components.toogle.disabled"),
260
- width: "100%"
261
- }
262
- ),
263
- /* @__PURE__ */ e(n.Hint, {})
264
- ] }) })
265
- ] })
266
- ] }),
267
- /* @__PURE__ */ i(p, { ...I, children: [
268
- /* @__PURE__ */ e(m, { variant: "delta", as: "h2", children: t("page.settings.section.client") }),
269
- /* @__PURE__ */ i(s.Root, { gap: 4, marginTop: 4, width: "100%", children: [
270
- /* @__PURE__ */ e(s.Item, { col: 4, xs: 12, alignItems: "start", children: /* @__PURE__ */ i(n.Root, { width: "100%", hint: t("page.settings.form.client.url.hint"), children: [
271
- /* @__PURE__ */ e(n.Label, { children: t("page.settings.form.client.url.label") }),
272
- /* @__PURE__ */ e(n.Input, { name: "clientUrl", onChange: l }),
273
- /* @__PURE__ */ e(n.Hint, {})
274
- ] }) }),
275
- /* @__PURE__ */ e(s.Item, { col: 4, xs: 12, alignItems: "start", children: /* @__PURE__ */ i(n.Root, { width: "100%", hint: t("page.settings.form.client.email.hint"), children: [
276
- /* @__PURE__ */ e(n.Label, { children: t("page.settings.form.client.email.label") }),
277
- /* @__PURE__ */ e(n.Input, { name: "clientEmail", onChange: l }),
278
- /* @__PURE__ */ e(n.Hint, {})
279
- ] }) }),
280
- /* @__PURE__ */ e(s.Item, { col: 4, xs: 12, alignItems: "start", children: /* @__PURE__ */ i(
281
- n.Root,
282
- {
283
- width: "100%",
284
- hint: t("page.settings.form.moderatorRoles.hint"),
285
- children: [
286
- /* @__PURE__ */ e(n.Label, { children: t("page.settings.form.moderatorRoles.label") }),
287
- /* @__PURE__ */ e(
288
- x,
289
- {
290
- withTags: !0,
291
- placeholder: t("page.settings.form.moderatorRoles.placeholder"),
292
- name: "enabledCollections",
293
- value: r.moderatorRoles,
294
- onChange: (o) => {
295
- l("moderatorRoles", o);
296
- },
297
- children: R.data.map((o) => /* @__PURE__ */ e(A, { value: o.code, children: o.name }, o.code))
298
- }
299
- ),
300
- /* @__PURE__ */ e(n.Hint, {})
301
- ]
302
- }
303
- ) })
304
- ] })
305
- ] }),
306
- /* @__PURE__ */ e(M, { condition: u, children: /* @__PURE__ */ e(p, { ...I, children: /* @__PURE__ */ i(q, { gap: 4, direction: "column", alignItems: "flex-start", children: [
307
- /* @__PURE__ */ i(q, { gap: 2, direction: "column", alignItems: "flex-start", children: [
308
- /* @__PURE__ */ e(m, { variant: "delta", as: "h2", children: t("page.settings.section.restore") }),
309
- /* @__PURE__ */ e(m, { variant: "pi", as: "h4", children: t("page.settings.section.restore.subtitle") })
310
- ] }),
311
- /* @__PURE__ */ e(
312
- pe,
313
- {
314
- Trigger: ({ onClick: o }) => /* @__PURE__ */ e(
315
- F,
316
- {
317
- variant: "danger-light",
318
- startIcon: /* @__PURE__ */ e(N, {}),
319
- onClick: o,
320
- children: t("page.settings.actions.restore")
321
- }
322
- ),
323
- onConfirm: G.mutate,
324
- title: t("page.settings.actions.restore.confirmation.header"),
325
- labelConfirm: t("page.settings.actions.restore.confirmation.button.confirm"),
326
- iconConfirm: /* @__PURE__ */ e(N, {}),
327
- children: t("page.settings.actions.restore.confirmation.description")
328
- }
329
- )
330
- ] }) }) })
331
- ] })
332
- }
333
- )
334
- ] })
335
- ] })
336
- ] });
337
- }, Te = () => /* @__PURE__ */ e(ge, { children: /* @__PURE__ */ e(we, {}) });
338
- export {
339
- Te as default
340
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={"plugin.name":"Komentarze","plugin.section":"Plugin komentarzy","plugin.section.item":"Konfiguracja","common.button.back":"Powrót","nav.header.moderation":"Moderacja","nav.header.settings":"Ustawienia","nav.item.updates":"Aktualizacje","nav.item.discover":"Odkryj","nav.item.reports":"Raporty","nav.item.settings":"Ustawienia","page.auth.noAccess":"Brak dostępu","page.auth.not.allowed":"Ups! Wygląda na to, że nie masz dostępu do tej strony...","page.common.item.status.OPEN":"Otwarty","page.common.item.status.PENDING":"Oczekujący","page.common.item.status.BLOCKED":"Zablokowany","page.common.item.status.APPROVED":"Zatwierdzony","page.common.item.status.RESOLVED":"Rozwiązany","page.common.item.status.TO_REVIEW":"Do przeglądu ({count, number})","page.common.item.status.REJECTED":"Odrzucony","page.common.item.status.REMOVED":"Usunięty przez autora","page.common.item.status.setFilter":"Wybierz status...","page.updates.header":"Ostatnie aktualizacje","page.discover.header":"Odkryj wątki","page.discover.header.count":"{count} znalezionych wpisów","page.discover.table.header.id":"ID","page.discover.table.header.author":"Autor","page.discover.table.header.author.email":"Adres e-mail nie podany","page.discover.table.header.message":"Wiadomość","page.discover.table.header.thread":"Wątek","page.discover.table.header.entry":"Wpis","page.discover.table.header.lastUpdate":"Ostatnia aktualizacja","page.discover.table.header.status":"Status","page.discover.table.header.actions":"Akcje","page.discover.table.cell.thread":"Komentarz #{id}","page.discover.table.action.display":"Wyświetl","page.discover.table.action.reports":"Raporty","page.discover.table.empty":"Nie masz jeszcze żadnych komentarzy.","page.discover.table.empty.search":"Brak komentarzy pasujących do wyszukiwania.","page.discover.table.filters":"Filtrowanie","page.discover.table.reports.review":"Przejrzyj raporty","page.reports.header":"Rozwiązywanie raportów","page.reports.table.empty":"Nie masz jeszcze żadnych raportów.","page.reports.table.empty.search":"Brak raportów pasujących do wyszukiwania.","page.reports.table.header.id":"ID","page.reports.table.header.reason":"Powód","page.reports.table.header.content":"Treść","page.reports.table.header.status":"Status","page.reports.table.header.issueDate":"Data zgłoszenia","page.reports.table.header.relatedComment":"Powiązany komentarz","page.reports.table.header.actions":"Akcje","page.reports.table.cell.action.resolve":"Rozwiązane","page.reports.table.cell.action.block":"Blokuj","page.details.header":"Panel dyskusji","page.details.header.description":"Przegłądaj i zarządzaj dyskusją dotyczącą obiektu","page.details.header.description.empty":"Ten wpis został usunięty","page.details.panel.discussion":"Dyskusja","page.details.panel.discussion.nav.drilldown":"Przewijaj w dół","page.details.panel.discussion.nav.back":"Powrót na górę","page.details.panel.discussion.warnings.reports.description":"otwarte raporty","page.details.panel.discussion.warnings.reports.review":"Przeglądaj","page.details.panel.discussion.warnings.reports.dialog.list":"Raporty","page.details.panel.discussion.warnings.reports.dialog.header":"Moderacja: Przeglądaj otwarte raporty","page.details.panel.discussion.warnings.reports.dialog.selectAll":"Zaznacz wszystkie wpisy","page.details.panel.discussion.warnings.reports.dialog.select":"Wybierz obiekt","page.details.panel.discussion.warnings.reports.dialog.reason":"Powód","page.details.panel.discussion.warnings.reports.dialog.reason.BAD_LANGUAGE":"Nieodpowiedni język","page.details.panel.discussion.warnings.reports.dialog.reason.DISCRIMINATION":"Dyskryminacja","page.details.panel.discussion.warnings.reports.dialog.reason.OTHER":"Inny","page.details.panel.discussion.warnings.reports.dialog.content":"Zawartość","page.details.panel.discussion.warnings.reports.dialog.createdAt":"Data zgłoszenia","page.details.panel.discussion.warnings.reports.dialog.status":"Status","page.details.panel.discussion.warnings.reports.dialog.status.OPEN":"Otwarte","page.details.panel.discussion.warnings.reports.dialog.status.RESOLVED":"Rozwiązane","page.details.panel.discussion.warnings.reports.dialog.actions":"Akcje","page.details.panel.discussion.warnings.reports.dialog.actions.resolve":"Rozwiąż","page.details.panel.discussion.warnings.reports.dialog.actions.resolve.selected":"Rozwiąż raporty ({count})","page.details.panel.discussion.warnings.reports.dialog.confirmation.success":"Otwarty raport został rozwiązany","page.details.panel.discussion.warnings.reports.selected.dialog.confirmation.success":"Otwarte raporty zostały rozwiązane","page.details.panel.discussion.warnings.comments.header":"Moderacja: Przeglądaj zgłoszone komentarze","page.details.panel.discussion.status.blocked":"Zablokowane","page.details.panel.discussion.reply":"Odpowiedz","page.details.panel.discussion.reopen":"Ponowne otwarcie","page.details.panel.discussion.send":"Wyślij odpowiedź moderatora","page.details.actions.comment.post.confirmation":"Komentarz został opublikowany","page.details.actions.comment.update.confirmation":"Komentarz został zaktualizowany","page.details.panel.entity":"Szczegóły obiektu","page.details.panel.status":"Status dyskusji","page.details.panel.status.open":"Otwarta","page.details.panel.status.blocked":"Zablokowana","page.details.panel.status.pending":"Oczekująca","page.details.panel.loading":"Pobieranie informacji o obiekcie...","page.details.actions.comment.block":"Zablokuj komentarz","page.details.actions.comment.block.confirmation.header":"Moderacja: Zablokuj komentarz","page.details.actions.comment.block.confirmation.description":"Czy na pewno chcesz zablokować ten komentarz?","page.details.actions.comment.block.confirmation.button.confirm":"Tak, zablokuj","page.details.actions.comment.block.confirmation.success":"Komentarz został zablokowany","page.details.actions.comment.unblock":"Odblokuj komentarz","page.details.actions.comment.unblock.confirmation.success":"Komentarz został odblokowany","page.details.actions.comment.delete":"Usuń komentarz","page.details.actions.comment.delete.confirmation.success":"Komentarz został usunięty","page.details.actions.comment.reports.review":"Przeglądaj","page.details.actions.thread.block":"Zablokuj wątek","page.details.actions.thread.block.confirmation.header":"Moderacja: Zablokuj wątek","page.details.actions.thread.block.confirmation.description":"Czy na pewno chcesz zablokować cały wątek? Nie będą możliwe dalsze dyskusje.","page.details.actions.thread.block.confirmation.button.confirm":"Tak, zablokuj","page.details.actions.thread.block.confirmation.success":"Wątek został zablokowany","page.details.actions.thread.unblock":"Odblokuj wątek","page.details.actions.thread.unblock.confirmation.success":"Wątek został odblokowany","page.details.actions.thread.modal.start.thread":"Rozpocznij wątek","page.details.actions.thread.modal.update.comment":"Aktualizuj komentarz","page.details.actions.comment.approve.confirmation.success":"Komentarz został zatwierdzony","page.details.actions.comment.reject.confirmation.success":"Komentarz został odrzucony","page.details.filters.label":"Widok","page.details.filters.removed.visibility":"Pokaż usunięte komentarze","page.coming.soon":"Oczekuj...","page.settings":"Ustawienia","page.settings.header.title":"Komentarze","page.settings.header.description":"Skonfiguruj możliwości moderacji komentarzy","page.settings.actions.submit":"Zapisz","page.settings.actions.restore":"Przywróć domyślne ustawienia","page.settings.actions.restart":"Uruchom ponownie Strapi","page.settings.section.general":"Konfiguracja ogólna","page.settings.section.additional":"Dodatkowa konfiguracja","page.settings.section.client":"Konfiguracja portalu klienta","page.settings.section.restore":"Przywróć domyślne ustawienia","page.settings.section.restore.subtitle":"Odrzucanie wszystkich zastosowanych ustawień i powrót do domyślnych ustawień wtyczki. Używaj rozsądnie.","page.settings.form.enabledCollections.label":"Włącz komentarze tylko dla","page.settings.form.enabledCollections.placeholder":"Wybierz jedną lub więcej kolekcji","page.settings.form.enabledCollections.hint":"Jeśli żadna nie jest wybrana, wszystkie typy zawartości będą włączone","page.settings.form.contentTypesSettings.label":"Typy zawartości","page.settings.form.contentTypesSettings.tooltip":"Konfiguracja niestandardowa dla każdego typu zawartości","page.settings.form.moderatorRoles.label":"Wysyłaj istotne powiadomienia do","page.settings.form.moderatorRoles.placeholder":"Wybierz jedną lub więcej ról","page.settings.form.moderatorRoles.hint":"Role, które otrzymają powiadomienia od wtyczki dotyczące istotnych działań do wykonania","page.settings.form.badWords.label":"Filtrowanie nieodpowiednich słów","page.settings.form.badWords.hint":"Jeśli jest włączone, każdy post / aktualizacja komentarza będzie sprawdzany pod kątem nieodpowiedniego języka","page.settings.form.gqlAuth.label":"Autoryzacja zapytań GraphQL","page.settings.form.gqlAuth.hint":"Jeśli jest włączone, zapytania i mutacje interfejsu API GraphQL mogą być wywoływane tylko przez uwierzytelnionych użytkowników Strapi. W przeciwnym razie API pozostaje otwarte.","page.settings.form.approvalFlow.label":"Przebieg zatwierdzania","page.settings.form.approvalFlow.hint":'Komentarze powiązane z typem zawartości "{name}" będą podlegały ręcznemu procesowi zatwierdzania',"page.settings.form.entryLabel.label":"Pola tytułu","page.settings.form.entryLabel.placeholder":"Wybierz co najmniej jedno pole lub pozostaw puste, aby zastosować domyślne wartości","page.settings.form.entryLabel.hint":'Jeśli zostanie puste, generowanie tytułu będzie korzystać z następujących pól w kolejności: "Tytuł", "Temat" i "Nazwa"',"page.settings.form.client.url.label":"URL portalu","page.settings.form.client.url.hint":"Adres URL, pod którym dostępny jest twój portal klienta","page.settings.form.client.email.label":"E-mail do komunikacji","page.settings.form.client.email.hint":"Adres e-mail używany do wysyłania wiadomości, komunikacji z użytkownikami w imieniu zespołu portalu","page.settings.actions.restore.confirmation.header":"Przywróć domyślną konfigurację","page.settings.actions.restore.confirmation.description":"Zamierzasz przywrócić konfigurację wtyczki do domyślnych wartości. Może to spowodować utratę danych zgromadzonych wcześniej. Czy na pewno chcesz kontynuować?","page.settings.actions.restore.confirmation.button.confirm":"Tak, chcę przywrócić","page.settings.actions.restart.alert.title":"Strapi wymaga restartu","page.settings.actions.restart.alert.description":"Wprowadziłeś zmiany w konfiguracji, które wymagają ponownego uruchomienia Twojej aplikacji Strapi, aby zaczęły obowiązywać w schemacie GraphQL. Zrób to ręcznie lub użyj poniższego wyzwalacza.","page.settings.actions.restart.alert.close":"Anuluj","page.settings.notification.fetch.error":"Nie udało się pobrać konfiguracji. Ponawianie próby...","page.settings.notification.submit.success":"Konfiguracja została pomyślnie zapisana","page.settings.notification.submit.error":"Nie udało się zapisać konfiguracji. Spróbuj ponownie.","page.settings.notification.restore.success":"Konfiguracja została pomyślnie przywrócona","page.settings.notification.restore.error":"Nie udało się przywrócić konfiguracji. Spróbuj ponownie.","page.settings.notification.restart.success":"Aplikacja została pomyślnie uruchomiona ponownie","page.settings.notification.restart.error":"Nie udało się uruchomić aplikacji ponownie. Spróbuj zrobić to ręcznie.","page.settings.loading":"Pobieranie konfiguracji...","page.settings.form.author.blockedProps.label":"Zablokowane dane autora","page.settings.form.author.blockedProps.hint":"Określone właściwości zostaną filtrowane z danych autora (oddzielone przecinkiem)","components.confirmation.dialog.header":"Potwierdzenie","components.confirmation.dialog.description":"Czy na pewno chcesz wykonać tę czynność?","components.confirmation.dialog.button.confirm":"Tak, chcę","components.confirmation.dialog.button.cancel":"Anuluj","components.toogle.enabled":"Włączone","components.toogle.disabled":"Wyłączone","components.author.unknown":"Autor usunięty","components.reason.unknown":"Nie podano przyczyny","components.content.unknown":"Nie podano treści","components.notAccessPage.back":"Powrót do strony głównej","customField.comments.label":"Komentarze","customField.comments.description":"Określ parametry zapytania dla komentarzy","customField.comments.input.commentsNumber.label":"Liczba komentarzy","customField.comments.input.renderType.label":"Wyświetlanie komentarzy jako","customField.comments.input.renderType.option.tree.label":"Drzewo","customField.comments.input.renderType.option.flat.label":"Płaska lista","customField.comments.input.sortByDate.label":"Sortuj według daty utworzenia","customField.comments.input.sortByDate.option.asc.label":"Rosnąco","customField.comments.input.sortByDate.option.desc.label":"Malejąco","customField.comments.input.filterBy.label":"Filtruj według","customField.comments.input.filterBy.option.dateCreated.label":"Data utworzenia","customField.comments.input.filterBy.option.dateCreated.label.details.label":"Podaj datę","customField.comments.input.filterBy.option.approvalStatus.label":"Status zatwierdzenia","customField.comments.input.filterBy.option.approvalStatus.label.details.label":"Określ status","customField.comments.input.filterBy.option.approvalStatus.option.pending.label":"Oczekujący","customField.comments.input.filterBy.option.approvalStatus.option.approved.label":"Zatwierdzony","customField.comments.input.filterBy.option.approvalStatus.option.rejected.label":"Odrzucony","customField.comments.input.populate.label":"Uzupełnienie","customField.comments.input.populate.author.label":"Uzupełnij pole autora","customField.comments.input.populate.avatar.label":"Uzupełnij pole awatara","success.approveItem":"Komentarz został zatwierdzony","success.rejectItem":"Komentarz został odrzucony"};exports.default=e;