@tachybase/module-web 0.23.47 → 0.23.58

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.
@@ -1,17 +1,17 @@
1
1
  module.exports = {
2
2
  "react": "18.3.1",
3
- "@tachybase/client": "0.23.47",
3
+ "@tachybase/client": "0.23.58",
4
4
  "react-router-dom": "6.28.1",
5
5
  "@ant-design/icons": "5.3.7",
6
6
  "antd": "5.22.5",
7
- "@tachybase/utils": "0.23.47",
8
- "@tachybase/actions": "0.23.47",
9
- "@tachybase/server": "0.23.47",
7
+ "@tachybase/utils": "0.23.58",
8
+ "@tachybase/actions": "0.23.58",
9
+ "@tachybase/server": "0.23.58",
10
10
  "react-i18next": "15.1.4",
11
- "@tachybase/schema": "0.23.47",
11
+ "@tachybase/schema": "0.23.58",
12
12
  "lodash": "4.17.21",
13
- "@tachybase/database": "0.23.47",
13
+ "@tachybase/database": "0.23.58",
14
14
  "react-dom": "18.3.1",
15
15
  "ahooks": "3.8.4",
16
- "@tachybase/components": "0.23.47"
16
+ "@tachybase/components": "0.23.58"
17
17
  };
@@ -212,6 +212,7 @@ module.exports = {
212
212
  Constant: "\u5E38\u91CF",
213
213
  "Constant value": "\u9759\u6001\u503C",
214
214
  "Convert reference to duplicate": "\u6A21\u677F\u5F15\u7528\u8F6C\u4E3A\u590D\u5236",
215
+ "Converted to": "\u8F6C\u6362\u6210",
215
216
  "Copy into the form and continue to fill in": "\u590D\u5236\u5230\u8868\u5355\u5E76\u7EE7\u7EED\u586B\u5199",
216
217
  Create: "\u4EC5\u65B0\u589E",
217
218
  "Create an account": "\u6CE8\u518C\u8D26\u53F7",
@@ -413,7 +414,7 @@ module.exports = {
413
414
  "Field collection": "\u9009\u62E9\u6570\u636E",
414
415
  "Field component": "\u5B57\u6BB5\u7EC4\u4EF6",
415
416
  "Field display name": "\u5B57\u6BB5\u540D\u79F0",
416
- "Field interface": "\u5B57\u6BB5\u7C7B\u578B",
417
+ "Field interface": "UI\u7C7B\u578B",
417
418
  "Field mode": "\u5B57\u6BB5\u7EC4\u4EF6",
418
419
  "Field name": "\u5B57\u6BB5\u6807\u8BC6",
419
420
  "Field permission": "\u5B57\u6BB5\u6743\u9650",
@@ -482,6 +483,8 @@ module.exports = {
482
483
  ImageSearch: "\u56FE\u7247\u641C\u7D22",
483
484
  Import: "\u5BFC\u5165",
484
485
  "Import collection": "\u5BFC\u5165\u6570\u636E\u8868",
486
+ "Import json collection": "\u5BFC\u5165json\u6570\u636E\u8868",
487
+ "Import xlsx collection": "\u5BFC\u5165xlsx\u6570\u636E\u8868",
485
488
  "Importable fields": "\u53EF\u5BFC\u5165\u5B57\u6BB5",
486
489
  "In configuration": "\u914D\u7F6E\u4E2D",
487
490
  Index: "\u7D22\u5F15",
@@ -1 +1 @@
1
- {"name":"cronstrue","title":"cRonstrue","version":"2.52.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-02-21T02:27:00.218Z"}
1
+ {"name":"cronstrue","title":"cRonstrue","version":"2.52.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-03-06T09:58:40.835Z"}
@@ -93,7 +93,7 @@ class ModuleWeb extends import_server.Plugin {
93
93
  this.app.acl.allow("plugins", "*", "public");
94
94
  this.app.acl.registerSnippet({
95
95
  name: "app",
96
- actions: ["app:restart", "app:clearCache"]
96
+ actions: ["app:restart", "app:refresh", "app:clearCache"]
97
97
  });
98
98
  const dialect = this.app.db.sequelize.getDialect();
99
99
  this.app.resourcer.define({
@@ -146,6 +146,10 @@ class ModuleWeb extends import_server.Plugin {
146
146
  async restart(ctx, next) {
147
147
  ctx.app.runAsCLI(["restart"], { from: "user" });
148
148
  await next();
149
+ },
150
+ async refresh(ctx, next) {
151
+ ctx.app.runCommand("refresh");
152
+ await next();
149
153
  }
150
154
  }
151
155
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tachybase/module-web",
3
3
  "displayName": "WEB client",
4
- "version": "0.23.47",
4
+ "version": "0.23.58",
5
5
  "description": "Provides a client interface for the TachyBase server",
6
6
  "license": "Apache-2.0",
7
7
  "main": "./dist/server/index.js",
@@ -22,16 +22,16 @@
22
22
  "react-dom": "~18.3.1",
23
23
  "react-i18next": "~15.1.4",
24
24
  "react-router-dom": "6.28.1",
25
- "@tachybase/components": "0.23.47",
26
- "@tachybase/schema": "0.23.47"
25
+ "@tachybase/schema": "0.23.58",
26
+ "@tachybase/components": "0.23.58"
27
27
  },
28
28
  "peerDependencies": {
29
- "@tachybase/actions": "0.23.47",
30
- "@tachybase/client": "0.23.47",
31
- "@tachybase/database": "0.23.47",
32
- "@tachybase/server": "0.23.47",
33
- "@tachybase/test": "0.23.47",
34
- "@tachybase/utils": "0.23.47"
29
+ "@tachybase/client": "0.23.58",
30
+ "@tachybase/actions": "0.23.58",
31
+ "@tachybase/database": "0.23.58",
32
+ "@tachybase/server": "0.23.58",
33
+ "@tachybase/utils": "0.23.58",
34
+ "@tachybase/test": "0.23.58"
35
35
  },
36
36
  "description.zh-CN": "为 TachyBase 服务端提供客户端界面",
37
37
  "displayName.zh-CN": "WEB 客户端",