@nocobase/plugin-client 2.0.0-alpha.9 → 2.0.0-beta.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.
Files changed (38) hide show
  1. package/dist/client/index.js +1 -1
  2. package/dist/externalVersion.js +5 -5
  3. package/dist/locale/cron/zh-CN.json +33 -0
  4. package/dist/locale/cron/zh-TW.json +33 -0
  5. package/dist/locale/de-DE.json +1545 -0
  6. package/dist/locale/en-US.json +1553 -0
  7. package/dist/locale/es-ES.json +1573 -0
  8. package/dist/locale/fr-FR.json +1549 -0
  9. package/dist/locale/hu-HU.json +1545 -0
  10. package/dist/locale/id-ID.json +1546 -0
  11. package/dist/locale/{it-IT.js → it-IT.json} +1496 -1063
  12. package/dist/locale/ja-JP.json +1564 -0
  13. package/dist/locale/ko-KR.json +1558 -0
  14. package/dist/locale/{nl-NL.js → nl-NL.json} +1493 -1027
  15. package/dist/locale/pt-BR.json +1617 -0
  16. package/dist/locale/ru-RU.json +1551 -0
  17. package/dist/locale/tr-TR.json +1553 -0
  18. package/dist/locale/uk-UA.json +1570 -0
  19. package/dist/locale/vi-VN.json +1545 -0
  20. package/dist/locale/zh-CN.json +1571 -0
  21. package/dist/locale/zh-TW.json +1549 -0
  22. package/dist/node_modules/cronstrue/package.json +1 -1
  23. package/dist/server/server.js +8 -3
  24. package/package.json +4 -2
  25. package/dist/locale/cron/zh-CN.js +0 -42
  26. package/dist/locale/cron/zh-TW.js +0 -42
  27. package/dist/locale/de-DE.js +0 -913
  28. package/dist/locale/en-US.js +0 -1010
  29. package/dist/locale/es-ES.js +0 -833
  30. package/dist/locale/fr-FR.js +0 -853
  31. package/dist/locale/ja-JP.js +0 -1071
  32. package/dist/locale/ko-KR.js +0 -944
  33. package/dist/locale/pt-BR.js +0 -813
  34. package/dist/locale/ru-RU.js +0 -642
  35. package/dist/locale/tr-TR.js +0 -640
  36. package/dist/locale/uk-UA.js +0 -856
  37. package/dist/locale/zh-CN.js +0 -1445
  38. package/dist/locale/zh-TW.js +0 -947
