@nocobase/plugin-notification-manager 1.7.0-beta.1 → 1.7.0-beta.3

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.
@@ -10,16 +10,16 @@
10
10
  module.exports = {
11
11
  "react": "18.2.0",
12
12
  "antd": "5.12.8",
13
- "@nocobase/client": "1.7.0-beta.1",
14
- "@nocobase/utils": "1.7.0-beta.1",
15
- "@nocobase/server": "1.7.0-beta.1",
16
- "@nocobase/logger": "1.7.0-beta.1",
13
+ "@nocobase/client": "1.7.0-beta.3",
14
+ "@nocobase/utils": "1.7.0-beta.3",
15
+ "@nocobase/server": "1.7.0-beta.3",
16
+ "@nocobase/logger": "1.7.0-beta.3",
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-beta.1",
20
+ "@nocobase/database": "1.7.0-beta.3",
21
21
  "@formily/shared": "2.3.2",
22
22
  "@ant-design/icons": "5.6.1",
23
23
  "@formily/antd-v5": "1.2.2",
24
- "@nocobase/plugin-workflow": "1.7.0-beta.1"
24
+ "@nocobase/plugin-workflow": "1.7.0-beta.3"
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": "Notification Management",
3
+ "Notification": "Melding",
4
+ "Channels": "Channels",
5
+ "Channel": "Channel",
6
+ "Channel title": "Channel title",
7
+ "Channel name": "Channel name",
8
+ "Channel display name": "Channel display name",
9
+ "Content": "Content",
10
+ "Receivers": "Receivers",
11
+ "Receiver": "Receiver",
12
+ "Add new receiver": "Add new receiver",
13
+ "Templates": "Sjablonen",
14
+ "Logs": "Logs",
15
+ "Title": "Titel",
16
+ "Description": "Beschrijving",
17
+ "Notification type": "Notification type",
18
+ "Actions": "Acties",
19
+ "Configure": "Configureren",
20
+ "Add new": "Nieuwe toevoegen",
21
+ "Trigger From": "Trigger From",
22
+ "Status": "Status",
23
+ "Created At": "Created At",
24
+ "Delete record": "Record verwijderen",
25
+ "Are you sure you want to delete it?": "Weet je zeker dat je het wilt verwijderen?",
26
+ "Deleted successfully!": "Deleted successfully!",
27
+ "Add user": "Add user",
28
+ "Select users": "Select users",
29
+ "Query users": "Query users",
30
+ "Receiver type": "Receiver type",
31
+ "No channel enabled yet": "No channel enabled yet",
32
+ "Success": "Success",
33
+ "Fail": "Fail",
34
+ "Reason": "Reason",
35
+ "Failed reason": "Failed reason",
36
+ "Log detail": "Log detail",
37
+ "Message": "Message",
38
+ "Notification manager": "Notification manager",
39
+ "Randomly generated and can not be modified. Support letters, numbers and underscores, must start with an letter.": "Randomly generated and can not be modified. Support letters, numbers and underscores, must start with an 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-beta.1",
7
+ "version": "1.7.0-beta.3",
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": "374a1bc60b3d55fd8b532a57c8fe0423eed1d11e"
34
+ "gitHead": "8d52cb1d366a968f87c1cd3f98f55f24be3056a5"
35
35
  }