@nocobase/plugin-client 2.0.0-alpha.27 → 2.0.0-alpha.29

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,13 +10,13 @@
10
10
  module.exports = {
11
11
  "react": "18.2.0",
12
12
  "react-i18next": "11.18.6",
13
- "@nocobase/client": "2.0.0-alpha.27",
13
+ "@nocobase/client": "2.0.0-alpha.29",
14
14
  "antd": "5.24.2",
15
15
  "@ant-design/icons": "5.6.1",
16
16
  "@formily/react": "2.3.7",
17
- "@nocobase/utils": "2.0.0-alpha.27",
17
+ "@nocobase/utils": "2.0.0-alpha.29",
18
18
  "lodash": "4.17.21",
19
- "@nocobase/database": "2.0.0-alpha.27",
20
- "@nocobase/plugin-localization": "2.0.0-alpha.27",
21
- "@nocobase/server": "2.0.0-alpha.27"
19
+ "@nocobase/database": "2.0.0-alpha.29",
20
+ "@nocobase/plugin-localization": "2.0.0-alpha.29",
21
+ "@nocobase/server": "2.0.0-alpha.29"
22
22
  };
@@ -925,7 +925,7 @@
925
925
  "No resource selected for refresh": "No resource selected for refresh",
926
926
  "No resource or record selected for deletion": "No resource or record selected for deletion",
927
927
  "Record deleted successfully": "Record deleted successfully",
928
- "Please select non-filterable fields": "Please select non-filterable fields",
928
+ "Please select filterable fields": "Please select filterable fields",
929
929
  "Update record action": "Update record",
930
930
  "Basic configuration": "Basic configuration",
931
931
  "Configure page": "Configure page",
@@ -1291,7 +1291,7 @@
1291
1291
  "No resource selected for refresh": "未选择要刷新的资源",
1292
1292
  "No resource or record selected for deletion": "未选择要删除的资源或记录",
1293
1293
  "Record deleted successfully": "记录删除成功",
1294
- "Please select non-filterable fields": "请选择不可筛选的字段",
1294
+ "Please select filterable fields": "请选择可筛选的字段",
1295
1295
  "Update record action": "更新记录",
1296
1296
  "Basic configuration": "基础配置",
1297
1297
  "Configure page": "配置页面",
@@ -1507,5 +1507,9 @@
1507
1507
  "Add event flow": "添加事件流",
1508
1508
  "Configuration saved": "配置已保存",
1509
1509
  "Form values change": "表单值变更",
1510
- "Click": "点击"
1510
+ "Click": "点击",
1511
+ "Move up": "上移",
1512
+ "Move down": "下移",
1513
+ "Copy": "复制",
1514
+ "Trigger condition": "触发条件"
1511
1515
  }
@@ -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-30T09:25:22.251Z"}
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-11-02T04:35:49.613Z"}
@@ -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
@@ -4,7 +4,7 @@
4
4
  "displayName.zh-CN": "WEB 客户端",
5
5
  "description": "Provides a client interface for the NocoBase server",
6
6
  "description.zh-CN": "为 NocoBase 服务端提供客户端界面",
7
- "version": "2.0.0-alpha.27",
7
+ "version": "2.0.0-alpha.29",
8
8
  "main": "./dist/server/index.js",
9
9
  "license": "AGPL-3.0",
10
10
  "devDependencies": {
@@ -21,5 +21,5 @@
21
21
  "@nocobase/test": "2.x",
22
22
  "@nocobase/utils": "2.x"
23
23
  },
24
- "gitHead": "bb67b95bc49f8d808209e635296ba15a1bd72f72"
24
+ "gitHead": "58961a6fbb9fe07572d863cf7119a1636011deae"
25
25
  }