@steedos-widgets/amis-object 0.0.1

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/meta.js ADDED
@@ -0,0 +1,752 @@
1
+ (function (global, factory) {
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
3
+ typeof define === 'function' && define.amd ? define(factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.BuilderAmisObjectMeta = factory());
5
+ })(this, (function () { 'use strict';
6
+
7
+ /******************************************************************************
8
+ Copyright (c) Microsoft Corporation.
9
+
10
+ Permission to use, copy, modify, and/or distribute this software for any
11
+ purpose with or without fee is hereby granted.
12
+
13
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
14
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
15
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
16
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
17
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
18
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
19
+ PERFORMANCE OF THIS SOFTWARE.
20
+ ***************************************************************************** */
21
+
22
+ var __assign = function() {
23
+ __assign = Object.assign || function __assign(t) {
24
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
25
+ s = arguments[i];
26
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
27
+ }
28
+ return t;
29
+ };
30
+ return __assign.apply(this, arguments);
31
+ };
32
+
33
+ /*
34
+ * @Author: baozhoutao@steedos.com
35
+ * @Date: 2022-08-31 16:32:35
36
+ * @LastEditors: baozhoutao@steedos.com
37
+ * @LastEditTime: 2022-09-02 09:04:33
38
+ * @Description:
39
+ */
40
+ var config$5 = {
41
+ componentType: 'amisSchema',
42
+ group: "华炎魔方",
43
+ componentName: "AmisObjectForm",
44
+ title: "对象表单",
45
+ docUrl: "",
46
+ screenshot: "",
47
+ npm: {
48
+ package: "@steedos-widgets/amis-object",
49
+ version: "{{version}}",
50
+ exportName: "AmisObjectForm",
51
+ main: "",
52
+ destructuring: true,
53
+ subName: ""
54
+ },
55
+ props: [
56
+ {
57
+ name: "objectApiName",
58
+ propType: "string",
59
+ description: '对象名',
60
+ },
61
+ {
62
+ name: "recordId",
63
+ propType: "string",
64
+ description: '记录ID',
65
+ },
66
+ {
67
+ name: "mode",
68
+ propType: {
69
+ "type": "oneOf",
70
+ "value": [
71
+ "read",
72
+ "edit",
73
+ ]
74
+ },
75
+ description: '显示状态',
76
+ },
77
+ {
78
+ name: "layout",
79
+ propType: {
80
+ "type": "oneOf",
81
+ "value": [
82
+ "vertical",
83
+ "horizontal",
84
+ ]
85
+ },
86
+ description: '表单布局',
87
+ },
88
+ ],
89
+ preview: {},
90
+ targets: ["steedos__RecordPage", "steedos__AppPage", "steedos__HomePage"],
91
+ engines: ["amis"],
92
+ // settings for amis.
93
+ amis: {
94
+ name: 'steedos-object-form',
95
+ icon: "fa-fw fa fa-list-alt"
96
+ }
97
+ };
98
+ var AmisObjectForm = __assign(__assign({}, config$5), { snippets: [
99
+ {
100
+ title: config$5.title,
101
+ screenshot: "",
102
+ schema: {
103
+ componentName: config$5.componentName,
104
+ props: config$5.preview
105
+ }
106
+ }
107
+ ], amis: {
108
+ render: {
109
+ type: config$5.amis.name,
110
+ usage: "renderer",
111
+ weight: 1,
112
+ framework: "react"
113
+ },
114
+ plugin: {
115
+ rendererName: config$5.amis.name,
116
+ $schema: '/schemas/UnkownSchema.json',
117
+ name: config$5.title,
118
+ description: config$5.title,
119
+ tags: [config$5.group],
120
+ order: -9999,
121
+ icon: config$5.amis.icon,
122
+ scaffold: {
123
+ type: config$5.amis.name,
124
+ label: config$5.title,
125
+ objectApiName: "${objectName}",
126
+ recordId: "${recordId}"
127
+ },
128
+ previewSchema: {
129
+ type: config$5.amis.name,
130
+ objectApiName: 'space_users'
131
+ },
132
+ panelTitle: "设置",
133
+ panelControls: [
134
+ {
135
+ "type": "select",
136
+ "label": "对象",
137
+ "name": "objectApiName",
138
+ "searchable": true,
139
+ "multiple": false,
140
+ "source": {
141
+ "method": "get",
142
+ "url": "/service/api/amis-design/objects",
143
+ "requestAdaptor": "\n api.url = Builder.settings.rootUrl + api.url; \n if(!api.headers){\n api.headers = {}\n };\n api.headers.Authorization='Bearer ' + Builder.settings.tenantId + ',' + Builder.settings.authToken ;\n return api;\n ",
144
+ "adaptor": "\n let data = payload.data;\n payload.unshift({\n label: \"${objectName}\",\n name: \"${objectName}\"\n });\n return payload;\n "
145
+ },
146
+ "labelField": "label",
147
+ "valueField": "name",
148
+ "menuTpl": ""
149
+ },
150
+ {
151
+ type: "text",
152
+ name: "recordId",
153
+ label: "记录ID"
154
+ },
155
+ {
156
+ type: "button-group-select",
157
+ name: "mode",
158
+ label: "显示状态",
159
+ value: "read",
160
+ options: [
161
+ {
162
+ "label": "只读",
163
+ "value": "read"
164
+ },
165
+ {
166
+ "label": "编辑",
167
+ "value": "edit"
168
+ }
169
+ ]
170
+ },
171
+ {
172
+ type: "button-group-select",
173
+ name: "layout",
174
+ label: "表单项布局",
175
+ options: [
176
+ {
177
+ "label": "纵向",
178
+ "value": "normal"
179
+ },
180
+ {
181
+ "label": "横向",
182
+ "value": "horizontal"
183
+ },
184
+ {
185
+ "label": "内联",
186
+ "value": "inline"
187
+ }
188
+ ]
189
+ },
190
+ /*
191
+ {
192
+ type: "button-group-select",
193
+ name: "labelAlign",
194
+ label: "表单项标签对齐方式",
195
+ hiddenOn: "this.layout !== 'horizontal'",
196
+ options: [
197
+ {
198
+ "label": "左",
199
+ "value": "left"
200
+ },
201
+ {
202
+ "label": "右",
203
+ "value": "right"
204
+ }
205
+ ]
206
+ },
207
+ {
208
+ type: "text",
209
+ name: "className",
210
+ label: "CSS类名"
211
+ }
212
+ */
213
+ ]
214
+ }
215
+ } });
216
+
217
+ /*
218
+ * @Author: baozhoutao@steedos.com
219
+ * @Date: 2022-08-31 16:32:35
220
+ * @LastEditors: baozhoutao@steedos.com
221
+ * @LastEditTime: 2022-09-15 10:40:37
222
+ * @Description:
223
+ */
224
+ var config$4 = {
225
+ componentType: 'amisSchema',
226
+ group: "华炎魔方",
227
+ componentName: "AmisObjectListView",
228
+ title: "对象列表",
229
+ docUrl: "",
230
+ screenshot: "",
231
+ npm: {
232
+ package: "@steedos-widgets/amis-object",
233
+ version: "{{version}}",
234
+ exportName: "AmisObjectListView",
235
+ main: "",
236
+ destructuring: true,
237
+ subName: ""
238
+ },
239
+ props: [
240
+ {
241
+ name: "objectApiName",
242
+ propType: "string",
243
+ description: '对象名称',
244
+ },
245
+ {
246
+ name: "listName",
247
+ propType: "string",
248
+ description: '视图名称',
249
+ }
250
+ ],
251
+ preview: {},
252
+ targets: ["steedos__RecordPage", "steedos__AppPage", "steedos__HomePage"],
253
+ engines: ["amis"],
254
+ // settings for amis.
255
+ amis: {
256
+ name: 'steedos-object-listview',
257
+ icon: "fa-fw fa fa-list-alt"
258
+ }
259
+ };
260
+ var AmisObjectListview = __assign(__assign({}, config$4), { snippets: [
261
+ {
262
+ title: config$4.title,
263
+ screenshot: "",
264
+ schema: {
265
+ componentName: config$4.componentName,
266
+ props: config$4.preview
267
+ }
268
+ }
269
+ ], amis: {
270
+ render: {
271
+ type: config$4.amis.name,
272
+ usage: "renderer",
273
+ weight: 1,
274
+ framework: "react"
275
+ },
276
+ plugin: {
277
+ rendererName: config$4.amis.name,
278
+ $schema: '/schemas/UnkownSchema.json',
279
+ name: config$4.title,
280
+ description: config$4.title,
281
+ tags: [config$4.group],
282
+ order: -9999,
283
+ icon: config$4.amis.icon,
284
+ scaffold: {
285
+ type: config$4.amis.name,
286
+ label: config$4.title,
287
+ objectApiName: "${objectName}",
288
+ listName: "all"
289
+ },
290
+ previewSchema: {
291
+ type: config$4.amis.name,
292
+ objectApiName: 'space_users',
293
+ listName: "all"
294
+ },
295
+ panelTitle: "设置",
296
+ panelControls: [
297
+ {
298
+ "type": "select",
299
+ "label": "对象",
300
+ "name": "objectApiName",
301
+ "multiple": false,
302
+ "source": {
303
+ "method": "get",
304
+ "url": "/service/api/amis-design/objects",
305
+ "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;",
306
+ "adaptor": "\n let data = payload.data;\n payload.unshift({\n label: \"${objectName}\",\n name: \"${objectName}\"\n });\n return payload;\n "
307
+ },
308
+ "labelField": "label",
309
+ "valueField": "name",
310
+ "menuTpl": ""
311
+ },
312
+ {
313
+ type: "select",
314
+ name: "listName",
315
+ "multiple": false,
316
+ label: "视图",
317
+ "source": {
318
+ "url": "/service/api/amis-design/object/${objectApiName === '${objectName}' ? 'space_users' : objectApiName}",
319
+ "method": "get",
320
+ "messages": {},
321
+ "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;",
322
+ "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 ",
323
+ "sendOn": "this.objectApiName"
324
+ },
325
+ "labelField": "label",
326
+ "valueField": "value"
327
+ }
328
+ ]
329
+ }
330
+ } });
331
+
332
+ /*
333
+ * @Author: baozhoutao@steedos.com
334
+ * @Date: 2022-08-31 16:32:35
335
+ * @LastEditors: baozhoutao@steedos.com
336
+ * @LastEditTime: 2022-09-15 10:40:37
337
+ * @Description:
338
+ */
339
+ var config$3 = {
340
+ componentType: 'amisSchema',
341
+ group: "华炎魔方",
342
+ componentName: "AmisRecordDetailHeader",
343
+ title: "标题面板",
344
+ docUrl: "",
345
+ screenshot: "",
346
+ npm: {
347
+ package: "@steedos-widgets/amis-object",
348
+ version: "{{version}}",
349
+ exportName: "AmisRecordDetailHeader",
350
+ main: "",
351
+ destructuring: true,
352
+ subName: ""
353
+ },
354
+ props: [
355
+ {
356
+ name: "objectApiName",
357
+ propType: "string",
358
+ description: '对象名称',
359
+ },
360
+ {
361
+ name: "recordId",
362
+ propType: "string",
363
+ description: '记录Id',
364
+ }
365
+ ],
366
+ preview: {},
367
+ targets: ["steedos__RecordPage", "steedos__AppPage", "steedos__HomePage"],
368
+ engines: ["amis"],
369
+ // settings for amis.
370
+ amis: {
371
+ name: 'steedos-record-detail-header',
372
+ icon: "fa-fw fa fa-list-alt"
373
+ }
374
+ };
375
+ var AmisRecordDetailHeader = __assign(__assign({}, config$3), { snippets: [
376
+ {
377
+ title: config$3.title,
378
+ screenshot: "",
379
+ schema: {
380
+ componentName: config$3.componentName,
381
+ props: config$3.preview
382
+ }
383
+ }
384
+ ], amis: {
385
+ render: {
386
+ type: config$3.amis.name,
387
+ usage: "renderer",
388
+ weight: 1,
389
+ framework: "react"
390
+ },
391
+ plugin: {
392
+ rendererName: config$3.amis.name,
393
+ $schema: '/schemas/UnkownSchema.json',
394
+ name: config$3.title,
395
+ description: config$3.title,
396
+ tags: [config$3.group],
397
+ order: -9999,
398
+ icon: config$3.amis.icon,
399
+ scaffold: {
400
+ type: config$3.amis.name,
401
+ label: config$3.title,
402
+ objectApiName: "${objectName}",
403
+ recordId: "${recordId}"
404
+ },
405
+ previewSchema: {
406
+ type: config$3.amis.name,
407
+ objectApiName: 'space_users'
408
+ },
409
+ panelTitle: "设置",
410
+ panelControls: [
411
+ {
412
+ "type": "select",
413
+ "label": "对象",
414
+ "name": "objectApiName",
415
+ "searchable": true,
416
+ "multiple": false,
417
+ "source": {
418
+ "method": "get",
419
+ "url": "/service/api/amis-design/objects",
420
+ "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;",
421
+ "adaptor": "\n let data = payload.data;\n payload.unshift({\n label: \"${objectName}\",\n name: \"${objectName}\"\n });\n return payload;\n "
422
+ },
423
+ "labelField": "label",
424
+ "valueField": "name",
425
+ "menuTpl": ""
426
+ },
427
+ {
428
+ type: "text",
429
+ name: "recordId",
430
+ label: "记录Id"
431
+ }
432
+ ]
433
+ }
434
+ } });
435
+
436
+ var config$2 = {
437
+ componentType: 'amisSchema',
438
+ group: "华炎魔方",
439
+ componentName: "AmisSelectUser",
440
+ title: "选择用户",
441
+ docUrl: "",
442
+ screenshot: "",
443
+ npm: {
444
+ package: "@steedos-widgets/amis-object",
445
+ version: "{{version}}",
446
+ exportName: "AmisSelectUser",
447
+ main: "",
448
+ destructuring: true,
449
+ subName: ""
450
+ },
451
+ // props: [
452
+ // {
453
+ // name: "name",
454
+ // propType: "string",
455
+ // description: '字段名称',
456
+ // },
457
+ // {
458
+ // name: "label",
459
+ // propType: "string",
460
+ // description: '标题',
461
+ // },
462
+ // {
463
+ // name: "multiple",
464
+ // propType: "boolean",
465
+ // description: '多选',
466
+ // },
467
+ // {
468
+ // name: "searchable",
469
+ // propType: "boolean",
470
+ // description: '可搜索',
471
+ // }
472
+ // ],
473
+ preview: {},
474
+ targets: ["steedos__RecordPage", "steedos__AppPage", "steedos__HomePage"],
475
+ engines: ["amis"],
476
+ // settings for amis.
477
+ amis: {
478
+ name: 'steedos-select-user',
479
+ icon: "fa-fw fa fa-list-alt"
480
+ }
481
+ };
482
+ var AmisSelectUser = __assign(__assign({}, config$2), { snippets: [
483
+ {
484
+ title: config$2.title,
485
+ screenshot: "",
486
+ schema: {
487
+ componentName: config$2.componentName,
488
+ props: config$2.preview
489
+ }
490
+ }
491
+ ], amis: {
492
+ render: {
493
+ type: config$2.amis.name,
494
+ usage: "formitem",
495
+ weight: 1,
496
+ framework: "react"
497
+ },
498
+ plugin: {
499
+ rendererName: config$2.amis.name,
500
+ $schema: '/schemas/UnkownSchema.json',
501
+ name: config$2.title,
502
+ description: config$2.title,
503
+ tags: [config$2.group],
504
+ order: -9999,
505
+ icon: config$2.amis.icon,
506
+ scaffold: {
507
+ type: config$2.amis.name,
508
+ label: config$2.title,
509
+ name: ""
510
+ },
511
+ previewSchema: {
512
+ type: config$2.amis.name,
513
+ },
514
+ panelTitle: "设置",
515
+ panelControls: [
516
+ {
517
+ type: "checkbox",
518
+ name: "multiple",
519
+ label: '多选',
520
+ },
521
+ {
522
+ type: "checkbox",
523
+ name: "searchable",
524
+ label: '可搜索',
525
+ }
526
+ // ,{
527
+ // "type": "editor",
528
+ // "name": "editor",
529
+ // "label": "编辑器",
530
+ // "placeholder": "function() {\n console.log('hello world')\n}"
531
+ // }
532
+ ]
533
+ }
534
+ } });
535
+
536
+ /*
537
+ * @Author: baozhoutao@steedos.com
538
+ * @Date: 2022-08-31 16:32:35
539
+ * @LastEditors: baozhoutao@steedos.com
540
+ * @LastEditTime: 2022-09-15 10:40:37
541
+ * @Description:
542
+ */
543
+ var config$1 = {
544
+ componentType: 'amisSchema',
545
+ group: "华炎魔方",
546
+ componentName: "AmisRecordDetailRelatedList",
547
+ title: "相关列表",
548
+ docUrl: "",
549
+ screenshot: "",
550
+ npm: {
551
+ package: "@steedos-widgets/amis-object",
552
+ version: "{{version}}",
553
+ exportName: "AmisRecordDetailRelatedList",
554
+ main: "",
555
+ destructuring: true,
556
+ subName: ""
557
+ },
558
+ props: [
559
+ {
560
+ name: "objectApiName",
561
+ propType: "string",
562
+ description: '父级对象',
563
+ },
564
+ {
565
+ name: "recordId",
566
+ propType: "string",
567
+ description: '父级记录',
568
+ },
569
+ {
570
+ name: "relatedObjectApiName",
571
+ propType: "string",
572
+ description: '相关列表对象',
573
+ }
574
+ ],
575
+ preview: {},
576
+ targets: ["steedos__RecordPage", "steedos__AppPage", "steedos__HomePage"],
577
+ engines: ["amis"],
578
+ // settings for amis.
579
+ amis: {
580
+ name: 'steedos-object-related-listview',
581
+ icon: "fa-fw fa fa-list-alt"
582
+ }
583
+ };
584
+ var AmisRecordDetailRelatedList = __assign(__assign({}, config$1), { snippets: [
585
+ {
586
+ title: config$1.title,
587
+ screenshot: "",
588
+ schema: {
589
+ componentName: config$1.componentName,
590
+ props: config$1.preview
591
+ }
592
+ }
593
+ ], amis: {
594
+ render: {
595
+ type: config$1.amis.name,
596
+ usage: "renderer",
597
+ weight: 1,
598
+ framework: "react"
599
+ },
600
+ plugin: {
601
+ rendererName: config$1.amis.name,
602
+ $schema: '/schemas/UnkownSchema.json',
603
+ name: config$1.title,
604
+ description: config$1.title,
605
+ tags: [config$1.group],
606
+ order: -9999,
607
+ icon: config$1.amis.icon,
608
+ scaffold: {
609
+ type: config$1.amis.name,
610
+ label: config$1.title,
611
+ objectApiName: "${objectName}",
612
+ relatedObjectApiName: "contacts"
613
+ },
614
+ previewSchema: {
615
+ type: config$1.amis.name,
616
+ objectApiName: "accounts",
617
+ relatedObjectApiName: "contacts"
618
+ },
619
+ panelTitle: "设置",
620
+ panelControls: [
621
+ {
622
+ "type": "select",
623
+ "label": "父级对象",
624
+ "name": "objectApiName",
625
+ "searchable": true,
626
+ "multiple": false,
627
+ "source": {
628
+ "method": "get",
629
+ "url": "/service/api/amis-design/objects",
630
+ "requestAdaptor": "console.log('api', api);api.url = Builder.settings.rootUrl + api.url; if(!api.headers){api.headers = {}};api.headers.Authorization='Bearer ' + Builder.settings.tenantId + ',' + Builder.settings.authToken ;return api;",
631
+ "adaptor": "\n let data = payload.data;\n payload.unshift({\n label: \"${objectName}\",\n name: \"${objectName}\"\n });\n return payload;\n "
632
+ },
633
+ "labelField": "label",
634
+ "valueField": "name",
635
+ "menuTpl": ""
636
+ },
637
+ {
638
+ type: "text",
639
+ name: "recordId",
640
+ label: "父级记录"
641
+ },
642
+ {
643
+ "type": "select",
644
+ "label": "相关列表对象",
645
+ "name": "relatedObjectApiName",
646
+ "searchable": true,
647
+ "multiple": false,
648
+ "source": {
649
+ "method": "get",
650
+ "url": "/service/api/amis-design/related_objects/${objectApiName === '${objectName}' ? 'accounts' : objectApiName}",
651
+ "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;",
652
+ "sendOn": "this.objectApiName"
653
+ },
654
+ "labelField": "label",
655
+ "valueField": "name",
656
+ "menuTpl": ""
657
+ }
658
+ ]
659
+ }
660
+ } });
661
+
662
+ /*
663
+ * @Author: baozhoutao@steedos.com
664
+ * @Date: 2022-08-31 16:32:35
665
+ * @LastEditors: baozhoutao@steedos.com
666
+ * @LastEditTime: 2022-09-02 09:04:33
667
+ * @Description:
668
+ */
669
+ var config = {
670
+ componentType: 'amisSchema',
671
+ group: "华炎魔方",
672
+ componentName: "AmisProvider",
673
+ title: "华炎魔方容器",
674
+ docUrl: "",
675
+ screenshot: "",
676
+ npm: {
677
+ package: "@steedos-widgets/amis-object",
678
+ version: "{{version}}",
679
+ exportName: "AmisProvider",
680
+ main: "",
681
+ destructuring: true,
682
+ subName: ""
683
+ },
684
+ props: [],
685
+ preview: {},
686
+ targets: ["steedos__RecordPage", "steedos__AppPage", "steedos__HomePage"],
687
+ engines: ["amis"],
688
+ // settings for amis.
689
+ amis: {
690
+ name: 'steedos-provider',
691
+ icon: "fa-fw fa fa-list-alt"
692
+ }
693
+ };
694
+ var AmisProvider = __assign(__assign({}, config), { snippets: [
695
+ {
696
+ title: config.title,
697
+ screenshot: "",
698
+ schema: {
699
+ componentName: config.componentName,
700
+ props: config.preview
701
+ }
702
+ }
703
+ ], amis: {
704
+ render: {
705
+ type: config.amis.name,
706
+ usage: "renderer",
707
+ weight: 1,
708
+ framework: "react"
709
+ },
710
+ plugin: {
711
+ rendererName: config.amis.name,
712
+ $schema: '/schemas/UnkownSchema.json',
713
+ name: config.title,
714
+ description: config.title,
715
+ tags: [config.group],
716
+ order: -9999,
717
+ icon: config.amis.icon,
718
+ scaffold: {
719
+ type: config.amis.name,
720
+ label: config.title
721
+ },
722
+ previewSchema: {
723
+ type: config.amis.name,
724
+ },
725
+ panelTitle: "设置",
726
+ panelControls: []
727
+ }
728
+ } });
729
+
730
+ /*
731
+ * @Author: baozhoutao@steedos.com
732
+ * @Date: 2022-08-31 16:32:35
733
+ * @LastEditors: baozhoutao@steedos.com
734
+ * @LastEditTime: 2022-09-01 18:46:29
735
+ * @Description:
736
+ */
737
+ var components = [AmisObjectForm, AmisObjectListview, AmisRecordDetailHeader, AmisSelectUser, AmisRecordDetailRelatedList, AmisProvider];
738
+ var componentList = [
739
+ {
740
+ title: "华炎魔方",
741
+ icon: "",
742
+ children: [AmisObjectForm, AmisObjectListview, AmisRecordDetailHeader, AmisSelectUser, AmisRecordDetailRelatedList, AmisProvider]
743
+ }
744
+ ];
745
+ var meta = {
746
+ componentList: componentList,
747
+ components: components
748
+ };
749
+
750
+ return meta;
751
+
752
+ }));