@nocobase/plugin-client 1.7.0-beta.8 → 1.7.0

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 (89) hide show
  1. package/dist/client/index.js +1 -1
  2. package/dist/externalVersion.js +6 -6
  3. package/dist/locale/antd/ar_EG.js +1 -1
  4. package/dist/locale/antd/az_AZ.js +1 -1
  5. package/dist/locale/antd/bg_BG.js +1 -1
  6. package/dist/locale/antd/bn_BD.js +1 -1
  7. package/dist/locale/antd/by_BY.js +1 -1
  8. package/dist/locale/antd/ca_ES.js +1 -1
  9. package/dist/locale/antd/cs_CZ.js +1 -1
  10. package/dist/locale/antd/da_DK.js +1 -1
  11. package/dist/locale/antd/de_DE.js +1 -1
  12. package/dist/locale/antd/el_GR.js +1 -1
  13. package/dist/locale/antd/en_GB.js +1 -1
  14. package/dist/locale/antd/en_US.js +1 -1
  15. package/dist/locale/antd/es_ES.js +1 -1
  16. package/dist/locale/antd/et_EE.js +1 -1
  17. package/dist/locale/antd/eu_ES.js +1 -1
  18. package/dist/locale/antd/fa_IR.js +1 -1
  19. package/dist/locale/antd/fi_FI.js +1 -1
  20. package/dist/locale/antd/fr_BE.js +1 -1
  21. package/dist/locale/antd/fr_CA.js +1 -1
  22. package/dist/locale/antd/fr_FR.js +1 -1
  23. package/dist/locale/antd/ga_IE.js +1 -1
  24. package/dist/locale/antd/gl_ES.js +1 -1
  25. package/dist/locale/antd/he_IL.js +1 -1
  26. package/dist/locale/antd/hi_IN.js +1 -1
  27. package/dist/locale/antd/hr_HR.js +1 -1
  28. package/dist/locale/antd/hu_HU.js +1 -1
  29. package/dist/locale/antd/hy_AM.js +1 -1
  30. package/dist/locale/antd/id_ID.js +1 -1
  31. package/dist/locale/antd/is_IS.js +1 -1
  32. package/dist/locale/antd/it_IT.js +1 -1
  33. package/dist/locale/antd/ja_JP.js +1 -1
  34. package/dist/locale/antd/ka_GE.js +1 -1
  35. package/dist/locale/antd/kk_KZ.js +1 -1
  36. package/dist/locale/antd/km_KH.js +1 -1
  37. package/dist/locale/antd/kmr_IQ.js +1 -1
  38. package/dist/locale/antd/kn_IN.js +1 -1
  39. package/dist/locale/antd/ko_KR.js +1 -1
  40. package/dist/locale/antd/ku_IQ.js +1 -1
  41. package/dist/locale/antd/lt_LT.js +1 -1
  42. package/dist/locale/antd/lv_LV.js +1 -1
  43. package/dist/locale/antd/mk_MK.js +1 -1
  44. package/dist/locale/antd/ml_IN.js +1 -1
  45. package/dist/locale/antd/mn_MN.js +1 -1
  46. package/dist/locale/antd/ms_MY.js +1 -1
  47. package/dist/locale/antd/my_MM.js +1 -1
  48. package/dist/locale/antd/nb_NO.js +1 -1
  49. package/dist/locale/antd/ne_NP.js +1 -1
  50. package/dist/locale/antd/nl_BE.js +1 -1
  51. package/dist/locale/antd/nl_NL.js +1 -1
  52. package/dist/locale/antd/pl_PL.js +1 -1
  53. package/dist/locale/antd/pt_BR.js +1 -1
  54. package/dist/locale/antd/pt_PT.js +1 -1
  55. package/dist/locale/antd/ro_RO.js +1 -1
  56. package/dist/locale/antd/ru_RU.js +1 -1
  57. package/dist/locale/antd/si_LK.js +1 -1
  58. package/dist/locale/antd/sk_SK.js +1 -1
  59. package/dist/locale/antd/sl_SI.js +1 -1
  60. package/dist/locale/antd/sr_RS.js +1 -1
  61. package/dist/locale/antd/sv_SE.js +1 -1
  62. package/dist/locale/antd/ta_IN.js +1 -1
  63. package/dist/locale/antd/th_TH.js +1 -1
  64. package/dist/locale/antd/tk_TK.js +1 -1
  65. package/dist/locale/antd/tr_TR.js +1 -1
  66. package/dist/locale/antd/uk_UA.js +1 -1
  67. package/dist/locale/antd/ur_PK.js +1 -1
  68. package/dist/locale/antd/uz_UZ.js +10 -0
  69. package/dist/locale/antd/vi_VN.js +1 -1
  70. package/dist/locale/antd/zh_CN.js +1 -1
  71. package/dist/locale/antd/zh_HK.js +1 -1
  72. package/dist/locale/antd/zh_TW.js +1 -1
  73. package/dist/locale/de-DE.js +9 -2
  74. package/dist/locale/en-US.js +12 -2
  75. package/dist/locale/es-ES.js +12 -2
  76. package/dist/locale/fr-FR.js +12 -2
  77. package/dist/locale/it-IT.js +9 -2
  78. package/dist/locale/ja-JP.js +12 -2
  79. package/dist/locale/ko-KR.js +12 -2
  80. package/dist/locale/nl-NL.js +182 -7
  81. package/dist/locale/pt-BR.js +12 -2
  82. package/dist/locale/ru-RU.js +12 -2
  83. package/dist/locale/tr-TR.js +12 -2
  84. package/dist/locale/uk-UA.js +12 -2
  85. package/dist/locale/zh-CN.js +50 -6
  86. package/dist/locale/zh-TW.js +12 -2
  87. package/dist/node_modules/cronstrue/package.json +1 -1
  88. package/dist/server/server.js +4 -14
  89. package/package.json +2 -2
