@nocobase/client 1.2.8-alpha → 1.2.10-alpha
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.
- package/es/index.d.ts +1 -1
- package/es/index.mjs +898 -809
- package/es/modules/variable/{DeclareVariable.d.ts → types.d.ts} +2 -9
- package/es/modules/variable/variablesProvider/VariablePopupRecordProvider.d.ts +21 -0
- package/es/schema-component/antd/filter/DynamicComponent.d.ts +3 -0
- package/es/schema-component/antd/filter/index.d.ts +2 -0
- package/es/schema-settings/VariableInput/hooks/useParentPopupVariable.d.ts +24 -0
- package/lib/index.js +63 -69
- package/lib/locale/en_US.js +1 -0
- package/lib/locale/es_ES.js +1 -0
- package/lib/locale/fr_FR.js +1 -0
- package/lib/locale/ja_JP.js +1 -0
- package/lib/locale/ko_KR.js +1 -0
- package/lib/locale/pt_BR.js +3 -1
- package/lib/locale/ru_RU.js +1 -0
- package/lib/locale/tr_TR.js +1 -0
- package/lib/locale/uk_UA.js +1 -0
- package/lib/locale/zh-CN.js +1 -0
- package/lib/locale/zh-TW.js +1 -0
- package/package.json +5 -5
- package/es/modules/variable/useVariable.d.ts +0 -22
package/lib/locale/en_US.js
CHANGED
|
@@ -631,6 +631,7 @@ module.exports = {
|
|
|
631
631
|
"Current collection": "Current collection",
|
|
632
632
|
"Other collections": "Other collections",
|
|
633
633
|
"Current popup record": "Current popup record",
|
|
634
|
+
"Parent popup record": "Parent popup record",
|
|
634
635
|
"Associated records": "Associated records",
|
|
635
636
|
"Parent record": "Parent record",
|
|
636
637
|
"Current time": "Current time",
|
package/lib/locale/es_ES.js
CHANGED
|
@@ -620,6 +620,7 @@ module.exports = {
|
|
|
620
620
|
"Current collection": "Colecci\xF3n actual",
|
|
621
621
|
"Other collections": "Otras colecciones",
|
|
622
622
|
"Current popup record": "Registro actual del popup",
|
|
623
|
+
"Parent popup record": "Registro padre del popup",
|
|
623
624
|
"Associated records": "Registros asociados",
|
|
624
625
|
"Parent record": "Registro padre",
|
|
625
626
|
"Current time": "Hora actual",
|
package/lib/locale/fr_FR.js
CHANGED
|
@@ -617,6 +617,7 @@ module.exports = {
|
|
|
617
617
|
"Current collection": "Collection actuelle",
|
|
618
618
|
"Other collections": "Autres collections",
|
|
619
619
|
"Current popup record": "Enregistrement popup actuel",
|
|
620
|
+
"Parent popup record": "Enregistrement popup parent",
|
|
620
621
|
"Associated records": "Enregistrements associ\xE9s",
|
|
621
622
|
"Parent record": "Enregistrement parent",
|
|
622
623
|
"Current time": "Heure actuelle",
|
package/lib/locale/ja_JP.js
CHANGED
|
@@ -520,6 +520,7 @@ module.exports = {
|
|
|
520
520
|
"Current collection": "\u73FE\u5728\u306E\u30B3\u30EC\u30AF\u30B7\u30E7\u30F3",
|
|
521
521
|
"Other collections": "\u4ED6\u306E\u30B3\u30EC\u30AF\u30B7\u30E7\u30F3",
|
|
522
522
|
"Current popup record": "\u73FE\u5728\u306E\u30DD\u30C3\u30D7\u30A2\u30C3\u30D7\u30EC\u30B3\u30FC\u30C9",
|
|
523
|
+
"Parent popup record": "\u89AA\u30DD\u30C3\u30D7\u30A2\u30C3\u30D7\u30EC\u30B3\u30FC\u30C9",
|
|
523
524
|
"Associated records": "\u95A2\u9023\u4ED8\u3051\u3089\u308C\u305F\u30EC\u30B3\u30FC\u30C9",
|
|
524
525
|
"Popup close method": "\u30DD\u30C3\u30D7\u30A2\u30C3\u30D7\u3092\u9589\u3058\u308B\u65B9\u6CD5",
|
|
525
526
|
"Automatic close": "\u81EA\u52D5\u3067\u9589\u3058\u308B",
|
package/lib/locale/ko_KR.js
CHANGED
|
@@ -645,6 +645,7 @@ module.exports = {
|
|
|
645
645
|
"Current collection": "\uD604\uC7AC \uB370\uC774\uD130 \uD14C\uC774\uBE14",
|
|
646
646
|
"Other collections": "\uAE30\uD0C0 \uB370\uC774\uD130 \uD14C\uC774\uBE14",
|
|
647
647
|
"Current popup record": "\uD604\uC7AC \uD31D\uC5C5 \uB808\uCF54\uB4DC",
|
|
648
|
+
"Parent popup record": "\uC0C1\uC704 \uD31D\uC5C5 \uB808\uCF54\uB4DC",
|
|
648
649
|
"Associated records": "\uAD00\uB828 \uB808\uCF54\uB4DC",
|
|
649
650
|
"Parent record": "\uC0C1\uC704 \uB808\uCF54\uB4DC",
|
|
650
651
|
"Current time": "\uD604\uC7AC \uC2DC\uAC04",
|
package/lib/locale/pt_BR.js
CHANGED
|
@@ -737,5 +737,7 @@ module.exports = {
|
|
|
737
737
|
'This variable has been deprecated and can be replaced with "Current form"': 'A vari\xE1vel foi descontinuada; "Formul\xE1rio atual" pode ser usada como substituto',
|
|
738
738
|
"The value of this variable is derived from the query string of the page URL. This variable can only be used normally when the page has a query string.": "O valor desta vari\xE1vel \xE9 derivado da string de consulta da URL da p\xE1gina. Esta vari\xE1vel s\xF3 pode ser usada normalmente quando a p\xE1gina tem uma string de consulta.",
|
|
739
739
|
"URL search params": "Par\xE2metros de pesquisa de URL",
|
|
740
|
-
"Expand All": "Expandir tudo"
|
|
740
|
+
"Expand All": "Expandir tudo",
|
|
741
|
+
"Parent popup record": "Registro pop-up pai",
|
|
742
|
+
"Current popup record": "Registro pop-up atual"
|
|
741
743
|
};
|
package/lib/locale/ru_RU.js
CHANGED
|
@@ -455,6 +455,7 @@ module.exports = {
|
|
|
455
455
|
"Current collection": "\u0422\u0435\u043A\u0443\u0449\u0430\u044F \u043A\u043E\u043B\u043B\u0435\u043A\u0446\u0438\u044F",
|
|
456
456
|
"Other collections": "\u0414\u0440\u0443\u0433\u0438\u0435 \u043A\u043E\u043B\u043B\u0435\u043A\u0446\u0438\u0438",
|
|
457
457
|
"Current popup record": "\u0422\u0435\u043A\u0443\u0449\u0430\u044F \u0437\u0430\u043F\u0438\u0441\u044C \u0432\u0441\u043F\u043B\u044B\u0432\u0430\u044E\u0449\u0435\u0433\u043E \u043E\u043A\u043D\u0430",
|
|
458
|
+
"Parent popup record": "\u0420\u043E\u0434\u0438\u0442\u0435\u043B\u044C\u0441\u043A\u0430\u044F \u0437\u0430\u043F\u0438\u0441\u044C \u0432\u0441\u043F\u043B\u044B\u0432\u0430\u044E\u0449\u0435\u0433\u043E \u043E\u043A\u043D\u0430",
|
|
458
459
|
"Associated records": "\u0421\u0432\u044F\u0437\u0430\u043D\u043D\u044B\u0435 \u0437\u0430\u043F\u0438\u0441\u0438",
|
|
459
460
|
"Parent record": "\u0420\u043E\u0434\u0438\u0442\u0435\u043B\u044C\u0441\u043A\u0430\u044F \u0437\u0430\u043F\u0438\u0441\u044C",
|
|
460
461
|
"Popup close method": "\u041C\u0435\u0442\u043E\u0434 \u0437\u0430\u043A\u0440\u044B\u0442\u0438\u044F \u0432\u0441\u043F\u043B\u044B\u0432\u0430\u044E\u0449\u0435\u0433\u043E \u043E\u043A\u043D\u0430",
|
package/lib/locale/tr_TR.js
CHANGED
|
@@ -455,6 +455,7 @@ module.exports = {
|
|
|
455
455
|
"Current collection": "Se\xE7ili koleksiyon",
|
|
456
456
|
"Other collections": "Di\u011Fer koleksiyonlar",
|
|
457
457
|
"Current popup record": "A\xE7\u0131l\u0131r pencere kayd\u0131",
|
|
458
|
+
"Parent popup record": "\xDCst a\xE7\u0131l\u0131r pencere kayd\u0131",
|
|
458
459
|
"Associated records": "\u0130li\u015Fkili kay\u0131tlar",
|
|
459
460
|
"Parent record": "\xDCst kay\u0131t",
|
|
460
461
|
"Popup close method": "A\xE7\u0131l\u0131r pencere kapatma metodu",
|
package/lib/locale/uk_UA.js
CHANGED
|
@@ -637,6 +637,7 @@ module.exports = {
|
|
|
637
637
|
"Current collection": "\u041F\u043E\u0442\u043E\u0447\u043D\u0430 \u043A\u043E\u043B\u0435\u043A\u0446\u0456\u044F",
|
|
638
638
|
"Other collections": "\u0406\u043D\u0448\u0456 \u043A\u043E\u043B\u0435\u043A\u0446\u0456\u0457",
|
|
639
639
|
"Current popup record": "\u041F\u043E\u0442\u043E\u0447\u043D\u0438\u0439 \u0437\u0430\u043F\u0438\u0441 \u0441\u043F\u043B\u0438\u0432\u0430\u044E\u0447\u043E\u0433\u043E \u0432\u0456\u043A\u043D\u0430",
|
|
640
|
+
"Parent popup record": "\u0411\u0430\u0442\u044C\u043A\u0456\u0432\u0441\u044C\u043A\u0438\u0439 \u0437\u0430\u043F\u0438\u0441 \u0441\u043F\u043B\u0438\u0432\u0430\u044E\u0447\u043E\u0433\u043E \u0432\u0456\u043A\u043D\u0430",
|
|
640
641
|
"Associated records": "\u041F\u043E\u0432'\u044F\u0437\u0430\u043D\u0456 \u0437\u0430\u043F\u0438\u0441\u0438",
|
|
641
642
|
"Parent record": "\u0411\u0430\u0442\u044C\u043A\u0456\u0432\u0441\u044C\u043A\u0438\u0439 \u0437\u0430\u043F\u0438\u0441",
|
|
642
643
|
"Current time": "\u041F\u043E\u0442\u043E\u0447\u043D\u0438\u0439 \u0447\u0430\u0441",
|
package/lib/locale/zh-CN.js
CHANGED
|
@@ -649,6 +649,7 @@ module.exports = {
|
|
|
649
649
|
"Current collection": "\u5F53\u524D\u6570\u636E\u8868",
|
|
650
650
|
"Other collections": "\u5176\u4ED6\u6570\u636E\u8868",
|
|
651
651
|
"Current popup record": "\u5F53\u524D\u5F39\u7A97\u8BB0\u5F55",
|
|
652
|
+
"Parent popup record": "\u4E0A\u7EA7\u5F39\u7A97\u8BB0\u5F55",
|
|
652
653
|
"Associated records": "\u5173\u8054\u8BB0\u5F55",
|
|
653
654
|
"Parent record": "\u4E0A\u7EA7\u8BB0\u5F55",
|
|
654
655
|
"Current time": "\u5F53\u524D\u65F6\u95F4",
|
package/lib/locale/zh-TW.js
CHANGED
|
@@ -645,6 +645,7 @@ module.exports = {
|
|
|
645
645
|
"Current collection": "\u7576\u524D\u8CC7\u6599\u8868",
|
|
646
646
|
"Other collections": "\u5176\u4ED6\u8CC7\u6599\u8868",
|
|
647
647
|
"Current popup record": "\u7576\u524D\u5F48\u7A97\u8A18\u9304",
|
|
648
|
+
"Parent popup record": "\u4E0A\u7D1A\u5F48\u7A97\u8A18\u9304",
|
|
648
649
|
"Associated records": "\u95DC\u806F\u8A18\u9304",
|
|
649
650
|
"Parent record": "\u4E0A\u7D1A\u8A18\u9304",
|
|
650
651
|
"Current time": "\u7576\u524D\u6642\u9593",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nocobase/client",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.10-alpha",
|
|
4
4
|
"license": "AGPL-3.0",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.mjs",
|
|
@@ -26,9 +26,9 @@
|
|
|
26
26
|
"@formily/reactive-react": "^2.2.27",
|
|
27
27
|
"@formily/shared": "^2.2.27",
|
|
28
28
|
"@formily/validator": "^2.2.27",
|
|
29
|
-
"@nocobase/evaluators": "1.2.
|
|
30
|
-
"@nocobase/sdk": "1.2.
|
|
31
|
-
"@nocobase/utils": "1.2.
|
|
29
|
+
"@nocobase/evaluators": "1.2.10-alpha",
|
|
30
|
+
"@nocobase/sdk": "1.2.10-alpha",
|
|
31
|
+
"@nocobase/utils": "1.2.10-alpha",
|
|
32
32
|
"ahooks": "^3.7.2",
|
|
33
33
|
"antd": "^5.12.8",
|
|
34
34
|
"antd-style": "3.4.5",
|
|
@@ -79,5 +79,5 @@
|
|
|
79
79
|
"dumi": "2.2.14",
|
|
80
80
|
"dumi-theme-nocobase": "^0.2.28"
|
|
81
81
|
},
|
|
82
|
-
"gitHead": "
|
|
82
|
+
"gitHead": "378bfb33c8d124ef79074e5474c1cf2199aeb8da"
|
|
83
83
|
}
|
|
@@ -1,22 +0,0 @@
|
|
|
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
|
-
* 获取对应标识符的变量值,及其它信息
|
|
11
|
-
* @param variableName
|
|
12
|
-
* @returns
|
|
13
|
-
*/
|
|
14
|
-
export declare const useVariable: (variableName: string) => {
|
|
15
|
-
value: any;
|
|
16
|
-
title: string;
|
|
17
|
-
collection: import("../..").Collection;
|
|
18
|
-
} | {
|
|
19
|
-
value?: undefined;
|
|
20
|
-
title?: undefined;
|
|
21
|
-
collection?: undefined;
|
|
22
|
-
};
|