@tachybase/module-web 0.23.58 → 1.0.18

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.
@@ -6,7 +6,7 @@ export declare class ModuleWeb extends Plugin {
6
6
  load(): Promise<void>;
7
7
  setMobileRouter(): void;
8
8
  getMobileRouterComponent(): ({ BaseLayout, }: {
9
- BaseLayout?: React.ComponentType<any>;
9
+ BaseLayout?: React.ComponentType<React.PropsWithChildren<any>>;
10
10
  children?: React.ReactNode;
11
11
  }) => import("react/jsx-runtime").JSX.Element;
12
12
  addRoutes(): void;
@@ -1,17 +1,17 @@
1
1
  module.exports = {
2
2
  "react": "18.3.1",
3
- "@tachybase/client": "0.23.58",
3
+ "@tachybase/client": "1.0.18",
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.58",
8
- "@tachybase/actions": "0.23.58",
9
- "@tachybase/server": "0.23.58",
7
+ "@tachybase/utils": "1.0.18",
8
+ "@tachybase/actions": "1.0.18",
9
+ "@tachybase/server": "1.0.18",
10
10
  "react-i18next": "15.1.4",
11
- "@tachybase/schema": "0.23.58",
11
+ "@tachybase/schema": "1.0.18",
12
12
  "lodash": "4.17.21",
13
- "@tachybase/database": "0.23.58",
13
+ "@tachybase/database": "1.0.18",
14
14
  "react-dom": "18.3.1",
15
15
  "ahooks": "3.8.4",
16
- "@tachybase/components": "0.23.58"
16
+ "@tachybase/components": "1.0.18"
17
17
  };
@@ -517,6 +517,7 @@ module.exports = {
517
517
  "Multiple select": "Multiple select",
518
518
  "Must select to the last level": "Must select to the last level",
519
519
  Name: "Name",
520
+ "Name or descriptions": "Name or descriptions",
520
521
  Navigate: "Navigate",
521
522
  "New menu items are allowed to be accessed by default.": "New menu items are allowed to be accessed by default.",
522
523
  "New password": "New password",
@@ -590,6 +591,7 @@ module.exports = {
590
591
  "Please confirm the SQL statement first": "Please confirm the SQL statement first",
591
592
  "Please enter search content": "Please enter search content",
592
593
  "Please fill in the iframe URL": "Please fill in the iframe URL",
594
+ "Please select": "Please select",
593
595
  "Please select the records to be updated": "Please select the records to be updated",
594
596
  "Please use a valid SELECT or WITH AS statement": "Please use a valid SELECT or WITH AS statement",
595
597
  "Plugin Zip File": "Plugin Zip File",
@@ -736,6 +738,7 @@ module.exports = {
736
738
  "Source key": "Source key",
737
739
  "Specific properties": "Specific properties",
738
740
  "Start date field": "Start date field",
741
+ Status: "Status",
739
742
  "Stay on current page": "Stay on current page",
740
743
  "Store the creation time of each record": "Store the creation time of each record",
741
744
  "Store the creation user of each record": "Store the creation user of each record",
@@ -768,6 +771,7 @@ module.exports = {
768
771
  "Table OID(Inheritance)": "Table OID(Inheritance)",
769
772
  "Table selected records": "Table selected records",
770
773
  "Tablet device": "Tablet device",
774
+ "TachyBase Team": "TachyBase Team",
771
775
  Tag: "Tag",
772
776
  "Tag color field": "Tag color field",
773
777
  Target: "Target",
@@ -67,6 +67,7 @@ module.exports = {
67
67
  "After successful submission": "\u63D0\u4EA4\u6210\u529F\u540E",
68
68
  "After successful update": "\u66F4\u65B0\u6210\u529F\u540E",
69
69
  Agenda: "\u5217\u8868",
70
+ Align: "\u5BF9\u9F50\u65B9\u5F0F",
70
71
  All: "\u6240\u6709",
71
72
  "All collections": "\u5168\u90E8\u6570\u636E\u8868",
72
73
  "All collections use general action permissions by default; permission configured individually will override the default one.": "\u6240\u6709\u6570\u636E\u8868\u90FD\u9ED8\u8BA4\u4F7F\u7528\u901A\u7528\u6570\u636E\u64CD\u4F5C\u6743\u9650\uFF1B\u540C\u65F6\uFF0C\u53EF\u4EE5\u9488\u5BF9\u6BCF\u4E2A\u6570\u636E\u8868\u5355\u72EC\u914D\u7F6E\u6743\u9650\u3002",
@@ -154,6 +155,7 @@ module.exports = {
154
155
  Cascader: "\u7EA7\u8054\u9009\u62E9",
155
156
  Categories: "\u6570\u636E\u8868\u7C7B\u522B",
156
157
  "Category name": "\u5206\u7C7B\u540D\u79F0",
158
+ Center: "\u5C45\u4E2D",
157
159
  "Chang on Parent": "\u9009\u62E9\u7236\u7EA7",
158
160
  "Change password": "\u4FEE\u6539\u5BC6\u7801",
159
161
  "Changed to": "\u4FEE\u6539\u4E3A",
@@ -173,6 +175,7 @@ module.exports = {
173
175
  "Clear cache": "\u6E05\u9664\u7F13\u5B58",
174
176
  "Click on the right to select variables \u2192": "\u70B9\u51FB\u53F3\u4FA7\u9009\u62E9\u53D8\u91CF \u2192",
175
177
  "Click or drag file to this area to upload": "\u70B9\u51FB\u6216\u62D6\u62FD\u6587\u4EF6\u5230\u6B64\u533A\u57DF\u4E0A\u4F20",
178
+ "Click to select": "\u70B9\u9009\u6A21\u5F0F",
176
179
  Close: "\u5173\u95ED",
177
180
  Collapse: "\u6298\u53E0\u9762\u677F",
178
181
  "Collapse all": "\u5168\u90E8\u6536\u8D77",
@@ -392,6 +395,7 @@ module.exports = {
392
395
  "Enable link": "\u542F\u7528\u94FE\u63A5",
393
396
  "Enable page header": "\u542F\u7528\u9875\u7709",
394
397
  "Enable page tabs": "\u542F\u7528\u9875\u9762\u9009\u9879\u5361",
398
+ "Enable quick create": "\u542F\u7528\u5FEB\u901F\u521B\u5EFA",
395
399
  Enabled: "\u542F\u7528",
396
400
  "Enabled languages": "\u542F\u7528\u7684\u8BED\u8A00",
397
401
  "End date field": "\u7ED3\u675F\u65E5\u671F\u5B57\u6BB5",
@@ -530,6 +534,7 @@ module.exports = {
530
534
  "Last week": "\u4E0A\u5468",
531
535
  "Last year": "\u53BB\u5E74",
532
536
  "Leave it blank, unless you need a custom intermediate table": "\u9ED8\u8BA4\u7559\u7A7A\uFF0C\u9664\u975E\u4F60\u9700\u8981\u4E00\u4E2A\u81EA\u5B9A\u4E49\u7684\u4E2D\u95F4\u8868",
537
+ Left: "\u5DE6\u5BF9\u9F50",
533
538
  Length: "\u957F\u5EA6",
534
539
  License: "\u8BB8\u53EF\u8BC1",
535
540
  Lime: "\u9752\u67E0",
@@ -597,6 +602,7 @@ module.exports = {
597
602
  "Must be 2-16 characters in length (excluding @.<>\"'/)": `\u957F\u5EA6\u4E3A2\u523016\u4E2A\u5B57\u7B26\uFF08\u4E0D\u80FD\u5305\u542B@.<>"'/\uFF09`,
598
603
  "Must select to the last level": "\u5FC5\u987B\u9009\u5230\u6700\u540E\u4E00\u7EA7",
599
604
  Name: "\u540D\u79F0",
605
+ "Name or descriptions": "\u8F93\u5165\u540D\u79F0\u6216\u63CF\u8FF0",
600
606
  Navigate: "\u5206\u9875",
601
607
  "New menu items are allowed to be accessed by default.": "\u65B0\u589E\u83DC\u5355\u9879\u9ED8\u8BA4\u5141\u8BB8\u8BBF\u95EE",
602
608
  "New password": "\u65B0\u5BC6\u7801",
@@ -683,6 +689,7 @@ module.exports = {
683
689
  "Please confirm the SQL statement first": "\u8BF7\u5148\u786E\u8BA4 SQL \u8BED\u53E5",
684
690
  "Please enter search content": "\u8BF7\u8F93\u5165\u67E5\u8BE2\u5185\u5BB9",
685
691
  "Please fill in the iframe URL": "\u8BF7\u586B\u5199\u5D4C\u5165\u7684\u5730\u5740",
692
+ "Please select": "\u8BF7\u9009\u62E9",
686
693
  "Please select the records to be updated": "\u8BF7\u9009\u62E9\u8981\u66F4\u65B0\u7684\u8BB0\u5F55",
687
694
  "Please use a valid SELECT or WITH AS statement": "\u8BF7\u4F7F\u7528\u6709\u6548\u7684 SELECT \u6216 WITH AS \u8BED\u53E5",
688
695
  "Plugin Management": "\u63D2\u4EF6\u7BA1\u7406\u5668",
@@ -767,6 +774,7 @@ module.exports = {
767
774
  "Retry after {{count}} seconds": "{{count}} \u79D2\u540E\u91CD\u8BD5",
768
775
  "Return to the main application": "\u8FD4\u56DE\u4E3B\u5E94\u7528",
769
776
  "Rich Text": "\u5BCC\u6587\u672C",
777
+ Right: "\u53F3\u5BF9\u9F50",
770
778
  "Role UID": "\u89D2\u8272\u6807\u8BC6",
771
779
  "Role display name": "\u89D2\u8272\u540D\u79F0",
772
780
  "Role name": "\u89D2\u8272\u540D\u79F0",
@@ -790,7 +798,7 @@ module.exports = {
790
798
  "Search plugin": "\u641C\u7D22\u63D2\u4EF6",
791
799
  Second: "\u79D2",
792
800
  "Secondary confirmation": "\u4E8C\u6B21\u786E\u8BA4",
793
- Security: "\u8BA4\u8BC1\u4E0E\u5B89\u5168",
801
+ Security: "\u5B89\u5168",
794
802
  Select: "\u9009\u62E9",
795
803
  "Select a variable": "\u9009\u62E9\u53D8\u91CF",
796
804
  "Select all": "\u5168\u9009",
@@ -810,6 +818,8 @@ module.exports = {
810
818
  "Selector mode": "\u9009\u62E9\u5668\u6A21\u5F0F",
811
819
  "Send code": "\u53D1\u9001\u9A8C\u8BC1\u7801",
812
820
  Separator: "\u5206\u9694\u7B26",
821
+ "Set Quick Add Parent Tabs": "\u8BBE\u7F6E\u5FEB\u901F\u6DFB\u52A0\u7236\u7EA7\u9009\u9879",
822
+ "Set Quick Add Tabs": "\u8BBE\u7F6E\u5FEB\u901F\u6DFB\u52A0\u9009\u9879",
813
823
  "Set data loading mode": "\u8BBE\u7F6E\u6570\u636E\u52A0\u8F7D\u65B9\u5F0F",
814
824
  "Set default sorting rules": "\u8BBE\u7F6E\u6392\u5E8F\u89C4\u5219",
815
825
  "Set default value": "\u8BBE\u7F6E\u9ED8\u8BA4\u503C",
@@ -848,6 +858,7 @@ module.exports = {
848
858
  "Source key": "\u6E90\u6570\u636E\u8868\u5B57\u6BB5\u6807\u8BC6",
849
859
  "Specific properties": "\u7279\u6709\u5C5E\u6027",
850
860
  "Start date field": "\u5F00\u59CB\u65E5\u671F\u5B57\u6BB5",
861
+ Status: "\u72B6\u6001",
851
862
  "Stay on current page": "\u505C\u7559\u5728\u5F53\u524D\u9875\u9762",
852
863
  "Store the creation time of each record": "\u8BB0\u5F55\u521B\u5EFA\u65F6\u95F4",
853
864
  "Store the creation user of each record": "\u8BB0\u5F55\u521B\u5EFA\u4EBA",
@@ -893,6 +904,7 @@ module.exports = {
893
904
  "Table OID(Inheritance)": "\u6570\u636E\u8868 OID(\u7EE7\u627F)",
894
905
  "Table selected records": "\u8868\u683C\u4E2D\u9009\u4E2D\u7684\u8BB0\u5F55",
895
906
  "Tablet device": "\u5E73\u677F\u8BBE\u5907",
907
+ "TachyBase Team": "\u4E0A\u6D77\u9053\u6709\u4E91\u7F51\u7EDC\u79D1\u6280\u6709\u9650\u516C\u53F8 \u7248\u6743\u6240\u6709\uFF5C\u6CAAICP\u59072023024678\u53F7",
896
908
  Tag: "\u6807\u7B7E",
897
909
  "Tag color field": "\u6807\u7B7E\u989C\u8272\u5B57\u6BB5",
898
910
  Target: "\u76EE\u6807",
@@ -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-03-06T09:58:40.835Z"}
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-04-18T20:33:08.457Z"}
@@ -90,7 +90,6 @@ class ModuleWeb extends import_server.Plugin {
90
90
  this.app.localeManager.setLocaleFn("cron", async (lang) => (0, import_cron.getCronLocale)(lang));
91
91
  this.app.acl.allow("app", "getLang");
92
92
  this.app.acl.allow("app", "getInfo");
93
- this.app.acl.allow("plugins", "*", "public");
94
93
  this.app.acl.registerSnippet({
95
94
  name: "app",
96
95
  actions: ["app:restart", "app:refresh", "app:clearCache"]
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.58",
4
+ "version": "1.0.18",
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/schema": "0.23.58",
26
- "@tachybase/components": "0.23.58"
25
+ "@tachybase/schema": "1.0.18",
26
+ "@tachybase/components": "1.0.18"
27
27
  },
28
28
  "peerDependencies": {
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"
29
+ "@tachybase/actions": "1.0.18",
30
+ "@tachybase/client": "1.0.18",
31
+ "@tachybase/test": "1.0.18",
32
+ "@tachybase/server": "1.0.18",
33
+ "@tachybase/utils": "1.0.18",
34
+ "@tachybase/database": "1.0.18"
35
35
  },
36
36
  "description.zh-CN": "为 TachyBase 服务端提供客户端界面",
37
37
  "displayName.zh-CN": "WEB 客户端",