@@ -168,6 +168,7 @@ module.exports = {
168
168
  "Chart type": "\u0422\u0438\u043F \u0434\u0456\u0430\u0433\u0440\u0430\u043C\u0438",
169
169
  "Chart config": "\u041D\u0430\u043B\u0430\u0448\u0442\u0443\u0432\u0430\u043D\u043D\u044F \u0434\u0456\u0430\u0433\u0440\u0430\u043C\u0438",
170
170
  Templates: "\u0428\u0430\u0431\u043B\u043E\u043D\u0438",
171
+ Template: "\u0428\u0430\u0431\u043B\u043E\u043D",
171
172
  "Select template": "\u0412\u0438\u0431\u0440\u0430\u0442\u0438 \u0448\u0430\u0431\u043B\u043E\u043D",
172
173
  "Action logs": "\u0416\u0443\u0440\u043D\u0430\u043B \u0434\u0456\u0439",
173
174
  "Create template": "\u0421\u0442\u0432\u043E\u0440\u0438\u0442\u0438 \u0448\u0430\u0431\u043B\u043E\u043D",
@@ -495,7 +496,8 @@ module.exports = {
495
496
  "Turn pages": "\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0430\u0442\u0438 \u0441\u0442\u043E\u0440\u0456\u043D\u043A\u0438",
496
497
  Others: "\u0406\u043D\u0448\u0456",
497
498
  "Other records": "\u0406\u043D\u0448\u0456 \u0437\u0430\u043F\u0438\u0441\u0438",
498
- "Save as template": "\u0417\u0431\u0435\u0440\u0435\u0433\u0442\u0438 \u044F\u043A \u0448\u0430\u0431\u043B\u043E\u043D",
499
+ "Save as reference template": "\u0417\u0431\u0435\u0440\u0435\u0433\u0442\u0438 \u044F\u043A \u0448\u0430\u0431\u043B\u043E\u043D \u043F\u043E\u0441\u0438\u043B\u0430\u043D\u043D\u044F",
500
+ "Save as inherited template": "\u0417\u0431\u0435\u0440\u0435\u0433\u0442\u0438 \u044F\u043A \u0448\u0430\u0431\u043B\u043E\u043D \u043D\u0430\u0449\u0430\u0434\u043A\u0430",
499
501
  "Save as block template": "\u0417\u0431\u0435\u0440\u0435\u0433\u0442\u0438 \u044F\u043A \u0448\u0430\u0431\u043B\u043E\u043D \u0431\u043B\u043E\u043A\u0430",
500
502
  "Block templates": "\u0428\u0430\u0431\u043B\u043E\u043D\u0438 \u0431\u043B\u043E\u043A\u0456\u0432",
501
503
  "Block template": "\u0428\u0430\u0431\u043B\u043E\u043D \u0431\u043B\u043E\u043A\u0430",
@@ -585,6 +587,7 @@ module.exports = {
585
587
  "Blank block": "\u041F\u043E\u0440\u043E\u0436\u043D\u0456\u0439 \u0431\u043B\u043E\u043A",
586
588
  "Duplicate template": "\u0414\u0443\u0431\u043B\u044E\u0432\u0430\u0442\u0438 \u0448\u0430\u0431\u043B\u043E\u043D",
587
589
  "Reference template": "\u041F\u043E\u0441\u0438\u043B\u0430\u043D\u043D\u044F \u043D\u0430 \u0448\u0430\u0431\u043B\u043E\u043D",
590
+ "Inherited template": "\u041D\u0430\u0449\u0430\u0434\u043A\u043E\u0432\u0438\u0439 \u0448\u0430\u0431\u043B\u043E\u043D",
588
591
  "Create calendar block": "\u0421\u0442\u0432\u043E\u0440\u0438\u0442\u0438 \u0431\u043B\u043E\u043A \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044F",
589
592
  "Create kanban block": "\u0421\u0442\u0432\u043E\u0440\u0438\u0442\u0438 \u0431\u043B\u043E\u043A \u043A\u0430\u043D\u0431\u0430\u043D\u0443",
590
593
  "Grouping field": "\u041F\u043E\u043B\u0435 \u0434\u043B\u044F \u0433\u0440\u0443\u043F\u0443\u0432\u0430\u043D\u043D\u044F",
@@ -830,5 +833,12 @@ module.exports = {
830
833
  "If selected, the page will display Tab pages.": "\u042F\u043A\u0449\u043E \u0432\u0438\u0431\u0440\u0430\u043D\u043E, \u0441\u0442\u043E\u0440\u0456\u043D\u043A\u0430 \u0432\u0456\u0434\u043E\u0431\u0440\u0430\u0437\u0438\u0442\u044C \u0441\u0442\u043E\u0440\u0456\u043D\u043A\u0438 \u0437 \u0432\u043A\u043B\u0430\u0434\u043A\u0430\u043C\u0438.",
831
834
  "If selected, the route will be displayed in the menu.": "\u042F\u043A\u0449\u043E \u0432\u0438\u0431\u0440\u0430\u043D\u043E, \u043C\u0430\u0440\u0448\u0440\u0443\u0442 \u0431\u0443\u0434\u0435 \u0432\u0456\u0434\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0439 \u0432 \u043C\u0435\u043D\u044E.",
832
835
  "Are you sure you want to hide this tab?": "\u0412\u0438 \u0432\u043F\u0435\u0432\u043D\u0435\u043D\u0456, \u0449\u043E \u0445\u043E\u0447\u0435\u0442\u0435 \u043F\u0440\u0438\u0445\u043E\u0432\u0430\u0442\u0438 \u0446\u044E \u0432\u043A\u043B\u0430\u0434\u043A\u0443?",
833
- "After hiding, this tab will no longer appear in the tab bar. To show it again, you need to go to the route management page to set it.": "\u041F\u0456\u0441\u043B\u044F \u043F\u0440\u0438\u0445\u043E\u0432\u0443\u0432\u0430\u043D\u043D\u044F \u0446\u0456\u0454\u0457 \u0432\u043A\u043B\u0430\u0434\u043A\u0438 \u0432\u043E\u043D\u0430 \u0431\u0456\u043B\u044C\u0448\u0435 \u043D\u0435 \u0437'\u044F\u0432\u0438\u0442\u044C\u0441\u044F \u0432 \u043F\u0430\u043D\u0435\u043B\u0456 \u0432\u043A\u043B\u0430\u0434\u043E\u043A. \u0429\u043E\u0431 \u0437\u043D\u043E\u0432\u0443 \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u0438 \u0457\u0457, \u0432\u0430\u043C \u043F\u043E\u0442\u0440\u0456\u0431\u043D\u043E \u043F\u0435\u0440\u0435\u0439\u0442\u0438 \u043D\u0430 \u0441\u0442\u043E\u0440\u0456\u043D\u043A\u0443 \u043A\u0435\u0440\u0443\u0432\u0430\u043D\u043D\u044F \u043C\u0430\u0440\u0448\u0440\u0443\u0442\u0430\u043C\u0438, \u0449\u043E\u0431 \u043D\u0430\u043B\u0430\u0448\u0442\u0443\u0432\u0430\u0442\u0438 \u0457\u0457."
836
+ "After hiding, this tab will no longer appear in the tab bar. To show it again, you need to go to the route management page to set it.": "\u041F\u0456\u0441\u043B\u044F \u043F\u0440\u0438\u0445\u043E\u0432\u0443\u0432\u0430\u043D\u043D\u044F \u0446\u0456\u0454\u0457 \u0432\u043A\u043B\u0430\u0434\u043A\u0438 \u0432\u043E\u043D\u0430 \u0431\u0456\u043B\u044C\u0448\u0435 \u043D\u0435 \u0437'\u044F\u0432\u0438\u0442\u044C\u0441\u044F \u0432 \u043F\u0430\u043D\u0435\u043B\u0456 \u0432\u043A\u043B\u0430\u0434\u043E\u043A. \u0429\u043E\u0431 \u0437\u043D\u043E\u0432\u0443 \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u0438 \u0457\u0457, \u0432\u0430\u043C \u043F\u043E\u0442\u0440\u0456\u0431\u043D\u043E \u043F\u0435\u0440\u0435\u0439\u0442\u0438 \u043D\u0430 \u0441\u0442\u043E\u0440\u0456\u043D\u043A\u0443 \u043A\u0435\u0440\u0443\u0432\u0430\u043D\u043D\u044F \u043C\u0430\u0440\u0448\u0440\u0443\u0442\u0430\u043C\u0438, \u0449\u043E\u0431 \u043D\u0430\u043B\u0430\u0448\u0442\u0443\u0432\u0430\u0442\u0438 \u0457\u0457.",
837
+ Deprecated: "\u0417\u0430\u0441\u0442\u0430\u0440\u0456\u043B\u043E",
838
+ "Full permissions": "\u041F\u043E\u0432\u043D\u0456 \u043F\u0440\u0430\u0432\u0430",
839
+ "No pages yet, please configure first": "\u0429\u0435 \u043D\u0435\u043C\u0430\u0454 \u0441\u0442\u043E\u0440\u0456\u043D\u043E\u043A, \u0431\u0443\u0434\u044C \u043B\u0430\u0441\u043A\u0430, \u0441\u043F\u043E\u0447\u0430\u0442\u043A\u0443 \u043D\u0430\u043B\u0430\u0448\u0442\u0443\u0439\u0442\u0435",
840
+ 'Click the "UI Editor" icon in the upper right corner to enter the UI Editor mode': '\u041D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C \u043D\u0430 \u0437\u043D\u0430\u0447\u043E\u043A "\u0420\u0435\u0434\u0430\u043A\u0442\u043E\u0440 \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0446\u044C\u043A\u043E\u0433\u043E \u0456\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0443" \u0432 \u043F\u0440\u0430\u0432\u043E\u043C\u0443 \u0432\u0435\u0440\u0445\u043D\u044C\u043E\u043C\u0443 \u043A\u0443\u0442\u0456, \u0449\u043E\u0431 \u0443\u0432\u0456\u0439\u0442\u0438 \u0432 \u0440\u0435\u0436\u0438\u043C \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430 \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0446\u044C\u043A\u043E\u0433\u043E \u0456\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0443.',
841
+ "Refresh data blocks": "\u041E\u043D\u043E\u0432\u0438\u0442\u0438 \u0434\u0430\u043D\u0456 \u0431\u043B\u043E\u043A\u0456\u0432",
842
+ "Select data blocks to refresh": "\u0412\u0438\u0431\u0435\u0440\u0456\u0442\u044C \u0431\u043B\u043E\u043A\u0438 \u0434\u0430\u043D\u0438\u0445 \u0434\u043B\u044F \u043E\u043D\u043E\u0432\u043B\u0435\u043D\u043D\u044F",
843
+ "After successful submission, the selected data blocks will be automatically refreshed.": "\u041F\u0456\u0441\u043B\u044F \u0443\u0441\u043F\u0456\u0448\u043D\u043E\u0457 \u043F\u043E\u0434\u0430\u0447\u0456 \u0432\u0438\u0431\u0440\u0430\u043D\u0456 \u0431\u043B\u043E\u043A\u0438 \u0434\u0430\u043D\u0438\u0445 \u0431\u0443\u0434\u0443\u0442\u044C \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u043D\u043E \u043E\u043D\u043E\u0432\u043B\u0435\u043D\u0456."
834
844
  };
@@ -176,6 +176,8 @@ module.exports = {
176
176
  Year: "\u5E74",
177
177
  QuarterYear: "\u5B63\u5EA6",
178
178
  "Select grouping field": "\u9009\u62E9\u5206\u7EC4\u5B57\u6BB5",
179
+ "Refresh data blocks": "\u5237\u65B0\u6570\u636E\u533A\u5757",
180
+ "Select data blocks to refresh": "\u9009\u62E9\u8981\u5237\u65B0\u7684\u6570\u636E\u533A\u5757",
179
181
  Media: "\u591A\u5A92\u4F53",
180
182
  Markdown: "Markdown",
181
183
  Wysiwyg: "\u5BCC\u6587\u672C",
@@ -192,6 +194,7 @@ module.exports = {
192
194
  "Chart type": "\u56FE\u8868\u7C7B\u578B",
193
195
  "Chart config": "\u56FE\u8868\u914D\u7F6E",
194
196
  Templates: "\u6A21\u677F",
197
+ Template: "\u6A21\u677F",
195
198
  "Select template": "\u9009\u62E9\u6A21\u677F",
196
199
  "Action logs": "\u64CD\u4F5C\u65E5\u5FD7",
197
200
  "Create template": "\u521B\u5EFA\u6A21\u677F",
@@ -267,6 +270,7 @@ module.exports = {
267
270
  "Parent collection fields": "\u7236\u8868\u5B57\u6BB5",
268
271
  Basic: "\u57FA\u672C\u7C7B\u578B",
269
272
  "Single line text": "\u5355\u884C\u6587\u672C",
273
+ "Automatically remove heading and tailing spaces": "\u81EA\u52A8\u53BB\u9664\u9996\u5C3E\u7A7A\u767D\u5B57\u7B26",
270
274
  "Long text": "\u591A\u884C\u6587\u672C",
271
275
  Phone: "\u624B\u673A\u53F7\u7801",
272
276
  Email: "\u7535\u5B50\u90AE\u7BB1",
@@ -532,7 +536,8 @@ module.exports = {
532
536
  "Turn pages": "\u7FFB\u9875",
533
537
  Others: "\u5176\u4ED6",
534
538
  "Other records": "\u5176\u4ED6\u8BB0\u5F55",
535
- "Save as template": "\u4FDD\u5B58\u4E3A\u6A21\u677F",
539
+ "Save as reference template": "\u4FDD\u5B58\u4E3A\u5F15\u7528\u6A21\u677F",
540
+ "Save as inherited template": "\u4FDD\u5B58\u4E3A\u7EE7\u627F\u6A21\u677F",
536
541
  "Save as block template": "\u4FDD\u5B58\u4E3A\u533A\u5757\u6A21\u677F",
537
542
  "Block templates": "\u533A\u5757\u6A21\u677F",
538
543
  "Block template": "\u533A\u5757\u6A21\u677F",
@@ -616,6 +621,7 @@ module.exports = {
616
621
  "Blank block": "\u7A7A\u533A\u5757",
617
622
  "Duplicate template": "\u590D\u5236\u6A21\u677F",
618
623
  "Reference template": "\u5F15\u7528\u6A21\u677F",
624
+ "Inherited template": "\u7EE7\u627F\u6A21\u677F",
619
625
  "Create calendar block": "\u521B\u5EFA\u65E5\u5386\u533A\u5757",
620
626
  "Create kanban block": "\u521B\u5EFA\u770B\u677F\u533A\u5757",
621
627
  "Grouping field": "\u5206\u7EC4\u5B57\u6BB5",
@@ -826,7 +832,8 @@ module.exports = {
826
832
  "File size should not exceed {{size}}.": "\u6587\u4EF6\u5927\u5C0F\u4E0D\u80FD\u8D85\u8FC7 {{size}}",
827
833
  "File size exceeds the limit": "\u6587\u4EF6\u5927\u5C0F\u8D85\u8FC7\u9650\u5236",
828
834
  "File type is not allowed": "\u6587\u4EF6\u7C7B\u578B\u4E0D\u5141\u8BB8",
829
- "Incomplete uploading files need to be resolved": "\u672A\u5B8C\u6210\u4E0A\u4F20\u7684\u6587\u4EF6\u9700\u8981\u5904\u7406",
835
+ Uploading: "\u4E0A\u4F20\u4E2D",
836
+ "Some files are not uploaded correctly, please check.": "\u90E8\u5206\u6587\u4EF6\u672A\u4E0A\u4F20\u6210\u529F\uFF0C\u8BF7\u68C0\u67E5\u3002",
830
837
  "Default title for each record": "\u7528\u4F5C\u6570\u636E\u7684\u9ED8\u8BA4\u6807\u9898",
831
838
  "If collection inherits, choose inherited collections as templates": "\u5F53\u524D\u8868\u6709\u7EE7\u627F\u5173\u7CFB\u65F6\uFF0C\u53EF\u9009\u62E9\u7EE7\u627F\u94FE\u8DEF\u4E0A\u7684\u8868\u4F5C\u4E3A\u6A21\u677F\u6765\u6E90",
832
839
  "Select an existing piece of data as the initialization data for the form": "\u9009\u62E9\u4E00\u6761\u5DF2\u6709\u7684\u6570\u636E\u4F5C\u4E3A\u8868\u5355\u7684\u521D\u59CB\u5316\u6570\u636E",
@@ -994,8 +1001,8 @@ module.exports = {
994
1001
  Search: "\u641C\u7D22",
995
1002
  "Clear default value": "\u6E05\u9664\u9ED8\u8BA4\u503C",
996
1003
  "Open in new window": "\u65B0\u7A97\u53E3\u6253\u5F00",
997
- "is none of": "\u4E0D\u5305\u542B\u4EFB\u4F55\u4E00\u4E2A",
998
- "is any of": "\u5305\u542B\u4EFB\u4F55\u4E00\u4E2A",
1004
+ "is none of": "\u4E0D\u7B49\u4E8E\u4EFB\u610F\u4E00\u4E2A",
1005
+ "is any of": "\u7B49\u4E8E\u4EFB\u610F\u4E00\u4E2A",
999
1006
  "Use simple pagination mode": "\u4F7F\u7528\u7B80\u5355\u5206\u9875\u6A21\u5F0F",
1000
1007
  "Sorry, the page you visited does not exist.": "\u62B1\u6B49\uFF0C\u4F60\u8BBF\u95EE\u7684\u9875\u9762\u4E0D\u5B58\u5728\u3002",
1001
1008
  "Set Template Engine": "\u8BBE\u7F6E\u6A21\u677F\u5F15\u64CE",
@@ -1091,13 +1098,50 @@ module.exports = {
1091
1098
  "If selected, the route will be displayed in the menu.": "\u5982\u679C\u9009\u4E2D\uFF0C\u8BE5\u8DEF\u7531\u5C06\u663E\u793A\u5728\u83DC\u5355\u4E2D\u3002",
1092
1099
  "Are you sure you want to hide this tab?": "\u4F60\u786E\u5B9A\u8981\u9690\u85CF\u8BE5\u6807\u7B7E\u9875\u5417\uFF1F",
1093
1100
  "After hiding, this tab will no longer appear in the tab bar. To show it again, you need to go to the route management page to set it.": "\u9690\u85CF\u540E\uFF0C\u8BE5\u6807\u7B7E\u5C06\u4E0D\u518D\u663E\u793A\u5728\u6807\u7B7E\u680F\u4E2D\u3002\u8981\u60F3\u518D\u6B21\u663E\u793A\u5B83\uFF0C\u4F60\u9700\u8981\u5230\u8DEF\u7531\u7BA1\u7406\u9875\u9762\u8FDB\u884C\u8BBE\u7F6E\u3002",
1094
- "Date scope": "\u65E5\u671F\u8303\u56F4",
1101
+ Deprecated: "\u5DF2\u5F03\u7528",
1102
+ "Full permissions": "\u5168\u90E8\u6743\u9650",
1095
1103
  "Enable index column": "\u542F\u7528\u5E8F\u53F7\u5217",
1104
+ "Date scope": "\u65E5\u671F\u8303\u56F4",
1096
1105
  "Icon only": "\u4EC5\u663E\u793A\u56FE\u6807",
1097
1106
  "Valid range: 100-900": "\u6709\u6548\u8303\u56F4\uFF1A100-900",
1098
1107
  "Valid range: 10-40": "\u6709\u6548\u8303\u56F4\uFF1A10-40",
1099
1108
  "Font Size\uFF08px\uFF09": "\u5B57\u4F53\u5927\u5C0F\uFF08\u50CF\u7D20\uFF09",
1100
1109
  "Font Weight": "\u5B57\u4F53\u7C97\u7EC6",
1101
1110
  "Font Style": "\u5B57\u4F53\u6837\u5F0F",
1102
- Italic: "\u659C\u4F53"
1111
+ Italic: "\u659C\u4F53",
1112
+ "Response record": "\u54CD\u5E94\u7ED3\u679C\u8BB0\u5F55",
1113
+ Colon: "\u5192\u53F7",
1114
+ "No pages yet, please configure first": "\u6682\u65E0\u9875\u9762\uFF0C\u8BF7\u5148\u914D\u7F6E",
1115
+ 'Click the "UI Editor" icon in the upper right corner to enter the UI Editor mode': "\u70B9\u51FB\u53F3\u4E0A\u89D2\u7684\u201C\u754C\u9762\u914D\u7F6E\u201D\u56FE\u6807\uFF0C\u8FDB\u5165\u754C\u9762\u914D\u7F6E\u6A21\u5F0F",
1116
+ "Specifies a Permissions Policy for the <iframe>. The policy defines what features are available to the <iframe> (for example, access to the microphone, camera, battery, web-share, etc.) based on the origin of the request.": "\u7528\u4E8E\u4E3A <iframe> \u6307\u5B9A\u5176\u6743\u9650\u7B56\u7565\u3002\u8BE5\u7B56\u7565\u6839\u636E\u8BF7\u6C42\u7684\u6765\u6E90\u89C4\u5B9A <iframe> \u53EF\u4EE5\u4F7F\u7528\u54EA\u4E9B\u7279\u6027\uFF08\u4F8B\u5982\uFF0C\u8BBF\u95EE\u9EA6\u514B\u98CE\u3001\u6444\u50CF\u5934\u3001\u7535\u6C60\u3001web \u5171\u4EAB\u7B49\uFF09\u3002",
1117
+ "Controls whether the current document is allowed to autoplay media requested through the HTMLMediaElement interface. When this policy is disabled and there were no user gestures, the Promise returned by HTMLMediaElement.play() will reject with a NotAllowedError DOMException. The autoplay attribute on <audio> and <video> elements will be ignored.": "\u63A7\u5236\u662F\u5426\u5141\u8BB8\u5F53\u524D\u6587\u6863\u81EA\u52A8\u64AD\u653E\u5A92\u4F53\u3002\u8FD9\u79CD\u63A7\u5236\u662F\u901A\u8FC7\u63A5\u53E3 HTMLMediaElement \u6765\u5B9E\u73B0\u3002\u5F53\u8FD9\u79CD\u89C4\u5219\u88AB\u7981\u7528\uFF0C\u800C\u4E14\u6CA1\u6709\u7528\u6237\u64CD\u4F5C\u7684\u65F6\u5019\uFF0CHTMLMediaElement.play() \u8FD4\u56DE\u7684 Promise \u4F1A\u62D2\u7EDD\u5E76\u629B\u51FA\u4E00\u4E2A DOMException \u5F02\u5E38\u3002<audio> \u548C <video> \u4E0A\u7684 autoplay \u5C5E\u6027\u4F1A\u88AB\u5FFD\u7565\u3002",
1118
+ "Controls whether the current document is allowed to use video input devices. When this policy is disabled, the Promise returned by getUserMedia() will reject with a NotAllowedError DOMException.": "\u63A7\u5236\u662F\u5426\u5141\u8BB8\u5F53\u524D\u6587\u6863\u4F7F\u7528\u89C6\u9891\u8F93\u5165\u8BBE\u5907\u3002\u5F53\u8FD9\u79CD\u89C4\u5219\u88AB\u7981\u7528\u65F6\uFF0CMediaDevices.getUserMedia() \u8FD4\u56DE\u7684 Promise \u4F1A\u62D2\u7EDD\u5E76\u629B\u51FA NotAllowedError DOMException \u5F02\u5E38\u3002",
1119
+ "Controls whether the current document is allowed to set document.domain. When this policy is disabled, attempting to set document.domain will fail and cause a SecurityError DOMException to be thrown.": "\u63A7\u5236\u662F\u5426\u5141\u8BB8\u5F53\u524D\u6587\u6863\u8BBE\u7F6E document.domain\u3002\u5F53\u8FD9\u79CD\u89C4\u5219\u88AB\u7981\u7528\u65F6\uFF0C\u5C1D\u8BD5\u8BBE\u7F6E document.domain \u4F1A\u5931\u8D25\u5E76\u629B\u51FA SecurityError DOMException \u5F02\u5E38\u3002",
1120
+ "Controls whether the current document is allowed to use the Encrypted Media Extensions API (EME). When this policy is disabled, the Promise returned by Navigator.requestMediaKeySystemAccess() will reject with a SecurityError DOMException.": "\u63A7\u5236\u662F\u5426\u5141\u8BB8\u5F53\u524D\u6587\u6863\u4F7F\u7528 Encrypted Media Extension API\uFF08EME\uFF09\u3002\u5F53\u8FD9\u79CD\u89C4\u5219\u88AB\u7981\u7528\u65F6\uFF0CNavigator.requestMediaKeySystemAccess() \u8FD4\u56DE\u7684 Promise \u4F1A\u62D2\u7EDD\u5E76\u629B\u51FA DOMException \u5F02\u5E38\u3002",
1121
+ "Controls whether the current document is allowed to use Element.requestFullscreen(). When this policy is disabled, the returned Promise rejects with a TypeError.": "\u63A7\u5236\u662F\u5426\u5141\u8BB8\u5F53\u524D\u6587\u6863\u4F7F\u7528 Element.requestFullScreen()\u3002\u5F53\u8FD9\u79CD\u89C4\u5219\u88AB\u7981\u7528\u65F6\uFF0C\u8FD4\u56DE\u7684 Promise \u4F1A\u62D2\u7EDD\u5E76\u629B\u51FA TypeError\u3002",
1122
+ "Controls whether the current document is allowed to use the Geolocation Interface. When this policy is disabled, calls to getCurrentPosition() and watchPosition() will cause those functions callbacks to be invoked with a GeolocationPositionError code of PERMISSION_DENIED.": "\u63A7\u5236\u662F\u5426\u5141\u8BB8\u5F53\u524D\u6587\u6863\u4F7F\u7528 Geolocation \u63A5\u53E3\u3002\u5F53\u8FD9\u79CD\u89C4\u5219\u88AB\u7981\u7528\u65F6\uFF0C\u8C03\u7528 getCurrentPosition() \u548C watchPosition() \u4F1A\u8FD4\u56DE\u5305\u542B PERMISSION_DENIED \u7684 PositionError\u3002",
1123
+ "Controls whether the current document is allowed to use audio input devices. When this policy is disabled, the Promise returned by MediaDevices.getUserMedia() will reject with a NotAllowedError DOMException.": "\u63A7\u5236\u662F\u5426\u5141\u8BB8\u5F53\u524D\u6587\u6863\u4F7F\u7528\u97F3\u9891\u8F93\u5165\u8BBE\u5907\u3002\u5F53\u8FD9\u79CD\u89C4\u5219\u88AB\u7981\u7528\u65F6\uFF0CMediaDevices.getUserMedia() \u8FD4\u56DE\u7684 Promise \u4F1A\u62D2\u7EDD\u5E76\u629B\u51FA\u9519\u8BEF NotAllowedError\u3002",
1124
+ "Controls whether the current document is allowed to use the Web MIDI API. When this policy is disabled, the Promise returned by Navigator.requestMIDIAccess() will reject with a SecurityError DOMException.": "\u63A7\u5236\u662F\u5426\u5141\u8BB8\u5F53\u524D\u6587\u6863\u4F7F\u7528 Web MIDI API\u3002\u5F53\u8FD9\u79CD\u89C4\u5219\u88AB\u7981\u7528\u65F6\uFF0CNavigator.requestMIDIAccess() \u8FD4\u56DE\u7684 Promise \u4F1A\u62D2\u7EDD\u5E76\u629B\u51FA\u9519\u8BEF DOMException\u3002",
1125
+ "Controls whether the current document is allowed to use the Payment Request API. When this policy is enabled, the PaymentRequest() constructor will throw a SecurityError DOMException.": "\u63A7\u5236\u662F\u5426\u5141\u8BB8\u5F53\u524D\u6587\u6863\u4F7F\u7528 Payment Request API\u3002\u5F53\u8FD9\u79CD\u89C4\u5219\u88AB\u542F\u7528\u65F6\uFF0C\u6784\u9020\u51FD\u6570 PaymentRequest() \u4F1A\u629B\u51FA\u9519\u8BEF SecurityError\u3002",
1126
+ "After successful submission, the selected data blocks will be automatically refreshed.": "\u63D0\u4EA4\u6210\u529F\u540E\uFF0C\u4F1A\u81EA\u52A8\u5237\u65B0\u8FD9\u91CC\u9009\u4E2D\u7684\u6570\u636E\u533A\u5757\u3002",
1127
+ "Block Linkage rules": "\u533A\u5757\u8054\u52A8\u89C4\u5219",
1128
+ "Field Linkage rules": "\u5B57\u6BB5\u8054\u52A8\u89C4\u5219",
1129
+ "Exact day": "\u6307\u5B9A\u65E5\u671F",
1130
+ "This Week": "\u672C\u5468",
1131
+ "Last Week": "\u4E0A\u5468",
1132
+ "Next Week": "\u4E0B\u5468",
1133
+ "This Month": "\u672C\u6708",
1134
+ "Last Month": "\u4E0A\u4E2A\u6708",
1135
+ "Next Month": "\u4E0B\u4E2A\u6708",
1136
+ "This Quarter": "\u672C\u5B63\u5EA6",
1137
+ "Last Quarter": "\u4E0A\u5B63\u5EA6",
1138
+ "Next Quarter": "\u4E0B\u5B63\u5EA6",
1139
+ "This Year": "\u4ECA\u5E74",
1140
+ "Last Year": "\u53BB\u5E74",
1141
+ "Next Year": "\u660E\u5E74",
1142
+ Past: "\u8FC7\u53BB",
1143
+ Next: "\u672A\u6765",
1144
+ "Calendar week": "\u65E5\u5386\u5468",
1145
+ "Calendar Month": "\u65E5\u5386\u6708",
1146
+ "Calendar Year": "\u65E5\u5386\u5E74"
1103
1147
  };
@@ -192,6 +192,7 @@ module.exports = {
192
192
  "Chart type": "\u5716\u8868\u578B\u5225",
193
193
  "Chart config": "\u5716\u8868\u8A2D\u5B9A",
194
194
  Templates: "\u6A21\u677F",
195
+ Template: "\u6A21\u677F",
195
196
  "Select template": "\u9078\u64C7\u6A21\u677F",
196
197
  "Action logs": "\u52D5\u4F5C\u65E5\u8A8C",
197
198
  "Create template": "\u5EFA\u7ACB\u6A21\u677F",
@@ -526,7 +527,8 @@ module.exports = {
526
527
  "Turn pages": "\u7FFB\u9801",
527
528
  Others: "\u5176\u4ED6",
528
529
  "Other records": "\u5176\u4ED6\u8A18\u9304",
529
- "Save as template": "\u5132\u5B58\u70BA\u6A21\u677F",
530
+ "Save as reference template": "\u5132\u5B58\u70BA\u5F15\u7528\u6A21\u677F",
531
+ "Save as inherited template": "\u5132\u5B58\u70BA\u7E7C\u627F\u6A21\u677F",
530
532
  "Save as block template": "\u5132\u5B58\u70BA\u5340\u584A\u6A21\u677F",
531
533
  "Block templates": "\u5340\u584A\u6A21\u677F",
532
534
  "Block template": "\u5340\u584A\u6A21\u677F",
@@ -610,6 +612,7 @@ module.exports = {
610
612
  "Blank block": "\u7A7A\u5340\u584A",
611
613
  "Duplicate template": "\u8907\u88FD\u6A21\u677F",
612
614
  "Reference template": "\u5F15\u7528\u6A21\u677F",
615
+ "Inherited template": "\u7E7C\u627F\u6A21\u677F",
613
616
  "Create calendar block": "\u5EFA\u7ACB\u65E5\u66C6\u5340\u584A",
614
617
  "Create kanban block": "\u5EFA\u7ACB\u770B\u677F\u5340\u584A",
615
618
  "Grouping field": "\u7FA4\u7D44\u6B04\u4F4D",
@@ -921,5 +924,12 @@ module.exports = {
921
924
  "If selected, the page will display Tab pages.": "\u5982\u679C\u9078\u4E2D\uFF0C\u8A72\u9801\u9762\u5C07\u986F\u793A\u6A19\u7C64\u9801\u3002",
922
925
  "If selected, the route will be displayed in the menu.": "\u5982\u679C\u9078\u4E2D\uFF0C\u8A72\u8DEF\u7531\u5C07\u986F\u793A\u5728\u83DC\u55AE\u4E2D\u3002",
923
926
  "Are you sure you want to hide this tab?": "\u4F60\u78BA\u5B9A\u8981\u96B1\u85CF\u9019\u500B\u6A19\u7C64\u55CE\uFF1F",
924
- "After hiding, this tab will no longer appear in the tab bar. To show it again, you need to go to the route management page to set it.": "\u96B1\u85CF\u5F8C\uFF0C\u9019\u500B\u6A19\u7C64\u5C07\u4E0D\u518D\u51FA\u73FE\u5728\u6A19\u7C64\u6B04\u4E2D\u3002\u8981\u518D\u6B21\u986F\u793A\u5B83\uFF0C\u4F60\u9700\u8981\u5230\u8DEF\u7531\u7BA1\u7406\u9801\u9762\u9032\u884C\u8A2D\u7F6E\u3002"
927
+ "After hiding, this tab will no longer appear in the tab bar. To show it again, you need to go to the route management page to set it.": "\u96B1\u85CF\u5F8C\uFF0C\u9019\u500B\u6A19\u7C64\u5C07\u4E0D\u518D\u51FA\u73FE\u5728\u6A19\u7C64\u6B04\u4E2D\u3002\u8981\u518D\u6B21\u986F\u793A\u5B83\uFF0C\u4F60\u9700\u8981\u5230\u8DEF\u7531\u7BA1\u7406\u9801\u9762\u9032\u884C\u8A2D\u7F6E\u3002",
928
+ Deprecated: "\u5DF2\u68C4\u7528",
929
+ "Full permissions": "\u5B8C\u5168\u6B0A\u9650",
930
+ "No pages yet, please configure first": "\u5C1A\u672A\u914D\u7F6E\u9801\u9762\uFF0C\u8ACB\u5148\u914D\u7F6E",
931
+ 'Click the "UI Editor" icon in the upper right corner to enter the UI Editor mode': '\u9EDE\u64CA\u53F3\u4E0A\u89D2\u7684 "\u4ECB\u9762\u8A2D\u5B9A" \u5716\u793A\u9032\u5165\u4ECB\u9762\u8A2D\u5B9A\u6A21\u5F0F',
932
+ "Refresh data blocks": "\u5237\u65B0\u6578\u64DA\u5340\u584A",
933
+ "Select data blocks to refresh": "\u9078\u64C7\u8981\u5237\u65B0\u7684\u6578\u64DA\u5340\u584A",
934
+ "After successful submission, the selected data blocks will be automatically refreshed.": "\u63D0\u4EA4\u6210\u529F\u5F8C\uFF0C\u9078\u4E2D\u7684\u6578\u64DA\u5340\u584A\u5C07\u81EA\u52D5\u5237\u65B0\u3002"
925
935
  };
@@ -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-03-23T04:57:41.185Z"}
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-06-03T16:32:05.203Z"}
@@ -255,28 +255,18 @@ class PluginClientServer extends import_server.Plugin {
255
255
  this.app.resourceManager.registerActionHandler("desktopRoutes:listAccessible", async (ctx, next) => {
256
256
  const desktopRoutesRepository = ctx.db.getRepository("desktopRoutes");
257
257
  const rolesRepository = ctx.db.getRepository("roles");
258
- if (ctx.state.currentRole === "root") {
258
+ if (ctx.state.currentRoles.includes("root")) {
259
259
  ctx.body = await desktopRoutesRepository.find({
260
260
  tree: true,
261
261
  ...ctx.query
262
262
  });
263
263
  return await next();
264
264
  }
265
- const role = await rolesRepository.findOne({
266
- filterByTk: ctx.state.currentRole,
265
+ const roles = await rolesRepository.find({
266
+ filterByTk: ctx.state.currentRoles,
267
267
  appends: ["desktopRoutes"]
268
268
  });
269
- const desktopRoutesId = role.get("desktopRoutes").map(async (item, index, items) => {
270
- if (item.type === "page" && !items.some((tab) => tab.parentId === item.id)) {
271
- const children = await desktopRoutesRepository.find({
272
- filter: {
273
- parentId: item.id
274
- }
275
- });
276
- return [item.id, ...(children || []).map((child) => child.id)];
277
- }
278
- return item.id;
279
- });
269
+ const desktopRoutesId = roles.flatMap((x) => x.get("desktopRoutes")).map((item) => item.id);
280
270
  if (desktopRoutesId) {
281
271
  const ids = (await Promise.all(desktopRoutesId)).flat();
282
272
  const result = await desktopRoutesRepository.find({
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": "1.7.0-beta.8",
7
+ "version": "1.7.0",
8
8
  "main": "./dist/server/index.js",
9
9
  "license": "AGPL-3.0",
10
10
  "devDependencies": {
@@ -21,5 +21,5 @@
21
21
  "@nocobase/test": "1.x",
22
22
  "@nocobase/utils": "1.x"
23
23
  },
24
- "gitHead": "9ad35ee90db98d95dfa660645d155f4f4e81b47c"
24
+ "gitHead": "767ae089e404a104d718962272289c0bec01803a"
25
25
  }