strapi-plugin-magic-mail 1.0.1
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/COPYRIGHT_NOTICE.txt +13 -0
- package/LICENSE +22 -0
- package/README.md +1420 -0
- package/admin/jsconfig.json +10 -0
- package/admin/src/components/AddAccountModal.jsx +1943 -0
- package/admin/src/components/Initializer.jsx +14 -0
- package/admin/src/components/LicenseGuard.jsx +475 -0
- package/admin/src/components/PluginIcon.jsx +5 -0
- package/admin/src/hooks/useAuthRefresh.js +44 -0
- package/admin/src/hooks/useLicense.js +158 -0
- package/admin/src/index.js +86 -0
- package/admin/src/pages/Analytics.jsx +762 -0
- package/admin/src/pages/App.jsx +111 -0
- package/admin/src/pages/EmailDesigner/EditorPage.jsx +1405 -0
- package/admin/src/pages/EmailDesigner/TemplateList.jsx +1807 -0
- package/admin/src/pages/HomePage.jsx +1233 -0
- package/admin/src/pages/LicensePage.jsx +424 -0
- package/admin/src/pages/RoutingRules.jsx +1141 -0
- package/admin/src/pages/Settings.jsx +603 -0
- package/admin/src/pluginId.js +3 -0
- package/admin/src/translations/de.json +71 -0
- package/admin/src/translations/en.json +70 -0
- package/admin/src/translations/es.json +71 -0
- package/admin/src/translations/fr.json +71 -0
- package/admin/src/translations/pt.json +71 -0
- package/admin/src/utils/fetchWithRetry.js +123 -0
- package/admin/src/utils/getTranslation.js +5 -0
- package/dist/_chunks/App-B-Gp4Vbr.js +7568 -0
- package/dist/_chunks/App-BymMjoGM.mjs +7543 -0
- package/dist/_chunks/LicensePage-Bl02myMx.mjs +342 -0
- package/dist/_chunks/LicensePage-CJXwPnEe.js +344 -0
- package/dist/_chunks/Settings-C_TmKwcz.mjs +400 -0
- package/dist/_chunks/Settings-zuFQ3pnn.js +402 -0
- package/dist/_chunks/de-CN-G9j1S.js +64 -0
- package/dist/_chunks/de-DS04rP54.mjs +64 -0
- package/dist/_chunks/en-BDc7Jk8u.js +64 -0
- package/dist/_chunks/en-BEFQJXvR.mjs +64 -0
- package/dist/_chunks/es-BpV1MIdm.js +64 -0
- package/dist/_chunks/es-DQHwzPpP.mjs +64 -0
- package/dist/_chunks/fr-BG1WfEVm.mjs +64 -0
- package/dist/_chunks/fr-vpziIpRp.js +64 -0
- package/dist/_chunks/pt-CMoGrOib.mjs +64 -0
- package/dist/_chunks/pt-ODpAhDNa.js +64 -0
- package/dist/admin/index.js +89 -0
- package/dist/admin/index.mjs +90 -0
- package/dist/server/index.js +6214 -0
- package/dist/server/index.mjs +6208 -0
- package/package.json +113 -0
- package/server/jsconfig.json +10 -0
- package/server/src/bootstrap.js +153 -0
- package/server/src/config/features.js +260 -0
- package/server/src/config/index.js +6 -0
- package/server/src/content-types/email-account/schema.json +93 -0
- package/server/src/content-types/email-event/index.js +8 -0
- package/server/src/content-types/email-event/schema.json +57 -0
- package/server/src/content-types/email-link/index.js +8 -0
- package/server/src/content-types/email-link/schema.json +49 -0
- package/server/src/content-types/email-log/index.js +8 -0
- package/server/src/content-types/email-log/schema.json +106 -0
- package/server/src/content-types/email-template/schema.json +74 -0
- package/server/src/content-types/email-template-version/schema.json +60 -0
- package/server/src/content-types/index.js +33 -0
- package/server/src/content-types/routing-rule/schema.json +59 -0
- package/server/src/controllers/accounts.js +220 -0
- package/server/src/controllers/analytics.js +347 -0
- package/server/src/controllers/controller.js +26 -0
- package/server/src/controllers/email-designer.js +474 -0
- package/server/src/controllers/index.js +21 -0
- package/server/src/controllers/license.js +267 -0
- package/server/src/controllers/oauth.js +474 -0
- package/server/src/controllers/routing-rules.js +122 -0
- package/server/src/controllers/test.js +383 -0
- package/server/src/destroy.js +23 -0
- package/server/src/index.js +25 -0
- package/server/src/middlewares/index.js +3 -0
- package/server/src/policies/index.js +3 -0
- package/server/src/register.js +5 -0
- package/server/src/routes/admin.js +469 -0
- package/server/src/routes/content-api.js +37 -0
- package/server/src/routes/index.js +9 -0
- package/server/src/services/account-manager.js +277 -0
- package/server/src/services/analytics.js +496 -0
- package/server/src/services/email-designer.js +870 -0
- package/server/src/services/email-router.js +1420 -0
- package/server/src/services/index.js +17 -0
- package/server/src/services/license-guard.js +418 -0
- package/server/src/services/oauth.js +515 -0
- package/server/src/services/service.js +7 -0
- package/server/src/utils/encryption.js +81 -0
- package/strapi-admin.js +4 -0
- package/strapi-server.js +4 -0
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
const en = {
|
|
2
|
+
"plugin.name": "MagicMail",
|
|
3
|
+
"plugin.description": "Email Business Suite for Strapi v5",
|
|
4
|
+
"tabs.accounts": "Email Accounts",
|
|
5
|
+
"tabs.routing": "Routing Rules",
|
|
6
|
+
"tabs.license": "License",
|
|
7
|
+
"accounts.title": "Email Accounts",
|
|
8
|
+
"accounts.subtitle": "Manage multiple email accounts with Smart Routing",
|
|
9
|
+
"accounts.add": "Add Account",
|
|
10
|
+
"accounts.edit": "Edit Account",
|
|
11
|
+
"accounts.delete": "Delete Account",
|
|
12
|
+
"accounts.test": "Test",
|
|
13
|
+
"accounts.empty": "No email accounts yet",
|
|
14
|
+
"accounts.emptyDescription": "Add your first email account to get started",
|
|
15
|
+
"stats.emailsToday": "Sent Today",
|
|
16
|
+
"stats.totalSent": "Total Sent",
|
|
17
|
+
"stats.activeAccounts": "Active Accounts",
|
|
18
|
+
"providers.smtp": "SMTP",
|
|
19
|
+
"providers.gmail": "Gmail OAuth",
|
|
20
|
+
"providers.microsoft": "Microsoft OAuth",
|
|
21
|
+
"providers.yahoo": "Yahoo Mail OAuth",
|
|
22
|
+
"providers.sendgrid": "SendGrid",
|
|
23
|
+
"providers.mailgun": "Mailgun",
|
|
24
|
+
"routing.title": "Routing Rules",
|
|
25
|
+
"routing.subtitle": "Define intelligent routing rules for email sending",
|
|
26
|
+
"routing.add": "Create Rule",
|
|
27
|
+
"routing.edit": "Edit Rule",
|
|
28
|
+
"routing.delete": "Delete Rule",
|
|
29
|
+
"routing.empty": "No routing rules yet",
|
|
30
|
+
"routing.emptyDescription": "Create your first routing rule",
|
|
31
|
+
"license.title": "License Management",
|
|
32
|
+
"license.subtitle": "Manage your MagicMail license",
|
|
33
|
+
"license.active": "License Active",
|
|
34
|
+
"license.inactive": "No Active License",
|
|
35
|
+
"license.demo": "Demo Mode",
|
|
36
|
+
"license.generate": "Generate Free License",
|
|
37
|
+
"license.activate": "Activate License",
|
|
38
|
+
"license.key": "License Key",
|
|
39
|
+
"license.email": "Email Address",
|
|
40
|
+
"license.copyKey": "Copy Key",
|
|
41
|
+
"license.download": "Download as TXT",
|
|
42
|
+
"license.refresh": "Refresh Status",
|
|
43
|
+
"features.premium": "Premium Features",
|
|
44
|
+
"features.advanced": "Advanced Features",
|
|
45
|
+
"features.enterprise": "Enterprise Features",
|
|
46
|
+
"notifications.accountCreated": "Email account created successfully",
|
|
47
|
+
"notifications.accountUpdated": "Email account updated successfully",
|
|
48
|
+
"notifications.accountDeleted": "Email account deleted successfully",
|
|
49
|
+
"notifications.testSuccess": "Test email sent successfully",
|
|
50
|
+
"notifications.testFailed": "Test email failed",
|
|
51
|
+
"notifications.ruleCreated": "Routing rule created successfully",
|
|
52
|
+
"notifications.ruleUpdated": "Routing rule updated successfully",
|
|
53
|
+
"notifications.ruleDeleted": "Routing rule deleted successfully",
|
|
54
|
+
"notifications.licenseActivated": "License activated successfully",
|
|
55
|
+
"notifications.licenseCopied": "License key copied",
|
|
56
|
+
"notifications.error": "An error occurred",
|
|
57
|
+
"errors.noAccounts": "No email accounts available",
|
|
58
|
+
"errors.providerNotAllowed": "This provider requires a higher license",
|
|
59
|
+
"errors.accountLimitReached": "Account limit reached. Upgrade required",
|
|
60
|
+
"errors.ruleLimitReached": "Rule limit reached. Upgrade required"
|
|
61
|
+
};
|
|
62
|
+
export {
|
|
63
|
+
en as default
|
|
64
|
+
};
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const es = {
|
|
4
|
+
"plugin.name": "MagicMail",
|
|
5
|
+
"plugin.description": "Suite de Email Business para Strapi v5",
|
|
6
|
+
"tabs.accounts": "Cuentas de Email",
|
|
7
|
+
"tabs.routing": "Reglas de Enrutamiento",
|
|
8
|
+
"tabs.license": "Licencia",
|
|
9
|
+
"accounts.title": "Cuentas de Email",
|
|
10
|
+
"accounts.subtitle": "Administra múltiples cuentas de email con Smart Routing",
|
|
11
|
+
"accounts.add": "Agregar cuenta",
|
|
12
|
+
"accounts.edit": "Editar cuenta",
|
|
13
|
+
"accounts.delete": "Eliminar cuenta",
|
|
14
|
+
"accounts.test": "Probar",
|
|
15
|
+
"accounts.empty": "No hay cuentas de email",
|
|
16
|
+
"accounts.emptyDescription": "Agrega tu primera cuenta de email para comenzar",
|
|
17
|
+
"stats.emailsToday": "Enviados hoy",
|
|
18
|
+
"stats.totalSent": "Total enviado",
|
|
19
|
+
"stats.activeAccounts": "Cuentas activas",
|
|
20
|
+
"providers.smtp": "SMTP",
|
|
21
|
+
"providers.gmail": "Gmail OAuth",
|
|
22
|
+
"providers.microsoft": "Microsoft OAuth",
|
|
23
|
+
"providers.yahoo": "Yahoo Mail OAuth",
|
|
24
|
+
"providers.sendgrid": "SendGrid",
|
|
25
|
+
"providers.mailgun": "Mailgun",
|
|
26
|
+
"routing.title": "Reglas de Enrutamiento",
|
|
27
|
+
"routing.subtitle": "Define reglas inteligentes para el envío de emails",
|
|
28
|
+
"routing.add": "Crear regla",
|
|
29
|
+
"routing.edit": "Editar regla",
|
|
30
|
+
"routing.delete": "Eliminar regla",
|
|
31
|
+
"routing.empty": "No hay reglas de enrutamiento",
|
|
32
|
+
"routing.emptyDescription": "Crea tu primera regla de enrutamiento",
|
|
33
|
+
"license.title": "Gestión de Licencia",
|
|
34
|
+
"license.subtitle": "Administra tu licencia de MagicMail",
|
|
35
|
+
"license.active": "Licencia activa",
|
|
36
|
+
"license.inactive": "Sin licencia activa",
|
|
37
|
+
"license.demo": "Modo demo",
|
|
38
|
+
"license.generate": "Generar licencia gratuita",
|
|
39
|
+
"license.activate": "Activar licencia",
|
|
40
|
+
"license.key": "Clave de licencia",
|
|
41
|
+
"license.email": "Correo electrónico",
|
|
42
|
+
"license.copyKey": "Copiar clave",
|
|
43
|
+
"license.download": "Descargar como TXT",
|
|
44
|
+
"license.refresh": "Actualizar estado",
|
|
45
|
+
"features.premium": "Funciones Premium",
|
|
46
|
+
"features.advanced": "Funciones Avanzadas",
|
|
47
|
+
"features.enterprise": "Funciones Enterprise",
|
|
48
|
+
"notifications.accountCreated": "Cuenta de email creada exitosamente",
|
|
49
|
+
"notifications.accountUpdated": "Cuenta de email actualizada exitosamente",
|
|
50
|
+
"notifications.accountDeleted": "Cuenta de email eliminada exitosamente",
|
|
51
|
+
"notifications.testSuccess": "Email de prueba enviado exitosamente",
|
|
52
|
+
"notifications.testFailed": "Falló el email de prueba",
|
|
53
|
+
"notifications.ruleCreated": "Regla de enrutamiento creada exitosamente",
|
|
54
|
+
"notifications.ruleUpdated": "Regla de enrutamiento actualizada exitosamente",
|
|
55
|
+
"notifications.ruleDeleted": "Regla de enrutamiento eliminada exitosamente",
|
|
56
|
+
"notifications.licenseActivated": "Licencia activada exitosamente",
|
|
57
|
+
"notifications.licenseCopied": "Clave de licencia copiada",
|
|
58
|
+
"notifications.error": "Ocurrió un error",
|
|
59
|
+
"errors.noAccounts": "No hay cuentas de email disponibles",
|
|
60
|
+
"errors.providerNotAllowed": "Este proveedor requiere una licencia superior",
|
|
61
|
+
"errors.accountLimitReached": "Límite de cuentas alcanzado. Actualización requerida",
|
|
62
|
+
"errors.ruleLimitReached": "Límite de reglas alcanzado. Actualización requerida"
|
|
63
|
+
};
|
|
64
|
+
exports.default = es;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
const es = {
|
|
2
|
+
"plugin.name": "MagicMail",
|
|
3
|
+
"plugin.description": "Suite de Email Business para Strapi v5",
|
|
4
|
+
"tabs.accounts": "Cuentas de Email",
|
|
5
|
+
"tabs.routing": "Reglas de Enrutamiento",
|
|
6
|
+
"tabs.license": "Licencia",
|
|
7
|
+
"accounts.title": "Cuentas de Email",
|
|
8
|
+
"accounts.subtitle": "Administra múltiples cuentas de email con Smart Routing",
|
|
9
|
+
"accounts.add": "Agregar cuenta",
|
|
10
|
+
"accounts.edit": "Editar cuenta",
|
|
11
|
+
"accounts.delete": "Eliminar cuenta",
|
|
12
|
+
"accounts.test": "Probar",
|
|
13
|
+
"accounts.empty": "No hay cuentas de email",
|
|
14
|
+
"accounts.emptyDescription": "Agrega tu primera cuenta de email para comenzar",
|
|
15
|
+
"stats.emailsToday": "Enviados hoy",
|
|
16
|
+
"stats.totalSent": "Total enviado",
|
|
17
|
+
"stats.activeAccounts": "Cuentas activas",
|
|
18
|
+
"providers.smtp": "SMTP",
|
|
19
|
+
"providers.gmail": "Gmail OAuth",
|
|
20
|
+
"providers.microsoft": "Microsoft OAuth",
|
|
21
|
+
"providers.yahoo": "Yahoo Mail OAuth",
|
|
22
|
+
"providers.sendgrid": "SendGrid",
|
|
23
|
+
"providers.mailgun": "Mailgun",
|
|
24
|
+
"routing.title": "Reglas de Enrutamiento",
|
|
25
|
+
"routing.subtitle": "Define reglas inteligentes para el envío de emails",
|
|
26
|
+
"routing.add": "Crear regla",
|
|
27
|
+
"routing.edit": "Editar regla",
|
|
28
|
+
"routing.delete": "Eliminar regla",
|
|
29
|
+
"routing.empty": "No hay reglas de enrutamiento",
|
|
30
|
+
"routing.emptyDescription": "Crea tu primera regla de enrutamiento",
|
|
31
|
+
"license.title": "Gestión de Licencia",
|
|
32
|
+
"license.subtitle": "Administra tu licencia de MagicMail",
|
|
33
|
+
"license.active": "Licencia activa",
|
|
34
|
+
"license.inactive": "Sin licencia activa",
|
|
35
|
+
"license.demo": "Modo demo",
|
|
36
|
+
"license.generate": "Generar licencia gratuita",
|
|
37
|
+
"license.activate": "Activar licencia",
|
|
38
|
+
"license.key": "Clave de licencia",
|
|
39
|
+
"license.email": "Correo electrónico",
|
|
40
|
+
"license.copyKey": "Copiar clave",
|
|
41
|
+
"license.download": "Descargar como TXT",
|
|
42
|
+
"license.refresh": "Actualizar estado",
|
|
43
|
+
"features.premium": "Funciones Premium",
|
|
44
|
+
"features.advanced": "Funciones Avanzadas",
|
|
45
|
+
"features.enterprise": "Funciones Enterprise",
|
|
46
|
+
"notifications.accountCreated": "Cuenta de email creada exitosamente",
|
|
47
|
+
"notifications.accountUpdated": "Cuenta de email actualizada exitosamente",
|
|
48
|
+
"notifications.accountDeleted": "Cuenta de email eliminada exitosamente",
|
|
49
|
+
"notifications.testSuccess": "Email de prueba enviado exitosamente",
|
|
50
|
+
"notifications.testFailed": "Falló el email de prueba",
|
|
51
|
+
"notifications.ruleCreated": "Regla de enrutamiento creada exitosamente",
|
|
52
|
+
"notifications.ruleUpdated": "Regla de enrutamiento actualizada exitosamente",
|
|
53
|
+
"notifications.ruleDeleted": "Regla de enrutamiento eliminada exitosamente",
|
|
54
|
+
"notifications.licenseActivated": "Licencia activada exitosamente",
|
|
55
|
+
"notifications.licenseCopied": "Clave de licencia copiada",
|
|
56
|
+
"notifications.error": "Ocurrió un error",
|
|
57
|
+
"errors.noAccounts": "No hay cuentas de email disponibles",
|
|
58
|
+
"errors.providerNotAllowed": "Este proveedor requiere una licencia superior",
|
|
59
|
+
"errors.accountLimitReached": "Límite de cuentas alcanzado. Actualización requerida",
|
|
60
|
+
"errors.ruleLimitReached": "Límite de reglas alcanzado. Actualización requerida"
|
|
61
|
+
};
|
|
62
|
+
export {
|
|
63
|
+
es as default
|
|
64
|
+
};
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
const fr = {
|
|
2
|
+
"plugin.name": "MagicMail",
|
|
3
|
+
"plugin.description": "Suite Email Business pour Strapi v5",
|
|
4
|
+
"tabs.accounts": "Comptes Email",
|
|
5
|
+
"tabs.routing": "Règles de Routage",
|
|
6
|
+
"tabs.license": "Licence",
|
|
7
|
+
"accounts.title": "Comptes Email",
|
|
8
|
+
"accounts.subtitle": "Gérez plusieurs comptes email avec Smart Routing",
|
|
9
|
+
"accounts.add": "Ajouter un compte",
|
|
10
|
+
"accounts.edit": "Modifier le compte",
|
|
11
|
+
"accounts.delete": "Supprimer le compte",
|
|
12
|
+
"accounts.test": "Tester",
|
|
13
|
+
"accounts.empty": "Aucun compte email",
|
|
14
|
+
"accounts.emptyDescription": "Ajoutez votre premier compte email pour commencer",
|
|
15
|
+
"stats.emailsToday": "Envoyés aujourd'hui",
|
|
16
|
+
"stats.totalSent": "Total envoyé",
|
|
17
|
+
"stats.activeAccounts": "Comptes actifs",
|
|
18
|
+
"providers.smtp": "SMTP",
|
|
19
|
+
"providers.gmail": "Gmail OAuth",
|
|
20
|
+
"providers.microsoft": "Microsoft OAuth",
|
|
21
|
+
"providers.yahoo": "Yahoo Mail OAuth",
|
|
22
|
+
"providers.sendgrid": "SendGrid",
|
|
23
|
+
"providers.mailgun": "Mailgun",
|
|
24
|
+
"routing.title": "Règles de Routage",
|
|
25
|
+
"routing.subtitle": "Définissez des règles intelligentes pour l'envoi d'emails",
|
|
26
|
+
"routing.add": "Créer une règle",
|
|
27
|
+
"routing.edit": "Modifier la règle",
|
|
28
|
+
"routing.delete": "Supprimer la règle",
|
|
29
|
+
"routing.empty": "Aucune règle de routage",
|
|
30
|
+
"routing.emptyDescription": "Créez votre première règle de routage",
|
|
31
|
+
"license.title": "Gestion de Licence",
|
|
32
|
+
"license.subtitle": "Gérez votre licence MagicMail",
|
|
33
|
+
"license.active": "Licence active",
|
|
34
|
+
"license.inactive": "Aucune licence active",
|
|
35
|
+
"license.demo": "Mode démo",
|
|
36
|
+
"license.generate": "Générer une licence gratuite",
|
|
37
|
+
"license.activate": "Activer la licence",
|
|
38
|
+
"license.key": "Clé de licence",
|
|
39
|
+
"license.email": "Adresse email",
|
|
40
|
+
"license.copyKey": "Copier la clé",
|
|
41
|
+
"license.download": "Télécharger en TXT",
|
|
42
|
+
"license.refresh": "Actualiser le statut",
|
|
43
|
+
"features.premium": "Fonctionnalités Premium",
|
|
44
|
+
"features.advanced": "Fonctionnalités Avancées",
|
|
45
|
+
"features.enterprise": "Fonctionnalités Enterprise",
|
|
46
|
+
"notifications.accountCreated": "Compte email créé avec succès",
|
|
47
|
+
"notifications.accountUpdated": "Compte email mis à jour avec succès",
|
|
48
|
+
"notifications.accountDeleted": "Compte email supprimé avec succès",
|
|
49
|
+
"notifications.testSuccess": "Email de test envoyé avec succès",
|
|
50
|
+
"notifications.testFailed": "Échec de l'email de test",
|
|
51
|
+
"notifications.ruleCreated": "Règle de routage créée avec succès",
|
|
52
|
+
"notifications.ruleUpdated": "Règle de routage mise à jour avec succès",
|
|
53
|
+
"notifications.ruleDeleted": "Règle de routage supprimée avec succès",
|
|
54
|
+
"notifications.licenseActivated": "Licence activée avec succès",
|
|
55
|
+
"notifications.licenseCopied": "Clé de licence copiée",
|
|
56
|
+
"notifications.error": "Une erreur s'est produite",
|
|
57
|
+
"errors.noAccounts": "Aucun compte email disponible",
|
|
58
|
+
"errors.providerNotAllowed": "Ce fournisseur nécessite une licence supérieure",
|
|
59
|
+
"errors.accountLimitReached": "Limite de comptes atteinte. Mise à niveau requise",
|
|
60
|
+
"errors.ruleLimitReached": "Limite de règles atteinte. Mise à niveau requise"
|
|
61
|
+
};
|
|
62
|
+
export {
|
|
63
|
+
fr as default
|
|
64
|
+
};
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const fr = {
|
|
4
|
+
"plugin.name": "MagicMail",
|
|
5
|
+
"plugin.description": "Suite Email Business pour Strapi v5",
|
|
6
|
+
"tabs.accounts": "Comptes Email",
|
|
7
|
+
"tabs.routing": "Règles de Routage",
|
|
8
|
+
"tabs.license": "Licence",
|
|
9
|
+
"accounts.title": "Comptes Email",
|
|
10
|
+
"accounts.subtitle": "Gérez plusieurs comptes email avec Smart Routing",
|
|
11
|
+
"accounts.add": "Ajouter un compte",
|
|
12
|
+
"accounts.edit": "Modifier le compte",
|
|
13
|
+
"accounts.delete": "Supprimer le compte",
|
|
14
|
+
"accounts.test": "Tester",
|
|
15
|
+
"accounts.empty": "Aucun compte email",
|
|
16
|
+
"accounts.emptyDescription": "Ajoutez votre premier compte email pour commencer",
|
|
17
|
+
"stats.emailsToday": "Envoyés aujourd'hui",
|
|
18
|
+
"stats.totalSent": "Total envoyé",
|
|
19
|
+
"stats.activeAccounts": "Comptes actifs",
|
|
20
|
+
"providers.smtp": "SMTP",
|
|
21
|
+
"providers.gmail": "Gmail OAuth",
|
|
22
|
+
"providers.microsoft": "Microsoft OAuth",
|
|
23
|
+
"providers.yahoo": "Yahoo Mail OAuth",
|
|
24
|
+
"providers.sendgrid": "SendGrid",
|
|
25
|
+
"providers.mailgun": "Mailgun",
|
|
26
|
+
"routing.title": "Règles de Routage",
|
|
27
|
+
"routing.subtitle": "Définissez des règles intelligentes pour l'envoi d'emails",
|
|
28
|
+
"routing.add": "Créer une règle",
|
|
29
|
+
"routing.edit": "Modifier la règle",
|
|
30
|
+
"routing.delete": "Supprimer la règle",
|
|
31
|
+
"routing.empty": "Aucune règle de routage",
|
|
32
|
+
"routing.emptyDescription": "Créez votre première règle de routage",
|
|
33
|
+
"license.title": "Gestion de Licence",
|
|
34
|
+
"license.subtitle": "Gérez votre licence MagicMail",
|
|
35
|
+
"license.active": "Licence active",
|
|
36
|
+
"license.inactive": "Aucune licence active",
|
|
37
|
+
"license.demo": "Mode démo",
|
|
38
|
+
"license.generate": "Générer une licence gratuite",
|
|
39
|
+
"license.activate": "Activer la licence",
|
|
40
|
+
"license.key": "Clé de licence",
|
|
41
|
+
"license.email": "Adresse email",
|
|
42
|
+
"license.copyKey": "Copier la clé",
|
|
43
|
+
"license.download": "Télécharger en TXT",
|
|
44
|
+
"license.refresh": "Actualiser le statut",
|
|
45
|
+
"features.premium": "Fonctionnalités Premium",
|
|
46
|
+
"features.advanced": "Fonctionnalités Avancées",
|
|
47
|
+
"features.enterprise": "Fonctionnalités Enterprise",
|
|
48
|
+
"notifications.accountCreated": "Compte email créé avec succès",
|
|
49
|
+
"notifications.accountUpdated": "Compte email mis à jour avec succès",
|
|
50
|
+
"notifications.accountDeleted": "Compte email supprimé avec succès",
|
|
51
|
+
"notifications.testSuccess": "Email de test envoyé avec succès",
|
|
52
|
+
"notifications.testFailed": "Échec de l'email de test",
|
|
53
|
+
"notifications.ruleCreated": "Règle de routage créée avec succès",
|
|
54
|
+
"notifications.ruleUpdated": "Règle de routage mise à jour avec succès",
|
|
55
|
+
"notifications.ruleDeleted": "Règle de routage supprimée avec succès",
|
|
56
|
+
"notifications.licenseActivated": "Licence activée avec succès",
|
|
57
|
+
"notifications.licenseCopied": "Clé de licence copiée",
|
|
58
|
+
"notifications.error": "Une erreur s'est produite",
|
|
59
|
+
"errors.noAccounts": "Aucun compte email disponible",
|
|
60
|
+
"errors.providerNotAllowed": "Ce fournisseur nécessite une licence supérieure",
|
|
61
|
+
"errors.accountLimitReached": "Limite de comptes atteinte. Mise à niveau requise",
|
|
62
|
+
"errors.ruleLimitReached": "Limite de règles atteinte. Mise à niveau requise"
|
|
63
|
+
};
|
|
64
|
+
exports.default = fr;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
const pt = {
|
|
2
|
+
"plugin.name": "MagicMail",
|
|
3
|
+
"plugin.description": "Suite de Email Business para Strapi v5",
|
|
4
|
+
"tabs.accounts": "Contas de Email",
|
|
5
|
+
"tabs.routing": "Regras de Roteamento",
|
|
6
|
+
"tabs.license": "Licença",
|
|
7
|
+
"accounts.title": "Contas de Email",
|
|
8
|
+
"accounts.subtitle": "Gerencie várias contas de email com Smart Routing",
|
|
9
|
+
"accounts.add": "Adicionar conta",
|
|
10
|
+
"accounts.edit": "Editar conta",
|
|
11
|
+
"accounts.delete": "Excluir conta",
|
|
12
|
+
"accounts.test": "Testar",
|
|
13
|
+
"accounts.empty": "Nenhuma conta de email",
|
|
14
|
+
"accounts.emptyDescription": "Adicione sua primeira conta de email para começar",
|
|
15
|
+
"stats.emailsToday": "Enviados hoje",
|
|
16
|
+
"stats.totalSent": "Total enviado",
|
|
17
|
+
"stats.activeAccounts": "Contas ativas",
|
|
18
|
+
"providers.smtp": "SMTP",
|
|
19
|
+
"providers.gmail": "Gmail OAuth",
|
|
20
|
+
"providers.microsoft": "Microsoft OAuth",
|
|
21
|
+
"providers.yahoo": "Yahoo Mail OAuth",
|
|
22
|
+
"providers.sendgrid": "SendGrid",
|
|
23
|
+
"providers.mailgun": "Mailgun",
|
|
24
|
+
"routing.title": "Regras de Roteamento",
|
|
25
|
+
"routing.subtitle": "Defina regras inteligentes para envio de emails",
|
|
26
|
+
"routing.add": "Criar regra",
|
|
27
|
+
"routing.edit": "Editar regra",
|
|
28
|
+
"routing.delete": "Excluir regra",
|
|
29
|
+
"routing.empty": "Nenhuma regra de roteamento",
|
|
30
|
+
"routing.emptyDescription": "Crie sua primeira regra de roteamento",
|
|
31
|
+
"license.title": "Gerenciamento de Licença",
|
|
32
|
+
"license.subtitle": "Gerencie sua licença MagicMail",
|
|
33
|
+
"license.active": "Licença ativa",
|
|
34
|
+
"license.inactive": "Nenhuma licença ativa",
|
|
35
|
+
"license.demo": "Modo demo",
|
|
36
|
+
"license.generate": "Gerar licença gratuita",
|
|
37
|
+
"license.activate": "Ativar licença",
|
|
38
|
+
"license.key": "Chave de licença",
|
|
39
|
+
"license.email": "Endereço de email",
|
|
40
|
+
"license.copyKey": "Copiar chave",
|
|
41
|
+
"license.download": "Baixar como TXT",
|
|
42
|
+
"license.refresh": "Atualizar status",
|
|
43
|
+
"features.premium": "Recursos Premium",
|
|
44
|
+
"features.advanced": "Recursos Avançados",
|
|
45
|
+
"features.enterprise": "Recursos Enterprise",
|
|
46
|
+
"notifications.accountCreated": "Conta de email criada com sucesso",
|
|
47
|
+
"notifications.accountUpdated": "Conta de email atualizada com sucesso",
|
|
48
|
+
"notifications.accountDeleted": "Conta de email excluída com sucesso",
|
|
49
|
+
"notifications.testSuccess": "Email de teste enviado com sucesso",
|
|
50
|
+
"notifications.testFailed": "Falha no email de teste",
|
|
51
|
+
"notifications.ruleCreated": "Regra de roteamento criada com sucesso",
|
|
52
|
+
"notifications.ruleUpdated": "Regra de roteamento atualizada com sucesso",
|
|
53
|
+
"notifications.ruleDeleted": "Regra de roteamento excluída com sucesso",
|
|
54
|
+
"notifications.licenseActivated": "Licença ativada com sucesso",
|
|
55
|
+
"notifications.licenseCopied": "Chave de licença copiada",
|
|
56
|
+
"notifications.error": "Ocorreu um erro",
|
|
57
|
+
"errors.noAccounts": "Nenhuma conta de email disponível",
|
|
58
|
+
"errors.providerNotAllowed": "Este provedor requer uma licença superior",
|
|
59
|
+
"errors.accountLimitReached": "Limite de contas atingido. Atualização necessária",
|
|
60
|
+
"errors.ruleLimitReached": "Limite de regras atingido. Atualização necessária"
|
|
61
|
+
};
|
|
62
|
+
export {
|
|
63
|
+
pt as default
|
|
64
|
+
};
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const pt = {
|
|
4
|
+
"plugin.name": "MagicMail",
|
|
5
|
+
"plugin.description": "Suite de Email Business para Strapi v5",
|
|
6
|
+
"tabs.accounts": "Contas de Email",
|
|
7
|
+
"tabs.routing": "Regras de Roteamento",
|
|
8
|
+
"tabs.license": "Licença",
|
|
9
|
+
"accounts.title": "Contas de Email",
|
|
10
|
+
"accounts.subtitle": "Gerencie várias contas de email com Smart Routing",
|
|
11
|
+
"accounts.add": "Adicionar conta",
|
|
12
|
+
"accounts.edit": "Editar conta",
|
|
13
|
+
"accounts.delete": "Excluir conta",
|
|
14
|
+
"accounts.test": "Testar",
|
|
15
|
+
"accounts.empty": "Nenhuma conta de email",
|
|
16
|
+
"accounts.emptyDescription": "Adicione sua primeira conta de email para começar",
|
|
17
|
+
"stats.emailsToday": "Enviados hoje",
|
|
18
|
+
"stats.totalSent": "Total enviado",
|
|
19
|
+
"stats.activeAccounts": "Contas ativas",
|
|
20
|
+
"providers.smtp": "SMTP",
|
|
21
|
+
"providers.gmail": "Gmail OAuth",
|
|
22
|
+
"providers.microsoft": "Microsoft OAuth",
|
|
23
|
+
"providers.yahoo": "Yahoo Mail OAuth",
|
|
24
|
+
"providers.sendgrid": "SendGrid",
|
|
25
|
+
"providers.mailgun": "Mailgun",
|
|
26
|
+
"routing.title": "Regras de Roteamento",
|
|
27
|
+
"routing.subtitle": "Defina regras inteligentes para envio de emails",
|
|
28
|
+
"routing.add": "Criar regra",
|
|
29
|
+
"routing.edit": "Editar regra",
|
|
30
|
+
"routing.delete": "Excluir regra",
|
|
31
|
+
"routing.empty": "Nenhuma regra de roteamento",
|
|
32
|
+
"routing.emptyDescription": "Crie sua primeira regra de roteamento",
|
|
33
|
+
"license.title": "Gerenciamento de Licença",
|
|
34
|
+
"license.subtitle": "Gerencie sua licença MagicMail",
|
|
35
|
+
"license.active": "Licença ativa",
|
|
36
|
+
"license.inactive": "Nenhuma licença ativa",
|
|
37
|
+
"license.demo": "Modo demo",
|
|
38
|
+
"license.generate": "Gerar licença gratuita",
|
|
39
|
+
"license.activate": "Ativar licença",
|
|
40
|
+
"license.key": "Chave de licença",
|
|
41
|
+
"license.email": "Endereço de email",
|
|
42
|
+
"license.copyKey": "Copiar chave",
|
|
43
|
+
"license.download": "Baixar como TXT",
|
|
44
|
+
"license.refresh": "Atualizar status",
|
|
45
|
+
"features.premium": "Recursos Premium",
|
|
46
|
+
"features.advanced": "Recursos Avançados",
|
|
47
|
+
"features.enterprise": "Recursos Enterprise",
|
|
48
|
+
"notifications.accountCreated": "Conta de email criada com sucesso",
|
|
49
|
+
"notifications.accountUpdated": "Conta de email atualizada com sucesso",
|
|
50
|
+
"notifications.accountDeleted": "Conta de email excluída com sucesso",
|
|
51
|
+
"notifications.testSuccess": "Email de teste enviado com sucesso",
|
|
52
|
+
"notifications.testFailed": "Falha no email de teste",
|
|
53
|
+
"notifications.ruleCreated": "Regra de roteamento criada com sucesso",
|
|
54
|
+
"notifications.ruleUpdated": "Regra de roteamento atualizada com sucesso",
|
|
55
|
+
"notifications.ruleDeleted": "Regra de roteamento excluída com sucesso",
|
|
56
|
+
"notifications.licenseActivated": "Licença ativada com sucesso",
|
|
57
|
+
"notifications.licenseCopied": "Chave de licença copiada",
|
|
58
|
+
"notifications.error": "Ocorreu um erro",
|
|
59
|
+
"errors.noAccounts": "Nenhuma conta de email disponível",
|
|
60
|
+
"errors.providerNotAllowed": "Este provedor requer uma licença superior",
|
|
61
|
+
"errors.accountLimitReached": "Limite de contas atingido. Atualização necessária",
|
|
62
|
+
"errors.ruleLimitReached": "Limite de regras atingido. Atualização necessária"
|
|
63
|
+
};
|
|
64
|
+
exports.default = pt;
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const React = require("react");
|
|
3
|
+
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
+
const outline = require("@heroicons/react/24/outline");
|
|
5
|
+
const strapi = { "name": "magic-mail" };
|
|
6
|
+
const pluginPkg = {
|
|
7
|
+
strapi
|
|
8
|
+
};
|
|
9
|
+
const pluginId = "magic-mail";
|
|
10
|
+
const Initializer = ({ setPlugin }) => {
|
|
11
|
+
const ref = React.useRef(setPlugin);
|
|
12
|
+
React.useEffect(() => {
|
|
13
|
+
ref.current(pluginId);
|
|
14
|
+
}, []);
|
|
15
|
+
return null;
|
|
16
|
+
};
|
|
17
|
+
const PluginIcon = () => /* @__PURE__ */ jsxRuntime.jsx(outline.EnvelopeIcon, { style: { width: 24, height: 24 } });
|
|
18
|
+
const name = pluginPkg.strapi.name;
|
|
19
|
+
const index = {
|
|
20
|
+
register(app) {
|
|
21
|
+
app.addMenuLink({
|
|
22
|
+
to: `/plugins/${pluginId}`,
|
|
23
|
+
icon: PluginIcon,
|
|
24
|
+
intlLabel: {
|
|
25
|
+
id: `${pluginId}.plugin.name`,
|
|
26
|
+
defaultMessage: "MagicMail"
|
|
27
|
+
},
|
|
28
|
+
Component: () => Promise.resolve().then(() => require("../_chunks/App-B-Gp4Vbr.js"))
|
|
29
|
+
});
|
|
30
|
+
app.createSettingSection(
|
|
31
|
+
{
|
|
32
|
+
intlLabel: { id: `${pluginId}.settings.section`, defaultMessage: "MagicMail" },
|
|
33
|
+
id: pluginId,
|
|
34
|
+
to: `/settings/${pluginId}`
|
|
35
|
+
},
|
|
36
|
+
[
|
|
37
|
+
{
|
|
38
|
+
intlLabel: {
|
|
39
|
+
id: `${pluginId}.settings.upgrade`,
|
|
40
|
+
defaultMessage: "Upgrade"
|
|
41
|
+
},
|
|
42
|
+
id: "upgrade",
|
|
43
|
+
to: `/settings/${pluginId}/upgrade`,
|
|
44
|
+
Component: () => Promise.resolve().then(() => require("../_chunks/LicensePage-CJXwPnEe.js"))
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
intlLabel: {
|
|
48
|
+
id: `${pluginId}.settings.license`,
|
|
49
|
+
defaultMessage: "License Details"
|
|
50
|
+
},
|
|
51
|
+
id: "license",
|
|
52
|
+
to: `/settings/${pluginId}/license`,
|
|
53
|
+
Component: () => Promise.resolve().then(() => require("../_chunks/Settings-zuFQ3pnn.js"))
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
);
|
|
57
|
+
app.registerPlugin({
|
|
58
|
+
id: pluginId,
|
|
59
|
+
initializer: Initializer,
|
|
60
|
+
isReady: true,
|
|
61
|
+
name
|
|
62
|
+
});
|
|
63
|
+
},
|
|
64
|
+
async registerTrads({ locales }) {
|
|
65
|
+
const importedTrads = {
|
|
66
|
+
en: () => Promise.resolve().then(() => require("../_chunks/en-BDc7Jk8u.js")),
|
|
67
|
+
de: () => Promise.resolve().then(() => require("../_chunks/de-CN-G9j1S.js")),
|
|
68
|
+
es: () => Promise.resolve().then(() => require("../_chunks/es-BpV1MIdm.js")),
|
|
69
|
+
fr: () => Promise.resolve().then(() => require("../_chunks/fr-vpziIpRp.js")),
|
|
70
|
+
pt: () => Promise.resolve().then(() => require("../_chunks/pt-ODpAhDNa.js"))
|
|
71
|
+
};
|
|
72
|
+
const translatedLanguages = Object.keys(importedTrads).filter(
|
|
73
|
+
(lang) => locales.includes(lang)
|
|
74
|
+
);
|
|
75
|
+
const translations = await Promise.all(
|
|
76
|
+
translatedLanguages.map(
|
|
77
|
+
(language) => importedTrads[language]().then(({ default: data }) => ({
|
|
78
|
+
data,
|
|
79
|
+
locale: language
|
|
80
|
+
})).catch(() => ({
|
|
81
|
+
data: {},
|
|
82
|
+
locale: language
|
|
83
|
+
}))
|
|
84
|
+
)
|
|
85
|
+
);
|
|
86
|
+
return Promise.resolve(translations);
|
|
87
|
+
}
|
|
88
|
+
};
|
|
89
|
+
module.exports = index;
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { useRef, useEffect } from "react";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import { EnvelopeIcon } from "@heroicons/react/24/outline";
|
|
4
|
+
const strapi = { "name": "magic-mail" };
|
|
5
|
+
const pluginPkg = {
|
|
6
|
+
strapi
|
|
7
|
+
};
|
|
8
|
+
const pluginId = "magic-mail";
|
|
9
|
+
const Initializer = ({ setPlugin }) => {
|
|
10
|
+
const ref = useRef(setPlugin);
|
|
11
|
+
useEffect(() => {
|
|
12
|
+
ref.current(pluginId);
|
|
13
|
+
}, []);
|
|
14
|
+
return null;
|
|
15
|
+
};
|
|
16
|
+
const PluginIcon = () => /* @__PURE__ */ jsx(EnvelopeIcon, { style: { width: 24, height: 24 } });
|
|
17
|
+
const name = pluginPkg.strapi.name;
|
|
18
|
+
const index = {
|
|
19
|
+
register(app) {
|
|
20
|
+
app.addMenuLink({
|
|
21
|
+
to: `/plugins/${pluginId}`,
|
|
22
|
+
icon: PluginIcon,
|
|
23
|
+
intlLabel: {
|
|
24
|
+
id: `${pluginId}.plugin.name`,
|
|
25
|
+
defaultMessage: "MagicMail"
|
|
26
|
+
},
|
|
27
|
+
Component: () => import("../_chunks/App-BymMjoGM.mjs")
|
|
28
|
+
});
|
|
29
|
+
app.createSettingSection(
|
|
30
|
+
{
|
|
31
|
+
intlLabel: { id: `${pluginId}.settings.section`, defaultMessage: "MagicMail" },
|
|
32
|
+
id: pluginId,
|
|
33
|
+
to: `/settings/${pluginId}`
|
|
34
|
+
},
|
|
35
|
+
[
|
|
36
|
+
{
|
|
37
|
+
intlLabel: {
|
|
38
|
+
id: `${pluginId}.settings.upgrade`,
|
|
39
|
+
defaultMessage: "Upgrade"
|
|
40
|
+
},
|
|
41
|
+
id: "upgrade",
|
|
42
|
+
to: `/settings/${pluginId}/upgrade`,
|
|
43
|
+
Component: () => import("../_chunks/LicensePage-Bl02myMx.mjs")
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
intlLabel: {
|
|
47
|
+
id: `${pluginId}.settings.license`,
|
|
48
|
+
defaultMessage: "License Details"
|
|
49
|
+
},
|
|
50
|
+
id: "license",
|
|
51
|
+
to: `/settings/${pluginId}/license`,
|
|
52
|
+
Component: () => import("../_chunks/Settings-C_TmKwcz.mjs")
|
|
53
|
+
}
|
|
54
|
+
]
|
|
55
|
+
);
|
|
56
|
+
app.registerPlugin({
|
|
57
|
+
id: pluginId,
|
|
58
|
+
initializer: Initializer,
|
|
59
|
+
isReady: true,
|
|
60
|
+
name
|
|
61
|
+
});
|
|
62
|
+
},
|
|
63
|
+
async registerTrads({ locales }) {
|
|
64
|
+
const importedTrads = {
|
|
65
|
+
en: () => import("../_chunks/en-BEFQJXvR.mjs"),
|
|
66
|
+
de: () => import("../_chunks/de-DS04rP54.mjs"),
|
|
67
|
+
es: () => import("../_chunks/es-DQHwzPpP.mjs"),
|
|
68
|
+
fr: () => import("../_chunks/fr-BG1WfEVm.mjs"),
|
|
69
|
+
pt: () => import("../_chunks/pt-CMoGrOib.mjs")
|
|
70
|
+
};
|
|
71
|
+
const translatedLanguages = Object.keys(importedTrads).filter(
|
|
72
|
+
(lang) => locales.includes(lang)
|
|
73
|
+
);
|
|
74
|
+
const translations = await Promise.all(
|
|
75
|
+
translatedLanguages.map(
|
|
76
|
+
(language) => importedTrads[language]().then(({ default: data }) => ({
|
|
77
|
+
data,
|
|
78
|
+
locale: language
|
|
79
|
+
})).catch(() => ({
|
|
80
|
+
data: {},
|
|
81
|
+
locale: language
|
|
82
|
+
}))
|
|
83
|
+
)
|
|
84
|
+
);
|
|
85
|
+
return Promise.resolve(translations);
|
|
86
|
+
}
|
|
87
|
+
};
|
|
88
|
+
export {
|
|
89
|
+
index as default
|
|
90
|
+
};
|