@@ -1 +1 @@
1
- {"name":"cronstrue","title":"cRonstrue","version":"2.47.0","description":"Convert cron expressions into human readable descriptions","author":"Brady Holt","license":"MIT","bugs":{"url":"https://github.com/bradymholt/cronstrue/issues"},"homepage":"https://github.com/bradymholt/cronstrue","keywords":["cron","cronjob","crontab","schedule","parser","cron expression","cron description","pretty cron","cron for humans","cron translated","cron english","cron schedule","cron english","cron schedule"],"main":"dist/cronstrue.js","bin":{"cronstrue":"bin/cli.js"},"typings":"dist/cronstrue.d.ts","files":["dist/","locales/","i18n.js","i18n.d.ts"],"repository":{"type":"git","url":"git+https://github.com/bradymholt/cronstrue.git"},"publishConfig":{"access":"public"},"prettier":{"printWidth":120},"devDependencies":{"@types/chai":"^4.2.11","@types/mocha":"^8.0.0","chai":"^4.2.0","handlebars":"^4.7.6","marked":"^4.0.10","mocha":"^10.1.0","pixl-xml":"^1.0.13","prettier":"^2.1.1","terser-webpack-plugin":"^5.3.1","ts-loader":"^9.2.6","ts-node":"^10.5.0","typescript":"^4.6.2","webpack":"^5.69.1","webpack-cli":"^4.9.2","xml2js":"^0.5.0"},"scripts":{"start":"npm run build","build":"npx tsc -p ./src --emitDeclarationOnly","test":"npx mocha --reporter spec --require ts-node/register \"./test/**/*.ts\"","prepublishOnly":"rm -rf ./dist && ./node_modules/webpack-cli/bin/cli.js && git add -A"},"dependencies":{},"_lastModified":"2025-10-15T12:29:37.716Z"}
1
+ {"name":"cronstrue","title":"cRonstrue","version":"2.47.0","description":"Convert cron expressions into human readable descriptions","author":"Brady Holt","license":"MIT","bugs":{"url":"https://github.com/bradymholt/cronstrue/issues"},"homepage":"https://github.com/bradymholt/cronstrue","keywords":["cron","cronjob","crontab","schedule","parser","cron expression","cron description","pretty cron","cron for humans","cron translated","cron english","cron schedule","cron english","cron schedule"],"main":"dist/cronstrue.js","bin":{"cronstrue":"bin/cli.js"},"typings":"dist/cronstrue.d.ts","files":["dist/","locales/","i18n.js","i18n.d.ts"],"repository":{"type":"git","url":"git+https://github.com/bradymholt/cronstrue.git"},"publishConfig":{"access":"public"},"prettier":{"printWidth":120},"devDependencies":{"@types/chai":"^4.2.11","@types/mocha":"^8.0.0","chai":"^4.2.0","handlebars":"^4.7.6","marked":"^4.0.10","mocha":"^10.1.0","pixl-xml":"^1.0.13","prettier":"^2.1.1","terser-webpack-plugin":"^5.3.1","ts-loader":"^9.2.6","ts-node":"^10.5.0","typescript":"^4.6.2","webpack":"^5.69.1","webpack-cli":"^4.9.2","xml2js":"^0.5.0"},"scripts":{"start":"npm run build","build":"npx tsc -p ./src --emitDeclarationOnly","test":"npx mocha --reporter spec --require ts-node/register \"./test/**/*.ts\"","prepublishOnly":"rm -rf ./dist && ./node_modules/webpack-cli/bin/cli.js && git add -A"},"dependencies":{},"_lastModified":"2025-12-31T17:14:34.309Z"}
@@ -165,14 +165,19 @@ class PluginClientServer extends import_server.Plugin {
165
165
  setACL() {
166
166
  this.app.acl.registerSnippet({
167
167
  name: `ui.desktopRoutes`,
168
- actions: ["desktopRoutes:create", "desktopRoutes:update", "desktopRoutes:move", "desktopRoutes:destroy"]
168
+ actions: [
169
+ "desktopRoutes:create",
170
+ "desktopRoutes:update",
171
+ "desktopRoutes:move",
172
+ "desktopRoutes:destroy",
173
+ "desktopRoutes:updateOrCreate"
174
+ ]
169
175
  });
170
176
  this.app.acl.registerSnippet({
171
177
  name: `pm.desktopRoutes`,
172
178
  actions: ["desktopRoutes:list", "roles.desktopRoutes:*"]
173
179
  });
174
- this.app.acl.allow("desktopRoutes", "listAccessible", "loggedIn");
175
- this.app.acl.allow("desktopRoutes", "getAccessible", "loggedIn");
180
+ this.app.acl.allow("desktopRoutes", ["listAccessible", "getAccessible"], "loggedIn");
176
181
  }
177
182
  /**
178
183
  * used to implement: roles with permission (allowNewMenu is true) can directly access the newly created menu
package/package.json CHANGED
@@ -1,10 +1,12 @@
1
1
  {
2
2
  "name": "@nocobase/plugin-client",
3
3
  "displayName": "WEB client",
4
+ "displayName.ru-RU": "WEB-клиент",
4
5
  "displayName.zh-CN": "WEB 客户端",
5
6
  "description": "Provides a client interface for the NocoBase server",
7
+ "description.ru-RU": "Предоставляет клиентский интерфейс для сервера NocoBase",
6
8
  "description.zh-CN": "为 NocoBase 服务端提供客户端界面",
7
- "version": "2.0.0-alpha.9",
9
+ "version": "2.0.0-beta.1",
8
10
  "main": "./dist/server/index.js",
9
11
  "license": "AGPL-3.0",
10
12
  "devDependencies": {
@@ -21,5 +23,5 @@
21
23
  "@nocobase/test": "2.x",
22
24
  "@nocobase/utils": "2.x"
23
25
  },
24
- "gitHead": "4a9acf96f21a3aa35bccbd188b942595b09da0a9"
26
+ "gitHead": "b3d1f65848fc91e673372ee734dafe6b1cf80586"
25
27
  }
@@ -1,42 +0,0 @@
1
- /**
2
- * This file is part of the NocoBase (R) project.
3
- * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
- * Authors: NocoBase Team.
5
- *
6
- * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
- * For more information, please refer to: https://www.nocobase.com/agreement.
8
- */
9
-
10
- module.exports = {
11
- everyText: "\u6BCF",
12
- emptyMonths: "\u6BCF\u6708",
13
- emptyMonthDays: "\u6BCF\u65E5(\u6708)",
14
- emptyMonthDaysShort: "\u6BCF\u65E5",
15
- emptyWeekDays: "\u6BCF\u5929(\u5468)",
16
- emptyWeekDaysShort: "\u6BCF\u5929(\u5468)",
17
- emptyHours: "\u6BCF\u5C0F\u65F6",
18
- emptyMinutes: "\u6BCF\u5206\u949F",
19
- emptyMinutesForHourPeriod: "\u6BCF",
20
- yearOption: "\u5E74",
21
- monthOption: "\u6708",
22
- weekOption: "\u5468",
23
- dayOption: "\u5929",
24
- hourOption: "\u5C0F\u65F6",
25
- minuteOption: "\u5206\u949F",
26
- rebootOption: "\u91CD\u542F",
27
- prefixPeriod: "\u6BCF",
28
- prefixMonths: "\u7684",
29
- prefixMonthDays: "\u7684",
30
- prefixWeekDays: "\u7684",
31
- prefixWeekDaysForMonthAndYearPeriod: "\u6216\u8005",
32
- prefixHours: "\u7684",
33
- prefixMinutes: ":",
34
- prefixMinutesForHourPeriod: "\u7684",
35
- suffixMinutesForHourPeriod: "\u5206\u949F",
36
- errorInvalidCron: "\u4E0D\u7B26\u5408 cron \u89C4\u5219\u7684\u8868\u8FBE\u5F0F",
37
- clearButtonText: "\u6E05\u7A7A",
38
- weekDays: ["\u5468\u65E5", "\u5468\u4E00", "\u5468\u4E8C", "\u5468\u4E09", "\u5468\u56DB", "\u5468\u4E94", "\u5468\u516D"],
39
- months: ["\u4E00\u6708", "\u4E8C\u6708", "\u4E09\u6708", "\u56DB\u6708", "\u4E94\u6708", "\u516D\u6708", "\u4E03\u6708", "\u516B\u6708", "\u4E5D\u6708", "\u5341\u6708", "\u5341\u4E00\u6708", "\u5341\u4E8C\u6708"],
40
- altWeekDays: ["\u5468\u65E5", "\u5468\u4E00", "\u5468\u4E8C", "\u5468\u4E09", "\u5468\u56DB", "\u5468\u4E94", "\u5468\u516D"],
41
- altMonths: ["\u4E00\u6708", "\u4E8C\u6708", "\u4E09\u6708", "\u56DB\u6708", "\u4E94\u6708", "\u516D\u6708", "\u4E03\u6708", "\u516B\u6708", "\u4E5D\u6708", "\u5341\u6708", "\u5341\u4E00\u6708", "\u5341\u4E8C\u6708"]
42
- };
@@ -1,42 +0,0 @@
1
- /**
2
- * This file is part of the NocoBase (R) project.
3
- * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
- * Authors: NocoBase Team.
5
- *
6
- * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
- * For more information, please refer to: https://www.nocobase.com/agreement.
8
- */
9
-
10
- module.exports = {
11
- everyText: "\u6BCF",
12
- emptyMonths: "\u6BCF\u6708",
13
- emptyMonthDays: "\u6BCF\u65E5(\u6708)",
14
- emptyMonthDaysShort: "\u6BCF\u65E5",
15
- emptyWeekDays: "\u6BCF\u5929(\u9031)",
16
- emptyWeekDaysShort: "\u6BCF\u5929(\u9031)",
17
- emptyHours: "\u6BCF\u5C0F\u6642",
18
- emptyMinutes: "\u6BCF\u5206\u9418",
19
- emptyMinutesForHourPeriod: "\u6BCF",
20
- yearOption: "\u5E74",
21
- monthOption: "\u6708",
22
- weekOption: "\u9031",
23
- dayOption: "\u5929",
24
- hourOption: "\u5C0F\u6642",
25
- minuteOption: "\u5206\u9418",
26
- rebootOption: "\u91CD\u555F",
27
- prefixPeriod: "\u6BCF",
28
- prefixMonths: "\u7684",
29
- prefixMonthDays: "\u7684",
30
- prefixWeekDays: "\u7684",
31
- prefixWeekDaysForMonthAndYearPeriod: "\u6216\u8005",
32
- prefixHours: "\u7684",
33
- prefixMinutes: ":",
34
- prefixMinutesForHourPeriod: "\u7684",
35
- suffixMinutesForHourPeriod: "\u5206\u9418",
36
- errorInvalidCron: "\u4E0D\u7B26\u5408 cron \u898F\u5247\u7684\u8868\u793A\u5F0F",
37
- clearButtonText: "\u6E05\u7A7A",
38
- weekDays: ["\u9031\u65E5", "\u9031\u4E00", "\u9031\u4E8C", "\u9031\u4E09", "\u9031\u56DB", "\u9031\u4E94", "\u9031\u516D"],
39
- months: ["\u4E00\u6708", "\u4E8C\u6708", "\u4E09\u6708", "\u56DB\u6708", "\u4E94\u6708", "\u516D\u6708", "\u4E03\u6708", "\u516B\u6708", "\u4E5D\u6708", "\u5341\u6708", "\u5341\u4E00\u6708", "\u5341\u4E8C\u6708"],
40
- altWeekDays: ["\u9031\u65E5", "\u9031\u4E00", "\u9031\u4E8C", "\u9031\u4E09", "\u9031\u56DB", "\u9031\u4E94", "\u9031\u516D"],
41
- altMonths: ["\u4E00\u6708", "\u4E8C\u6708", "\u4E09\u6708", "\u56DB\u6708", "\u4E94\u6708", "\u516D\u6708", "\u4E03\u6708", "\u516B\u6708", "\u4E5D\u6708", "\u5341\u6708", "\u5341\u4E00\u6708", "\u5341\u4E8C\u6708"]
42
- };