@steedos/service-plugin-amis 2.3.1 → 2.3.2-beta.3
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/services/amis.service.js +5 -4
- package/package.json +2 -2
- package/public/tailwind/tailwind.js +6324 -8338
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
* @Description:
|
|
7
7
|
*/
|
|
8
8
|
const AmisSchema = require('./utils/amis-schema');
|
|
9
|
-
const AmisLib = require('@steedos-widgets/amis-lib');
|
|
10
9
|
const objectql = require("@steedos/objectql");
|
|
11
10
|
const steedosI18n = require("@steedos/i18n");
|
|
12
11
|
const clone = require("clone");
|
|
@@ -47,9 +46,6 @@ const getObjectConfig = async function(objectName){
|
|
|
47
46
|
return objectConfig;
|
|
48
47
|
}
|
|
49
48
|
|
|
50
|
-
AmisLib.setUISchemaFunction(async function(objectName, force){
|
|
51
|
-
return await getObjectConfig(objectName);
|
|
52
|
-
});
|
|
53
49
|
|
|
54
50
|
module.exports = {
|
|
55
51
|
name: "amis",
|
|
@@ -133,6 +129,11 @@ module.exports = {
|
|
|
133
129
|
},
|
|
134
130
|
getInitSchema: {
|
|
135
131
|
async handler({type, objectApiName, formFactor, userSession}) {
|
|
132
|
+
|
|
133
|
+
const AmisLib = require('@steedos-widgets/amis-lib');
|
|
134
|
+
AmisLib.setUISchemaFunction(async function(objectName, force){
|
|
135
|
+
return await getObjectConfig(objectName);
|
|
136
|
+
});
|
|
136
137
|
if(objectApiName){
|
|
137
138
|
let schema;
|
|
138
139
|
switch(type){
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steedos/service-plugin-amis",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.2-beta.3",
|
|
4
4
|
"main": "package.service.js",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "node .scripts/build.tailwind.js"
|
|
@@ -13,5 +13,5 @@
|
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"@steedos-widgets/amis-lib": "^0.0.9"
|
|
15
15
|
},
|
|
16
|
-
"gitHead": "
|
|
16
|
+
"gitHead": "1f337e8da176f1c75a8596b29ec7889eca996dc1"
|
|
17
17
|
}
|