@steedos-widgets/amis-object 1.2.26 → 1.2.28
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/amis/AmisRecordDetailHeader.d.ts +1 -2
- package/dist/amis-object.cjs.css +18 -4
- package/dist/amis-object.cjs.js +164 -119
- package/dist/amis-object.cjs.js.map +1 -1
- package/dist/amis-object.esm.css +18 -4
- package/dist/amis-object.esm.js +164 -119
- package/dist/amis-object.esm.js.map +1 -1
- package/dist/amis-object.umd.css +18 -4
- package/dist/amis-object.umd.js +164 -119
- package/dist/amis-object.umd.js.map +1 -1
- package/dist/assets.json +11 -11
- package/dist/meta.js +14 -12
- package/package.json +3 -3
package/dist/assets.json
CHANGED
|
@@ -11,23 +11,23 @@
|
|
|
11
11
|
{
|
|
12
12
|
"package": "@steedos-widgets/fullcalendar",
|
|
13
13
|
"urls": [
|
|
14
|
-
"https://unpkg.com/@steedos-widgets/fullcalendar@1.2.
|
|
15
|
-
"https://unpkg.com/@steedos-widgets/fullcalendar@1.2.
|
|
14
|
+
"https://unpkg.com/@steedos-widgets/fullcalendar@1.2.28/dist/fullcalendar.umd.js",
|
|
15
|
+
"https://unpkg.com/@steedos-widgets/fullcalendar@1.2.28/dist/fullcalendar.umd.css"
|
|
16
16
|
],
|
|
17
17
|
"library": "BuilderFullCalendar"
|
|
18
18
|
},
|
|
19
19
|
{
|
|
20
20
|
"package": "steedos-lib",
|
|
21
21
|
"urls": [
|
|
22
|
-
"https://unpkg.com/@steedos-widgets/steedos-lib@1.2.
|
|
22
|
+
"https://unpkg.com/@steedos-widgets/steedos-lib@1.2.28/dist/index.umd.js"
|
|
23
23
|
],
|
|
24
24
|
"library": "SteedosLib"
|
|
25
25
|
},
|
|
26
26
|
{
|
|
27
27
|
"package": "@steedos-widgets/amis-object",
|
|
28
28
|
"urls": [
|
|
29
|
-
"https://unpkg.com/@steedos-widgets/amis-object@1.2.
|
|
30
|
-
"https://unpkg.com/@steedos-widgets/amis-object@1.2.
|
|
29
|
+
"https://unpkg.com/@steedos-widgets/amis-object@1.2.28/dist/amis-object.umd.js",
|
|
30
|
+
"https://unpkg.com/@steedos-widgets/amis-object@1.2.28/dist/amis-object.umd.css"
|
|
31
31
|
],
|
|
32
32
|
"library": "BuilderAmisObject"
|
|
33
33
|
}
|
|
@@ -38,10 +38,10 @@
|
|
|
38
38
|
"npm": {
|
|
39
39
|
"package": "@steedos-widgets/fullcalendar"
|
|
40
40
|
},
|
|
41
|
-
"url": "https://unpkg.com/@steedos-widgets/fullcalendar@1.2.
|
|
41
|
+
"url": "https://unpkg.com/@steedos-widgets/fullcalendar@1.2.28/dist/meta.js",
|
|
42
42
|
"urls": {
|
|
43
|
-
"default": "https://unpkg.com/@steedos-widgets/fullcalendar@1.2.
|
|
44
|
-
"design": "https://unpkg.com/@steedos-widgets/fullcalendar@1.2.
|
|
43
|
+
"default": "https://unpkg.com/@steedos-widgets/fullcalendar@1.2.28/dist/meta.js",
|
|
44
|
+
"design": "https://unpkg.com/@steedos-widgets/fullcalendar@1.2.28/dist/meta.js"
|
|
45
45
|
}
|
|
46
46
|
},
|
|
47
47
|
{
|
|
@@ -49,10 +49,10 @@
|
|
|
49
49
|
"npm": {
|
|
50
50
|
"package": "@steedos-widgets/amis-object"
|
|
51
51
|
},
|
|
52
|
-
"url": "https://unpkg.com/@steedos-widgets/amis-object@1.2.
|
|
52
|
+
"url": "https://unpkg.com/@steedos-widgets/amis-object@1.2.28/dist/meta.js",
|
|
53
53
|
"urls": {
|
|
54
|
-
"default": "https://unpkg.com/@steedos-widgets/amis-object@1.2.
|
|
55
|
-
"design": "https://unpkg.com/@steedos-widgets/amis-object@1.2.
|
|
54
|
+
"default": "https://unpkg.com/@steedos-widgets/amis-object@1.2.28/dist/meta.js",
|
|
55
|
+
"design": "https://unpkg.com/@steedos-widgets/amis-object@1.2.28/dist/meta.js"
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
]
|
package/dist/meta.js
CHANGED
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
* @Author: baozhoutao@steedos.com
|
|
35
35
|
* @Date: 2022-08-31 16:32:35
|
|
36
36
|
* @LastEditors: 殷亮辉 yinlianghui@hotoa.com
|
|
37
|
-
* @LastEditTime: 2023-06-
|
|
37
|
+
* @LastEditTime: 2023-06-26 11:48:44
|
|
38
38
|
* @Description:
|
|
39
39
|
*/
|
|
40
40
|
var config$w = {
|
|
@@ -310,7 +310,7 @@
|
|
|
310
310
|
"Authorization": "Bearer ${context.tenantId},${context.authToken}"
|
|
311
311
|
},
|
|
312
312
|
"data": {
|
|
313
|
-
"objectName": "${objectName}"
|
|
313
|
+
"objectName": "${objectName || 'space_users'}"
|
|
314
314
|
},
|
|
315
315
|
"requestAdaptor": "api.url = api.url.replaceAll('${objectName}',api.body.objectName); return api;",
|
|
316
316
|
"adaptor": "",
|
|
@@ -343,7 +343,7 @@
|
|
|
343
343
|
"Authorization": "Bearer ${context.tenantId},${context.authToken}"
|
|
344
344
|
},
|
|
345
345
|
"data": {
|
|
346
|
-
"objectName": "${objectName}"
|
|
346
|
+
"objectName": "${objectName || 'space_users'}"
|
|
347
347
|
},
|
|
348
348
|
"requestAdaptor": "api.url = api.url.replaceAll('${objectName}',api.body.objectName); return api;",
|
|
349
349
|
"adaptor": "",
|
|
@@ -606,7 +606,7 @@
|
|
|
606
606
|
"method": "get",
|
|
607
607
|
"messages": {},
|
|
608
608
|
"data": {
|
|
609
|
-
"objectName": "${objectName}"
|
|
609
|
+
"objectName": "${objectName || 'space_users'}"
|
|
610
610
|
},
|
|
611
611
|
"requestAdaptor": "api.url = Builder.settings.rootUrl + api.url.replaceAll('${objectName}',api.body.objectName); if(!api.headers){api.headers = {}};api.headers.Authorization='Bearer ' + Builder.settings.tenantId + ',' + Builder.settings.authToken ;return api;",
|
|
612
612
|
"adaptor": "\n const listViews = payload && payload.list_views;\n if(!listViews){\n return;\n }\n const options = listViews.map(function (item) {\n return { value: item.name || item._id, label: item.label || item.name }\n })\n payload.data = {\n options\n }\n return payload;\n ",
|
|
@@ -985,7 +985,7 @@
|
|
|
985
985
|
"Authorization": "Bearer ${context.tenantId},${context.authToken}"
|
|
986
986
|
},
|
|
987
987
|
"data": {
|
|
988
|
-
"objectName": "${objectName}"
|
|
988
|
+
"objectName": "${objectName || 'space_users'}"
|
|
989
989
|
},
|
|
990
990
|
"requestAdaptor": "api.url = api.url.replaceAll('${objectName}',api.body.objectName); return api;",
|
|
991
991
|
"adaptor": "",
|
|
@@ -1117,7 +1117,7 @@
|
|
|
1117
1117
|
"source": {
|
|
1118
1118
|
"method": "get",
|
|
1119
1119
|
"data": {
|
|
1120
|
-
"objectName": "${objectName}",
|
|
1120
|
+
"objectName": "${objectName || 'space_users'}",
|
|
1121
1121
|
},
|
|
1122
1122
|
"sendOn": "this.objectApiName",
|
|
1123
1123
|
"url": "/service/api/amis-metadata-objects/objects/${objectApiName}/fields/options",
|
|
@@ -1582,8 +1582,8 @@
|
|
|
1582
1582
|
/*
|
|
1583
1583
|
* @Author: baozhoutao@steedos.com
|
|
1584
1584
|
* @Date: 2022-08-31 16:32:35
|
|
1585
|
-
* @LastEditors:
|
|
1586
|
-
* @LastEditTime: 2023-
|
|
1585
|
+
* @LastEditors: 殷亮辉 yinlianghui@hotoa.com
|
|
1586
|
+
* @LastEditTime: 2023-06-26 11:52:53
|
|
1587
1587
|
* @Description:
|
|
1588
1588
|
*/
|
|
1589
1589
|
var config$o = {
|
|
@@ -1734,7 +1734,7 @@
|
|
|
1734
1734
|
"source": {
|
|
1735
1735
|
"method": "get",
|
|
1736
1736
|
"data": {
|
|
1737
|
-
"objectName": "${objectName}"
|
|
1737
|
+
"objectName": "${objectName || 'space_users'}"
|
|
1738
1738
|
},
|
|
1739
1739
|
"url": "/service/api/amis-design/related_objects/${objectApiName}",
|
|
1740
1740
|
"requestAdaptor": "api.url = Builder.settings.rootUrl + api.url.replaceAll('${objectName}',api.body.objectName); if(!api.headers){api.headers = {}};api.headers.Authorization='Bearer ' + Builder.settings.tenantId + ',' + Builder.settings.authToken ;return api;",
|
|
@@ -3252,7 +3252,7 @@
|
|
|
3252
3252
|
* @Author: baozhoutao@steedos.com
|
|
3253
3253
|
* @Date: 2022-10-11 09:39:38
|
|
3254
3254
|
* @LastEditors: baozhoutao@steedos.com
|
|
3255
|
-
* @LastEditTime: 2023-
|
|
3255
|
+
* @LastEditTime: 2023-06-30 14:41:35
|
|
3256
3256
|
* @Description:
|
|
3257
3257
|
*/
|
|
3258
3258
|
var config$6 = {
|
|
@@ -3307,14 +3307,16 @@
|
|
|
3307
3307
|
type: config$6.amis.name,
|
|
3308
3308
|
config: {
|
|
3309
3309
|
"type": "text",
|
|
3310
|
-
"label": "字段1"
|
|
3310
|
+
"label": "字段1",
|
|
3311
|
+
"amis": {}
|
|
3311
3312
|
}
|
|
3312
3313
|
},
|
|
3313
3314
|
previewSchema: {
|
|
3314
3315
|
type: config$6.amis.name,
|
|
3315
3316
|
config: {
|
|
3316
3317
|
"type": "text",
|
|
3317
|
-
"label": "字段1"
|
|
3318
|
+
"label": "字段1",
|
|
3319
|
+
"amis": {}
|
|
3318
3320
|
}
|
|
3319
3321
|
},
|
|
3320
3322
|
panelTitle: "设置",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steedos-widgets/amis-object",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.2.
|
|
4
|
+
"version": "1.2.28",
|
|
5
5
|
"main": "dist/amis-object.cjs.js",
|
|
6
6
|
"module": "dist/amis-object.esm.js",
|
|
7
7
|
"unpkg": "dist/amis-object.umd.js",
|
|
@@ -61,10 +61,10 @@
|
|
|
61
61
|
"uglify-js": "^3.17.0"
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@steedos-widgets/amis-lib": "1.2.
|
|
64
|
+
"@steedos-widgets/amis-lib": "1.2.28",
|
|
65
65
|
"autoprefixer": "^10.4.13",
|
|
66
66
|
"postcss": "^8.4.19",
|
|
67
67
|
"tailwindcss": "^3.2.4"
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "6582f3589d8d98cf63fae5479aa1adca4be1ee5f"
|
|
70
70
|
}
|