@nocobase/flow-engine 2.0.0-alpha.49 → 2.0.0-alpha.50
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/lib/acl/Acl.d.ts +2 -1
- package/lib/acl/Acl.js +19 -23
- package/lib/flowEngine.js +20 -8
- package/lib/locale/de-DE.json +63 -0
- package/lib/locale/en-US.json +48 -48
- package/lib/locale/es-ES.json +63 -0
- package/lib/locale/fr-FR.json +63 -0
- package/lib/locale/hu-HU.json +63 -0
- package/lib/locale/id-ID.json +63 -0
- package/lib/locale/index.d.ts +94 -94
- package/lib/locale/it-IT.json +63 -0
- package/lib/locale/ja-JP.json +63 -0
- package/lib/locale/ko-KR.json +63 -0
- package/lib/locale/nl-NL.json +63 -0
- package/lib/locale/pt-BR.json +63 -0
- package/lib/locale/ru-RU.json +63 -0
- package/lib/locale/tr-TR.json +63 -0
- package/lib/locale/uk-UA.json +63 -0
- package/lib/locale/vi-VN.json +63 -0
- package/lib/locale/zh-CN.json +48 -48
- package/lib/locale/zh-TW.json +63 -0
- package/lib/models/flowModel.d.ts +2 -2
- package/lib/resources/multiRecordResource.js +1 -17
- package/lib/resources/singleRecordResource.js +1 -17
- package/lib/types.d.ts +8 -0
- package/lib/utils/serverContextParams.d.ts +3 -0
- package/lib/utils/serverContextParams.js +2 -0
- package/lib/utils/variablesParams.js +2 -1
- package/lib/views/createViewMeta.d.ts +1 -0
- package/lib/views/createViewMeta.js +39 -18
- package/package.json +4 -4
- package/src/__tests__/createViewMeta.popup.test.ts +8 -1
- package/src/acl/Acl.tsx +19 -24
- package/src/flowEngine.ts +24 -7
- package/src/locale/de-DE.json +63 -0
- package/src/locale/en-US.json +48 -48
- package/src/locale/es-ES.json +63 -0
- package/src/locale/fr-FR.json +63 -0
- package/src/locale/hu-HU.json +63 -0
- package/src/locale/id-ID.json +63 -0
- package/src/locale/it-IT.json +63 -0
- package/src/locale/ja-JP.json +63 -0
- package/src/locale/ko-KR.json +63 -0
- package/src/locale/nl-NL.json +63 -0
- package/src/locale/pt-BR.json +63 -0
- package/src/locale/ru-RU.json +63 -0
- package/src/locale/tr-TR.json +63 -0
- package/src/locale/uk-UA.json +63 -0
- package/src/locale/vi-VN.json +63 -0
- package/src/locale/zh-CN.json +48 -48
- package/src/locale/zh-TW.json +63 -0
- package/src/models/__tests__/flowEngine.resolveUse.test.ts +58 -0
- package/src/models/flowModel.tsx +2 -4
- package/src/resources/multiRecordResource.ts +1 -20
- package/src/resources/singleRecordResource.ts +1 -17
- package/src/types.ts +12 -0
- package/src/utils/__tests__/variablesParams.test.ts +33 -0
- package/src/utils/serverContextParams.ts +5 -0
- package/src/utils/variablesParams.ts +2 -1
- package/src/views/createViewMeta.ts +27 -5
package/lib/acl/Acl.d.ts
CHANGED
|
@@ -15,11 +15,12 @@ interface CheckOptions {
|
|
|
15
15
|
}
|
|
16
16
|
export declare class ACL {
|
|
17
17
|
private flowEngine;
|
|
18
|
-
private
|
|
18
|
+
private data;
|
|
19
19
|
private loaded;
|
|
20
20
|
private loadingPromise;
|
|
21
21
|
private lastToken;
|
|
22
22
|
constructor(flowEngine: FlowEngine);
|
|
23
|
+
setData(data: Record<string, any>): void;
|
|
23
24
|
load(): Promise<void>;
|
|
24
25
|
getActionAlias(actionName: string): any;
|
|
25
26
|
inResources(resourceName: string): any;
|
package/lib/acl/Acl.js
CHANGED
|
@@ -34,50 +34,48 @@ const _ACL = class _ACL {
|
|
|
34
34
|
constructor(flowEngine) {
|
|
35
35
|
this.flowEngine = flowEngine;
|
|
36
36
|
}
|
|
37
|
-
|
|
37
|
+
data = {};
|
|
38
38
|
loaded = false;
|
|
39
39
|
loadingPromise = null;
|
|
40
40
|
// 用于识别当前鉴权状态(例如切换登录用户后应重新加载)
|
|
41
41
|
// 记录上一次用于鉴权的 token,用于识别登录态变更
|
|
42
42
|
lastToken = null;
|
|
43
|
+
setData(data) {
|
|
44
|
+
this.data = data;
|
|
45
|
+
}
|
|
43
46
|
async load() {
|
|
44
47
|
var _a, _b, _c, _d;
|
|
45
48
|
const currentToken = ((_d = (_c = (_b = (_a = this.flowEngine) == null ? void 0 : _a.context) == null ? void 0 : _b.api) == null ? void 0 : _c.auth) == null ? void 0 : _d.token) || "";
|
|
46
49
|
if (this.loaded && this.lastToken !== currentToken) {
|
|
47
50
|
this.loaded = false;
|
|
48
51
|
this.loadingPromise = null;
|
|
49
|
-
this.
|
|
50
|
-
}
|
|
51
|
-
if (this.loaded) return;
|
|
52
|
-
if (!this.loadingPromise) {
|
|
53
|
-
this.loadingPromise = (async () => {
|
|
54
|
-
const { data } = await this.flowEngine.context.api.request({
|
|
55
|
-
url: "roles:check"
|
|
56
|
-
});
|
|
57
|
-
this.dataSources = data || {};
|
|
58
|
-
this.loaded = true;
|
|
59
|
-
this.lastToken = currentToken;
|
|
60
|
-
})();
|
|
52
|
+
this.data = {};
|
|
61
53
|
}
|
|
54
|
+
const { data } = await this.flowEngine.context.api.request({
|
|
55
|
+
url: "roles:check"
|
|
56
|
+
});
|
|
57
|
+
this.data = (data == null ? void 0 : data.data) || {};
|
|
58
|
+
this.loaded = true;
|
|
59
|
+
this.lastToken = currentToken;
|
|
62
60
|
await this.loadingPromise;
|
|
63
61
|
}
|
|
64
62
|
getActionAlias(actionName) {
|
|
65
|
-
var _a
|
|
66
|
-
return ((
|
|
63
|
+
var _a;
|
|
64
|
+
return ((_a = this.data.actionAlias) == null ? void 0 : _a[actionName]) || actionName;
|
|
67
65
|
}
|
|
68
66
|
inResources(resourceName) {
|
|
69
|
-
var _a, _b
|
|
70
|
-
return (
|
|
67
|
+
var _a, _b;
|
|
68
|
+
return (_b = (_a = this.data.resources) == null ? void 0 : _a.includes) == null ? void 0 : _b.call(_a, resourceName);
|
|
71
69
|
}
|
|
72
70
|
getResourceActionParams(resourceName, actionName) {
|
|
73
|
-
var _a, _b
|
|
71
|
+
var _a, _b;
|
|
74
72
|
const actionAlias = this.getActionAlias(actionName);
|
|
75
|
-
return ((
|
|
73
|
+
return ((_a = this.data.actions) == null ? void 0 : _a[`${resourceName}:${actionAlias}`]) || ((_b = this.data.actions) == null ? void 0 : _b[actionName]);
|
|
76
74
|
}
|
|
77
75
|
getStrategyActionParams(actionName) {
|
|
78
76
|
var _a, _b, _c;
|
|
79
77
|
const actionAlias = this.getActionAlias(actionName);
|
|
80
|
-
const strategyAction = (_c = (_b = (_a = this.
|
|
78
|
+
const strategyAction = (_c = (_b = (_a = this.data) == null ? void 0 : _a.strategy) == null ? void 0 : _b.actions) == null ? void 0 : _c.find((action) => {
|
|
81
79
|
const [value] = action.split(":");
|
|
82
80
|
return value === actionAlias;
|
|
83
81
|
});
|
|
@@ -106,9 +104,7 @@ const _ACL = class _ACL {
|
|
|
106
104
|
return allowed;
|
|
107
105
|
}
|
|
108
106
|
async aclCheck(options) {
|
|
109
|
-
|
|
110
|
-
const { data } = this.dataSources;
|
|
111
|
-
const { allowAll } = data;
|
|
107
|
+
const { allowAll } = this.data;
|
|
112
108
|
if (allowAll) {
|
|
113
109
|
return true;
|
|
114
110
|
}
|
package/lib/flowEngine.js
CHANGED
|
@@ -392,9 +392,11 @@ const _FlowEngine = class _FlowEngine {
|
|
|
392
392
|
*/
|
|
393
393
|
createModel(options, extra) {
|
|
394
394
|
const { parentId, uid, use: modelClassName, subModels } = options;
|
|
395
|
+
const parentModel = parentId ? this._modelInstances.get(parentId) : void 0;
|
|
395
396
|
const ModelClass = this._resolveModelClass(
|
|
396
397
|
typeof modelClassName === "string" ? this.getModelClass(modelClassName) : modelClassName,
|
|
397
|
-
options
|
|
398
|
+
options,
|
|
399
|
+
parentModel
|
|
398
400
|
);
|
|
399
401
|
if (uid && this._modelInstances.has(uid)) {
|
|
400
402
|
return this._modelInstances.get(uid);
|
|
@@ -431,7 +433,14 @@ const _FlowEngine = class _FlowEngine {
|
|
|
431
433
|
* 按类上的 resolveUse 链路解析最终用于实例化的模型类。
|
|
432
434
|
* 允许模型类根据上下文动态指定实际使用的类,支持多级 resolveUse。
|
|
433
435
|
*/
|
|
434
|
-
_resolveModelClass(initial, options) {
|
|
436
|
+
_resolveModelClass(initial, options, parent) {
|
|
437
|
+
const normalize = /* @__PURE__ */ __name((resolved) => {
|
|
438
|
+
if (!resolved) return {};
|
|
439
|
+
if (typeof resolved === "object" && "use" in resolved) {
|
|
440
|
+
return { target: resolved.use, stop: !!resolved.stop };
|
|
441
|
+
}
|
|
442
|
+
return { target: resolved, stop: false };
|
|
443
|
+
}, "normalize");
|
|
435
444
|
let current = initial;
|
|
436
445
|
const visited = /* @__PURE__ */ new Set();
|
|
437
446
|
while (current) {
|
|
@@ -444,21 +453,24 @@ const _FlowEngine = class _FlowEngine {
|
|
|
444
453
|
if (typeof resolver !== "function") {
|
|
445
454
|
break;
|
|
446
455
|
}
|
|
447
|
-
const
|
|
448
|
-
if (!
|
|
456
|
+
const { target, stop } = normalize(resolver(options, this, parent));
|
|
457
|
+
if (!target || target === current) {
|
|
449
458
|
break;
|
|
450
459
|
}
|
|
451
460
|
let next;
|
|
452
|
-
if (typeof
|
|
453
|
-
next = this.getModelClass(
|
|
461
|
+
if (typeof target === "string") {
|
|
462
|
+
next = this.getModelClass(target);
|
|
454
463
|
if (!next) {
|
|
455
|
-
console.warn(`FlowEngine: resolveUse returned '${
|
|
464
|
+
console.warn(`FlowEngine: resolveUse returned '${target}' but no model is registered under that name.`);
|
|
456
465
|
return void 0;
|
|
457
466
|
}
|
|
458
467
|
} else {
|
|
459
|
-
next =
|
|
468
|
+
next = target;
|
|
460
469
|
}
|
|
461
470
|
current = next;
|
|
471
|
+
if (stop) {
|
|
472
|
+
break;
|
|
473
|
+
}
|
|
462
474
|
}
|
|
463
475
|
return current;
|
|
464
476
|
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Add": "Add",
|
|
3
|
+
"Are you sure you want to delete this item? This action cannot be undone.": "Are you sure you want to delete this item? This action cannot be undone.",
|
|
4
|
+
"Array index out of bounds": "Array index {{index}} out of bounds for '{{subKey}}'",
|
|
5
|
+
"Cancel": "Cancel",
|
|
6
|
+
"Common actions": "Common actions",
|
|
7
|
+
"Complete configuration": "Complete configuration",
|
|
8
|
+
"Configuration": "Configuration",
|
|
9
|
+
"Configuration popup cancelled or error": "Configuration popup cancelled or error",
|
|
10
|
+
"Configuration saved": "Configuration saved",
|
|
11
|
+
"Confirm delete": "Confirm delete",
|
|
12
|
+
"Copy UID": "Copy UID",
|
|
13
|
+
"Copy error info": "Copy error info",
|
|
14
|
+
"Copy failed": "Copy failed",
|
|
15
|
+
"Copy failed under HTTP. Clipboard API is unavailable on non-HTTPS pages. Please copy [{{uid}}] manually.": "Copy failed under HTTP. Clipboard API is unavailable on non-HTTPS pages. Please copy [{{uid}}] manually.",
|
|
16
|
+
"Copy failed, please copy [{{uid}}] manually.": "Copy failed, please copy [{{uid}}] manually.",
|
|
17
|
+
"Copy popup UID": "Copy popup UID",
|
|
18
|
+
"Data blocks": "Data blocks",
|
|
19
|
+
"Delete": "Delete",
|
|
20
|
+
"Delete failed": "Delete failed",
|
|
21
|
+
"Delete operation failed": "Delete operation failed",
|
|
22
|
+
"Delete operation failed, please check the console for details.": "Delete operation failed, please check the console for details.",
|
|
23
|
+
"Download logs": "Download logs",
|
|
24
|
+
"Drawer API is not available, please ensure it is used within FlowEngineGlobalsContextProvider": "Drawer API is not available, please ensure it is used within FlowEngineGlobalsContextProvider",
|
|
25
|
+
"Error saving configuration": "Error saving configuration",
|
|
26
|
+
"Error saving configuration, please check console": "Error saving configuration, please check console",
|
|
27
|
+
"Error submitting form": "Error submitting form",
|
|
28
|
+
"Expected array for subModel": "Expected array for '{{subKey}}', got {{type}}",
|
|
29
|
+
"Expected object for subModel": "Expected object for '{{subKey}}', got array",
|
|
30
|
+
"Failed to add sub model": "Failed to add sub model",
|
|
31
|
+
"Failed to destroy model after creation error": "Failed to destroy model after creation error",
|
|
32
|
+
"Failed to get action {{action}}": "Failed to get action {{action}}",
|
|
33
|
+
"Failed to get configurable flows for model {{model}}": "Failed to get configurable flows for model {{model}}",
|
|
34
|
+
"Failed to import FormDialog": "Failed to import FormDialog",
|
|
35
|
+
"Failed to import FormDialog or FormStep": "Failed to import FormDialog or FormStep",
|
|
36
|
+
"Failed to import Formily components": "Failed to import Formily components",
|
|
37
|
+
"Feedback": "Feedback",
|
|
38
|
+
"Filter blocks": "Filter blocks",
|
|
39
|
+
"Flow with key {{flowKey}} not found": "Flow with key {{flowKey}} not found",
|
|
40
|
+
"Form validation failed": "Form validation failed",
|
|
41
|
+
"Invalid input parameters": "Invalid input parameters",
|
|
42
|
+
"Invalid model provided": "Invalid model provided",
|
|
43
|
+
"Invalid subModelKey format": "Invalid subModelKey format: {{subModelKey}}",
|
|
44
|
+
"Model with ID {{uid}} not found": "Model with ID {{uid}} not found",
|
|
45
|
+
"Name": "Name",
|
|
46
|
+
"Next step": "Next step",
|
|
47
|
+
"No createModelOptions found for item": "No createModelOptions found for item",
|
|
48
|
+
"OK": "OK",
|
|
49
|
+
"Other blocks": "Other blocks",
|
|
50
|
+
"Previous step": "Previous step",
|
|
51
|
+
"Render failed": "Render failed",
|
|
52
|
+
"Step configuration": "Step configuration",
|
|
53
|
+
"Step parameter configuration": "Step parameter configuration",
|
|
54
|
+
"Step with key {{stepKey}} not found": "Step with key {{stepKey}} not found",
|
|
55
|
+
"Submodel not found": "Submodel '{{subKey}}' not found",
|
|
56
|
+
"This is likely a NocoBase internals bug. Please open an issue at": "This is likely a NocoBase internals bug. Please open an issue at",
|
|
57
|
+
"This step has no configurable parameters": "This step has no configurable parameters",
|
|
58
|
+
"This variable is not available": "This variable is not available",
|
|
59
|
+
"Try again": "Try again",
|
|
60
|
+
"UID copied to clipboard": "UID copied to clipboard",
|
|
61
|
+
"createModelOptions must specify use property": "createModelOptions must specify \"use\" property",
|
|
62
|
+
"here": "here"
|
|
63
|
+
}
|
package/lib/locale/en-US.json
CHANGED
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"Configuration": "Configuration",
|
|
6
|
-
"Step configuration": "Step configuration",
|
|
7
|
-
"This step has no configurable parameters": "This step has no configurable parameters",
|
|
8
|
-
"Failed to import Formily components": "Failed to import Formily components",
|
|
9
|
-
"Drawer API is not available, please ensure it is used within FlowEngineGlobalsContextProvider": "Drawer API is not available, please ensure it is used within FlowEngineGlobalsContextProvider",
|
|
10
|
-
"Configuration saved": "Configuration saved",
|
|
11
|
-
"Error saving configuration": "Error saving configuration",
|
|
12
|
-
"Error saving configuration, please check console": "Error saving configuration, please check console",
|
|
13
|
-
"Failed to import FormDialog": "Failed to import FormDialog",
|
|
14
|
-
"OK": "OK",
|
|
2
|
+
"Add": "Add",
|
|
3
|
+
"Are you sure you want to delete this item? This action cannot be undone.": "Are you sure you want to delete this item? This action cannot be undone.",
|
|
4
|
+
"Array index out of bounds": "Array index {{index}} out of bounds for '{{subKey}}'",
|
|
15
5
|
"Cancel": "Cancel",
|
|
16
|
-
"
|
|
17
|
-
"Error submitting form": "Error submitting form",
|
|
6
|
+
"Common actions": "Common actions",
|
|
18
7
|
"Complete configuration": "Complete configuration",
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"UID
|
|
8
|
+
"Configuration": "Configuration",
|
|
9
|
+
"Configuration popup cancelled or error": "Configuration popup cancelled or error",
|
|
10
|
+
"Configuration saved": "Configuration saved",
|
|
11
|
+
"Confirm delete": "Confirm delete",
|
|
12
|
+
"Copy UID": "Copy UID",
|
|
13
|
+
"Copy error info": "Copy error info",
|
|
24
14
|
"Copy failed": "Copy failed",
|
|
25
|
-
"Copy failed, please copy [{{uid}}] manually.": "Copy failed, please copy [{{uid}}] manually.",
|
|
26
15
|
"Copy failed under HTTP. Clipboard API is unavailable on non-HTTPS pages. Please copy [{{uid}}] manually.": "Copy failed under HTTP. Clipboard API is unavailable on non-HTTPS pages. Please copy [{{uid}}] manually.",
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
16
|
+
"Copy failed, please copy [{{uid}}] manually.": "Copy failed, please copy [{{uid}}] manually.",
|
|
17
|
+
"Copy popup UID": "Copy popup UID",
|
|
18
|
+
"Data blocks": "Data blocks",
|
|
19
|
+
"Delete": "Delete",
|
|
30
20
|
"Delete failed": "Delete failed",
|
|
21
|
+
"Delete operation failed": "Delete operation failed",
|
|
31
22
|
"Delete operation failed, please check the console for details.": "Delete operation failed, please check the console for details.",
|
|
32
|
-
"
|
|
23
|
+
"Download logs": "Download logs",
|
|
24
|
+
"Drawer API is not available, please ensure it is used within FlowEngineGlobalsContextProvider": "Drawer API is not available, please ensure it is used within FlowEngineGlobalsContextProvider",
|
|
25
|
+
"Error saving configuration": "Error saving configuration",
|
|
26
|
+
"Error saving configuration, please check console": "Error saving configuration, please check console",
|
|
27
|
+
"Error submitting form": "Error submitting form",
|
|
28
|
+
"Expected array for subModel": "Expected array for '{{subKey}}', got {{type}}",
|
|
29
|
+
"Expected object for subModel": "Expected object for '{{subKey}}', got array",
|
|
30
|
+
"Failed to add sub model": "Failed to add sub model",
|
|
31
|
+
"Failed to destroy model after creation error": "Failed to destroy model after creation error",
|
|
33
32
|
"Failed to get action {{action}}": "Failed to get action {{action}}",
|
|
34
33
|
"Failed to get configurable flows for model {{model}}": "Failed to get configurable flows for model {{model}}",
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"here": "here",
|
|
39
|
-
"Render failed": "Render failed",
|
|
34
|
+
"Failed to import FormDialog": "Failed to import FormDialog",
|
|
35
|
+
"Failed to import FormDialog or FormStep": "Failed to import FormDialog or FormStep",
|
|
36
|
+
"Failed to import Formily components": "Failed to import Formily components",
|
|
40
37
|
"Feedback": "Feedback",
|
|
41
|
-
"Download logs": "Download logs",
|
|
42
|
-
"Copy error info": "Copy error info",
|
|
43
|
-
"Try again": "Try again",
|
|
44
|
-
"Data blocks": "Data blocks",
|
|
45
38
|
"Filter blocks": "Filter blocks",
|
|
46
|
-
"
|
|
39
|
+
"Flow with key {{flowKey}} not found": "Flow with key {{flowKey}} not found",
|
|
40
|
+
"Form validation failed": "Form validation failed",
|
|
47
41
|
"Invalid input parameters": "Invalid input parameters",
|
|
42
|
+
"Invalid model provided": "Invalid model provided",
|
|
48
43
|
"Invalid subModelKey format": "Invalid subModelKey format: {{subModelKey}}",
|
|
49
|
-
"Submodel not found": "Submodel '{{subKey}}' not found",
|
|
50
|
-
"Expected array for subModel": "Expected array for '{{subKey}}', got {{type}}",
|
|
51
|
-
"Array index out of bounds": "Array index {{index}} out of bounds for '{{subKey}}'",
|
|
52
|
-
"Expected object for subModel": "Expected object for '{{subKey}}', got array",
|
|
53
|
-
"No createModelOptions found for item": "No createModelOptions found for item",
|
|
54
|
-
"createModelOptions must specify use property": "createModelOptions must specify \"use\" property",
|
|
55
|
-
"Failed to add sub model": "Failed to add sub model",
|
|
56
|
-
"Failed to destroy model after creation error": "Failed to destroy model after creation error",
|
|
57
|
-
"Add": "Add",
|
|
58
|
-
"Name": "Name",
|
|
59
44
|
"Model with ID {{uid}} not found": "Model with ID {{uid}} not found",
|
|
60
|
-
"
|
|
45
|
+
"Name": "Name",
|
|
46
|
+
"Next step": "Next step",
|
|
47
|
+
"No createModelOptions found for item": "No createModelOptions found for item",
|
|
48
|
+
"OK": "OK",
|
|
49
|
+
"Other blocks": "Other blocks",
|
|
50
|
+
"Previous step": "Previous step",
|
|
51
|
+
"Render failed": "Render failed",
|
|
52
|
+
"Step configuration": "Step configuration",
|
|
53
|
+
"Step parameter configuration": "Step parameter configuration",
|
|
54
|
+
"Step with key {{stepKey}} not found": "Step with key {{stepKey}} not found",
|
|
55
|
+
"Submodel not found": "Submodel '{{subKey}}' not found",
|
|
56
|
+
"This is likely a NocoBase internals bug. Please open an issue at": "This is likely a NocoBase internals bug. Please open an issue at",
|
|
57
|
+
"This step has no configurable parameters": "This step has no configurable parameters",
|
|
61
58
|
"This variable is not available": "This variable is not available",
|
|
62
|
-
"
|
|
63
|
-
|
|
59
|
+
"Try again": "Try again",
|
|
60
|
+
"UID copied to clipboard": "UID copied to clipboard",
|
|
61
|
+
"createModelOptions must specify use property": "createModelOptions must specify \"use\" property",
|
|
62
|
+
"here": "here"
|
|
63
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Add": "Add",
|
|
3
|
+
"Are you sure you want to delete this item? This action cannot be undone.": "Are you sure you want to delete this item? This action cannot be undone.",
|
|
4
|
+
"Array index out of bounds": "Array index {{index}} out of bounds for '{{subKey}}'",
|
|
5
|
+
"Cancel": "Cancel",
|
|
6
|
+
"Common actions": "Common actions",
|
|
7
|
+
"Complete configuration": "Complete configuration",
|
|
8
|
+
"Configuration": "Configuration",
|
|
9
|
+
"Configuration popup cancelled or error": "Configuration popup cancelled or error",
|
|
10
|
+
"Configuration saved": "Configuration saved",
|
|
11
|
+
"Confirm delete": "Confirm delete",
|
|
12
|
+
"Copy UID": "Copy UID",
|
|
13
|
+
"Copy error info": "Copy error info",
|
|
14
|
+
"Copy failed": "Copy failed",
|
|
15
|
+
"Copy failed under HTTP. Clipboard API is unavailable on non-HTTPS pages. Please copy [{{uid}}] manually.": "Copy failed under HTTP. Clipboard API is unavailable on non-HTTPS pages. Please copy [{{uid}}] manually.",
|
|
16
|
+
"Copy failed, please copy [{{uid}}] manually.": "Copy failed, please copy [{{uid}}] manually.",
|
|
17
|
+
"Copy popup UID": "Copy popup UID",
|
|
18
|
+
"Data blocks": "Data blocks",
|
|
19
|
+
"Delete": "Delete",
|
|
20
|
+
"Delete failed": "Delete failed",
|
|
21
|
+
"Delete operation failed": "Delete operation failed",
|
|
22
|
+
"Delete operation failed, please check the console for details.": "Delete operation failed, please check the console for details.",
|
|
23
|
+
"Download logs": "Download logs",
|
|
24
|
+
"Drawer API is not available, please ensure it is used within FlowEngineGlobalsContextProvider": "Drawer API is not available, please ensure it is used within FlowEngineGlobalsContextProvider",
|
|
25
|
+
"Error saving configuration": "Error saving configuration",
|
|
26
|
+
"Error saving configuration, please check console": "Error saving configuration, please check console",
|
|
27
|
+
"Error submitting form": "Error submitting form",
|
|
28
|
+
"Expected array for subModel": "Expected array for '{{subKey}}', got {{type}}",
|
|
29
|
+
"Expected object for subModel": "Expected object for '{{subKey}}', got array",
|
|
30
|
+
"Failed to add sub model": "Failed to add sub model",
|
|
31
|
+
"Failed to destroy model after creation error": "Failed to destroy model after creation error",
|
|
32
|
+
"Failed to get action {{action}}": "Failed to get action {{action}}",
|
|
33
|
+
"Failed to get configurable flows for model {{model}}": "Failed to get configurable flows for model {{model}}",
|
|
34
|
+
"Failed to import FormDialog": "Failed to import FormDialog",
|
|
35
|
+
"Failed to import FormDialog or FormStep": "Failed to import FormDialog or FormStep",
|
|
36
|
+
"Failed to import Formily components": "Failed to import Formily components",
|
|
37
|
+
"Feedback": "Feedback",
|
|
38
|
+
"Filter blocks": "Filter blocks",
|
|
39
|
+
"Flow with key {{flowKey}} not found": "Flow with key {{flowKey}} not found",
|
|
40
|
+
"Form validation failed": "Form validation failed",
|
|
41
|
+
"Invalid input parameters": "Invalid input parameters",
|
|
42
|
+
"Invalid model provided": "Invalid model provided",
|
|
43
|
+
"Invalid subModelKey format": "Invalid subModelKey format: {{subModelKey}}",
|
|
44
|
+
"Model with ID {{uid}} not found": "Model with ID {{uid}} not found",
|
|
45
|
+
"Name": "Name",
|
|
46
|
+
"Next step": "Next step",
|
|
47
|
+
"No createModelOptions found for item": "No createModelOptions found for item",
|
|
48
|
+
"OK": "OK",
|
|
49
|
+
"Other blocks": "Other blocks",
|
|
50
|
+
"Previous step": "Previous step",
|
|
51
|
+
"Render failed": "Render failed",
|
|
52
|
+
"Step configuration": "Step configuration",
|
|
53
|
+
"Step parameter configuration": "Step parameter configuration",
|
|
54
|
+
"Step with key {{stepKey}} not found": "Step with key {{stepKey}} not found",
|
|
55
|
+
"Submodel not found": "Submodel '{{subKey}}' not found",
|
|
56
|
+
"This is likely a NocoBase internals bug. Please open an issue at": "This is likely a NocoBase internals bug. Please open an issue at",
|
|
57
|
+
"This step has no configurable parameters": "This step has no configurable parameters",
|
|
58
|
+
"This variable is not available": "This variable is not available",
|
|
59
|
+
"Try again": "Try again",
|
|
60
|
+
"UID copied to clipboard": "UID copied to clipboard",
|
|
61
|
+
"createModelOptions must specify use property": "createModelOptions must specify \"use\" property",
|
|
62
|
+
"here": "here"
|
|
63
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Add": "Add",
|
|
3
|
+
"Are you sure you want to delete this item? This action cannot be undone.": "Are you sure you want to delete this item? This action cannot be undone.",
|
|
4
|
+
"Array index out of bounds": "Array index {{index}} out of bounds for '{{subKey}}'",
|
|
5
|
+
"Cancel": "Cancel",
|
|
6
|
+
"Common actions": "Common actions",
|
|
7
|
+
"Complete configuration": "Complete configuration",
|
|
8
|
+
"Configuration": "Configuration",
|
|
9
|
+
"Configuration popup cancelled or error": "Configuration popup cancelled or error",
|
|
10
|
+
"Configuration saved": "Configuration saved",
|
|
11
|
+
"Confirm delete": "Confirm delete",
|
|
12
|
+
"Copy UID": "Copy UID",
|
|
13
|
+
"Copy error info": "Copy error info",
|
|
14
|
+
"Copy failed": "Copy failed",
|
|
15
|
+
"Copy failed under HTTP. Clipboard API is unavailable on non-HTTPS pages. Please copy [{{uid}}] manually.": "Copy failed under HTTP. Clipboard API is unavailable on non-HTTPS pages. Please copy [{{uid}}] manually.",
|
|
16
|
+
"Copy failed, please copy [{{uid}}] manually.": "Copy failed, please copy [{{uid}}] manually.",
|
|
17
|
+
"Copy popup UID": "Copy popup UID",
|
|
18
|
+
"Data blocks": "Data blocks",
|
|
19
|
+
"Delete": "Delete",
|
|
20
|
+
"Delete failed": "Delete failed",
|
|
21
|
+
"Delete operation failed": "Delete operation failed",
|
|
22
|
+
"Delete operation failed, please check the console for details.": "Delete operation failed, please check the console for details.",
|
|
23
|
+
"Download logs": "Download logs",
|
|
24
|
+
"Drawer API is not available, please ensure it is used within FlowEngineGlobalsContextProvider": "Drawer API is not available, please ensure it is used within FlowEngineGlobalsContextProvider",
|
|
25
|
+
"Error saving configuration": "Error saving configuration",
|
|
26
|
+
"Error saving configuration, please check console": "Error saving configuration, please check console",
|
|
27
|
+
"Error submitting form": "Error submitting form",
|
|
28
|
+
"Expected array for subModel": "Expected array for '{{subKey}}', got {{type}}",
|
|
29
|
+
"Expected object for subModel": "Expected object for '{{subKey}}', got array",
|
|
30
|
+
"Failed to add sub model": "Failed to add sub model",
|
|
31
|
+
"Failed to destroy model after creation error": "Failed to destroy model after creation error",
|
|
32
|
+
"Failed to get action {{action}}": "Failed to get action {{action}}",
|
|
33
|
+
"Failed to get configurable flows for model {{model}}": "Failed to get configurable flows for model {{model}}",
|
|
34
|
+
"Failed to import FormDialog": "Failed to import FormDialog",
|
|
35
|
+
"Failed to import FormDialog or FormStep": "Failed to import FormDialog or FormStep",
|
|
36
|
+
"Failed to import Formily components": "Failed to import Formily components",
|
|
37
|
+
"Feedback": "Feedback",
|
|
38
|
+
"Filter blocks": "Filter blocks",
|
|
39
|
+
"Flow with key {{flowKey}} not found": "Flow with key {{flowKey}} not found",
|
|
40
|
+
"Form validation failed": "Form validation failed",
|
|
41
|
+
"Invalid input parameters": "Invalid input parameters",
|
|
42
|
+
"Invalid model provided": "Invalid model provided",
|
|
43
|
+
"Invalid subModelKey format": "Invalid subModelKey format: {{subModelKey}}",
|
|
44
|
+
"Model with ID {{uid}} not found": "Model with ID {{uid}} not found",
|
|
45
|
+
"Name": "Name",
|
|
46
|
+
"Next step": "Next step",
|
|
47
|
+
"No createModelOptions found for item": "No createModelOptions found for item",
|
|
48
|
+
"OK": "OK",
|
|
49
|
+
"Other blocks": "Other blocks",
|
|
50
|
+
"Previous step": "Previous step",
|
|
51
|
+
"Render failed": "Render failed",
|
|
52
|
+
"Step configuration": "Step configuration",
|
|
53
|
+
"Step parameter configuration": "Step parameter configuration",
|
|
54
|
+
"Step with key {{stepKey}} not found": "Step with key {{stepKey}} not found",
|
|
55
|
+
"Submodel not found": "Submodel '{{subKey}}' not found",
|
|
56
|
+
"This is likely a NocoBase internals bug. Please open an issue at": "This is likely a NocoBase internals bug. Please open an issue at",
|
|
57
|
+
"This step has no configurable parameters": "This step has no configurable parameters",
|
|
58
|
+
"This variable is not available": "This variable is not available",
|
|
59
|
+
"Try again": "Try again",
|
|
60
|
+
"UID copied to clipboard": "UID copied to clipboard",
|
|
61
|
+
"createModelOptions must specify use property": "createModelOptions must specify \"use\" property",
|
|
62
|
+
"here": "here"
|
|
63
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Add": "Add",
|
|
3
|
+
"Are you sure you want to delete this item? This action cannot be undone.": "Are you sure you want to delete this item? This action cannot be undone.",
|
|
4
|
+
"Array index out of bounds": "Array index {{index}} out of bounds for '{{subKey}}'",
|
|
5
|
+
"Cancel": "Cancel",
|
|
6
|
+
"Common actions": "Common actions",
|
|
7
|
+
"Complete configuration": "Complete configuration",
|
|
8
|
+
"Configuration": "Configuration",
|
|
9
|
+
"Configuration popup cancelled or error": "Configuration popup cancelled or error",
|
|
10
|
+
"Configuration saved": "Configuration saved",
|
|
11
|
+
"Confirm delete": "Confirm delete",
|
|
12
|
+
"Copy UID": "Copy UID",
|
|
13
|
+
"Copy error info": "Copy error info",
|
|
14
|
+
"Copy failed": "Copy failed",
|
|
15
|
+
"Copy failed under HTTP. Clipboard API is unavailable on non-HTTPS pages. Please copy [{{uid}}] manually.": "Copy failed under HTTP. Clipboard API is unavailable on non-HTTPS pages. Please copy [{{uid}}] manually.",
|
|
16
|
+
"Copy failed, please copy [{{uid}}] manually.": "Copy failed, please copy [{{uid}}] manually.",
|
|
17
|
+
"Copy popup UID": "Copy popup UID",
|
|
18
|
+
"Data blocks": "Data blocks",
|
|
19
|
+
"Delete": "Delete",
|
|
20
|
+
"Delete failed": "Delete failed",
|
|
21
|
+
"Delete operation failed": "Delete operation failed",
|
|
22
|
+
"Delete operation failed, please check the console for details.": "Delete operation failed, please check the console for details.",
|
|
23
|
+
"Download logs": "Download logs",
|
|
24
|
+
"Drawer API is not available, please ensure it is used within FlowEngineGlobalsContextProvider": "Drawer API is not available, please ensure it is used within FlowEngineGlobalsContextProvider",
|
|
25
|
+
"Error saving configuration": "Error saving configuration",
|
|
26
|
+
"Error saving configuration, please check console": "Error saving configuration, please check console",
|
|
27
|
+
"Error submitting form": "Error submitting form",
|
|
28
|
+
"Expected array for subModel": "Expected array for '{{subKey}}', got {{type}}",
|
|
29
|
+
"Expected object for subModel": "Expected object for '{{subKey}}', got array",
|
|
30
|
+
"Failed to add sub model": "Failed to add sub model",
|
|
31
|
+
"Failed to destroy model after creation error": "Failed to destroy model after creation error",
|
|
32
|
+
"Failed to get action {{action}}": "Failed to get action {{action}}",
|
|
33
|
+
"Failed to get configurable flows for model {{model}}": "Failed to get configurable flows for model {{model}}",
|
|
34
|
+
"Failed to import FormDialog": "Failed to import FormDialog",
|
|
35
|
+
"Failed to import FormDialog or FormStep": "Failed to import FormDialog or FormStep",
|
|
36
|
+
"Failed to import Formily components": "Failed to import Formily components",
|
|
37
|
+
"Feedback": "Feedback",
|
|
38
|
+
"Filter blocks": "Filter blocks",
|
|
39
|
+
"Flow with key {{flowKey}} not found": "Flow with key {{flowKey}} not found",
|
|
40
|
+
"Form validation failed": "Form validation failed",
|
|
41
|
+
"Invalid input parameters": "Invalid input parameters",
|
|
42
|
+
"Invalid model provided": "Invalid model provided",
|
|
43
|
+
"Invalid subModelKey format": "Invalid subModelKey format: {{subModelKey}}",
|
|
44
|
+
"Model with ID {{uid}} not found": "Model with ID {{uid}} not found",
|
|
45
|
+
"Name": "Name",
|
|
46
|
+
"Next step": "Next step",
|
|
47
|
+
"No createModelOptions found for item": "No createModelOptions found for item",
|
|
48
|
+
"OK": "OK",
|
|
49
|
+
"Other blocks": "Other blocks",
|
|
50
|
+
"Previous step": "Previous step",
|
|
51
|
+
"Render failed": "Render failed",
|
|
52
|
+
"Step configuration": "Step configuration",
|
|
53
|
+
"Step parameter configuration": "Step parameter configuration",
|
|
54
|
+
"Step with key {{stepKey}} not found": "Step with key {{stepKey}} not found",
|
|
55
|
+
"Submodel not found": "Submodel '{{subKey}}' not found",
|
|
56
|
+
"This is likely a NocoBase internals bug. Please open an issue at": "This is likely a NocoBase internals bug. Please open an issue at",
|
|
57
|
+
"This step has no configurable parameters": "This step has no configurable parameters",
|
|
58
|
+
"This variable is not available": "This variable is not available",
|
|
59
|
+
"Try again": "Try again",
|
|
60
|
+
"UID copied to clipboard": "UID copied to clipboard",
|
|
61
|
+
"createModelOptions must specify use property": "createModelOptions must specify \"use\" property",
|
|
62
|
+
"here": "here"
|
|
63
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Add": "Add",
|
|
3
|
+
"Are you sure you want to delete this item? This action cannot be undone.": "Are you sure you want to delete this item? This action cannot be undone.",
|
|
4
|
+
"Array index out of bounds": "Array index {{index}} out of bounds for '{{subKey}}'",
|
|
5
|
+
"Cancel": "Cancel",
|
|
6
|
+
"Common actions": "Common actions",
|
|
7
|
+
"Complete configuration": "Complete configuration",
|
|
8
|
+
"Configuration": "Configuration",
|
|
9
|
+
"Configuration popup cancelled or error": "Configuration popup cancelled or error",
|
|
10
|
+
"Configuration saved": "Configuration saved",
|
|
11
|
+
"Confirm delete": "Confirm delete",
|
|
12
|
+
"Copy UID": "Copy UID",
|
|
13
|
+
"Copy error info": "Copy error info",
|
|
14
|
+
"Copy failed": "Copy failed",
|
|
15
|
+
"Copy failed under HTTP. Clipboard API is unavailable on non-HTTPS pages. Please copy [{{uid}}] manually.": "Copy failed under HTTP. Clipboard API is unavailable on non-HTTPS pages. Please copy [{{uid}}] manually.",
|
|
16
|
+
"Copy failed, please copy [{{uid}}] manually.": "Copy failed, please copy [{{uid}}] manually.",
|
|
17
|
+
"Copy popup UID": "Copy popup UID",
|
|
18
|
+
"Data blocks": "Data blocks",
|
|
19
|
+
"Delete": "Delete",
|
|
20
|
+
"Delete failed": "Delete failed",
|
|
21
|
+
"Delete operation failed": "Delete operation failed",
|
|
22
|
+
"Delete operation failed, please check the console for details.": "Delete operation failed, please check the console for details.",
|
|
23
|
+
"Download logs": "Download logs",
|
|
24
|
+
"Drawer API is not available, please ensure it is used within FlowEngineGlobalsContextProvider": "Drawer API is not available, please ensure it is used within FlowEngineGlobalsContextProvider",
|
|
25
|
+
"Error saving configuration": "Error saving configuration",
|
|
26
|
+
"Error saving configuration, please check console": "Error saving configuration, please check console",
|
|
27
|
+
"Error submitting form": "Error submitting form",
|
|
28
|
+
"Expected array for subModel": "Expected array for '{{subKey}}', got {{type}}",
|
|
29
|
+
"Expected object for subModel": "Expected object for '{{subKey}}', got array",
|
|
30
|
+
"Failed to add sub model": "Failed to add sub model",
|
|
31
|
+
"Failed to destroy model after creation error": "Failed to destroy model after creation error",
|
|
32
|
+
"Failed to get action {{action}}": "Failed to get action {{action}}",
|
|
33
|
+
"Failed to get configurable flows for model {{model}}": "Failed to get configurable flows for model {{model}}",
|
|
34
|
+
"Failed to import FormDialog": "Failed to import FormDialog",
|
|
35
|
+
"Failed to import FormDialog or FormStep": "Failed to import FormDialog or FormStep",
|
|
36
|
+
"Failed to import Formily components": "Failed to import Formily components",
|
|
37
|
+
"Feedback": "Feedback",
|
|
38
|
+
"Filter blocks": "Filter blocks",
|
|
39
|
+
"Flow with key {{flowKey}} not found": "Flow with key {{flowKey}} not found",
|
|
40
|
+
"Form validation failed": "Form validation failed",
|
|
41
|
+
"Invalid input parameters": "Invalid input parameters",
|
|
42
|
+
"Invalid model provided": "Invalid model provided",
|
|
43
|
+
"Invalid subModelKey format": "Invalid subModelKey format: {{subModelKey}}",
|
|
44
|
+
"Model with ID {{uid}} not found": "Model with ID {{uid}} not found",
|
|
45
|
+
"Name": "Name",
|
|
46
|
+
"Next step": "Next step",
|
|
47
|
+
"No createModelOptions found for item": "No createModelOptions found for item",
|
|
48
|
+
"OK": "OK",
|
|
49
|
+
"Other blocks": "Other blocks",
|
|
50
|
+
"Previous step": "Previous step",
|
|
51
|
+
"Render failed": "Render failed",
|
|
52
|
+
"Step configuration": "Step configuration",
|
|
53
|
+
"Step parameter configuration": "Step parameter configuration",
|
|
54
|
+
"Step with key {{stepKey}} not found": "Step with key {{stepKey}} not found",
|
|
55
|
+
"Submodel not found": "Submodel '{{subKey}}' not found",
|
|
56
|
+
"This is likely a NocoBase internals bug. Please open an issue at": "This is likely a NocoBase internals bug. Please open an issue at",
|
|
57
|
+
"This step has no configurable parameters": "This step has no configurable parameters",
|
|
58
|
+
"This variable is not available": "This variable is not available",
|
|
59
|
+
"Try again": "Try again",
|
|
60
|
+
"UID copied to clipboard": "UID copied to clipboard",
|
|
61
|
+
"createModelOptions must specify use property": "createModelOptions must specify \"use\" property",
|
|
62
|
+
"here": "here"
|
|
63
|
+
}
|