@nocobase/plugin-ui-schema-storage 1.8.25 → 1.8.26
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/dist/externalVersion.js
CHANGED
|
@@ -8,14 +8,14 @@
|
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
module.exports = {
|
|
11
|
-
"@nocobase/client": "1.8.
|
|
12
|
-
"@nocobase/database": "1.8.
|
|
13
|
-
"@nocobase/cache": "1.8.
|
|
14
|
-
"@nocobase/utils": "1.8.
|
|
11
|
+
"@nocobase/client": "1.8.26",
|
|
12
|
+
"@nocobase/database": "1.8.26",
|
|
13
|
+
"@nocobase/cache": "1.8.26",
|
|
14
|
+
"@nocobase/utils": "1.8.26",
|
|
15
15
|
"lodash": "4.17.21",
|
|
16
|
-
"@nocobase/server": "1.8.
|
|
17
|
-
"@nocobase/plugin-localization": "1.8.
|
|
18
|
-
"@nocobase/actions": "1.8.
|
|
19
|
-
"@nocobase/resourcer": "1.8.
|
|
16
|
+
"@nocobase/server": "1.8.26",
|
|
17
|
+
"@nocobase/plugin-localization": "1.8.26",
|
|
18
|
+
"@nocobase/actions": "1.8.26",
|
|
19
|
+
"@nocobase/resourcer": "1.8.26",
|
|
20
20
|
"@formily/json-schema": "2.3.0"
|
|
21
21
|
};
|
|
@@ -263,7 +263,9 @@ const _UiSchemaRepository = class _UiSchemaRepository extends import_database.Re
|
|
|
263
263
|
"description",
|
|
264
264
|
"x-component-props.title",
|
|
265
265
|
"x-decorator-props.title",
|
|
266
|
-
"x-component-props.content"
|
|
266
|
+
"x-component-props.content",
|
|
267
|
+
"x-component-props.tooltip",
|
|
268
|
+
"x-component-props.children"
|
|
267
269
|
];
|
|
268
270
|
let r = false;
|
|
269
271
|
for (const key of keys) {
|
package/dist/server/server.js
CHANGED
|
@@ -53,16 +53,18 @@ var import_server_hooks = require("./server-hooks");
|
|
|
53
53
|
var import_model2 = require("./server-hooks/model");
|
|
54
54
|
const compile = (title) => (title || "").replace(/{{\s*t\(["|'|`](.*)["|'|`]\)\s*}}/g, "$1");
|
|
55
55
|
function extractFields(obj) {
|
|
56
|
-
var _a, _b, _c, _d, _e;
|
|
56
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
57
57
|
const fields = [
|
|
58
58
|
obj.title,
|
|
59
59
|
obj.description,
|
|
60
60
|
(_a = obj["x-component-props"]) == null ? void 0 : _a.title,
|
|
61
61
|
(_b = obj["x-component-props"]) == null ? void 0 : _b.description,
|
|
62
|
-
(_c = obj["x-
|
|
63
|
-
(_d = obj["x-
|
|
62
|
+
(_c = obj["x-component-props"]) == null ? void 0 : _c.tooltip,
|
|
63
|
+
(_d = obj["x-component-props"]) == null ? void 0 : _d.children,
|
|
64
|
+
(_e = obj["x-decorator-props"]) == null ? void 0 : _e.title,
|
|
65
|
+
(_f = obj["x-decorator-props"]) == null ? void 0 : _f.description
|
|
64
66
|
];
|
|
65
|
-
const content = (
|
|
67
|
+
const content = (_g = obj["x-component-props"]) == null ? void 0 : _g.content;
|
|
66
68
|
if (typeof content === "string") {
|
|
67
69
|
const regex = /\{\{\s*t\s+['"]([^'"]+)['"]\s*\}\}/g;
|
|
68
70
|
let match;
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"displayName.zh-CN": "UI schema 存储服务",
|
|
5
5
|
"description": "Provides centralized UI schema storage service.",
|
|
6
6
|
"description.zh-CN": "提供中心化的 UI schema 存储服务。",
|
|
7
|
-
"version": "1.8.
|
|
7
|
+
"version": "1.8.26",
|
|
8
8
|
"license": "AGPL-3.0",
|
|
9
9
|
"main": "./dist/server/index.js",
|
|
10
10
|
"homepage": "https://docs.nocobase.com/handbook/ui-schema-storage",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"@nocobase/test": "1.x",
|
|
24
24
|
"@nocobase/utils": "1.x"
|
|
25
25
|
},
|
|
26
|
-
"gitHead": "
|
|
26
|
+
"gitHead": "f6b5c9b36b515458f2a0451a770108c2732c1e7b",
|
|
27
27
|
"keywords": [
|
|
28
28
|
"System & security"
|
|
29
29
|
]
|