@steedos-widgets/amis-object 1.2.1 → 1.2.2
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/AmisRecordService.d.ts +10 -0
- package/dist/amis/index.d.ts +1 -0
- package/dist/amis-object.cjs.js +151 -15
- package/dist/amis-object.cjs.js.map +1 -1
- package/dist/amis-object.esm.js +151 -16
- package/dist/amis-object.esm.js.map +1 -1
- package/dist/amis-object.umd.js +151 -15
- package/dist/amis-object.umd.js.map +1 -1
- package/dist/assets.json +11 -11
- package/dist/meta.js +185 -80
- package/dist/metas/AmisRecordService.d.ts +2 -0
- 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.2/dist/fullcalendar.umd.js",
|
|
15
|
+
"https://unpkg.com/@steedos-widgets/fullcalendar@1.2.2/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.2/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.2/dist/amis-object.umd.js",
|
|
30
|
+
"https://unpkg.com/@steedos-widgets/amis-object@1.2.2/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.2/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.2/dist/meta.js",
|
|
44
|
+
"design": "https://unpkg.com/@steedos-widgets/fullcalendar@1.2.2/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.2/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.2/dist/meta.js",
|
|
55
|
+
"design": "https://unpkg.com/@steedos-widgets/amis-object@1.2.2/dist/meta.js"
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
]
|
package/dist/meta.js
CHANGED
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
* @LastEditTime: 2023-03-31 23:36:11
|
|
38
38
|
* @Description:
|
|
39
39
|
*/
|
|
40
|
-
var config$
|
|
40
|
+
var config$t = {
|
|
41
41
|
componentType: 'amisSchema',
|
|
42
42
|
group: "华炎魔方",
|
|
43
43
|
componentName: "AmisObjectForm",
|
|
@@ -115,39 +115,39 @@
|
|
|
115
115
|
icon: "fa-fw fa fa-list-alt"
|
|
116
116
|
}
|
|
117
117
|
};
|
|
118
|
-
var AmisObjectForm = __assign(__assign({}, config$
|
|
118
|
+
var AmisObjectForm = __assign(__assign({}, config$t), { snippets: [
|
|
119
119
|
{
|
|
120
|
-
title: config$
|
|
120
|
+
title: config$t.title,
|
|
121
121
|
screenshot: "",
|
|
122
122
|
schema: {
|
|
123
|
-
componentName: config$
|
|
124
|
-
props: config$
|
|
123
|
+
componentName: config$t.componentName,
|
|
124
|
+
props: config$t.preview
|
|
125
125
|
}
|
|
126
126
|
}
|
|
127
127
|
], amis: {
|
|
128
128
|
render: {
|
|
129
|
-
type: config$
|
|
129
|
+
type: config$t.amis.name,
|
|
130
130
|
usage: "renderer",
|
|
131
131
|
weight: 1,
|
|
132
132
|
framework: "react"
|
|
133
133
|
},
|
|
134
134
|
plugin: {
|
|
135
|
-
rendererName: config$
|
|
135
|
+
rendererName: config$t.amis.name,
|
|
136
136
|
$schema: '/schemas/UnkownSchema.json',
|
|
137
|
-
name: config$
|
|
138
|
-
description: config$
|
|
139
|
-
tags: [config$
|
|
137
|
+
name: config$t.title,
|
|
138
|
+
description: config$t.title,
|
|
139
|
+
tags: [config$t.group],
|
|
140
140
|
order: -9999,
|
|
141
|
-
icon: config$
|
|
141
|
+
icon: config$t.amis.icon,
|
|
142
142
|
scaffold: {
|
|
143
|
-
type: config$
|
|
144
|
-
label: config$
|
|
143
|
+
type: config$t.amis.name,
|
|
144
|
+
label: config$t.title,
|
|
145
145
|
objectApiName: "${objectName}",
|
|
146
146
|
recordId: "${recordId}",
|
|
147
147
|
className: "sm:border sm:shadow sm:rounded sm:border-gray-300 bg-white p-4"
|
|
148
148
|
},
|
|
149
149
|
previewSchema: {
|
|
150
|
-
type: config$
|
|
150
|
+
type: config$t.amis.name,
|
|
151
151
|
objectApiName: 'space_users'
|
|
152
152
|
},
|
|
153
153
|
panelTitle: "设置",
|
|
@@ -499,7 +499,7 @@
|
|
|
499
499
|
* @LastEditTime: 2023-03-06 14:30:43
|
|
500
500
|
* @Description:
|
|
501
501
|
*/
|
|
502
|
-
var config$
|
|
502
|
+
var config$s = {
|
|
503
503
|
componentType: 'amisSchema',
|
|
504
504
|
group: "华炎魔方",
|
|
505
505
|
componentName: "AmisObjectListView",
|
|
@@ -536,40 +536,40 @@
|
|
|
536
536
|
icon: "fa-fw fa fa-list-alt"
|
|
537
537
|
}
|
|
538
538
|
};
|
|
539
|
-
var AmisObjectListview = __assign(__assign({}, config$
|
|
539
|
+
var AmisObjectListview = __assign(__assign({}, config$s), { snippets: [
|
|
540
540
|
{
|
|
541
|
-
title: config$
|
|
541
|
+
title: config$s.title,
|
|
542
542
|
screenshot: "",
|
|
543
543
|
schema: {
|
|
544
|
-
componentName: config$
|
|
545
|
-
props: config$
|
|
544
|
+
componentName: config$s.componentName,
|
|
545
|
+
props: config$s.preview
|
|
546
546
|
}
|
|
547
547
|
}
|
|
548
548
|
], amis: {
|
|
549
549
|
render: {
|
|
550
|
-
type: config$
|
|
550
|
+
type: config$s.amis.name,
|
|
551
551
|
usage: "renderer",
|
|
552
552
|
weight: 1,
|
|
553
553
|
framework: "react"
|
|
554
554
|
},
|
|
555
555
|
plugin: {
|
|
556
|
-
rendererName: config$
|
|
556
|
+
rendererName: config$s.amis.name,
|
|
557
557
|
$schema: '/schemas/UnkownSchema.json',
|
|
558
|
-
name: config$
|
|
559
|
-
description: config$
|
|
560
|
-
tags: [config$
|
|
558
|
+
name: config$s.title,
|
|
559
|
+
description: config$s.description,
|
|
560
|
+
tags: [config$s.group],
|
|
561
561
|
order: -9999,
|
|
562
|
-
icon: config$
|
|
562
|
+
icon: config$s.amis.icon,
|
|
563
563
|
scaffold: {
|
|
564
|
-
type: config$
|
|
565
|
-
label: config$
|
|
564
|
+
type: config$s.amis.name,
|
|
565
|
+
label: config$s.title,
|
|
566
566
|
objectApiName: "${objectName}",
|
|
567
567
|
listName: "all",
|
|
568
568
|
showHeader: true,
|
|
569
569
|
className: "sm:border sm:shadow sm:rounded sm:border-gray-300 mb-4"
|
|
570
570
|
},
|
|
571
571
|
previewSchema: {
|
|
572
|
-
type: config$
|
|
572
|
+
type: config$s.amis.name,
|
|
573
573
|
objectApiName: 'space_users',
|
|
574
574
|
listName: "all",
|
|
575
575
|
showHeader: true,
|
|
@@ -652,7 +652,7 @@
|
|
|
652
652
|
}
|
|
653
653
|
} });
|
|
654
654
|
|
|
655
|
-
var config$
|
|
655
|
+
var config$r = {
|
|
656
656
|
componentType: 'amisSchema',
|
|
657
657
|
group: "华炎魔方",
|
|
658
658
|
componentName: "AmisObjectCalendar",
|
|
@@ -708,38 +708,38 @@
|
|
|
708
708
|
icon: "fa-fw fa fa-list-alt"
|
|
709
709
|
}
|
|
710
710
|
};
|
|
711
|
-
var AmisObjectCalendar = __assign(__assign({}, config$
|
|
711
|
+
var AmisObjectCalendar = __assign(__assign({}, config$r), { snippets: [
|
|
712
712
|
{
|
|
713
|
-
title: config$
|
|
713
|
+
title: config$r.title,
|
|
714
714
|
screenshot: "",
|
|
715
715
|
schema: {
|
|
716
|
-
componentName: config$
|
|
717
|
-
props: config$
|
|
716
|
+
componentName: config$r.componentName,
|
|
717
|
+
props: config$r.preview
|
|
718
718
|
}
|
|
719
719
|
}
|
|
720
720
|
], amis: {
|
|
721
721
|
render: {
|
|
722
|
-
type: config$
|
|
722
|
+
type: config$r.amis.name,
|
|
723
723
|
usage: "renderer",
|
|
724
724
|
weight: 1,
|
|
725
725
|
framework: "react"
|
|
726
726
|
},
|
|
727
727
|
plugin: {
|
|
728
|
-
rendererName: config$
|
|
728
|
+
rendererName: config$r.amis.name,
|
|
729
729
|
$schema: '/schemas/UnkownSchema.json',
|
|
730
|
-
name: config$
|
|
731
|
-
description: config$
|
|
732
|
-
tags: [config$
|
|
730
|
+
name: config$r.title,
|
|
731
|
+
description: config$r.title,
|
|
732
|
+
tags: [config$r.group],
|
|
733
733
|
order: -9999,
|
|
734
|
-
icon: config$
|
|
734
|
+
icon: config$r.amis.icon,
|
|
735
735
|
scaffold: {
|
|
736
|
-
type: config$
|
|
737
|
-
label: config$
|
|
736
|
+
type: config$r.amis.name,
|
|
737
|
+
label: config$r.title,
|
|
738
738
|
objectApiName: "${objectName}",
|
|
739
739
|
currentView: "timeGridWeek"
|
|
740
740
|
},
|
|
741
741
|
previewSchema: {
|
|
742
|
-
type: config$
|
|
742
|
+
type: config$r.amis.name,
|
|
743
743
|
objectApiName: 'events',
|
|
744
744
|
currentView: "timeGridWeek"
|
|
745
745
|
},
|
|
@@ -811,7 +811,7 @@
|
|
|
811
811
|
* @LastEditTime: 2023-03-11 16:46:21
|
|
812
812
|
* @Description:
|
|
813
813
|
*/
|
|
814
|
-
var config$
|
|
814
|
+
var config$q = {
|
|
815
815
|
componentType: 'amisSchema',
|
|
816
816
|
group: "华炎魔方",
|
|
817
817
|
componentName: "AmisObjectTable",
|
|
@@ -877,39 +877,39 @@
|
|
|
877
877
|
icon: "fa-fw fa fa-list-alt"
|
|
878
878
|
}
|
|
879
879
|
};
|
|
880
|
-
var AmisObjectTable = __assign(__assign({}, config$
|
|
880
|
+
var AmisObjectTable = __assign(__assign({}, config$q), { snippets: [
|
|
881
881
|
{
|
|
882
|
-
title: config$
|
|
882
|
+
title: config$q.title,
|
|
883
883
|
screenshot: "",
|
|
884
884
|
schema: {
|
|
885
|
-
componentName: config$
|
|
886
|
-
props: config$
|
|
885
|
+
componentName: config$q.componentName,
|
|
886
|
+
props: config$q.preview
|
|
887
887
|
}
|
|
888
888
|
}
|
|
889
889
|
], amis: {
|
|
890
890
|
render: {
|
|
891
|
-
type: config$
|
|
891
|
+
type: config$q.amis.name,
|
|
892
892
|
usage: "renderer",
|
|
893
893
|
weight: 1,
|
|
894
894
|
framework: "react"
|
|
895
895
|
},
|
|
896
896
|
plugin: {
|
|
897
|
-
rendererName: config$
|
|
897
|
+
rendererName: config$q.amis.name,
|
|
898
898
|
$schema: '/schemas/UnkownSchema.json',
|
|
899
|
-
name: config$
|
|
900
|
-
description: config$
|
|
901
|
-
tags: [config$
|
|
899
|
+
name: config$q.title,
|
|
900
|
+
description: config$q.title,
|
|
901
|
+
tags: [config$q.group],
|
|
902
902
|
order: -9999,
|
|
903
|
-
icon: config$
|
|
903
|
+
icon: config$q.amis.icon,
|
|
904
904
|
scaffold: {
|
|
905
|
-
type: config$
|
|
906
|
-
label: config$
|
|
905
|
+
type: config$q.amis.name,
|
|
906
|
+
label: config$q.title,
|
|
907
907
|
objectApiName: "${objectName}",
|
|
908
908
|
fields: ["name"],
|
|
909
909
|
className: "sm:border sm:shadow sm:rounded sm:border-gray-300"
|
|
910
910
|
},
|
|
911
911
|
previewSchema: {
|
|
912
|
-
type: config$
|
|
912
|
+
type: config$q.amis.name,
|
|
913
913
|
objectApiName: 'space_users',
|
|
914
914
|
fields: ["name"]
|
|
915
915
|
},
|
|
@@ -1154,7 +1154,7 @@
|
|
|
1154
1154
|
* @LastEditTime: 2023-03-06 14:31:08
|
|
1155
1155
|
* @Description:
|
|
1156
1156
|
*/
|
|
1157
|
-
var config$
|
|
1157
|
+
var config$p = {
|
|
1158
1158
|
componentType: 'amisSchema',
|
|
1159
1159
|
group: "华炎魔方",
|
|
1160
1160
|
componentName: "AmisRecordDetailHeader",
|
|
@@ -1191,38 +1191,38 @@
|
|
|
1191
1191
|
icon: "fa-fw fa fa-list-alt"
|
|
1192
1192
|
}
|
|
1193
1193
|
};
|
|
1194
|
-
var AmisRecordDetailHeader = __assign(__assign({}, config$
|
|
1194
|
+
var AmisRecordDetailHeader = __assign(__assign({}, config$p), { snippets: [
|
|
1195
1195
|
{
|
|
1196
|
-
title: config$
|
|
1196
|
+
title: config$p.title,
|
|
1197
1197
|
screenshot: "",
|
|
1198
1198
|
schema: {
|
|
1199
|
-
componentName: config$
|
|
1200
|
-
props: config$
|
|
1199
|
+
componentName: config$p.componentName,
|
|
1200
|
+
props: config$p.preview
|
|
1201
1201
|
}
|
|
1202
1202
|
}
|
|
1203
1203
|
], amis: {
|
|
1204
1204
|
render: {
|
|
1205
|
-
type: config$
|
|
1205
|
+
type: config$p.amis.name,
|
|
1206
1206
|
usage: "renderer",
|
|
1207
1207
|
weight: 1,
|
|
1208
1208
|
framework: "react"
|
|
1209
1209
|
},
|
|
1210
1210
|
plugin: {
|
|
1211
|
-
rendererName: config$
|
|
1211
|
+
rendererName: config$p.amis.name,
|
|
1212
1212
|
$schema: '/schemas/UnkownSchema.json',
|
|
1213
|
-
name: config$
|
|
1214
|
-
description: config$
|
|
1215
|
-
tags: [config$
|
|
1213
|
+
name: config$p.title,
|
|
1214
|
+
description: config$p.description,
|
|
1215
|
+
tags: [config$p.group],
|
|
1216
1216
|
order: -9999,
|
|
1217
|
-
icon: config$
|
|
1217
|
+
icon: config$p.amis.icon,
|
|
1218
1218
|
scaffold: {
|
|
1219
|
-
type: config$
|
|
1220
|
-
label: config$
|
|
1219
|
+
type: config$p.amis.name,
|
|
1220
|
+
label: config$p.title,
|
|
1221
1221
|
objectApiName: "${objectName}",
|
|
1222
1222
|
recordId: "${recordId}"
|
|
1223
1223
|
},
|
|
1224
1224
|
previewSchema: {
|
|
1225
|
-
type: config$
|
|
1225
|
+
type: config$p.amis.name,
|
|
1226
1226
|
objectApiName: 'space_users'
|
|
1227
1227
|
},
|
|
1228
1228
|
panelTitle: "设置",
|
|
@@ -1262,10 +1262,10 @@
|
|
|
1262
1262
|
* @Author: baozhoutao@steedos.com
|
|
1263
1263
|
* @Date: 2022-08-31 16:32:35
|
|
1264
1264
|
* @LastEditors: 殷亮辉 yinlianghui@hotoa.com
|
|
1265
|
-
* @LastEditTime: 2023-04-
|
|
1265
|
+
* @LastEditTime: 2023-04-12 23:29:24
|
|
1266
1266
|
* @Description:
|
|
1267
1267
|
*/
|
|
1268
|
-
var config$
|
|
1268
|
+
var config$o = {
|
|
1269
1269
|
componentType: 'amisSchema',
|
|
1270
1270
|
group: "华炎魔方",
|
|
1271
1271
|
componentName: "AmisRecordDetail",
|
|
@@ -1301,7 +1301,111 @@
|
|
|
1301
1301
|
icon: "fa-fw fa fa-list-alt"
|
|
1302
1302
|
}
|
|
1303
1303
|
};
|
|
1304
|
-
var AmisRecordDetail = __assign(__assign({}, config$
|
|
1304
|
+
var AmisRecordDetail = __assign(__assign({}, config$o), { snippets: [
|
|
1305
|
+
{
|
|
1306
|
+
title: config$o.title,
|
|
1307
|
+
screenshot: "",
|
|
1308
|
+
schema: {
|
|
1309
|
+
componentName: config$o.componentName,
|
|
1310
|
+
props: config$o.preview
|
|
1311
|
+
}
|
|
1312
|
+
}
|
|
1313
|
+
], amis: {
|
|
1314
|
+
render: {
|
|
1315
|
+
type: config$o.amis.name,
|
|
1316
|
+
usage: "renderer",
|
|
1317
|
+
weight: 1,
|
|
1318
|
+
framework: "react"
|
|
1319
|
+
},
|
|
1320
|
+
plugin__disable: {
|
|
1321
|
+
rendererName: config$o.amis.name,
|
|
1322
|
+
$schema: '/schemas/UnkownSchema.json',
|
|
1323
|
+
name: config$o.title,
|
|
1324
|
+
description: config$o.title,
|
|
1325
|
+
tags: [config$o.group],
|
|
1326
|
+
order: -9999,
|
|
1327
|
+
icon: config$o.amis.icon,
|
|
1328
|
+
scaffold: {
|
|
1329
|
+
type: config$o.amis.name,
|
|
1330
|
+
body: [],
|
|
1331
|
+
label: config$o.title,
|
|
1332
|
+
objectApiName: "${objectName}",
|
|
1333
|
+
recordId: "${recordId}"
|
|
1334
|
+
},
|
|
1335
|
+
regions: [
|
|
1336
|
+
{
|
|
1337
|
+
key: 'body',
|
|
1338
|
+
label: '内容区'
|
|
1339
|
+
}
|
|
1340
|
+
],
|
|
1341
|
+
previewSchema: {
|
|
1342
|
+
type: config$o.amis.name,
|
|
1343
|
+
objectApiName: 'space_users'
|
|
1344
|
+
},
|
|
1345
|
+
panelTitle: "设置",
|
|
1346
|
+
panelControls: [
|
|
1347
|
+
{
|
|
1348
|
+
"type": "select",
|
|
1349
|
+
"label": "对象",
|
|
1350
|
+
"name": "objectApiName",
|
|
1351
|
+
"searchable": true,
|
|
1352
|
+
"multiple": false,
|
|
1353
|
+
"source": {
|
|
1354
|
+
"method": "get",
|
|
1355
|
+
"url": "/service/api/amis-design/objects",
|
|
1356
|
+
"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;",
|
|
1357
|
+
"adaptor": "\n let data = payload.data;\n payload.unshift({\n label: \"\u5F53\u524D\u5BF9\u8C61\",\n name: \"${objectName}\"\n });\n return payload;\n "
|
|
1358
|
+
},
|
|
1359
|
+
"labelField": "label",
|
|
1360
|
+
"valueField": "name",
|
|
1361
|
+
"menuTpl": ""
|
|
1362
|
+
},
|
|
1363
|
+
{
|
|
1364
|
+
type: "text",
|
|
1365
|
+
name: "recordId",
|
|
1366
|
+
label: "记录ID"
|
|
1367
|
+
}
|
|
1368
|
+
]
|
|
1369
|
+
}
|
|
1370
|
+
} });
|
|
1371
|
+
|
|
1372
|
+
var config$n = {
|
|
1373
|
+
componentType: 'amisSchema',
|
|
1374
|
+
group: "华炎魔方",
|
|
1375
|
+
componentName: "AmisRecordService",
|
|
1376
|
+
title: "记录服务",
|
|
1377
|
+
docUrl: "",
|
|
1378
|
+
screenshot: "",
|
|
1379
|
+
npm: {
|
|
1380
|
+
package: "@steedos-widgets/amis-object",
|
|
1381
|
+
version: "{{version}}",
|
|
1382
|
+
exportName: "AmisRecordService",
|
|
1383
|
+
main: "",
|
|
1384
|
+
destructuring: true,
|
|
1385
|
+
subName: ""
|
|
1386
|
+
},
|
|
1387
|
+
props: [
|
|
1388
|
+
{
|
|
1389
|
+
name: "objectApiName",
|
|
1390
|
+
propType: "string",
|
|
1391
|
+
description: '对象名称',
|
|
1392
|
+
},
|
|
1393
|
+
{
|
|
1394
|
+
name: "recordId",
|
|
1395
|
+
propType: "string",
|
|
1396
|
+
description: '记录Id',
|
|
1397
|
+
}
|
|
1398
|
+
],
|
|
1399
|
+
preview: {},
|
|
1400
|
+
targets: ["steedos__RecordPage", "steedos__AppPage", "steedos__HomePage"],
|
|
1401
|
+
engines: ["amis"],
|
|
1402
|
+
// settings for amis.
|
|
1403
|
+
amis: {
|
|
1404
|
+
name: 'steedos-record-service',
|
|
1405
|
+
icon: "fa-fw fa fa-list-alt"
|
|
1406
|
+
}
|
|
1407
|
+
};
|
|
1408
|
+
var AmisRecordService = __assign(__assign({}, config$n), { snippets: [
|
|
1305
1409
|
{
|
|
1306
1410
|
title: config$n.title,
|
|
1307
1411
|
screenshot: "",
|
|
@@ -1360,11 +1464,11 @@
|
|
|
1360
1464
|
"valueField": "name",
|
|
1361
1465
|
"menuTpl": ""
|
|
1362
1466
|
},
|
|
1363
|
-
{
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
}
|
|
1467
|
+
// {
|
|
1468
|
+
// type: "text",
|
|
1469
|
+
// name: "recordId",
|
|
1470
|
+
// label: "记录ID"
|
|
1471
|
+
// }
|
|
1368
1472
|
]
|
|
1369
1473
|
}
|
|
1370
1474
|
} });
|
|
@@ -3343,8 +3447,8 @@
|
|
|
3343
3447
|
/*
|
|
3344
3448
|
* @Author: baozhoutao@steedos.com
|
|
3345
3449
|
* @Date: 2022-08-31 16:32:35
|
|
3346
|
-
* @LastEditors:
|
|
3347
|
-
* @LastEditTime: 2023-04-
|
|
3450
|
+
* @LastEditors: 殷亮辉 yinlianghui@hotoa.com
|
|
3451
|
+
* @LastEditTime: 2023-04-12 23:32:03
|
|
3348
3452
|
* @Description:
|
|
3349
3453
|
*/
|
|
3350
3454
|
var components = [
|
|
@@ -3355,6 +3459,7 @@
|
|
|
3355
3459
|
AmisRecordDetailRelatedList,
|
|
3356
3460
|
AmisRecordDetailRelatedLists,
|
|
3357
3461
|
AmisRecordDetail,
|
|
3462
|
+
AmisRecordService,
|
|
3358
3463
|
AmisObjectCalendar,
|
|
3359
3464
|
AmisObjectButton,
|
|
3360
3465
|
AmisObjectFieldLookup,
|
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.2",
|
|
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.2",
|
|
65
65
|
"autoprefixer": "^10.4.13",
|
|
66
66
|
"postcss": "^8.4.19",
|
|
67
67
|
"tailwindcss": "^3.2.4"
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "f4b1da936f66360718b4b05de60e6076cd357f7e"
|
|
70
70
|
}
|