@nocobase/client 1.0.1-alpha.1 → 1.2.0-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/application/schema-settings/index.d.ts +1 -0
- package/es/application/schema-settings/utils/createModalSettingsItem.d.ts +28 -0
- package/es/application/schema-settings/utils/createSelectSettingsItem.d.ts +28 -0
- package/es/application/schema-settings/utils/createSwitchSettingsItem.d.ts +25 -0
- package/es/application/schema-settings/utils/index.d.ts +11 -0
- package/es/application/schema-settings/utils/util.d.ts +21 -0
- package/es/block-provider/TemplateBlockProvider.d.ts +1 -1
- package/es/block-provider/hooks/index.d.ts +4 -1
- package/es/data-source/collection/Collection.d.ts +1 -0
- package/es/i18n/i18n.d.ts +4 -0
- package/es/index.d.ts +1 -0
- package/es/index.mjs +2320 -2115
- package/es/schema-component/antd/card-item/CardItem.d.ts +2 -2
- package/es/schema-component/antd/filter/useFilterActionProps.d.ts +1 -1
- package/es/schema-component/antd/grid/Grid.d.ts +2 -0
- package/es/schema-component/antd/input/Json.d.ts +2 -0
- package/es/schema-component/hooks/useBlockSize.d.ts +6 -1
- package/es/schema-initializer/items/DataBlockInitializer.d.ts +3 -2
- package/es/schema-initializer/items/FilterBlockInitializer.d.ts +1 -1
- package/es/schema-settings/index.d.ts +2 -0
- package/es/schema-settings/setDefaultSortingRulesSchemaSettingsItem.d.ts +10 -0
- package/es/schema-settings/setTheDataScopeSchemaSettingsItem.d.ts +10 -0
- package/lib/index.js +89 -87
- package/lib/locale/en_US.js +2 -1
- package/lib/locale/es_ES.js +2 -1
- package/lib/locale/fr_FR.js +2 -1
- package/lib/locale/ja_JP.js +3 -2
- package/lib/locale/ko_KR.js +2 -1
- package/lib/locale/pt_BR.js +2 -1
- package/lib/locale/ru_RU.js +2 -1
- package/lib/locale/tr_TR.js +2 -1
- package/lib/locale/uk_UA.js +2 -1
- package/lib/locale/zh-CN.js +3 -2
- package/lib/locale/zh-TW.js +2 -1
- package/package.json +6 -5
package/lib/locale/en_US.js
CHANGED
|
@@ -828,5 +828,6 @@ module.exports = {
|
|
|
828
828
|
"Drag and drop sorting field": "Drag and drop sorting field",
|
|
829
829
|
'This variable has been deprecated and can be replaced with "Current form"': 'This variable has been deprecated and can be replaced with "Current form"',
|
|
830
830
|
"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.": "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.",
|
|
831
|
-
"URL search params": "URL search params"
|
|
831
|
+
"URL search params": "URL search params",
|
|
832
|
+
"Expand All": "Expand All"
|
|
832
833
|
};
|
package/lib/locale/es_ES.js
CHANGED
|
@@ -760,5 +760,6 @@ module.exports = {
|
|
|
760
760
|
License: "Licencia",
|
|
761
761
|
'This variable has been deprecated and can be replaced with "Current form"': 'La variable ha sido obsoleta; "Formulario actual" puede ser utilizada como sustituto',
|
|
762
762
|
"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.": "El valor de esta variable se deriva de la cadena de consulta de la URL de la p\xE1gina. Esta variable s\xF3lo puede utilizarse normalmente cuando la p\xE1gina tiene una cadena de consulta.",
|
|
763
|
-
"URL search params": "Par\xE1metros de b\xFAsqueda de URL"
|
|
763
|
+
"URL search params": "Par\xE1metros de b\xFAsqueda de URL",
|
|
764
|
+
"Expand All": "Expandir todo"
|
|
764
765
|
};
|
package/lib/locale/fr_FR.js
CHANGED
|
@@ -780,5 +780,6 @@ module.exports = {
|
|
|
780
780
|
License: "Licence",
|
|
781
781
|
'This variable has been deprecated and can be replaced with "Current form"': 'La variable a \xE9t\xE9 obsol\xE8te ; "Formulaire actuel" peut \xEAtre utilis\xE9 comme substitut',
|
|
782
782
|
"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.": "La valeur de cette variable est d\xE9riv\xE9e de la cha\xEEne de requ\xEAte de l'URL de la page. Cette variable ne peut \xEAtre utilis\xE9e normalement que lorsque la page a une cha\xEEne de requ\xEAte.",
|
|
783
|
-
"URL search params": "Param\xE8tres de recherche d'URL"
|
|
783
|
+
"URL search params": "Param\xE8tres de recherche d'URL",
|
|
784
|
+
"Expand All": "Tout d\xE9plier"
|
|
784
785
|
};
|
package/lib/locale/ja_JP.js
CHANGED
|
@@ -79,7 +79,7 @@ module.exports = {
|
|
|
79
79
|
Hidden: "\u975E\u8868\u793A",
|
|
80
80
|
"Hidden(reserved value)": "\u975E\u8868\u793A(\u5024\u306E\u4FDD\u6301)",
|
|
81
81
|
"Not required": "\u5FC5\u9808\u3067\u306F\u3042\u308A\u307E\u305B\u3093",
|
|
82
|
-
Value: "\
|
|
82
|
+
Value: "\u5024",
|
|
83
83
|
Disabled: "\u7121\u52B9\u5316",
|
|
84
84
|
Enabled: "\u6709\u52B9\u5316",
|
|
85
85
|
On: "\u6709\u52B9\u5316",
|
|
@@ -699,5 +699,6 @@ module.exports = {
|
|
|
699
699
|
License: "\u30E9\u30A4\u30BB\u30F3\u30B9",
|
|
700
700
|
'This variable has been deprecated and can be replaced with "Current form"': "\u3053\u306E\u5909\u6570\u306F\u975E\u63A8\u5968\u3067\u3059\u3002\u4EE3\u308F\u308A\u306B\u300C\u73FE\u5728\u306E\u30D5\u30A9\u30FC\u30E0\u300D\u3092\u4F7F\u7528\u3057\u3066\u304F\u3060\u3055\u3044",
|
|
701
701
|
"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.": "\u3053\u306E\u5909\u6570\u306E\u5024\u306F\u30DA\u30FC\u30B8URL\u306E\u30AF\u30A8\u30EA\u6587\u5B57\u5217\u304B\u3089\u53D6\u5F97\u3055\u308C\u307E\u3059\u3002\u3053\u306E\u5909\u6570\u306F\u3001\u30DA\u30FC\u30B8\u306B\u30AF\u30A8\u30EA\u6587\u5B57\u5217\u304C\u3042\u308B\u5834\u5408\u306B\u306E\u307F\u6B63\u5E38\u306B\u4F7F\u7528\u3067\u304D\u307E\u3059\u3002",
|
|
702
|
-
"URL search params": "URL\u691C\u7D22\u30D1\u30E9\u30E1\u30FC\u30BF"
|
|
702
|
+
"URL search params": "URL\u691C\u7D22\u30D1\u30E9\u30E1\u30FC\u30BF",
|
|
703
|
+
"Expand All": "\u3059\u3079\u3066\u5C55\u958B"
|
|
703
704
|
};
|
package/lib/locale/ko_KR.js
CHANGED
|
@@ -871,5 +871,6 @@ module.exports = {
|
|
|
871
871
|
License: "\uB77C\uC774\uC120\uC2A4",
|
|
872
872
|
'This variable has been deprecated and can be replaced with "Current form"': '\uBCC0\uC218\uAC00 \uD3D0\uAE30\uB418\uC5C8\uC2B5\uB2C8\uB2E4. "\uD604\uC7AC \uD3FC"\uC744 \uB300\uCCB4\uB85C \uC0AC\uC6A9\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4',
|
|
873
873
|
"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.": "\uC774 \uBCC0\uC218\uC758 \uAC12\uC740 \uD398\uC774\uC9C0 URL\uC758 \uCFFC\uB9AC \uBB38\uC790\uC5F4\uC5D0\uC11C \uD30C\uC0DD\uB429\uB2C8\uB2E4. \uC774 \uBCC0\uC218\uB294 \uD398\uC774\uC9C0\uC5D0 \uCFFC\uB9AC \uBB38\uC790\uC5F4\uC774 \uC788\uB294 \uACBD\uC6B0\uC5D0\uB9CC \uC815\uC0C1\uC801\uC73C\uB85C \uC0AC\uC6A9\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.",
|
|
874
|
-
"URL search params": "URL \uAC80\uC0C9 \uB9E4\uAC1C\uBCC0\uC218"
|
|
874
|
+
"URL search params": "URL \uAC80\uC0C9 \uB9E4\uAC1C\uBCC0\uC218",
|
|
875
|
+
"Expand All": "\uBAA8\uB450 \uD3BC\uCE58\uAE30"
|
|
875
876
|
};
|
package/lib/locale/pt_BR.js
CHANGED
|
@@ -736,5 +736,6 @@ module.exports = {
|
|
|
736
736
|
License: "Licen\xE7a",
|
|
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
|
-
"URL search params": "Par\xE2metros de pesquisa de URL"
|
|
739
|
+
"URL search params": "Par\xE2metros de pesquisa de URL",
|
|
740
|
+
"Expand All": "Expandir tudo"
|
|
740
741
|
};
|
package/lib/locale/ru_RU.js
CHANGED
|
@@ -574,5 +574,6 @@ module.exports = {
|
|
|
574
574
|
License: "\u041B\u0438\u0446\u0435\u043D\u0437\u0438\u044F",
|
|
575
575
|
'This variable has been deprecated and can be replaced with "Current form"': '\u041F\u0435\u0440\u0435\u043C\u0435\u043D\u043D\u0430\u044F \u0443\u0441\u0442\u0430\u0440\u0435\u043B\u0430; "\u0422\u0435\u043A\u0443\u0449\u0430\u044F \u0444\u043E\u0440\u043C\u0430" \u043C\u043E\u0436\u0435\u0442 \u0431\u044B\u0442\u044C \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0430 \u0432 \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0437\u0430\u043C\u0435\u043D\u044B',
|
|
576
576
|
"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.": "\u0417\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u044D\u0442\u043E\u0439 \u043F\u0435\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439 \u043F\u0440\u043E\u0438\u0441\u0445\u043E\u0434\u0438\u0442 \u0438\u0437 \u0441\u0442\u0440\u043E\u043A\u0438 \u0437\u0430\u043F\u0440\u043E\u0441\u0430 URL \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u044B. \u042D\u0442\u0430 \u043F\u0435\u0440\u0435\u043C\u0435\u043D\u043D\u0430\u044F \u043C\u043E\u0436\u0435\u0442 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C\u0441\u044F \u0442\u043E\u043B\u044C\u043A\u043E \u0432 \u0442\u043E\u043C \u0441\u043B\u0443\u0447\u0430\u0435, \u0435\u0441\u043B\u0438 \u0443 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u044B \u0435\u0441\u0442\u044C \u0441\u0442\u0440\u043E\u043A\u0430 \u0437\u0430\u043F\u0440\u043E\u0441\u0430.",
|
|
577
|
-
"URL search params": "\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B \u043F\u043E\u0438\u0441\u043A\u0430 URL"
|
|
577
|
+
"URL search params": "\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B \u043F\u043E\u0438\u0441\u043A\u0430 URL",
|
|
578
|
+
"Expand All": "\u0420\u0430\u0437\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0432\u0441\u0435"
|
|
578
579
|
};
|
package/lib/locale/tr_TR.js
CHANGED
|
@@ -572,5 +572,6 @@ module.exports = {
|
|
|
572
572
|
License: "Lisans",
|
|
573
573
|
'This variable has been deprecated and can be replaced with "Current form"': 'De\u011Fi\u015Fken kullan\u0131mdan kald\u0131r\u0131ld\u0131; "Ge\xE7erli form" yerine kullan\u0131labilir',
|
|
574
574
|
"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.": "Bu de\u011Fi\u015Fkenin de\u011Feri sayfa URL'sinin sorgu dizgisinden t\xFCretilir. Bu de\u011Fi\u015Fken, sayfan\u0131n bir sorgu dizgisi oldu\u011Funda yaln\u0131zca normal olarak kullan\u0131labilir.",
|
|
575
|
-
"URL search params": "URL arama parametreleri"
|
|
575
|
+
"URL search params": "URL arama parametreleri",
|
|
576
|
+
"Expand All": "T\xFCm\xFCn\xFC geni\u015Flet"
|
|
576
577
|
};
|
package/lib/locale/uk_UA.js
CHANGED
|
@@ -780,5 +780,6 @@ module.exports = {
|
|
|
780
780
|
License: "\u041B\u0456\u0446\u0435\u043D\u0437\u0456\u044F",
|
|
781
781
|
'This variable has been deprecated and can be replaced with "Current form"': '\u0417\u043C\u0456\u043D\u043D\u0430 \u0431\u0443\u043B\u0430 \u0437\u0430\u0441\u0442\u0430\u0440\u0456\u043B\u043E\u044E; "\u041F\u043E\u0442\u043E\u0447\u043D\u0430 \u0444\u043E\u0440\u043C\u0430" \u043C\u043E\u0436\u0435 \u0431\u0443\u0442\u0438 \u0432\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u0430\u043D\u0430 \u044F\u043A \u0437\u0430\u043C\u0456\u043D\u0430',
|
|
782
782
|
"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.": "\u0417\u043D\u0430\u0447\u0435\u043D\u043D\u044F \u0446\u0456\u0454\u0457 \u0437\u043C\u0456\u043D\u043D\u043E\u0457 \u043F\u043E\u0445\u043E\u0434\u0438\u0442\u044C \u0437 \u0440\u044F\u0434\u043A\u0430 \u0437\u0430\u043F\u0438\u0442\u0443 URL-\u0430\u0434\u0440\u0435\u0441\u0438 \u0441\u0442\u043E\u0440\u0456\u043D\u043A\u0438. \u0426\u044E \u0437\u043C\u0456\u043D\u043D\u0443 \u043C\u043E\u0436\u043D\u0430 \u0432\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u043E\u0432\u0443\u0432\u0430\u0442\u0438 \u043D\u043E\u0440\u043C\u0430\u043B\u044C\u043D\u043E \u043B\u0438\u0448\u0435 \u0442\u043E\u0434\u0456, \u043A\u043E\u043B\u0438 \u0443 \u0441\u0442\u043E\u0440\u0456\u043D\u043A\u0438 \u0454 \u0440\u044F\u0434\u043E\u043A \u0437\u0430\u043F\u0438\u0442\u0443.",
|
|
783
|
-
"URL search params": "\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0438 \u043F\u043E\u0448\u0443\u043A\u0443 URL"
|
|
783
|
+
"URL search params": "\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0438 \u043F\u043E\u0448\u0443\u043A\u0443 URL",
|
|
784
|
+
"Expand All": "\u0420\u043E\u0437\u0433\u043E\u0440\u043D\u0443\u0442\u0438 \u0432\u0441\u0435"
|
|
784
785
|
};
|
package/lib/locale/zh-CN.js
CHANGED
|
@@ -82,7 +82,7 @@ module.exports = {
|
|
|
82
82
|
Hidden: "\u9690\u85CF",
|
|
83
83
|
"Hidden(reserved value)": "\u9690\u85CF(\u4FDD\u7559\u503C)",
|
|
84
84
|
"Not required": "\u975E\u5FC5\u586B",
|
|
85
|
-
Value: "\
|
|
85
|
+
Value: "\u503C",
|
|
86
86
|
Disabled: "\u7981\u7528",
|
|
87
87
|
Enabled: "\u542F\u7528",
|
|
88
88
|
Problematic: "\u6709\u95EE\u9898",
|
|
@@ -957,5 +957,6 @@ module.exports = {
|
|
|
957
957
|
"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.": "\u8BE5\u53D8\u91CF\u7684\u503C\u662F\u6839\u636E\u9875\u9762 URL \u7684 query string \u5F97\u6765\u7684\uFF0C\u53EA\u6709\u5F53\u9875\u9762\u5B58\u5728 query string \u7684\u65F6\u5019\uFF0C\u8BE5\u53D8\u91CF\u624D\u80FD\u6B63\u5E38\u4F7F\u7528\u3002",
|
|
958
958
|
"Edit link": "\u7F16\u8F91\u94FE\u63A5",
|
|
959
959
|
"Add parameter": "\u6DFB\u52A0\u53C2\u6570",
|
|
960
|
-
"URL search params": "URL \u67E5\u8BE2\u53C2\u6570"
|
|
960
|
+
"URL search params": "URL \u67E5\u8BE2\u53C2\u6570",
|
|
961
|
+
"Expand All": "\u5C55\u5F00\u5168\u90E8"
|
|
961
962
|
};
|
package/lib/locale/zh-TW.js
CHANGED
|
@@ -869,5 +869,6 @@ module.exports = {
|
|
|
869
869
|
License: "\u8A31\u53EF\u8B49",
|
|
870
870
|
'This variable has been deprecated and can be replaced with "Current form"': "\u8A72\u8B8A\u6578\u5DF2\u88AB\u68C4\u7528\uFF0C\u53EF\u4EE5\u4F7F\u7528\u201C\u7576\u524D\u8868\u55AE\u201D\u4F5C\u70BA\u66FF\u4EE3",
|
|
871
871
|
"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.": "\u8A72\u8B8A\u6578\u7684\u503C\u4F86\u81EA\u9801\u9762 URL \u7684\u67E5\u8A62\u5B57\u7B26\u4E32\uFF0C\u53EA\u6709\u7576\u9801\u9762\u6709\u67E5\u8A62\u5B57\u7B26\u4E32\u6642\uFF0C\u8A72\u8B8A\u6578\u624D\u80FD\u6B63\u5E38\u4F7F\u7528\u3002",
|
|
872
|
-
"URL search params": "URL \u67E5\u8A62\u53C3\u6578"
|
|
872
|
+
"URL search params": "URL \u67E5\u8A62\u53C3\u6578",
|
|
873
|
+
"Expand All": "\u5C55\u958B\u5168\u90E8"
|
|
873
874
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nocobase/client",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.2.0-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.0
|
|
30
|
-
"@nocobase/sdk": "1.0
|
|
31
|
-
"@nocobase/utils": "1.0
|
|
29
|
+
"@nocobase/evaluators": "1.2.0-alpha",
|
|
30
|
+
"@nocobase/sdk": "1.2.0-alpha",
|
|
31
|
+
"@nocobase/utils": "1.2.0-alpha",
|
|
32
32
|
"ahooks": "^3.7.2",
|
|
33
33
|
"antd": "^5.12.8",
|
|
34
34
|
"antd-style": "3.4.5",
|
|
@@ -41,6 +41,7 @@
|
|
|
41
41
|
"flat": "^5.0.2",
|
|
42
42
|
"i18next": "^22.4.9",
|
|
43
43
|
"i18next-http-backend": "^2.1.1",
|
|
44
|
+
"json5": "^2.2.3",
|
|
44
45
|
"lodash": "4.17.21",
|
|
45
46
|
"lru-cache": "6.0.0",
|
|
46
47
|
"markdown-it": "14.1.0",
|
|
@@ -77,5 +78,5 @@
|
|
|
77
78
|
"dumi": "2.2.14",
|
|
78
79
|
"dumi-theme-nocobase": "^0.2.28"
|
|
79
80
|
},
|
|
80
|
-
"gitHead": "
|
|
81
|
+
"gitHead": "c7dc1f277ef3722df0ec8d5532bcb66322c0fae2"
|
|
81
82
|
}
|