@steedos-widgets/amis-object 6.3.0-beta.8 → 6.3.0
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/AmisInputTable.d.ts +1 -0
- package/dist/amis/AmisRecordDetailHeader.d.ts +1 -0
- package/dist/amis-object.cjs.css +108 -13
- package/dist/amis-object.cjs.js +1811 -1077
- package/dist/amis-object.cjs.js.map +1 -1
- package/dist/amis-object.esm.css +108 -13
- package/dist/amis-object.esm.js +1811 -1077
- package/dist/amis-object.esm.js.map +1 -1
- package/dist/amis-object.umd.css +108 -13
- package/dist/amis-object.umd.js +347 -288
- package/dist/amis-object.umd.js.map +1 -1
- package/dist/assets.json +21 -21
- package/dist/meta.js +31 -23
- package/package.json +3 -3
package/dist/assets.json
CHANGED
|
@@ -11,39 +11,39 @@
|
|
|
11
11
|
{
|
|
12
12
|
"package": "@steedos-widgets/fullcalendar",
|
|
13
13
|
"urls": [
|
|
14
|
-
"https://unpkg.com/@steedos-widgets/fullcalendar@6.3.0
|
|
15
|
-
"https://unpkg.com/@steedos-widgets/fullcalendar@6.3.0
|
|
14
|
+
"https://unpkg.com/@steedos-widgets/fullcalendar@6.3.0/dist/fullcalendar.umd.js",
|
|
15
|
+
"https://unpkg.com/@steedos-widgets/fullcalendar@6.3.0/dist/fullcalendar.umd.css"
|
|
16
16
|
],
|
|
17
17
|
"library": "BuilderFullCalendar"
|
|
18
18
|
},
|
|
19
19
|
{
|
|
20
20
|
"package": "@steedos-widgets/reactflow",
|
|
21
21
|
"urls": [
|
|
22
|
-
"https://unpkg.com/@steedos-widgets/reactflow@6.3.0
|
|
23
|
-
"https://unpkg.com/@steedos-widgets/reactflow@6.3.0
|
|
22
|
+
"https://unpkg.com/@steedos-widgets/reactflow@6.3.0/dist/reactflow.umd.js",
|
|
23
|
+
"https://unpkg.com/@steedos-widgets/reactflow@6.3.0/dist/reactflow.umd.css"
|
|
24
24
|
],
|
|
25
25
|
"library": "BuilderReactFlow"
|
|
26
26
|
},
|
|
27
27
|
{
|
|
28
28
|
"package": "@steedos-widgets/sortable",
|
|
29
29
|
"urls": [
|
|
30
|
-
"https://unpkg.com/@steedos-widgets/sortable@6.3.0
|
|
31
|
-
"https://unpkg.com/@steedos-widgets/sortable@6.3.0
|
|
30
|
+
"https://unpkg.com/@steedos-widgets/sortable@6.3.0/dist/sortable.umd.js",
|
|
31
|
+
"https://unpkg.com/@steedos-widgets/sortable@6.3.0/dist/sortable.umd.css"
|
|
32
32
|
],
|
|
33
33
|
"library": "BuilderSortable"
|
|
34
34
|
},
|
|
35
35
|
{
|
|
36
36
|
"package": "steedos-lib",
|
|
37
37
|
"urls": [
|
|
38
|
-
"https://unpkg.com/@steedos-widgets/steedos-lib@6.3.0
|
|
38
|
+
"https://unpkg.com/@steedos-widgets/steedos-lib@6.3.0/dist/index.umd.js"
|
|
39
39
|
],
|
|
40
40
|
"library": "SteedosLib"
|
|
41
41
|
},
|
|
42
42
|
{
|
|
43
43
|
"package": "@steedos-widgets/amis-object",
|
|
44
44
|
"urls": [
|
|
45
|
-
"https://unpkg.com/@steedos-widgets/amis-object@6.3.0
|
|
46
|
-
"https://unpkg.com/@steedos-widgets/amis-object@6.3.0
|
|
45
|
+
"https://unpkg.com/@steedos-widgets/amis-object@6.3.0/dist/amis-object.umd.js",
|
|
46
|
+
"https://unpkg.com/@steedos-widgets/amis-object@6.3.0/dist/amis-object.umd.css"
|
|
47
47
|
],
|
|
48
48
|
"library": "BuilderAmisObject"
|
|
49
49
|
}
|
|
@@ -54,10 +54,10 @@
|
|
|
54
54
|
"npm": {
|
|
55
55
|
"package": "@steedos-widgets/fullcalendar"
|
|
56
56
|
},
|
|
57
|
-
"url": "https://unpkg.com/@steedos-widgets/fullcalendar@6.3.0
|
|
57
|
+
"url": "https://unpkg.com/@steedos-widgets/fullcalendar@6.3.0/dist/meta.js",
|
|
58
58
|
"urls": {
|
|
59
|
-
"default": "https://unpkg.com/@steedos-widgets/fullcalendar@6.3.0
|
|
60
|
-
"design": "https://unpkg.com/@steedos-widgets/fullcalendar@6.3.0
|
|
59
|
+
"default": "https://unpkg.com/@steedos-widgets/fullcalendar@6.3.0/dist/meta.js",
|
|
60
|
+
"design": "https://unpkg.com/@steedos-widgets/fullcalendar@6.3.0/dist/meta.js"
|
|
61
61
|
}
|
|
62
62
|
},
|
|
63
63
|
{
|
|
@@ -65,10 +65,10 @@
|
|
|
65
65
|
"npm": {
|
|
66
66
|
"package": "@steedos-widgets/reactflow"
|
|
67
67
|
},
|
|
68
|
-
"url": "https://unpkg.com/@steedos-widgets/reactflow@6.3.0
|
|
68
|
+
"url": "https://unpkg.com/@steedos-widgets/reactflow@6.3.0/dist/meta.js",
|
|
69
69
|
"urls": {
|
|
70
|
-
"default": "https://unpkg.com/@steedos-widgets/reactflow@6.3.0
|
|
71
|
-
"design": "https://unpkg.com/@steedos-widgets/reactflow@6.3.0
|
|
70
|
+
"default": "https://unpkg.com/@steedos-widgets/reactflow@6.3.0/dist/meta.js",
|
|
71
|
+
"design": "https://unpkg.com/@steedos-widgets/reactflow@6.3.0/dist/meta.js"
|
|
72
72
|
}
|
|
73
73
|
},
|
|
74
74
|
{
|
|
@@ -76,10 +76,10 @@
|
|
|
76
76
|
"npm": {
|
|
77
77
|
"package": "@steedos-widgets/sortable"
|
|
78
78
|
},
|
|
79
|
-
"url": "https://unpkg.com/@steedos-widgets/sortable@6.3.0
|
|
79
|
+
"url": "https://unpkg.com/@steedos-widgets/sortable@6.3.0/dist/meta.js",
|
|
80
80
|
"urls": {
|
|
81
|
-
"default": "https://unpkg.com/@steedos-widgets/sortable@6.3.0
|
|
82
|
-
"design": "https://unpkg.com/@steedos-widgets/sortable@6.3.0
|
|
81
|
+
"default": "https://unpkg.com/@steedos-widgets/sortable@6.3.0/dist/meta.js",
|
|
82
|
+
"design": "https://unpkg.com/@steedos-widgets/sortable@6.3.0/dist/meta.js"
|
|
83
83
|
}
|
|
84
84
|
},
|
|
85
85
|
{
|
|
@@ -87,10 +87,10 @@
|
|
|
87
87
|
"npm": {
|
|
88
88
|
"package": "@steedos-widgets/amis-object"
|
|
89
89
|
},
|
|
90
|
-
"url": "https://unpkg.com/@steedos-widgets/amis-object@6.3.0
|
|
90
|
+
"url": "https://unpkg.com/@steedos-widgets/amis-object@6.3.0/dist/meta.js",
|
|
91
91
|
"urls": {
|
|
92
|
-
"default": "https://unpkg.com/@steedos-widgets/amis-object@6.3.0
|
|
93
|
-
"design": "https://unpkg.com/@steedos-widgets/amis-object@6.3.0
|
|
92
|
+
"default": "https://unpkg.com/@steedos-widgets/amis-object@6.3.0/dist/meta.js",
|
|
93
|
+
"design": "https://unpkg.com/@steedos-widgets/amis-object@6.3.0/dist/meta.js"
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
96
|
]
|
package/dist/meta.js
CHANGED
|
@@ -1721,29 +1721,37 @@
|
|
|
1721
1721
|
objectApiName: 'space_users'
|
|
1722
1722
|
},
|
|
1723
1723
|
panelTitle: "设置",
|
|
1724
|
-
panelControls: [
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1724
|
+
// panelControls: [
|
|
1725
|
+
// {
|
|
1726
|
+
// "type": "select",
|
|
1727
|
+
// "label": "对象",
|
|
1728
|
+
// "name": "objectApiName",
|
|
1729
|
+
// "searchable": true,
|
|
1730
|
+
// "multiple": false,
|
|
1731
|
+
// "source": {
|
|
1732
|
+
// "method": "get",
|
|
1733
|
+
// "url": "/service/api/amis-design/objects",
|
|
1734
|
+
// "requestAdaptor": "api.url = Builder.settings.rootUrl + api.url; if(!api.headers){api.headers = {}};api.headers.Authorization='Bearer ' + Builder.settings.tenantId + ',' + Builder.settings.authToken ;return api;",
|
|
1735
|
+
// "adaptor": `
|
|
1736
|
+
// let data = payload.data;
|
|
1737
|
+
// payload.unshift({
|
|
1738
|
+
// label: "当前对象",
|
|
1739
|
+
// name: "\${objectName}"
|
|
1740
|
+
// });
|
|
1741
|
+
// return payload;
|
|
1742
|
+
// `
|
|
1743
|
+
// },
|
|
1744
|
+
// "labelField": "label",
|
|
1745
|
+
// "valueField": "name",
|
|
1746
|
+
// "menuTpl": ""
|
|
1747
|
+
// },
|
|
1748
|
+
// 这里不可以放开右侧面板recordId属性,因为会自动设置其值为固定的id值,造成bug,见:https://github.com/steedos/steedos-platform/issues/6846
|
|
1749
|
+
// {
|
|
1750
|
+
// type: "input-text",
|
|
1751
|
+
// name: "recordId",
|
|
1752
|
+
// label: "记录ID"
|
|
1753
|
+
// }
|
|
1754
|
+
// ]
|
|
1747
1755
|
}
|
|
1748
1756
|
} });
|
|
1749
1757
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steedos-widgets/amis-object",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "6.3.0
|
|
4
|
+
"version": "6.3.0",
|
|
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": "6.3.0
|
|
64
|
+
"@steedos-widgets/amis-lib": "6.3.0",
|
|
65
65
|
"autoprefixer": "^10.4.13",
|
|
66
66
|
"postcss": "^8.4.19",
|
|
67
67
|
"tailwindcss": "^3.2.4"
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "b8f4c71ba4639e584d04f348c61f1f4b3b4e484f"
|
|
70
70
|
}
|