@steedos-widgets/amis-object 0.0.10 → 0.0.11
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/AmisObjectListview.d.ts +1 -13
- package/dist/amis/AmisObjectTable.d.ts +6 -1
- package/dist/amis/AmisRecordDetailHeader.d.ts +14 -3
- package/dist/amis/AmisRecordDetailRelatedList.d.ts +1 -70
- package/dist/amis-object.cjs.js +129 -71
- package/dist/amis-object.cjs.js.map +1 -1
- package/dist/amis-object.esm.js +130 -72
- package/dist/amis-object.esm.js.map +1 -1
- package/dist/amis-object.umd.js +130 -71
- package/dist/amis-object.umd.js.map +1 -0
- package/dist/assets.json +5 -5
- package/dist/meta.js +57 -49
- package/package.json +2 -2
package/dist/assets.json
CHANGED
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
{
|
|
12
12
|
"package": "@steedos-widgets/amis-object",
|
|
13
13
|
"urls": [
|
|
14
|
-
"https://unpkg.com/@steedos-widgets/amis-object@0.0.
|
|
15
|
-
"https://unpkg.com/@steedos-widgets/amis-object@0.0.
|
|
14
|
+
"https://unpkg.com/@steedos-widgets/amis-object@0.0.10/dist/amis-object.umd.js",
|
|
15
|
+
"https://unpkg.com/@steedos-widgets/amis-object@0.0.10/dist/amis-object.umd.css"
|
|
16
16
|
],
|
|
17
17
|
"library": "BuilderAmisObject"
|
|
18
18
|
}
|
|
@@ -23,10 +23,10 @@
|
|
|
23
23
|
"npm": {
|
|
24
24
|
"package": "@steedos-widgets/amis-object"
|
|
25
25
|
},
|
|
26
|
-
"url": "https://unpkg.com/@steedos-widgets/amis-object@0.0.
|
|
26
|
+
"url": "https://unpkg.com/@steedos-widgets/amis-object@0.0.10/dist/meta.js",
|
|
27
27
|
"urls": {
|
|
28
|
-
"default": "https://unpkg.com/@steedos-widgets/amis-object@0.0.
|
|
29
|
-
"design": "https://unpkg.com/@steedos-widgets/amis-object@0.0.
|
|
28
|
+
"default": "https://unpkg.com/@steedos-widgets/amis-object@0.0.10/dist/meta.js",
|
|
29
|
+
"design": "https://unpkg.com/@steedos-widgets/amis-object@0.0.10/dist/meta.js"
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
]
|
package/dist/meta.js
CHANGED
|
@@ -225,7 +225,7 @@
|
|
|
225
225
|
componentType: 'amisSchema',
|
|
226
226
|
group: "华炎魔方",
|
|
227
227
|
componentName: "AmisObjectListView",
|
|
228
|
-
title: "
|
|
228
|
+
title: "列表视图",
|
|
229
229
|
docUrl: "",
|
|
230
230
|
screenshot: "",
|
|
231
231
|
npm: {
|
|
@@ -315,6 +315,7 @@
|
|
|
315
315
|
name: "listName",
|
|
316
316
|
// "multiple": false,
|
|
317
317
|
label: "视图",
|
|
318
|
+
hiddenOn: "this.showHeader",
|
|
318
319
|
// "source": {
|
|
319
320
|
// "url": "/service/api/amis-design/object/${objectApiName === '${objectName}' ? 'space_users' : objectApiName}",
|
|
320
321
|
// "method": "get",
|
|
@@ -343,6 +344,11 @@
|
|
|
343
344
|
"type": "number",
|
|
344
345
|
"name": "top",
|
|
345
346
|
"label": "显示的记录数量",
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
"type": "checkbox",
|
|
350
|
+
"name": "showHeader",
|
|
351
|
+
"label": "显示表头",
|
|
346
352
|
}
|
|
347
353
|
]
|
|
348
354
|
}
|
|
@@ -871,7 +877,7 @@
|
|
|
871
877
|
componentType: 'amisSchema',
|
|
872
878
|
group: "华炎魔方",
|
|
873
879
|
componentName: "AmisProvider",
|
|
874
|
-
title: "
|
|
880
|
+
title: "魔方容器",
|
|
875
881
|
docUrl: "",
|
|
876
882
|
screenshot: "",
|
|
877
883
|
npm: {
|
|
@@ -947,7 +953,7 @@
|
|
|
947
953
|
// componentType: 'amisSchema',
|
|
948
954
|
group: "华炎魔方",
|
|
949
955
|
componentName: "AmisObjectFieldLookup",
|
|
950
|
-
title: "
|
|
956
|
+
title: "Lookup",
|
|
951
957
|
docUrl: "",
|
|
952
958
|
screenshot: "",
|
|
953
959
|
npm: {
|
|
@@ -1010,14 +1016,14 @@
|
|
|
1010
1016
|
* @Author: baozhoutao@steedos.com
|
|
1011
1017
|
* @Date: 2022-10-11 09:39:38
|
|
1012
1018
|
* @LastEditors: baozhoutao@steedos.com
|
|
1013
|
-
* @LastEditTime: 2022-
|
|
1019
|
+
* @LastEditTime: 2022-11-14 10:09:34
|
|
1014
1020
|
* @Description:
|
|
1015
1021
|
*/
|
|
1016
1022
|
var config$1 = {
|
|
1017
1023
|
// componentType: 'amisSchema',
|
|
1018
1024
|
group: "华炎魔方",
|
|
1019
1025
|
componentName: "AmisObjectButton",
|
|
1020
|
-
title: "
|
|
1026
|
+
title: "按钮",
|
|
1021
1027
|
docUrl: "",
|
|
1022
1028
|
screenshot: "",
|
|
1023
1029
|
npm: {
|
|
@@ -1053,41 +1059,42 @@
|
|
|
1053
1059
|
weight: 1,
|
|
1054
1060
|
framework: "react"
|
|
1055
1061
|
},
|
|
1056
|
-
plugin: {
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1062
|
+
// plugin: {
|
|
1063
|
+
// rendererName: config.amis.name,
|
|
1064
|
+
// $schema: '/schemas/UnkownSchema.json',
|
|
1065
|
+
// name: config.title,
|
|
1066
|
+
// description: config.title,
|
|
1067
|
+
// tags: [config.group],
|
|
1068
|
+
// order: -9999,
|
|
1069
|
+
// icon: config.amis.icon,
|
|
1070
|
+
// scaffold: {
|
|
1071
|
+
// type: config.amis.name,
|
|
1072
|
+
// label: config.title,
|
|
1073
|
+
// name: 'board',
|
|
1074
|
+
// columns: 1,
|
|
1075
|
+
// vertical: false
|
|
1076
|
+
// },
|
|
1077
|
+
// previewSchema: {
|
|
1078
|
+
// type: config.amis.name,
|
|
1079
|
+
// },
|
|
1080
|
+
// panelTitle: "设置",
|
|
1081
|
+
// panelControls: [
|
|
1082
|
+
// ]
|
|
1083
|
+
// }
|
|
1077
1084
|
} });
|
|
1078
1085
|
|
|
1079
1086
|
/*
|
|
1080
1087
|
* @Author: baozhoutao@steedos.com
|
|
1081
1088
|
* @Date: 2022-10-11 09:39:38
|
|
1082
1089
|
* @LastEditors: baozhoutao@steedos.com
|
|
1083
|
-
* @LastEditTime: 2022-
|
|
1090
|
+
* @LastEditTime: 2022-11-14 10:09:25
|
|
1084
1091
|
* @Description:
|
|
1085
1092
|
*/
|
|
1086
1093
|
var config = {
|
|
1087
1094
|
// componentType: 'amisSchema',
|
|
1088
1095
|
group: "华炎魔方",
|
|
1089
1096
|
componentName: "SteedosDropdownButton",
|
|
1090
|
-
title: "
|
|
1097
|
+
title: "下拉菜单",
|
|
1091
1098
|
docUrl: "",
|
|
1092
1099
|
screenshot: "",
|
|
1093
1100
|
npm: {
|
|
@@ -1123,27 +1130,28 @@
|
|
|
1123
1130
|
weight: 1,
|
|
1124
1131
|
framework: "react"
|
|
1125
1132
|
},
|
|
1126
|
-
plugin: {
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1133
|
+
// plugin: {
|
|
1134
|
+
// rendererName: config.amis.name,
|
|
1135
|
+
// $schema: '/schemas/UnkownSchema.json',
|
|
1136
|
+
// name: config.title,
|
|
1137
|
+
// description: config.title,
|
|
1138
|
+
// tags: [config.group],
|
|
1139
|
+
// order: -9999,
|
|
1140
|
+
// icon: config.amis.icon,
|
|
1141
|
+
// scaffold: {
|
|
1142
|
+
// type: config.amis.name,
|
|
1143
|
+
// label: config.title,
|
|
1144
|
+
// name: 'board',
|
|
1145
|
+
// columns: 1,
|
|
1146
|
+
// vertical: false
|
|
1147
|
+
// },
|
|
1148
|
+
// previewSchema: {
|
|
1149
|
+
// type: config.amis.name,
|
|
1150
|
+
// },
|
|
1151
|
+
// panelTitle: "设置",
|
|
1152
|
+
// panelControls: [
|
|
1153
|
+
// ]
|
|
1154
|
+
// }
|
|
1147
1155
|
} });
|
|
1148
1156
|
|
|
1149
1157
|
/*
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steedos-widgets/amis-object",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.11",
|
|
5
5
|
"main": "dist/amis-object.cjs.js",
|
|
6
6
|
"module": "dist/amis-object.esm.js",
|
|
7
7
|
"unpkg": "dist/amis-object.umd.js",
|
|
@@ -59,6 +59,6 @@
|
|
|
59
59
|
"uglify-js": "^3.17.0"
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
|
-
"@steedos-widgets/amis-lib": "0.0.
|
|
62
|
+
"@steedos-widgets/amis-lib": "0.0.8"
|
|
63
63
|
}
|
|
64
64
|
}
|