@steedos/service-plugin-amis 2.3.2-beta.11 → 2.3.2-beta.13
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.
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
};
|
|
57
57
|
|
|
58
58
|
const getAmisLng = ()=>{
|
|
59
|
-
locale = Creator.USER_CONTEXT
|
|
59
|
+
var locale = Creator.USER_CONTEXT ? Creator.USER_CONTEXT.user.language : null;
|
|
60
60
|
if(locale){
|
|
61
61
|
locale = locale.replace('_', '-');
|
|
62
62
|
locale = locale === 'en' ? 'en-US' : locale;
|
|
@@ -153,17 +153,17 @@
|
|
|
153
153
|
};
|
|
154
154
|
|
|
155
155
|
const AmisEnv = {
|
|
156
|
-
getModalContainer: (props)=>{
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
},
|
|
156
|
+
// getModalContainer: (props)=>{
|
|
157
|
+
// let div = document.querySelector("#amisModalContainer");
|
|
158
|
+
// if(!div){
|
|
159
|
+
// div = document.createElement('div');
|
|
160
|
+
// div.className="amis-scope";
|
|
161
|
+
// div.style.height='0px';
|
|
162
|
+
// div.id="amisModalContainer";
|
|
163
|
+
// document.body.appendChild(div)
|
|
164
|
+
// }
|
|
165
|
+
// return div;
|
|
166
|
+
// },
|
|
167
167
|
jumpTo: (to, action) => {
|
|
168
168
|
if (to === 'goBack') {
|
|
169
169
|
return window.history.back();
|
|
@@ -410,9 +410,9 @@
|
|
|
410
410
|
"tpl": null,
|
|
411
411
|
"className": "m-0",
|
|
412
412
|
"labelClassName": "text-left",
|
|
413
|
-
"option": "
|
|
413
|
+
"option": "使用 amis自定义列表",
|
|
414
414
|
"en-US": {
|
|
415
|
-
"option": "Enable"
|
|
415
|
+
"option": "Enable amis_schema"
|
|
416
416
|
}
|
|
417
417
|
},
|
|
418
418
|
{
|
|
@@ -422,7 +422,9 @@
|
|
|
422
422
|
"required": false,
|
|
423
423
|
"language": "json",
|
|
424
424
|
"className": "col-span-2 m-1",
|
|
425
|
-
"labelClassName": "text-left"
|
|
425
|
+
"labelClassName": "text-left",
|
|
426
|
+
"clearValueOnHidden": false,
|
|
427
|
+
"hidden": true
|
|
426
428
|
}
|
|
427
429
|
],
|
|
428
430
|
"collapsed": true,
|
|
@@ -438,7 +440,7 @@
|
|
|
438
440
|
"actionsClassName": "p-sm b-t b-light text-center",
|
|
439
441
|
"className": "steedos-amis-form",
|
|
440
442
|
"language": "javascript",
|
|
441
|
-
"id": "
|
|
443
|
+
"id": "listview_form"
|
|
442
444
|
}
|
|
443
445
|
],
|
|
444
446
|
"regions": [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steedos/service-plugin-amis",
|
|
3
|
-
"version": "2.3.2-beta.
|
|
3
|
+
"version": "2.3.2-beta.13",
|
|
4
4
|
"main": "package.service.js",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "node .scripts/build.tailwind.js"
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"access": "public"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@steedos-widgets/amis-lib": "^0.0.
|
|
14
|
+
"@steedos-widgets/amis-lib": "^0.0.11"
|
|
15
15
|
},
|
|
16
|
-
"gitHead": "
|
|
16
|
+
"gitHead": "0ffb7e237da2ef2aeb0f44f051267483598c2033"
|
|
17
17
|
}
|