@nocobase/plugin-notification-manager 1.7.0-alpha.1 → 1.7.0-alpha.2

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.
@@ -9,17 +9,17 @@
9
9
 
10
10
  module.exports = {
11
11
  "react": "18.2.0",
12
- "antd": "5.12.8",
13
- "@nocobase/client": "1.7.0-alpha.1",
14
- "@nocobase/utils": "1.7.0-alpha.1",
15
- "@nocobase/server": "1.7.0-alpha.1",
16
- "@nocobase/logger": "1.7.0-alpha.1",
12
+ "antd": "5.24.2",
13
+ "@nocobase/client": "1.7.0-alpha.2",
14
+ "@nocobase/utils": "1.7.0-alpha.2",
15
+ "@nocobase/server": "1.7.0-alpha.2",
16
+ "@nocobase/logger": "1.7.0-alpha.2",
17
17
  "@formily/react": "2.3.0",
18
18
  "@formily/core": "2.3.0",
19
19
  "react-i18next": "11.18.6",
20
- "@nocobase/database": "1.7.0-alpha.1",
20
+ "@nocobase/database": "1.7.0-alpha.2",
21
21
  "@formily/shared": "2.3.2",
22
22
  "@ant-design/icons": "5.6.1",
23
- "@formily/antd-v5": "1.2.2",
24
- "@nocobase/plugin-workflow": "1.7.0-alpha.1"
23
+ "@formily/antd-v5": "1.2.3",
24
+ "@nocobase/plugin-workflow": "1.7.0-alpha.2"
25
25
  };
@@ -0,0 +1,43 @@
1
+ {
2
+ "Notification Management": "Benachrichtigungsverwaltung",
3
+ "Notification": "Benachrichtigung",
4
+ "Channels": "Kanäle",
5
+ "Channel": "Kanal",
6
+ "Channel title": "Kanaltitel",
7
+ "Channel name": "Kanalname",
8
+ "Channel display name": "Kanalanzeigename",
9
+ "Content": "Inhalt",
10
+ "Receivers": "Empfänger",
11
+ "Receiver": "Empfänger",
12
+ "Add new receiver": "Neuen Empfänger hinzufügen",
13
+ "Templates": "Vorlagen",
14
+ "Logs": "Protokolle",
15
+ "Title": "Titel",
16
+ "Description": "Beschreibung",
17
+ "Notification type": "Benachrichtigungstyp",
18
+ "Actions": "Aktionen",
19
+ "Configure": "Konfigurieren",
20
+ "Add new": "Neu hinzufügen",
21
+ "Trigger from": "Auslöser von",
22
+ "Status": "Status",
23
+ "Created at": "Erstellt am",
24
+ "Delete record": "Datensatz löschen",
25
+ "Are you sure you want to delete it?": "Sind Sie sicher, dass Sie es löschen möchten?",
26
+ "Deleted successfully!": "Erfolgreich gelöscht!",
27
+ "Add user": "Benutzer hinzufügen",
28
+ "Select users": "Benutzer auswählen",
29
+ "Query users": "Benutzer abfragen",
30
+ "Receiver type": "Empfängertyp",
31
+ "Manual input": "Manuelle Eingabe",
32
+ "Select user": "Benutzer auswählen",
33
+ "No channel enabled yet": "Noch kein Kanal aktiviert",
34
+ "Success": "Erfolg",
35
+ "Fail": "Fehlschlag",
36
+ "Failure": "Fehlschlag",
37
+ "Reason": "Grund",
38
+ "Failed reason": "Fehlergrund",
39
+ "Log detail": "Protokolldetail",
40
+ "Message": "Nachricht",
41
+ "Notification manager": "Benachrichtigungsmanager",
42
+ "Randomly generated and can not be modified. Support letters, numbers and underscores, must start with an letter.": "Zufällig generiert und kann nicht geändert werden. Unterstützt Buchstaben, Zahlen und Unterstriche, muss mit einem Buchstaben beginnen."
43
+ }
@@ -3,9 +3,7 @@
3
3
  "Notification": "Notifica",
4
4
  "Channels": "Canali",
5
5
  "Channel": "Canale",
6
- "Channel title": "Titolo canale",
7
- "Channel name": "Nome canale",
8
- "Channel display name": "Nome visualizzato canale",
6
+ "Channel title": "Titolo canale",
9
7
  "Content": "Contenuto",
10
8
  "Receivers": "Destinatari",
11
9
  "Receiver": "Destinatario",
@@ -16,6 +14,8 @@
16
14
  "Description": "Descrizione",
17
15
  "Notification type": "Tipo di notifica",
18
16
  "Actions": "Azioni",
17
+ "Channel name": "Nome canale",
18
+ "Channel display name": "Nome visualizzato canale",
19
19
  "Configure": "Configura",
