@nocobase/plugin-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/dist/externalVersion.js +9 -9
- package/dist/locale/de-DE.json +63 -0
- package/dist/locale/en-US.json +48 -48
- package/dist/locale/es-ES.json +63 -0
- package/dist/locale/fr-FR.json +63 -0
- package/dist/locale/hu-HU.json +63 -0
- package/dist/locale/id-ID.json +63 -0
- package/dist/locale/index.d.ts +94 -94
- package/dist/locale/it-IT.json +63 -0
- package/dist/locale/ja-JP.json +63 -0
- package/dist/locale/ko-KR.json +63 -0
- package/dist/locale/nl-NL.json +63 -0
- package/dist/locale/pt-BR.json +63 -0
- package/dist/locale/ru-RU.json +63 -0
- package/dist/locale/tr-TR.json +63 -0
- package/dist/locale/uk-UA.json +63 -0
- package/dist/locale/vi-VN.json +63 -0
- package/dist/locale/zh-CN.json +48 -48
- package/dist/locale/zh-TW.json +63 -0
- package/dist/node_modules/ses/package.json +1 -1
- package/dist/server/variables/registry.js +24 -7
- package/package.json +2 -2
|
@@ -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
|
+
}
|
package/dist/locale/zh-CN.json
CHANGED
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"Configuration": "配置",
|
|
6
|
-
"Step configuration": "步骤配置",
|
|
7
|
-
"This step has no configurable parameters": "此步骤没有可配置的参数",
|
|
8
|
-
"Failed to import Formily components": "导入 Formily 组件失败",
|
|
9
|
-
"Drawer API is not available, please ensure it is used within FlowEngineGlobalsContextProvider": "抽屉 API 不可用,请确保在 FlowEngineGlobalsContextProvider 中使用",
|
|
10
|
-
"Configuration saved": "配置已保存",
|
|
11
|
-
"Error saving configuration": "保存配置时出错",
|
|
12
|
-
"Error saving configuration, please check console": "保存配置时出错,请检查控制台",
|
|
13
|
-
"Failed to import FormDialog": "导入 FormDialog 失败",
|
|
14
|
-
"OK": "确定",
|
|
2
|
+
"Add": "添加",
|
|
3
|
+
"Are you sure you want to delete this item? This action cannot be undone.": "确定要删除此项吗?此操作不可撤销。",
|
|
4
|
+
"Array index out of bounds": "数组索引 {{index}} 超出 '{{subKey}}' 的边界",
|
|
15
5
|
"Cancel": "取消",
|
|
16
|
-
"
|
|
17
|
-
"Error submitting form": "提交表单时出错",
|
|
6
|
+
"Common actions": "通用操作",
|
|
18
7
|
"Complete configuration": "完成配置",
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"UID
|
|
8
|
+
"Configuration": "配置",
|
|
9
|
+
"Configuration popup cancelled or error": "配置弹窗已取消或出错",
|
|
10
|
+
"Configuration saved": "配置已保存",
|
|
11
|
+
"Confirm delete": "确认删除",
|
|
12
|
+
"Copy UID": "复制 UID",
|
|
13
|
+
"Copy error info": "复制错误信息",
|
|
24
14
|
"Copy failed": "复制失败",
|
|
25
|
-
"Copy failed, please copy [{{uid}}] manually.": "复制失败,请手动复制 [{{uid}}]。",
|
|
26
15
|
"Copy failed under HTTP. Clipboard API is unavailable on non-HTTPS pages. Please copy [{{uid}}] manually.": "HTTP 环境下复制失败。非 HTTPS 页面不支持剪贴板 API,请手动复制 [{{uid}}]。",
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
16
|
+
"Copy failed, please copy [{{uid}}] manually.": "复制失败,请手动复制 [{{uid}}]。",
|
|
17
|
+
"Copy popup UID": "复制弹窗 UID",
|
|
18
|
+
"Data blocks": "数据区块",
|
|
19
|
+
"Delete": "删除",
|
|
30
20
|
"Delete failed": "删除失败",
|
|
21
|
+
"Delete operation failed": "删除操作失败",
|
|
31
22
|
"Delete operation failed, please check the console for details.": "删除操作失败,请检查控制台获取详细信息。",
|
|
32
|
-
"
|
|
23
|
+
"Download logs": "下载日志",
|
|
24
|
+
"Drawer API is not available, please ensure it is used within FlowEngineGlobalsContextProvider": "抽屉 API 不可用,请确保在 FlowEngineGlobalsContextProvider 中使用",
|
|
25
|
+
"Error saving configuration": "保存配置时出错",
|
|
26
|
+
"Error saving configuration, please check console": "保存配置时出错,请检查控制台",
|
|
27
|
+
"Error submitting form": "提交表单时出错",
|
|
28
|
+
"Expected array for subModel": "期望 '{{subKey}}' 为数组,实际为 {{type}}",
|
|
29
|
+
"Expected object for subModel": "期望 '{{subKey}}' 为对象,实际为数组",
|
|
30
|
+
"Failed to add sub model": "添加子模型失败",
|
|
31
|
+
"Failed to destroy model after creation error": "创建错误后销毁模型失败",
|
|
33
32
|
"Failed to get action {{action}}": "获取 action '{{action}}' 失败",
|
|
34
33
|
"Failed to get configurable flows for model {{model}}": "获取模型 '{{model}}' 的可配置 flows 失败",
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"here": "这里",
|
|
39
|
-
"Render failed": "渲染失败",
|
|
34
|
+
"Failed to import FormDialog": "导入 FormDialog 失败",
|
|
35
|
+
"Failed to import FormDialog or FormStep": "导入 FormDialog 或 FormStep 失败",
|
|
36
|
+
"Failed to import Formily components": "导入 Formily 组件失败",
|
|
40
37
|
"Feedback": "反馈",
|
|
41
|
-
"Download logs": "下载日志",
|
|
42
|
-
"Copy error info": "复制错误信息",
|
|
43
|
-
"Try again": "重试",
|
|
44
|
-
"Data blocks": "数据区块",
|
|
45
38
|
"Filter blocks": "筛选区块",
|
|
46
|
-
"
|
|
39
|
+
"Flow with key {{flowKey}} not found": "未找到key为 {{flowKey}} 的流程",
|
|
40
|
+
"Form validation failed": "表单验证失败",
|
|
47
41
|
"Invalid input parameters": "输入参数无效",
|
|
42
|
+
"Invalid model provided": "提供的模型无效",
|
|
48
43
|
"Invalid subModelKey format": "无效的 subModelKey 格式: {{subModelKey}}",
|
|
49
|
-
"Submodel not found": "未找到 Submodel '{{subKey}}'",
|
|
50
|
-
"Expected array for subModel": "期望 '{{subKey}}' 为数组,实际为 {{type}}",
|
|
51
|
-
"Array index out of bounds": "数组索引 {{index}} 超出 '{{subKey}}' 的边界",
|
|
52
|
-
"Expected object for subModel": "期望 '{{subKey}}' 为对象,实际为数组",
|
|
53
|
-
"No createModelOptions found for item": "未找到该项的 createModelOptions",
|
|
54
|
-
"createModelOptions must specify use property": "createModelOptions 必须指定 \"use\" 属性",
|
|
55
|
-
"Failed to add sub model": "添加子模型失败",
|
|
56
|
-
"Failed to destroy model after creation error": "创建错误后销毁模型失败",
|
|
57
|
-
"Add": "添加",
|
|
58
|
-
"Name": "名称",
|
|
59
44
|
"Model with ID {{uid}} not found": "未找到 ID 为 {{uid}} 的模型",
|
|
60
|
-
"
|
|
45
|
+
"Name": "名称",
|
|
46
|
+
"Next step": "下一步",
|
|
47
|
+
"No createModelOptions found for item": "未找到该项的 createModelOptions",
|
|
48
|
+
"OK": "确定",
|
|
49
|
+
"Other blocks": "其他区块",
|
|
50
|
+
"Previous step": "上一步",
|
|
51
|
+
"Render failed": "渲染失败",
|
|
52
|
+
"Step configuration": "步骤配置",
|
|
53
|
+
"Step parameter configuration": "步骤参数配置",
|
|
54
|
+
"Step with key {{stepKey}} not found": "未找到key为 {{stepKey}} 的步骤",
|
|
55
|
+
"Submodel not found": "未找到 Submodel '{{subKey}}'",
|
|
56
|
+
"This is likely a NocoBase internals bug. Please open an issue at": "这可能是 NocoBase 内部错误。请在以下地址提交问题",
|
|
57
|
+
"This step has no configurable parameters": "此步骤没有可配置的参数",
|
|
61
58
|
"This variable is not available": "此变量不可用",
|
|
62
|
-
"
|
|
63
|
-
|
|
59
|
+
"Try again": "重试",
|
|
60
|
+
"UID copied to clipboard": "UID 已复制到剪贴板",
|
|
61
|
+
"createModelOptions must specify use property": "createModelOptions 必须指定 \"use\" 属性",
|
|
62
|
+
"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
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"ses","version":"1.14.0","description":"Hardened JavaScript for Fearless Cooperation","keywords":["lockdown","harden","Compartment","assert","security","confinement","isolation","object capabilities","ocaps","secure execution","third-party code","prototype pollution","supply-chain attack","plugin"],"author":"Agoric","license":"Apache-2.0","homepage":"https://github.com/Agoric/SES-shim/tree/master/packages/ses#readme","repository":{"type":"git","url":"git+https://github.com/endojs/endo.git","directory":"packages/ses"},"bugs":{"url":"https://github.com/endojs/endo/issues"},"type":"module","main":"./dist/ses.cjs","module":"./index.js","unpkg":"./dist/ses.umd.js","types":"./types.d.ts","exports":{".":{"import":{"types":"./types.d.ts","xs":"./src-xs/index.js","default":"./index.js"},"require":{"types":"./dist/types.d.cts","default":"./dist/ses.cjs"}},"./lockdown":{"import":{"types":"./types.d.ts","default":"./index.js"},"require":{"types":"./dist/types.d.cts","default":"./dist/ses.cjs"}},"./hermes":{"require":{"types":"./dist/types.d.cts","default":"./dist/ses-hermes.cjs"}},"./tools.js":"./tools.js","./assert-shim.js":"./assert-shim.js","./lockdown-shim.js":{"xs":"./src-xs/lockdown-shim.js","default":"./lockdown-shim.js"},"./compartment-shim.js":{"xs":"./src-xs/compartment-shim.js","default":"./compartment-shim.js"},"./console-shim.js":"./console-shim.js","./package.json":"./package.json"},"scripts":{"build:vanilla":"node scripts/bundle.js","build:hermes":"node scripts/bundle.js hermes","build":"yarn build:vanilla && yarn build:hermes","clean":"rm -rf dist","cover":"c8 ava","demo":"python3 -m http.server","lint":"yarn lint:types && yarn lint:eslint","lint-fix":"eslint --fix .","lint:eslint":"eslint .","lint:types":"tsc","prepare":"npm run clean && npm run build","qt":"ava","test":"tsd && ava","test:hermes":"./scripts/hermes-test.sh","test:xs":"xst dist/ses.umd.js test/_lockdown-safe.js && node scripts/generate-test-xs.js && xst tmp/test-xs.js && rm -rf tmp","postpack":"git clean -fX \"*.d.ts*\" \"*.d.cts*\" \"*.d.mts*\" \"*.tsbuildinfo\""},"dependencies":{"@endo/cache-map":"^1.1.0","@endo/env-options":"^1.1.11","@endo/immutable-arraybuffer":"^1.1.2"},"devDependencies":{"@babel/generator":"^7.26.3","@babel/parser":"~7.26.2","@babel/traverse":"~7.25.9","@babel/types":"~7.26.0","@endo/compartment-mapper":"^1.6.3","@endo/module-source":"^1.3.3","@endo/test262-runner":"^0.1.48","@types/babel__traverse":"^7.20.5","ava":"^6.1.3","babel-eslint":"^10.1.0","c8":"^7.14.0","core-js":"^3.31.0","eslint":"^8.57.1","eslint-config-airbnb-base":"^15.0.0","eslint-config-prettier":"^9.1.0","eslint-plugin-eslint-comments":"^3.2.0","eslint-plugin-import":"^2.31.0","hermes-engine-cli":"^0.12.0","prettier":"^3.5.3","terser":"^5.16.6","tsd":"^0.31.2","typescript":"~5.8.3"},"files":["./*.d.ts","./*.js","./*.map","LICENSE*","SECURITY*","dist","lib","src","tools"],"publishConfig":{"access":"public"},"eslintConfig":{"extends":["plugin:@endo/ses"]},"ava":{"files":["test/**/*.test.*"],"timeout":"2m"},"typeCoverage":{"atLeast":81.17},"gitHead":"9815aea9541f241389d2135c6097a7442bdffa17","_lastModified":"2025-
|
|
1
|
+
{"name":"ses","version":"1.14.0","description":"Hardened JavaScript for Fearless Cooperation","keywords":["lockdown","harden","Compartment","assert","security","confinement","isolation","object capabilities","ocaps","secure execution","third-party code","prototype pollution","supply-chain attack","plugin"],"author":"Agoric","license":"Apache-2.0","homepage":"https://github.com/Agoric/SES-shim/tree/master/packages/ses#readme","repository":{"type":"git","url":"git+https://github.com/endojs/endo.git","directory":"packages/ses"},"bugs":{"url":"https://github.com/endojs/endo/issues"},"type":"module","main":"./dist/ses.cjs","module":"./index.js","unpkg":"./dist/ses.umd.js","types":"./types.d.ts","exports":{".":{"import":{"types":"./types.d.ts","xs":"./src-xs/index.js","default":"./index.js"},"require":{"types":"./dist/types.d.cts","default":"./dist/ses.cjs"}},"./lockdown":{"import":{"types":"./types.d.ts","default":"./index.js"},"require":{"types":"./dist/types.d.cts","default":"./dist/ses.cjs"}},"./hermes":{"require":{"types":"./dist/types.d.cts","default":"./dist/ses-hermes.cjs"}},"./tools.js":"./tools.js","./assert-shim.js":"./assert-shim.js","./lockdown-shim.js":{"xs":"./src-xs/lockdown-shim.js","default":"./lockdown-shim.js"},"./compartment-shim.js":{"xs":"./src-xs/compartment-shim.js","default":"./compartment-shim.js"},"./console-shim.js":"./console-shim.js","./package.json":"./package.json"},"scripts":{"build:vanilla":"node scripts/bundle.js","build:hermes":"node scripts/bundle.js hermes","build":"yarn build:vanilla && yarn build:hermes","clean":"rm -rf dist","cover":"c8 ava","demo":"python3 -m http.server","lint":"yarn lint:types && yarn lint:eslint","lint-fix":"eslint --fix .","lint:eslint":"eslint .","lint:types":"tsc","prepare":"npm run clean && npm run build","qt":"ava","test":"tsd && ava","test:hermes":"./scripts/hermes-test.sh","test:xs":"xst dist/ses.umd.js test/_lockdown-safe.js && node scripts/generate-test-xs.js && xst tmp/test-xs.js && rm -rf tmp","postpack":"git clean -fX \"*.d.ts*\" \"*.d.cts*\" \"*.d.mts*\" \"*.tsbuildinfo\""},"dependencies":{"@endo/cache-map":"^1.1.0","@endo/env-options":"^1.1.11","@endo/immutable-arraybuffer":"^1.1.2"},"devDependencies":{"@babel/generator":"^7.26.3","@babel/parser":"~7.26.2","@babel/traverse":"~7.25.9","@babel/types":"~7.26.0","@endo/compartment-mapper":"^1.6.3","@endo/module-source":"^1.3.3","@endo/test262-runner":"^0.1.48","@types/babel__traverse":"^7.20.5","ava":"^6.1.3","babel-eslint":"^10.1.0","c8":"^7.14.0","core-js":"^3.31.0","eslint":"^8.57.1","eslint-config-airbnb-base":"^15.0.0","eslint-config-prettier":"^9.1.0","eslint-plugin-eslint-comments":"^3.2.0","eslint-plugin-import":"^2.31.0","hermes-engine-cli":"^0.12.0","prettier":"^3.5.3","terser":"^5.16.6","tsd":"^0.31.2","typescript":"~5.8.3"},"files":["./*.d.ts","./*.js","./*.map","LICENSE*","SECURITY*","dist","lib","src","tools"],"publishConfig":{"access":"public"},"eslintConfig":{"extends":["plugin:@endo/ses"]},"ava":{"files":["test/**/*.test.*"],"timeout":"2m"},"typeCoverage":{"atLeast":81.17},"gitHead":"9815aea9541f241389d2135c6097a7442bdffa17","_lastModified":"2025-12-02T12:48:18.981Z"}
|
|
@@ -129,7 +129,7 @@ function inferSelectsFromUsage(paths = [], _params) {
|
|
|
129
129
|
const generatedFields = fieldSet.size ? Array.from(fieldSet) : void 0;
|
|
130
130
|
return { generatedAppends, generatedFields };
|
|
131
131
|
}
|
|
132
|
-
async function fetchRecordWithRequestCache(koaCtx, dataSourceKey, collection, filterByTk, fields, appends, preferFullRecord) {
|
|
132
|
+
async function fetchRecordWithRequestCache(koaCtx, dataSourceKey, collection, filterByTk, fields, appends, preferFullRecord, associationName, sourceId) {
|
|
133
133
|
var _a, _b, _c, _d, _e;
|
|
134
134
|
try {
|
|
135
135
|
const log = (_b = (_a = koaCtx.app) == null ? void 0 : _a.logger) == null ? void 0 : _b.child({
|
|
@@ -146,7 +146,7 @@ async function fetchRecordWithRequestCache(koaCtx, dataSourceKey, collection, fi
|
|
|
146
146
|
const ds = koaCtx.app.dataSourceManager.get(dataSourceKey || "main");
|
|
147
147
|
const cm = ds.collectionManager;
|
|
148
148
|
if (!(cm == null ? void 0 : cm.db)) return void 0;
|
|
149
|
-
const repo = cm.db.getRepository(collection);
|
|
149
|
+
const repo = associationName && typeof sourceId !== "undefined" ? cm.db.getRepository(associationName, sourceId) : cm.db.getRepository(collection);
|
|
150
150
|
const modelInfo = (_c = repo.collection) == null ? void 0 : _c.model;
|
|
151
151
|
const pkAttr = modelInfo == null ? void 0 : modelInfo.primaryKeyAttribute;
|
|
152
152
|
const pkIsValid = pkAttr && (modelInfo == null ? void 0 : modelInfo.rawAttributes) && Object.prototype.hasOwnProperty.call(modelInfo.rawAttributes, pkAttr);
|
|
@@ -159,7 +159,9 @@ async function fetchRecordWithRequestCache(koaCtx, dataSourceKey, collection, fi
|
|
|
159
159
|
tk: filterByTk,
|
|
160
160
|
f: cacheKeyFields,
|
|
161
161
|
a: cacheKeyAppends,
|
|
162
|
-
full: preferFullRecord ? true : void 0
|
|
162
|
+
full: preferFullRecord ? true : void 0,
|
|
163
|
+
assoc: associationName,
|
|
164
|
+
sid: typeof sourceId === "undefined" ? void 0 : sourceId
|
|
163
165
|
};
|
|
164
166
|
const key = JSON.stringify(keyObj);
|
|
165
167
|
if (cache) {
|
|
@@ -170,7 +172,8 @@ async function fetchRecordWithRequestCache(koaCtx, dataSourceKey, collection, fi
|
|
|
170
172
|
const needAppends = !preferFullRecord && Array.isArray(appends) ? new Set(appends) : void 0;
|
|
171
173
|
for (const [cacheKey, cacheVal] of cache.entries()) {
|
|
172
174
|
const parsed = JSON.parse(cacheKey);
|
|
173
|
-
if (!parsed || parsed.ds !== keyObj.ds || parsed.c !== keyObj.c || parsed.tk !== keyObj.tk)
|
|
175
|
+
if (!parsed || parsed.ds !== keyObj.ds || parsed.c !== keyObj.c || parsed.tk !== keyObj.tk || parsed.assoc !== keyObj.assoc || parsed.sid !== keyObj.sid)
|
|
176
|
+
continue;
|
|
174
177
|
const cachedFields = new Set(parsed.f || []);
|
|
175
178
|
const cachedAppends = new Set(parsed.a || []);
|
|
176
179
|
const fieldCoveredByAppends = (fieldPath) => {
|
|
@@ -250,7 +253,9 @@ function attachGenericRecordVariables(flowCtx, koaCtx, usage, contextParams) {
|
|
|
250
253
|
topParams.filterByTk,
|
|
251
254
|
fixed.fields,
|
|
252
255
|
fixed.appends,
|
|
253
|
-
hasDirectRefTop
|
|
256
|
+
hasDirectRefTop,
|
|
257
|
+
topParams.associationName,
|
|
258
|
+
topParams.sourceId
|
|
254
259
|
);
|
|
255
260
|
},
|
|
256
261
|
cache: true
|
|
@@ -328,7 +333,9 @@ function attachGenericRecordVariables(flowCtx, koaCtx, usage, contextParams) {
|
|
|
328
333
|
recordParams.filterByTk,
|
|
329
334
|
fixed.fields,
|
|
330
335
|
fixed.appends,
|
|
331
|
-
preferFull || ((subPaths == null ? void 0 : subPaths.length) ?? 0) === 0
|
|
336
|
+
preferFull || ((subPaths == null ? void 0 : subPaths.length) ?? 0) === 0,
|
|
337
|
+
recordParams.associationName,
|
|
338
|
+
recordParams.sourceId
|
|
332
339
|
);
|
|
333
340
|
},
|
|
334
341
|
cache: true
|
|
@@ -402,7 +409,17 @@ function registerBuiltInVariables(reg) {
|
|
|
402
409
|
const authObj = koaCtx.auth;
|
|
403
410
|
const uid = (_a = authObj == null ? void 0 : authObj.user) == null ? void 0 : _a.id;
|
|
404
411
|
if (typeof uid === "undefined" || uid === null) return void 0;
|
|
405
|
-
return await fetchRecordWithRequestCache(
|
|
412
|
+
return await fetchRecordWithRequestCache(
|
|
413
|
+
koaCtx,
|
|
414
|
+
"main",
|
|
415
|
+
"users",
|
|
416
|
+
uid,
|
|
417
|
+
generatedFields,
|
|
418
|
+
generatedAppends,
|
|
419
|
+
void 0,
|
|
420
|
+
void 0,
|
|
421
|
+
void 0
|
|
422
|
+
);
|
|
406
423
|
},
|
|
407
424
|
cache: true
|
|
408
425
|
});
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"displayName.zh-CN": "前端流引擎",
|
|
5
5
|
"description": "",
|
|
6
6
|
"description.zh-CN": "",
|
|
7
|
-
"version": "2.0.0-alpha.
|
|
7
|
+
"version": "2.0.0-alpha.50",
|
|
8
8
|
"main": "./dist/server/index.js",
|
|
9
9
|
"license": "AGPL-3.0",
|
|
10
10
|
"devDependencies": {
|
|
@@ -24,5 +24,5 @@
|
|
|
24
24
|
"@nocobase/test": "2.x",
|
|
25
25
|
"@nocobase/utils": "2.x"
|
|
26
26
|
},
|
|
27
|
-
"gitHead": "
|
|
27
|
+
"gitHead": "a6eb64abf3632e116ad0b295a7f410270a1059d1"
|
|
28
28
|
}
|