@steedos/service-plugin-amis 2.6.1-beta.5 → 2.6.1-beta.7
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/main/default/client/amis.render.client.js +2 -2
- package/main/default/pages/{action_field_updates.page.amis.json → action_field_updates_form.page.amis.json} +11 -11
- package/main/default/pages/{action_field_updates.page.yml → action_field_updates_form.page.yml} +1 -1
- package/main/default/pages/apps_form.page.amis.json +34 -570
- package/main/default/pages/object_layouts_form.page.amis.json +78 -0
- package/main/default/pages/{object_layouts.page.yml → object_layouts_form.page.yml} +1 -1
- package/main/default/services/amis-design.service.js +2 -1
- package/main/default/translations/en.translation.yml +27 -0
- package/main/default/translations/zh-CN.translation.yml +27 -0
- package/package.json +2 -2
- package/public/tailwind/tailwind-steedos.css +10 -23
- package/main/default/pages/object_layouts.page.amis.json +0 -913
|
@@ -60,8 +60,8 @@
|
|
|
60
60
|
// window.ReactDOM = window.__ReactDOM;
|
|
61
61
|
const AmisRenderers = [];
|
|
62
62
|
let amisLib = amisRequire('amis');
|
|
63
|
-
amisLib.registerFilter('t', function (key) {
|
|
64
|
-
return typeof key === 'string' ? window.t(key) : key;
|
|
63
|
+
amisLib.registerFilter('t', function (key,param) {
|
|
64
|
+
return typeof key === 'string' ? window.t(key,param) : key;
|
|
65
65
|
});
|
|
66
66
|
const registerMap = {
|
|
67
67
|
renderer: amisLib.Renderer,
|
|
@@ -27,12 +27,12 @@
|
|
|
27
27
|
{
|
|
28
28
|
"type": "fieldSet",
|
|
29
29
|
"id": "u:3ce1d050bcac",
|
|
30
|
-
"title": "
|
|
30
|
+
"title": "${'action_field_updates.action_field_updates_form.field_group_generalization' | t}",
|
|
31
31
|
"collapsable": true,
|
|
32
32
|
"body": [
|
|
33
33
|
{
|
|
34
34
|
"name": "name",
|
|
35
|
-
"label": "
|
|
35
|
+
"label": "${'action_field_updates.action_field_updates_form.api_name' | t}",
|
|
36
36
|
"required": true,
|
|
37
37
|
"type": "input-text",
|
|
38
38
|
"className": "m-1",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
},
|
|
44
44
|
{
|
|
45
45
|
"name": "label",
|
|
46
|
-
"label": "
|
|
46
|
+
"label": "${'action_field_updates.action_field_updates_form.display_name' | t}",
|
|
47
47
|
"required": true,
|
|
48
48
|
"type": "input-text",
|
|
49
49
|
"className": "m-1",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
},
|
|
55
55
|
{
|
|
56
56
|
"name": "object_name",
|
|
57
|
-
"label": "
|
|
57
|
+
"label": "${'action_field_updates.action_field_updates_form.object_name' | t}",
|
|
58
58
|
"required": false,
|
|
59
59
|
"type": "select",
|
|
60
60
|
"joinValues": false,
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
},
|
|
89
89
|
{
|
|
90
90
|
"name": "target_object",
|
|
91
|
-
"label": "
|
|
91
|
+
"label": "${'action_field_updates.action_field_updates_form.update_object' | t}",
|
|
92
92
|
"required": false,
|
|
93
93
|
"type": "select",
|
|
94
94
|
"joinValues": false,
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
},
|
|
107
107
|
{
|
|
108
108
|
"name": "field_name",
|
|
109
|
-
"label": "
|
|
109
|
+
"label": "${'action_field_updates.action_field_updates_form.update_name' | t}",
|
|
110
110
|
"required": false,
|
|
111
111
|
"type": "select",
|
|
112
112
|
"joinValues": false,
|
|
@@ -124,7 +124,7 @@
|
|
|
124
124
|
},
|
|
125
125
|
{
|
|
126
126
|
"name": "operation",
|
|
127
|
-
"label": "
|
|
127
|
+
"label": "${'action_field_updates.action_field_updates_form.new_field_value_type' | t}",
|
|
128
128
|
"required": false,
|
|
129
129
|
"type": "select",
|
|
130
130
|
"joinValues": false,
|
|
@@ -142,7 +142,7 @@
|
|
|
142
142
|
},
|
|
143
143
|
{
|
|
144
144
|
"name": "formula",
|
|
145
|
-
"label": "
|
|
145
|
+
"label": "${'action_field_updates.action_field_updates_form.formula' | t}",
|
|
146
146
|
"required": false,
|
|
147
147
|
"type": "textarea",
|
|
148
148
|
"tpl": "<b><%=data.formula%></b>",
|
|
@@ -168,7 +168,7 @@
|
|
|
168
168
|
},
|
|
169
169
|
{
|
|
170
170
|
"name": "description",
|
|
171
|
-
"label": "
|
|
171
|
+
"label": "${'action_field_updates.action_field_updates_form.description' | t}",
|
|
172
172
|
"required": false,
|
|
173
173
|
"type": "textarea",
|
|
174
174
|
"tpl": "<b><%=data.description%></b>",
|
|
@@ -180,7 +180,7 @@
|
|
|
180
180
|
},
|
|
181
181
|
{
|
|
182
182
|
"name": "reevaluate_on_change",
|
|
183
|
-
"label": "
|
|
183
|
+
"label": "${'action_field_updates.action_field_updates_form.reevaluate_on_change' | t}",
|
|
184
184
|
"required": false,
|
|
185
185
|
"type": "checkbox",
|
|
186
186
|
"tpl": null,
|
|
@@ -192,7 +192,7 @@
|
|
|
192
192
|
},
|
|
193
193
|
{
|
|
194
194
|
"name": "undirect",
|
|
195
|
-
"label": "
|
|
195
|
+
"label": "${'action_field_updates.action_field_updates_form.undirect' | t}",
|
|
196
196
|
"required": false,
|
|
197
197
|
"type": "checkbox",
|
|
198
198
|
"tpl": null,
|