@nocobase/plugin-client 1.6.0-beta.9 → 1.7.0-alpha.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.
@@ -154,6 +154,7 @@ module.exports = {
154
154
  "Chart type": "\u30C1\u30E3\u30FC\u30C8\u30BF\u30A4\u30D7",
155
155
  "Chart config": "\u30C1\u30E3\u30FC\u30C8\u8A2D\u5B9A",
156
156
  Templates: "\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8",
157
+ Template: "\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8",
157
158
  "Select template": "\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",
158
159
  "Action logs": "\u64CD\u4F5C\u5C65\u6B74",
159
160
  "Create template": "\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u3092\u4F5C\u6210",
@@ -1046,5 +1047,9 @@ module.exports = {
1046
1047
  "Are you sure you want to hide this menu?": "\u3053\u306E\u30E1\u30CB\u30E5\u30FC\u3092\u975E\u8868\u793A\u306B\u3057\u307E\u3059\u304B\uFF1F",
1047
1048
  "After hiding, this menu will no longer appear in the menu bar. To show it again, you need to go to the route management page to configure it.": "\u975E\u8868\u793A\u306B\u3059\u308B\u3068\u3001\u3053\u306E\u30E1\u30CB\u30E5\u30FC\u306F\u30E1\u30CB\u30E5\u30FC\u30D0\u30FC\u306B\u8868\u793A\u3055\u308C\u306A\u304F\u306A\u308A\u307E\u3059\u3002\u518D\u8868\u793A\u3059\u308B\u306B\u306F\u3001\u30EB\u30FC\u30C8\u7BA1\u7406\u30DA\u30FC\u30B8\u3067\u8A2D\u5B9A\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002",
1048
1049
  "If selected, the page will display Tab pages.": "\u9078\u629E\u3055\u308C\u3066\u3044\u308B\u5834\u5408\u3001\u30DA\u30FC\u30B8\u306F\u30BF\u30D6\u30DA\u30FC\u30B8\u3092\u8868\u793A\u3057\u307E\u3059\u3002",
1049
- "If selected, the route will be displayed in the menu.": "\u9078\u629E\u3055\u308C\u3066\u3044\u308B\u5834\u5408\u3001\u30EB\u30FC\u30C8\u306F\u30E1\u30CB\u30E5\u30FC\u306B\u8868\u793A\u3055\u308C\u307E\u3059\u3002"
1050
+ "If selected, the route will be displayed in the menu.": "\u9078\u629E\u3055\u308C\u3066\u3044\u308B\u5834\u5408\u3001\u30EB\u30FC\u30C8\u306F\u30E1\u30CB\u30E5\u30FC\u306B\u8868\u793A\u3055\u308C\u307E\u3059\u3002",
1051
+ "Are you sure you want to hide this tab?": "\u3053\u306E\u30BF\u30D6\u3092\u975E\u8868\u793A\u306B\u3057\u307E\u3059\u304B\uFF1F",
1052
+ "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.": "\u975E\u8868\u793A\u306B\u3059\u308B\u3068\u3001\u3053\u306E\u30BF\u30D6\u306F\u30BF\u30D6\u30D0\u30FC\u306B\u8868\u793A\u3055\u308C\u306A\u304F\u306A\u308A\u307E\u3059\u3002\u518D\u8868\u793A\u3059\u308B\u306B\u306F\u3001\u30EB\u30FC\u30C8\u7BA1\u7406\u30DA\u30FC\u30B8\u3067\u8A2D\u5B9A\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002",
1053
+ Deprecated: "\u975E\u63A8\u5968",
1054
+ "The following old template features have been deprecated and will be removed in next version.": "\u6B21\u306E\u53E4\u3044\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u6A5F\u80FD\u306F\u975E\u63A8\u5968\u306B\u306A\u308A\u3001\u6B21\u306E\u30D0\u30FC\u30B8\u30E7\u30F3\u3067\u524A\u9664\u3055\u308C\u307E\u3059\u3002"
1050
1055
  };
@@ -192,6 +192,7 @@ module.exports = {
192
192
  "Chart type": "\uCC28\uD2B8 \uC720\uD615",
193
193
  "Chart config": "\uCC28\uD2B8 \uAD6C\uC131",
194
194
  Templates: "\uD15C\uD50C\uB9BF",
195
+ Template: "\uD15C\uD50C\uB9BF",
195
196
  "Select template": "\uD15C\uD50C\uB9BF \uC120\uD0DD",
196
197
  "Action logs": "\uC791\uC5C5 \uB85C\uADF8",
197
198
  "Create template": "\uD15C\uD50C\uB9BF \uC0DD\uC131",
@@ -919,5 +920,9 @@ module.exports = {
919
920
  "Are you sure you want to hide this menu?": "\uC774 \uBA54\uB274\uB97C \uC228\uAE30\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?",
920
921
  "After hiding, this menu will no longer appear in the menu bar. To show it again, you need to go to the route management page to configure it.": "\uC228\uAE30\uBA74 \uC774 \uBA54\uB274\uB294 \uBA54\uB274 \uBC14\uC5D0 \uB354 \uC774\uC0C1 \uD45C\uC2DC\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. \uB2E4\uC2DC \uD45C\uC2DC\uD558\uB824\uBA74 \uB77C\uC6B0\uD2B8 \uAD00\uB9AC \uD398\uC774\uC9C0\uC5D0\uC11C \uC124\uC815\uD574\uC57C \uD569\uB2C8\uB2E4.",
921
922
  "If selected, the page will display Tab pages.": "\uC120\uD0DD\uB418\uBA74 \uD398\uC774\uC9C0\uB294 \uD0ED \uD398\uC774\uC9C0\uB97C \uD45C\uC2DC\uD569\uB2C8\uB2E4.",
922
- "If selected, the route will be displayed in the menu.": "\uC120\uD0DD\uB418\uBA74 \uB77C\uC6B0\uD2B8\uB294 \uBA54\uB274\uC5D0 \uD45C\uC2DC\uB429\uB2C8\uB2E4."
923
+ "If selected, the route will be displayed in the menu.": "\uC120\uD0DD\uB418\uBA74 \uB77C\uC6B0\uD2B8\uB294 \uBA54\uB274\uC5D0 \uD45C\uC2DC\uB429\uB2C8\uB2E4.",
924
+ "Are you sure you want to hide this tab?": "\uC774 \uD0ED\uC744 \uC228\uAE30\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?",
925
+ "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.": "\uC228\uAE30\uBA74 \uC774 \uD0ED\uC740 \uD0ED \uBC14\uC5D0 \uB354 \uC774\uC0C1 \uD45C\uC2DC\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. \uB2E4\uC2DC \uD45C\uC2DC\uD558\uB824\uBA74 \uB77C\uC6B0\uD2B8 \uAD00\uB9AC \uD398\uC774\uC9C0\uC5D0\uC11C \uC124\uC815\uD574\uC57C \uD569\uB2C8\uB2E4.",
926
+ Deprecated: "\uC0AC\uC6A9 \uC911\uB2E8\uB428",
927
+ "The following old template features have been deprecated and will be removed in next version.": "\uB2E4\uC74C \uC624\uB798\uB41C \uD15C\uD50C\uB9BF \uAE30\uB2A5\uC740 \uC0AC\uC6A9 \uC911\uB2E8\uB418\uC5C8\uC73C\uBA70 \uB2E4\uC74C \uBC84\uC804\uC5D0\uC11C \uC81C\uAC70\uB420 \uAC83\uC785\uB2C8\uB2E4."
923
928
  };
@@ -121,6 +121,7 @@ module.exports = {
121
121
  "Chart type": "Tipo de gr\xE1fico",
122
122
  "Chart config": "Configura\xE7\xE3o do gr\xE1fico",
123
123
  Templates: "Modelos",
124
+ Template: "Modelo",
124
125
  "Select template": "Selecione um modelo",
125
126
  "Action logs": "Registros de a\xE7\xE3o",
126
127
  "Create template": "Criar modelo",
@@ -785,5 +786,9 @@ module.exports = {
785
786
  "Are you sure you want to hide this menu?": "Tem certeza de que deseja ocultar este menu?",
786
787
  "After hiding, this menu will no longer appear in the menu bar. To show it again, you need to go to the route management page to configure it.": "Depois de ocultar, este menu n\xE3o aparecer\xE1 mais na barra de menus. Para mostrar novamente, voc\xEA precisa ir \xE0 p\xE1gina de gerenciamento de rotas para configur\xE1-lo.",
787
788
  "If selected, the page will display Tab pages.": "Se selecionado, a p\xE1gina exibir\xE1 p\xE1ginas de abas.",
788
- "If selected, the route will be displayed in the menu.": "Se selecionado, a rota ser\xE1 exibida no menu."
789
+ "If selected, the route will be displayed in the menu.": "Se selecionado, a rota ser\xE1 exibida no menu.",
790
+ "Are you sure you want to hide this tab?": "Tem certeza de que deseja ocultar esta guia?",
791
+ "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.": "Depois de ocultar, esta guia n\xE3o aparecer\xE1 mais na barra de guias. Para mostr\xE1-la novamente, voc\xEA precisa ir \xE0 p\xE1gina de gerenciamento de rotas para configur\xE1-la.",
792
+ Deprecated: "Descontinuado",
793
+ "The following old template features have been deprecated and will be removed in next version.": "As seguintes funcionalidades de modelo antigo foram descontinuadas e ser\xE3o removidas na pr\xF3xima vers\xE3o."
789
794
  };
@@ -111,6 +111,7 @@ module.exports = {
111
111
  "Chart type": "\u0422\u0438\u043F \u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B",
112
112
  "Chart config": "\u041A\u043E\u043D\u0444\u0438\u0433. \u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B",
113
113
  Templates: "\u0428\u0430\u0431\u043B\u043E\u043D\u044B",
114
+ Template: "\u0428\u0430\u0431\u043B\u043E\u043D",
114
115
  "Select template": "\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0448\u0430\u0431\u043B\u043E\u043D",
115
116
  "Action logs": "\u0416\u0443\u0440\u043D\u0430\u043B\u044B \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439",
116
117
  "Create template": "\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u0448\u0430\u0431\u043B\u043E\u043D",
@@ -614,5 +615,9 @@ module.exports = {
614
615
  "Are you sure you want to hide this menu?": "\u0412\u044B \u0443\u0432\u0435\u0440\u0435\u043D\u044B, \u0447\u0442\u043E \u0445\u043E\u0442\u0438\u0442\u0435 \u0441\u043A\u0440\u044B\u0442\u044C \u044D\u0442\u043E \u043C\u0435\u043D\u044E?",
615
616
  "After hiding, this menu will no longer appear in the menu bar. To show it again, you need to go to the route management page to configure it.": "\u041F\u043E\u0441\u043B\u0435 \u0441\u043A\u0440\u044B\u0442\u0438\u044F \u044D\u0442\u043E\u0433\u043E \u043C\u0435\u043D\u044E \u043E\u043D \u0431\u043E\u043B\u044C\u0448\u0435 \u043D\u0435 \u0431\u0443\u0434\u0435\u0442 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u044C\u0441\u044F \u0432 \u043C\u0435\u043D\u044E. \u0427\u0442\u043E\u0431\u044B \u0441\u043D\u043E\u0432\u0430 \u043E\u0442\u043E\u0431\u0440\u0430\u0437\u0438\u0442\u044C \u0435\u0433\u043E, \u0432\u0430\u043C \u043D\u0443\u0436\u043D\u043E \u0431\u0443\u0434\u0435\u0442 \u043F\u0435\u0440\u0435\u0439\u0442\u0438 \u043D\u0430 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0443 \u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u044F \u043C\u0430\u0440\u0448\u0440\u0443\u0442\u0430\u043C\u0438 \u0438 \u043D\u0430\u0441\u0442\u0440\u043E\u0438\u0442\u044C \u0435\u0433\u043E.",
616
617
  "If selected, the page will display Tab pages.": "\u0415\u0441\u043B\u0438 \u0432\u044B\u0431\u0440\u0430\u043D, \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0430 \u0431\u0443\u0434\u0435\u0442 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u044C \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u044B \u0441 \u0432\u043A\u043B\u0430\u0434\u043A\u0430\u043C\u0438.",
617
- "If selected, the route will be displayed in the menu.": "\u0415\u0441\u043B\u0438 \u0432\u044B\u0431\u0440\u0430\u043D, \u043C\u0430\u0440\u0448\u0440\u0443\u0442 \u0431\u0443\u0434\u0435\u0442 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u044C\u0441\u044F \u0432 \u043C\u0435\u043D\u044E."
618
+ "If selected, the route will be displayed in the menu.": "\u0415\u0441\u043B\u0438 \u0432\u044B\u0431\u0440\u0430\u043D, \u043C\u0430\u0440\u0448\u0440\u0443\u0442 \u0431\u0443\u0434\u0435\u0442 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u044C\u0441\u044F \u0432 \u043C\u0435\u043D\u044E.",
619
+ "Are you sure you want to hide this tab?": "\u0412\u044B \u0443\u0432\u0435\u0440\u0435\u043D\u044B, \u0447\u0442\u043E \u0445\u043E\u0442\u0438\u0442\u0435 \u0441\u043A\u0440\u044B\u0442\u044C \u044D\u0442\u0443 \u0432\u043A\u043B\u0430\u0434\u043A\u0443?",
620
+ "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\u043E\u0441\u043B\u0435 \u0441\u043A\u0440\u044B\u0442\u0438\u044F \u044D\u0442\u043E\u0439 \u0432\u043A\u043B\u0430\u0434\u043A\u0438 \u043E\u043D\u0430 \u0431\u043E\u043B\u044C\u0448\u0435 \u043D\u0435 \u0431\u0443\u0434\u0435\u0442 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u044C\u0441\u044F \u0432\u043E \u0432\u043A\u043B\u0430\u0434\u043A\u0435. \u0427\u0442\u043E\u0431\u044B \u0441\u043D\u043E\u0432\u0430 \u043E\u0442\u043E\u0431\u0440\u0430\u0437\u0438\u0442\u044C \u0435\u0435, \u0432\u0430\u043C \u043D\u0443\u0436\u043D\u043E \u0431\u0443\u0434\u0435\u0442 \u043F\u0435\u0440\u0435\u0439\u0442\u0438 \u043D\u0430 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0443 \u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u044F \u043C\u0430\u0440\u0448\u0440\u0443\u0442\u0430\u043C\u0438, \u0447\u0442\u043E\u0431\u044B \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0435\u0435.",
621
+ Deprecated: "\u0423\u0441\u0442\u0430\u0440\u0435\u0432\u0448\u0438\u0439",
622
+ "The following old template features have been deprecated and will be removed in next version.": "\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0435 \u0441\u0442\u0430\u0440\u044B\u0435 \u0444\u0443\u043D\u043A\u0446\u0438\u0438 \u0448\u0430\u0431\u043B\u043E\u043D\u043E\u0432 \u0443\u0441\u0442\u0430\u0440\u0435\u043B\u0438 \u0438 \u0431\u0443\u0434\u0443\u0442 \u0443\u0434\u0430\u043B\u0435\u043D\u044B \u0432 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0439 \u0432\u0435\u0440\u0441\u0438\u0438."
618
623
  };
@@ -111,6 +111,7 @@ module.exports = {
111
111
  "Chart type": "Grafik t\xFCr\xFC",
112
112
  "Chart config": "Grafik yap\u0131land\u0131rmas\u0131",
113
113
  Templates: "\u015Eablonlar",
114
+ Template: "\u015Eablon",
114
115
  "Select template": "\u015Eablon se\xE7",
115
116
  "Action logs": "Eylem g\xFCnl\xFCkleri",
116
117
  "Create template": "\u015Eablon olu\u015Ftur",
@@ -612,5 +613,9 @@ module.exports = {
612
613
  "Are you sure you want to hide this menu?": "Bu men\xFCy\xFC gizlemek istedi\u011Finizden emin misiniz?",
613
614
  "After hiding, this menu will no longer appear in the menu bar. To show it again, you need to go to the route management page to configure it.": "Gizlendikten sonra, bu men\xFC art\u0131k men\xFC \xE7ubu\u011Funda g\xF6r\xFCnmeyecektir. Tekrar g\xF6r\xFCnt\xFClemek i\xE7in, y\xF6nlendirme y\xF6netimi sayfas\u0131na gidip onu yap\u0131land\u0131rman\u0131z gerekecektir.",
614
615
  "If selected, the page will display Tab pages.": "Se\xE7ildi\u011Finde, sayfa Tab sayfalar\u0131n\u0131 g\xF6r\xFCnt\xFCleyecektir.",
615
- "If selected, the route will be displayed in the menu.": "Se\xE7ildi\u011Finde, yol men\xFCde g\xF6r\xFCnt\xFClenecektir."
616
+ "If selected, the route will be displayed in the menu.": "Se\xE7ildi\u011Finde, yol men\xFCde g\xF6r\xFCnt\xFClenecektir.",
617
+ "Are you sure you want to hide this tab?": "Bu sekmeyi gizlemek istedi\u011Finizden emin misiniz?",
618
+ "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.": "Gizlendikten sonra, bu sekme art\u0131k sekme \xE7ubu\u011Funda g\xF6r\xFCnmeyecek. Onu tekrar g\xF6stermek i\xE7in, rotay\u0131 y\xF6netim sayfas\u0131na gidip ayarlaman\u0131z gerekiyor.",
619
+ Deprecated: "Kullan\u0131mdan kald\u0131r\u0131ld\u0131",
620
+ "The following old template features have been deprecated and will be removed in next version.": "A\u015Fa\u011F\u0131daki eski \u015Fablon \xF6zellikleri kullan\u0131mdan kald\u0131r\u0131ld\u0131 ve gelecek s\xFCr\xFCmlerde kald\u0131r\u0131lacakt\u0131r."
616
621
  };
@@ -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",
@@ -828,5 +829,9 @@ module.exports = {
828
829
  "Are you sure you want to hide this menu?": "\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\u0435 \u043C\u0435\u043D\u044E?",
829
830
  "After hiding, this menu will no longer appear in the menu bar. To show it again, you need to go to the route management page to configure it.": "\u041F\u0456\u0441\u043B\u044F \u043F\u0440\u0438\u0445\u043E\u0432\u0443\u0432\u0430\u043D\u043D\u044F \u0446\u044C\u043E\u0433\u043E \u043C\u0435\u043D\u044E \u0432\u0456\u043D \u0431\u0456\u043B\u044C\u0448\u0435 \u043D\u0435 \u0437'\u044F\u0432\u0438\u0442\u044C\u0441\u044F \u0432 \u043C\u0435\u043D\u044E. \u0429\u043E\u0431 \u0437\u043D\u043E\u0432\u0443 \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u0438 \u0439\u043E\u0433\u043E, \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 \u0456 \u043D\u0430\u043B\u0430\u0448\u0442\u0443\u0432\u0430\u0442\u0438 \u0439\u043E\u0433\u043E.",
830
831
  "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
- "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
+ "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.",
833
+ "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?",
834
+ "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.",
835
+ Deprecated: "\u0417\u0430\u0441\u0442\u0430\u0440\u0456\u043B\u043E",
836
+ "The following old template features have been deprecated and will be removed in next version.": "\u041D\u0430\u0441\u0442\u0443\u043F\u043D\u0456 \u0441\u0442\u0430\u0440\u0456 \u0444\u0443\u043D\u043A\u0446\u0456\u0457 \u0448\u0430\u0431\u043B\u043E\u043D\u0456\u0432 \u0431\u0443\u043B\u0438 \u0437\u0430\u0441\u0442\u0430\u0440\u0456\u043B\u0456 \u0456 \u0431\u0443\u0434\u0443\u0442\u044C \u0432\u0438\u0434\u0430\u043B\u0435\u043D\u0456 \u0432 \u043D\u0430\u0441\u0442\u0443\u043F\u043D\u0456\u0439 \u0432\u0435\u0440\u0441\u0456\u0457."
832
837
  };
@@ -192,6 +192,7 @@ module.exports = {
192
192
  "Chart type": "\u56FE\u8868\u7C7B\u578B",
193
193
  "Chart config": "\u56FE\u8868\u914D\u7F6E",
194
194
  Templates: "\u6A21\u677F",
195
+ Template: "\u6A21\u677F",
195
196
  "Select template": "\u9009\u62E9\u6A21\u677F",
196
197
  "Action logs": "\u64CD\u4F5C\u65E5\u5FD7",
197
198
  "Create template": "\u521B\u5EFA\u6A21\u677F",
@@ -354,7 +355,7 @@ module.exports = {
354
355
  "Subform mode": "\u5B50\u8868\u5355\u6A21\u5F0F",
355
356
  "Field mode": "\u5B57\u6BB5\u7EC4\u4EF6",
356
357
  "Allow add new data": "\u5141\u8BB8\u6DFB\u52A0\u6570\u636E",
357
- "Edit block title": "\u7F16\u8F91\u533A\u5757\u6807\u9898",
358
+ "Edit block title & description": "\u7F16\u8F91\u533A\u5757\u6807\u9898\u548C\u63CF\u8FF0",
358
359
  "Block title": "\u533A\u5757\u6807\u9898",
359
360
  Pattern: "\u6A21\u5F0F",
360
361
  Operator: "\u8FD0\u7B97\u7B26",
@@ -1087,5 +1088,9 @@ module.exports = {
1087
1088
  "Are you sure you want to hide this menu?": "\u4F60\u786E\u5B9A\u8981\u9690\u85CF\u8FD9\u4E2A\u83DC\u5355\u5417\uFF1F",
1088
1089
  "After hiding, this menu will no longer appear in the menu bar. To show it again, you need to go to the route management page to configure it.": "\u9690\u85CF\u540E\uFF0C\u8FD9\u4E2A\u83DC\u5355\u5C06\u4E0D\u518D\u51FA\u73B0\u5728\u83DC\u5355\u680F\u4E2D\u3002\u8981\u518D\u6B21\u663E\u793A\u5B83\uFF0C\u4F60\u9700\u8981\u5230\u8DEF\u7531\u7BA1\u7406\u9875\u9762\u8FDB\u884C\u8BBE\u7F6E\u3002",
1089
1090
  "If selected, the page will display Tab pages.": "\u5982\u679C\u9009\u4E2D\uFF0C\u8BE5\u9875\u9762\u5C06\u663E\u793A\u6807\u7B7E\u9875\u3002",
1090
- "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"
1091
+ "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
+ "Are you sure you want to hide this tab?": "\u4F60\u786E\u5B9A\u8981\u9690\u85CF\u8BE5\u6807\u7B7E\u9875\u5417\uFF1F",
1093
+ "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
+ Deprecated: "\u5DF2\u5F03\u7528",
1095
+ "The following old templates have been deprecated and will be removed in next version.": "\u4EE5\u4E0B\u65E7\u7684\u6A21\u677F\u529F\u80FD\u5DF2\u5F03\u7528\uFF0C\u5C06\u5728\u4E0B\u4E2A\u7248\u672C\u79FB\u9664\u3002"
1091
1096
  };
@@ -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",
@@ -919,5 +920,9 @@ module.exports = {
919
920
  "Are you sure you want to hide this menu?": "\u4F60\u78BA\u5B9A\u8981\u96B1\u85CF\u9019\u500B\u83DC\u55AE\u55CE\uFF1F",
920
921
  "After hiding, this menu will no longer appear in the menu bar. To show it again, you need to go to the route management page to configure it.": "\u96B1\u85CF\u5F8C\uFF0C\u9019\u500B\u83DC\u55AE\u5C07\u4E0D\u518D\u51FA\u73FE\u5728\u83DC\u55AE\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",
921
922
  "If selected, the page will display Tab pages.": "\u5982\u679C\u9078\u4E2D\uFF0C\u8A72\u9801\u9762\u5C07\u986F\u793A\u6A19\u7C64\u9801\u3002",
922
- "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
+ "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",
924
+ "Are you sure you want to hide this tab?": "\u4F60\u78BA\u5B9A\u8981\u96B1\u85CF\u9019\u500B\u6A19\u7C64\u55CE\uFF1F",
925
+ "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",
926
+ Deprecated: "\u5DF2\u68C4\u7528",
927
+ "The following old template features have been deprecated and will be removed in next version.": "\u4EE5\u4E0B\u820A\u7684\u6A21\u677F\u529F\u80FD\u5DF2\u68C4\u7528\uFF0C\u5C07\u5728\u4E0B\u500B\u7248\u672C\u79FB\u9664\u3002"
923
928
  };
@@ -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-02-22T07:22:23.414Z"}
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-11T04:45:00.802Z"}
@@ -0,0 +1,13 @@
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
+ import { Migration } from '@nocobase/server';
10
+ export default class extends Migration {
11
+ appVersion: string;
12
+ up(): Promise<void>;
13
+ }
@@ -0,0 +1,87 @@
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
+ var __create = Object.create;
11
+ var __defProp = Object.defineProperty;
12
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
13
+ var __getOwnPropNames = Object.getOwnPropertyNames;
14
+ var __getProtoOf = Object.getPrototypeOf;
15
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
16
+ var __export = (target, all) => {
17
+ for (var name in all)
18
+ __defProp(target, name, { get: all[name], enumerable: true });
19
+ };
20
+ var __copyProps = (to, from, except, desc) => {
21
+ if (from && typeof from === "object" || typeof from === "function") {
22
+ for (let key of __getOwnPropNames(from))
23
+ if (!__hasOwnProp.call(to, key) && key !== except)
24
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
25
+ }
26
+ return to;
27
+ };
28
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
29
+ // If the importer is in node compatibility mode or this is not an ESM
30
+ // file that has been converted to a CommonJS file using a Babel-
31
+ // compatible transform (i.e. "__esModule" has not been set), then set
32
+ // "default" to the CommonJS "module.exports" for node compatibility.
33
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
34
+ mod
35
+ ));
36
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
37
+ var fix_roles_desktop_routes_exports = {};
38
+ __export(fix_roles_desktop_routes_exports, {
39
+ default: () => fix_roles_desktop_routes_default
40
+ });
41
+ module.exports = __toCommonJS(fix_roles_desktop_routes_exports);
42
+ var import_server = require("@nocobase/server");
43
+ var import_lodash = __toESM(require("lodash"));
44
+ class fix_roles_desktop_routes_default extends import_server.Migration {
45
+ appVersion = "<1.6.0";
46
+ async up() {
47
+ const rolesDesktopRoutesRepo = this.db.getRepository("rolesDesktopRoutes");
48
+ const count = await rolesDesktopRoutesRepo.count();
49
+ if (!count) {
50
+ return;
51
+ }
52
+ const desktopRoutesRepo = this.db.getRepository("desktopRoutes");
53
+ try {
54
+ await this.db.sequelize.transaction(async (transaction) => {
55
+ const rolesDesktopRoutes = await rolesDesktopRoutesRepo.find({ transaction });
56
+ const rolesDesktopRouteIds = rolesDesktopRoutes.map((x) => x.get("desktopRouteId"));
57
+ const desktopRoutes = await desktopRoutesRepo.find({
58
+ filter: { $or: [{ id: rolesDesktopRouteIds }, { parentId: rolesDesktopRouteIds }] },
59
+ transaction
60
+ });
61
+ const records = findMissingRoutes(rolesDesktopRoutes, desktopRoutes);
62
+ await rolesDesktopRoutesRepo.createMany({ records, transaction });
63
+ });
64
+ } catch (error) {
65
+ console.error("Migration failed:", error);
66
+ throw error;
67
+ }
68
+ }
69
+ }
70
+ function findMissingRoutes(rolesDesktopRoutes, desktopRoutes) {
71
+ const routeMap = import_lodash.default.keyBy(desktopRoutes, "id");
72
+ const group = (id, roleName) => `${id}_${roleName}`;
73
+ const existingMap = new Set(rolesDesktopRoutes.map((x) => group(x.desktopRouteId, x.roleName)));
74
+ const missingRoutes = [];
75
+ rolesDesktopRoutes.forEach((route) => {
76
+ const parentRoute = routeMap[route.desktopRouteId];
77
+ desktopRoutes.forEach((child) => {
78
+ if (child.hidden && child.parentId === parentRoute.id) {
79
+ const key = group(child.id, route.roleName);
80
+ if (!existingMap.has(key)) {
81
+ missingRoutes.push({ desktopRouteId: child.id, roleName: route.roleName });
82
+ }
83
+ }
84
+ });
85
+ });
86
+ return missingRoutes;
87
+ }
@@ -41,12 +41,13 @@ __export(server_exports, {
41
41
  });
42
42
  module.exports = __toCommonJS(server_exports);
43
43
  var import_server = require("@nocobase/server");
44
+ var import_utils = require("@nocobase/utils");
45
+ var import_lodash = __toESM(require("lodash"));
44
46
  var process = __toESM(require("node:process"));
45
47
  var import_path = require("path");
46
48
  var import_antd = require("./antd");
47
49
  var import_cron = require("./cron");
48
50
  var import_cronstrue = require("./cronstrue");
49
- var import_utils = require("@nocobase/utils");
50
51
  async function getLang(ctx) {
51
52
  const SystemSetting = ctx.db.getRepository("systemSettings");
52
53
  const systemSetting = await SystemSetting.findOne();
@@ -210,6 +211,45 @@ class PluginClientServer extends import_server.Plugin {
210
211
  transaction
211
212
  });
212
213
  });
214
+ const processRoleDesktopRoutes = async (params) => {
215
+ const { models, action, transaction } = params;
216
+ if (!models.length) return;
217
+ const parentIds = models.map((x) => x.desktopRouteId);
218
+ const tabs = await this.app.db.getRepository("desktopRoutes").find({
219
+ where: { parentId: parentIds, hidden: true },
220
+ transaction
221
+ });
222
+ if (!tabs.length) return;
223
+ const repository = this.app.db.getRepository("rolesDesktopRoutes");
224
+ const roleName = models[0].get("roleName");
225
+ const tabIds = tabs.map((x) => x.get("id"));
226
+ const where = { desktopRouteId: tabIds, roleName };
227
+ if (action === "create") {
228
+ const exists = await repository.find({ where });
229
+ const modelsByRouteId = import_lodash.default.keyBy(exists, (x) => x.get("desktopRouteId"));
230
+ const createModels = tabs.map((x) => !modelsByRouteId[x.get("id")] && { desktopRouteId: x.get("id"), roleName }).filter(Boolean);
231
+ for (const values of createModels) {
232
+ await repository.firstOrCreate({
233
+ values,
234
+ filterKeys: ["desktopRouteId", "roleName"],
235
+ transaction
236
+ });
237
+ }
238
+ return;
239
+ }
240
+ if (action === "remove") {
241
+ return await repository.destroy({ filter: where, transaction });
242
+ }
243
+ };
244
+ this.app.db.on("rolesDesktopRoutes.afterBulkCreate", async (instances, options) => {
245
+ await processRoleDesktopRoutes({ models: instances, action: "create", transaction: options.transaction });
246
+ });
247
+ this.app.db.on("rolesDesktopRoutes.afterBulkDestroy", async (options) => {
248
+ const models = await this.app.db.getRepository("rolesDesktopRoutes").find({
249
+ where: options.where
250
+ });
251
+ await processRoleDesktopRoutes({ models, action: "remove", transaction: options.transaction });
252
+ });
213
253
  }
214
254
  registerActionHandlers() {
215
255
  this.app.resourceManager.registerActionHandler("desktopRoutes:listAccessible", async (ctx, next) => {
@@ -226,14 +266,28 @@ class PluginClientServer extends import_server.Plugin {
226
266
  filterByTk: ctx.state.currentRole,
227
267
  appends: ["desktopRoutes"]
228
268
  });
229
- const desktopRoutesId = role.get("desktopRoutes").filter((item) => !item.hidden).map((item) => item.id);
230
- ctx.body = await desktopRoutesRepository.find({
231
- tree: true,
232
- ...ctx.query,
233
- filter: {
234
- id: desktopRoutesId
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)];
235
277
  }
278
+ return item.id;
236
279
  });
280
+ if (desktopRoutesId) {
281
+ const ids = (await Promise.all(desktopRoutesId)).flat();
282
+ const result = await desktopRoutesRepository.find({
283
+ tree: true,
284
+ ...ctx.query,
285
+ filter: {
286
+ id: ids
287
+ }
288
+ });
289
+ ctx.body = result;
290
+ }
237
291
  await next();
238
292
  });
239
293
  }
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.6.0-beta.9",
7
+ "version": "1.7.0-alpha.1",
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": "eb1ff948fcf7a51175626a1a56a8b8d9b90be006"
24
+ "gitHead": "e411c9728b4d1f16b0beac16e40dd3499352b052"
25
25
  }