20
20
  "Add new": "Aggiungi nuovo",
21
21
  "Trigger From": "Attivato da",
@@ -28,6 +28,8 @@
28
28
  "Select users": "Seleziona utenti",
29
29
  "Query users": "Cerca utenti",
30
30
  "Receiver type": "Tipo di destinatario",
31
+ "Manual input": "Inserimento manuale",
32
+ "Select user": "Seleziona utente",
31
33
  "No channel enabled yet": "Nessun canale ancora abilitato",
32
34
  "Success": "Successo",
33
35
  "Fail": "Fallito",
@@ -0,0 +1,40 @@
1
+ {
2
+ "Notification Management": "Notificatiebeheerder",
3
+ "Notification": "Melding",
4
+ "Channels": "Kanalen",
5
+ "Channel": "Kanaal",
6
+ "Channel title": "Kanaaltitel",
7
+ "Channel name": "Kanaalnaam",
8
+ "Channel display name": "Kanaal weergavenaam",
9
+ "Content": "Inhoud",
10
+ "Receivers": "Ontvangers",
11
+ "Receiver": "Ontvanger",
12
+ "Add new receiver": "Ontvanger toevoegen",
13
+ "Templates": "Sjablonen",
14
+ "Logs": "Logboeken",
15
+ "Title": "Titel",
16
+ "Description": "Beschrijving",
17
+ "Notification type": "Notificatietype",
18
+ "Actions": "Acties",
19
+ "Configure": "Configureren",
20
+ "Add new": "Nieuw toevoegen",
21
+ "Trigger From": "Triggeren vanaf",
22
+ "Status": "Status",
23
+ "Created At": "Aangemaakt op",
24
+ "Delete record": "Record verwijderen",
25
+ "Are you sure you want to delete it?": "Weet je zeker dat je het wil verwijderen?",
26
+ "Deleted successfully!": "Succesvol verwijderd",
27
+ "Add user": "Gebruiker toevoegen",
28
+ "Select users": "Geselecteerde gebruikers",
29
+ "Query users": "Gebruikers zoeken",
30
+ "Receiver type": "Ontvanger type",
31
+ "No channel enabled yet": "Nog geen kanaal ingeschakeld",
32
+ "Success": "Succesvol",
33
+ "Fail": "Mislukt",
34
+ "Reason": "Reden",
35
+ "Failed reason": "Mislukt reden",
36
+ "Log detail": "Logboek detail",
37
+ "Message": "Bericht",
38
+ "Notification manager": "Notificatiebeheerder",
39
+ "Randomly generated and can not be modified. Support letters, numbers and underscores, must start with an letter.": "Willekeurig gegenereerd en kan niet worden gewijzigd. Ondersteunende letters, cijfers en underscores, moeten beginnen met een letter."
40
+ }
@@ -30,13 +30,14 @@ __export(compile_exports, {
30
30
  });
31
31
  module.exports = __toCommonJS(compile_exports);
32
32
  var import_utils = require("@nocobase/utils");
33
+ var import_utils2 = require("@nocobase/utils");
33
34
  function deepCompile(template, data) {
34
35
  if (typeof template === "string") {
35
36
  const c = import_utils.Handlebars.compile(template);
36
37
  return c(data);
37
38
  } else if (Array.isArray(template)) {
38
39
  return template.map((item) => deepCompile(item, data));
39
- } else if (typeof template === "object") {
40
+ } else if ((0, import_utils2.isPlainObject)(template)) {
40
41
  const result = Object.keys(template).reduce((object, key) => {
41
42
  const value = deepCompile(template[key], data);
42
43
  return Object.assign(object, { [key]: value });
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "description": "Provides a unified management service that includes channel configuration, logging, and other features, supporting the configuration of various notification channels, including in-app message and email.",
5
5
  "displayName.zh-CN": "通知管理",
6
6
  "description.zh-CN": "提供统一的管理服务,涵盖渠道配置、日志记录等功能,支持多种通知渠道的配置,包括站内信和电子邮件等。",
7
- "version": "1.7.0-alpha.1",
7
+ "version": "1.7.0-alpha.2",
8
8
  "homepage": "https://docs.nocobase.com/handbook/notification-manager",
9
9
  "homepage.zh-CN": "https://docs-cn.nocobase.com/handbook/notification-manager",
10
10
  "main": "dist/server/index.js",
@@ -31,5 +31,5 @@
31
31
  "keywords": [
32
32
  "Notification"
33
33
  ],
34
- "gitHead": "e411c9728b4d1f16b0beac16e40dd3499352b052"
34
+ "gitHead": "01751fa626d5692137e3decdac3c66a742b8ea80"
35
35
  }