@steedos-widgets/amis-object 0.0.7 → 0.0.8
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/AmisRecordDetailRelatedList.d.ts +49 -55
- package/dist/amis-object.cjs.js +168 -33
- package/dist/amis-object.cjs.js.map +1 -1
- package/dist/amis-object.esm.js +167 -34
- package/dist/amis-object.esm.js.map +1 -1
- package/dist/amis-object.umd.js +171 -37
- package/dist/assets-dev.json +13 -5
- package/dist/assets.json +13 -5
- package/dist/components/buttons/button.d.ts +2 -0
- package/dist/components/buttons/dropdown-button.d.ts +2 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/meta.js +300 -120
- package/dist/metas/AmisObjectButton.d.ts +2 -0
- package/dist/metas/SteedosDropdownButton.d.ts +2 -0
- package/package.json +1 -1
package/dist/meta.js
CHANGED
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
* @LastEditTime: 2022-09-02 09:04:33
|
|
38
38
|
* @Description:
|
|
39
39
|
*/
|
|
40
|
-
var config$
|
|
40
|
+
var config$9 = {
|
|
41
41
|
componentType: 'amisSchema',
|
|
42
42
|
group: "华炎魔方",
|
|
43
43
|
componentName: "AmisObjectForm",
|
|
@@ -95,38 +95,38 @@
|
|
|
95
95
|
icon: "fa-fw fa fa-list-alt"
|
|
96
96
|
}
|
|
97
97
|
};
|
|
98
|
-
var AmisObjectForm = __assign(__assign({}, config$
|
|
98
|
+
var AmisObjectForm = __assign(__assign({}, config$9), { snippets: [
|
|
99
99
|
{
|
|
100
|
-
title: config$
|
|
100
|
+
title: config$9.title,
|
|
101
101
|
screenshot: "",
|
|
102
102
|
schema: {
|
|
103
|
-
componentName: config$
|
|
104
|
-
props: config$
|
|
103
|
+
componentName: config$9.componentName,
|
|
104
|
+
props: config$9.preview
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
107
|
], amis: {
|
|
108
108
|
render: {
|
|
109
|
-
type: config$
|
|
109
|
+
type: config$9.amis.name,
|
|
110
110
|
usage: "renderer",
|
|
111
111
|
weight: 1,
|
|
112
112
|
framework: "react"
|
|
113
113
|
},
|
|
114
114
|
plugin: {
|
|
115
|
-
rendererName: config$
|
|
115
|
+
rendererName: config$9.amis.name,
|
|
116
116
|
$schema: '/schemas/UnkownSchema.json',
|
|
117
|
-
name: config$
|
|
118
|
-
description: config$
|
|
119
|
-
tags: [config$
|
|
117
|
+
name: config$9.title,
|
|
118
|
+
description: config$9.title,
|
|
119
|
+
tags: [config$9.group],
|
|
120
120
|
order: -9999,
|
|
121
|
-
icon: config$
|
|
121
|
+
icon: config$9.amis.icon,
|
|
122
122
|
scaffold: {
|
|
123
|
-
type: config$
|
|
124
|
-
label: config$
|
|
123
|
+
type: config$9.amis.name,
|
|
124
|
+
label: config$9.title,
|
|
125
125
|
objectApiName: "${objectName}",
|
|
126
126
|
recordId: "${recordId}"
|
|
127
127
|
},
|
|
128
128
|
previewSchema: {
|
|
129
|
-
type: config$
|
|
129
|
+
type: config$9.amis.name,
|
|
130
130
|
objectApiName: 'space_users'
|
|
131
131
|
},
|
|
132
132
|
panelTitle: "设置",
|
|
@@ -221,7 +221,7 @@
|
|
|
221
221
|
* @LastEditTime: 2022-09-15 10:40:37
|
|
222
222
|
* @Description:
|
|
223
223
|
*/
|
|
224
|
-
var config$
|
|
224
|
+
var config$8 = {
|
|
225
225
|
componentType: 'amisSchema',
|
|
226
226
|
group: "华炎魔方",
|
|
227
227
|
componentName: "AmisObjectListView",
|
|
@@ -257,38 +257,38 @@
|
|
|
257
257
|
icon: "fa-fw fa fa-list-alt"
|
|
258
258
|
}
|
|
259
259
|
};
|
|
260
|
-
var AmisObjectListview = __assign(__assign({}, config$
|
|
260
|
+
var AmisObjectListview = __assign(__assign({}, config$8), { snippets: [
|
|
261
261
|
{
|
|
262
|
-
title: config$
|
|
262
|
+
title: config$8.title,
|
|
263
263
|
screenshot: "",
|
|
264
264
|
schema: {
|
|
265
|
-
componentName: config$
|
|
266
|
-
props: config$
|
|
265
|
+
componentName: config$8.componentName,
|
|
266
|
+
props: config$8.preview
|
|
267
267
|
}
|
|
268
268
|
}
|
|
269
269
|
], amis: {
|
|
270
270
|
render: {
|
|
271
|
-
type: config$
|
|
271
|
+
type: config$8.amis.name,
|
|
272
272
|
usage: "renderer",
|
|
273
273
|
weight: 1,
|
|
274
274
|
framework: "react"
|
|
275
275
|
},
|
|
276
276
|
plugin: {
|
|
277
|
-
rendererName: config$
|
|
277
|
+
rendererName: config$8.amis.name,
|
|
278
278
|
$schema: '/schemas/UnkownSchema.json',
|
|
279
|
-
name: config$
|
|
280
|
-
description: config$
|
|
281
|
-
tags: [config$
|
|
279
|
+
name: config$8.title,
|
|
280
|
+
description: config$8.title,
|
|
281
|
+
tags: [config$8.group],
|
|
282
282
|
order: -9999,
|
|
283
|
-
icon: config$
|
|
283
|
+
icon: config$8.amis.icon,
|
|
284
284
|
scaffold: {
|
|
285
|
-
type: config$
|
|
286
|
-
label: config$
|
|
285
|
+
type: config$8.amis.name,
|
|
286
|
+
label: config$8.title,
|
|
287
287
|
objectApiName: "${objectName}",
|
|
288
288
|
listName: "all"
|
|
289
289
|
},
|
|
290
290
|
previewSchema: {
|
|
291
|
-
type: config$
|
|
291
|
+
type: config$8.amis.name,
|
|
292
292
|
objectApiName: 'space_users',
|
|
293
293
|
listName: "all"
|
|
294
294
|
},
|
|
@@ -355,7 +355,7 @@
|
|
|
355
355
|
* @LastEditTime: 2022-09-15 10:40:37
|
|
356
356
|
* @Description:
|
|
357
357
|
*/
|
|
358
|
-
var config$
|
|
358
|
+
var config$7 = {
|
|
359
359
|
componentType: 'amisSchema',
|
|
360
360
|
group: "华炎魔方",
|
|
361
361
|
componentName: "AmisObjectTable",
|
|
@@ -380,6 +380,26 @@
|
|
|
380
380
|
name: "columns",
|
|
381
381
|
propType: "array",
|
|
382
382
|
description: '显示列',
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
name: "amisCondition",
|
|
386
|
+
propType: "object",
|
|
387
|
+
description: '过滤条件',
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
name: "sortField",
|
|
391
|
+
propType: "string",
|
|
392
|
+
description: '排序字段',
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
name: "sortOrder",
|
|
396
|
+
propType: "string",
|
|
397
|
+
description: '排序顺序',
|
|
398
|
+
},
|
|
399
|
+
{
|
|
400
|
+
name: "top",
|
|
401
|
+
propType: "number",
|
|
402
|
+
description: '显示的记录数量',
|
|
383
403
|
}
|
|
384
404
|
],
|
|
385
405
|
preview: {},
|
|
@@ -391,38 +411,38 @@
|
|
|
391
411
|
icon: "fa-fw fa fa-list-alt"
|
|
392
412
|
}
|
|
393
413
|
};
|
|
394
|
-
var AmisObjectTable = __assign(__assign({}, config$
|
|
414
|
+
var AmisObjectTable = __assign(__assign({}, config$7), { snippets: [
|
|
395
415
|
{
|
|
396
|
-
title: config$
|
|
416
|
+
title: config$7.title,
|
|
397
417
|
screenshot: "",
|
|
398
418
|
schema: {
|
|
399
|
-
componentName: config$
|
|
400
|
-
props: config$
|
|
419
|
+
componentName: config$7.componentName,
|
|
420
|
+
props: config$7.preview
|
|
401
421
|
}
|
|
402
422
|
}
|
|
403
423
|
], amis: {
|
|
404
424
|
render: {
|
|
405
|
-
type: config$
|
|
425
|
+
type: config$7.amis.name,
|
|
406
426
|
usage: "renderer",
|
|
407
427
|
weight: 1,
|
|
408
428
|
framework: "react"
|
|
409
429
|
},
|
|
410
430
|
plugin: {
|
|
411
|
-
rendererName: config$
|
|
431
|
+
rendererName: config$7.amis.name,
|
|
412
432
|
$schema: '/schemas/UnkownSchema.json',
|
|
413
|
-
name: config$
|
|
414
|
-
description: config$
|
|
415
|
-
tags: [config$
|
|
433
|
+
name: config$7.title,
|
|
434
|
+
description: config$7.title,
|
|
435
|
+
tags: [config$7.group],
|
|
416
436
|
order: -9999,
|
|
417
|
-
icon: config$
|
|
437
|
+
icon: config$7.amis.icon,
|
|
418
438
|
scaffold: {
|
|
419
|
-
type: config$
|
|
420
|
-
label: config$
|
|
439
|
+
type: config$7.amis.name,
|
|
440
|
+
label: config$7.title,
|
|
421
441
|
objectApiName: "${objectName}",
|
|
422
442
|
columns: [{ "field": "name" }]
|
|
423
443
|
},
|
|
424
444
|
previewSchema: {
|
|
425
|
-
type: config$
|
|
445
|
+
type: config$7.amis.name,
|
|
426
446
|
objectApiName: 'space_users',
|
|
427
447
|
columns: [{ "field": "name" }]
|
|
428
448
|
},
|
|
@@ -469,20 +489,20 @@
|
|
|
469
489
|
// }
|
|
470
490
|
]
|
|
471
491
|
},
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
492
|
+
{
|
|
493
|
+
"type": "condition-builder",
|
|
494
|
+
"name": "amisCondition",
|
|
495
|
+
"label": "过滤条件",
|
|
496
|
+
"source": {
|
|
497
|
+
"method": "get",
|
|
498
|
+
"url": "/service/api/amis-metadata-listviews/getFilterFields?objectName=${objectApiName === '${objectName}' ? 'space_users' : objectApiName}",
|
|
499
|
+
"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;",
|
|
500
|
+
"dataType": "json"
|
|
501
|
+
},
|
|
502
|
+
"en-US": {
|
|
503
|
+
"label": "Filters Conditions"
|
|
504
|
+
}
|
|
505
|
+
},
|
|
486
506
|
{
|
|
487
507
|
"type": "input-text",
|
|
488
508
|
"name": "sortField",
|
|
@@ -516,7 +536,7 @@
|
|
|
516
536
|
* @LastEditTime: 2022-09-15 10:40:37
|
|
517
537
|
* @Description:
|
|
518
538
|
*/
|
|
519
|
-
var config$
|
|
539
|
+
var config$6 = {
|
|
520
540
|
componentType: 'amisSchema',
|
|
521
541
|
group: "华炎魔方",
|
|
522
542
|
componentName: "AmisRecordDetailHeader",
|
|
@@ -552,38 +572,38 @@
|
|
|
552
572
|
icon: "fa-fw fa fa-list-alt"
|
|
553
573
|
}
|
|
554
574
|
};
|
|
555
|
-
var AmisRecordDetailHeader = __assign(__assign({}, config$
|
|
575
|
+
var AmisRecordDetailHeader = __assign(__assign({}, config$6), { snippets: [
|
|
556
576
|
{
|
|
557
|
-
title: config$
|
|
577
|
+
title: config$6.title,
|
|
558
578
|
screenshot: "",
|
|
559
579
|
schema: {
|
|
560
|
-
componentName: config$
|
|
561
|
-
props: config$
|
|
580
|
+
componentName: config$6.componentName,
|
|
581
|
+
props: config$6.preview
|
|
562
582
|
}
|
|
563
583
|
}
|
|
564
584
|
], amis: {
|
|
565
585
|
render: {
|
|
566
|
-
type: config$
|
|
586
|
+
type: config$6.amis.name,
|
|
567
587
|
usage: "renderer",
|
|
568
588
|
weight: 1,
|
|
569
589
|
framework: "react"
|
|
570
590
|
},
|
|
571
591
|
plugin: {
|
|
572
|
-
rendererName: config$
|
|
592
|
+
rendererName: config$6.amis.name,
|
|
573
593
|
$schema: '/schemas/UnkownSchema.json',
|
|
574
|
-
name: config$
|
|
575
|
-
description: config$
|
|
576
|
-
tags: [config$
|
|
594
|
+
name: config$6.title,
|
|
595
|
+
description: config$6.title,
|
|
596
|
+
tags: [config$6.group],
|
|
577
597
|
order: -9999,
|
|
578
|
-
icon: config$
|
|
598
|
+
icon: config$6.amis.icon,
|
|
579
599
|
scaffold: {
|
|
580
|
-
type: config$
|
|
581
|
-
label: config$
|
|
600
|
+
type: config$6.amis.name,
|
|
601
|
+
label: config$6.title,
|
|
582
602
|
objectApiName: "${objectName}",
|
|
583
603
|
recordId: "${recordId}"
|
|
584
604
|
},
|
|
585
605
|
previewSchema: {
|
|
586
|
-
type: config$
|
|
606
|
+
type: config$6.amis.name,
|
|
587
607
|
objectApiName: 'space_users'
|
|
588
608
|
},
|
|
589
609
|
panelTitle: "设置",
|
|
@@ -613,7 +633,7 @@
|
|
|
613
633
|
}
|
|
614
634
|
} });
|
|
615
635
|
|
|
616
|
-
var config$
|
|
636
|
+
var config$5 = {
|
|
617
637
|
componentType: 'amisSchema',
|
|
618
638
|
group: "华炎魔方",
|
|
619
639
|
componentName: "AmisSelectUser",
|
|
@@ -659,37 +679,37 @@
|
|
|
659
679
|
icon: "fa-fw fa fa-list-alt"
|
|
660
680
|
}
|
|
661
681
|
};
|
|
662
|
-
var AmisSelectUser = __assign(__assign({}, config$
|
|
682
|
+
var AmisSelectUser = __assign(__assign({}, config$5), { snippets: [
|
|
663
683
|
{
|
|
664
|
-
title: config$
|
|
684
|
+
title: config$5.title,
|
|
665
685
|
screenshot: "",
|
|
666
686
|
schema: {
|
|
667
|
-
componentName: config$
|
|
668
|
-
props: config$
|
|
687
|
+
componentName: config$5.componentName,
|
|
688
|
+
props: config$5.preview
|
|
669
689
|
}
|
|
670
690
|
}
|
|
671
691
|
], amis: {
|
|
672
692
|
render: {
|
|
673
|
-
type: config$
|
|
693
|
+
type: config$5.amis.name,
|
|
674
694
|
usage: "formitem",
|
|
675
695
|
weight: 1,
|
|
676
696
|
framework: "react"
|
|
677
697
|
},
|
|
678
698
|
plugin: {
|
|
679
|
-
rendererName: config$
|
|
699
|
+
rendererName: config$5.amis.name,
|
|
680
700
|
$schema: '/schemas/UnkownSchema.json',
|
|
681
|
-
name: config$
|
|
682
|
-
description: config$
|
|
683
|
-
tags: [config$
|
|
701
|
+
name: config$5.title,
|
|
702
|
+
description: config$5.title,
|
|
703
|
+
tags: [config$5.group],
|
|
684
704
|
order: -9999,
|
|
685
|
-
icon: config$
|
|
705
|
+
icon: config$5.amis.icon,
|
|
686
706
|
scaffold: {
|
|
687
|
-
type: config$
|
|
688
|
-
label: config$
|
|
707
|
+
type: config$5.amis.name,
|
|
708
|
+
label: config$5.title,
|
|
689
709
|
name: ""
|
|
690
710
|
},
|
|
691
711
|
previewSchema: {
|
|
692
|
-
type: config$
|
|
712
|
+
type: config$5.amis.name,
|
|
693
713
|
},
|
|
694
714
|
panelTitle: "设置",
|
|
695
715
|
panelControls: [
|
|
@@ -720,7 +740,7 @@
|
|
|
720
740
|
* @LastEditTime: 2022-09-15 10:40:37
|
|
721
741
|
* @Description:
|
|
722
742
|
*/
|
|
723
|
-
var config$
|
|
743
|
+
var config$4 = {
|
|
724
744
|
componentType: 'amisSchema',
|
|
725
745
|
group: "华炎魔方",
|
|
726
746
|
componentName: "AmisRecordDetailRelatedList",
|
|
@@ -761,39 +781,39 @@
|
|
|
761
781
|
icon: "fa-fw fa fa-list-alt"
|
|
762
782
|
}
|
|
763
783
|
};
|
|
764
|
-
var AmisRecordDetailRelatedList = __assign(__assign({}, config$
|
|
784
|
+
var AmisRecordDetailRelatedList = __assign(__assign({}, config$4), { snippets: [
|
|
765
785
|
{
|
|
766
|
-
title: config$
|
|
786
|
+
title: config$4.title,
|
|
767
787
|
screenshot: "",
|
|
768
788
|
schema: {
|
|
769
|
-
componentName: config$
|
|
770
|
-
props: config$
|
|
789
|
+
componentName: config$4.componentName,
|
|
790
|
+
props: config$4.preview
|
|
771
791
|
}
|
|
772
792
|
}
|
|
773
793
|
], amis: {
|
|
774
794
|
render: {
|
|
775
|
-
type: config$
|
|
795
|
+
type: config$4.amis.name,
|
|
776
796
|
usage: "renderer",
|
|
777
797
|
weight: 1,
|
|
778
798
|
framework: "react"
|
|
779
799
|
},
|
|
780
800
|
plugin: {
|
|
781
|
-
rendererName: config$
|
|
801
|
+
rendererName: config$4.amis.name,
|
|
782
802
|
$schema: '/schemas/UnkownSchema.json',
|
|
783
|
-
name: config$
|
|
784
|
-
description: config$
|
|
785
|
-
tags: [config$
|
|
803
|
+
name: config$4.title,
|
|
804
|
+
description: config$4.title,
|
|
805
|
+
tags: [config$4.group],
|
|
786
806
|
order: -9999,
|
|
787
|
-
icon: config$
|
|
807
|
+
icon: config$4.amis.icon,
|
|
788
808
|
scaffold: {
|
|
789
|
-
type: config$
|
|
790
|
-
label: config$
|
|
809
|
+
type: config$4.amis.name,
|
|
810
|
+
label: config$4.title,
|
|
791
811
|
objectApiName: "${objectName}",
|
|
792
812
|
recordId: "${recordId}",
|
|
793
813
|
// relatedObjectApiName: "contacts"
|
|
794
814
|
},
|
|
795
815
|
previewSchema: {
|
|
796
|
-
type: config$
|
|
816
|
+
type: config$4.amis.name,
|
|
797
817
|
objectApiName: "accounts",
|
|
798
818
|
// relatedObjectApiName: "contacts"
|
|
799
819
|
},
|
|
@@ -847,7 +867,7 @@
|
|
|
847
867
|
* @LastEditTime: 2022-09-02 09:04:33
|
|
848
868
|
* @Description:
|
|
849
869
|
*/
|
|
850
|
-
var config$
|
|
870
|
+
var config$3 = {
|
|
851
871
|
componentType: 'amisSchema',
|
|
852
872
|
group: "华炎魔方",
|
|
853
873
|
componentName: "AmisProvider",
|
|
@@ -872,33 +892,33 @@
|
|
|
872
892
|
icon: "fa-fw fa fa-list-alt"
|
|
873
893
|
}
|
|
874
894
|
};
|
|
875
|
-
var AmisProvider = __assign(__assign({}, config$
|
|
895
|
+
var AmisProvider = __assign(__assign({}, config$3), { snippets: [
|
|
876
896
|
{
|
|
877
|
-
title: config$
|
|
897
|
+
title: config$3.title,
|
|
878
898
|
screenshot: "",
|
|
879
899
|
schema: {
|
|
880
|
-
componentName: config$
|
|
881
|
-
props: config$
|
|
900
|
+
componentName: config$3.componentName,
|
|
901
|
+
props: config$3.preview
|
|
882
902
|
}
|
|
883
903
|
}
|
|
884
904
|
], amis: {
|
|
885
905
|
render: {
|
|
886
|
-
type: config$
|
|
906
|
+
type: config$3.amis.name,
|
|
887
907
|
usage: "renderer",
|
|
888
908
|
weight: 1,
|
|
889
909
|
framework: "react"
|
|
890
910
|
},
|
|
891
911
|
plugin: {
|
|
892
|
-
rendererName: config$
|
|
912
|
+
rendererName: config$3.amis.name,
|
|
893
913
|
$schema: '/schemas/UnkownSchema.json',
|
|
894
|
-
name: config$
|
|
895
|
-
description: config$
|
|
896
|
-
tags: [config$
|
|
914
|
+
name: config$3.title,
|
|
915
|
+
description: config$3.title,
|
|
916
|
+
tags: [config$3.group],
|
|
897
917
|
order: -9999,
|
|
898
|
-
icon: config$
|
|
918
|
+
icon: config$3.amis.icon,
|
|
899
919
|
scaffold: {
|
|
900
|
-
type: config$
|
|
901
|
-
label: config$
|
|
920
|
+
type: config$3.amis.name,
|
|
921
|
+
label: config$3.title,
|
|
902
922
|
body: [], // 容器类字段
|
|
903
923
|
},
|
|
904
924
|
// 容器类组件必需字段
|
|
@@ -909,7 +929,7 @@
|
|
|
909
929
|
},
|
|
910
930
|
],
|
|
911
931
|
previewSchema: {
|
|
912
|
-
type: config$
|
|
932
|
+
type: config$3.amis.name,
|
|
913
933
|
},
|
|
914
934
|
panelTitle: "设置",
|
|
915
935
|
panelControls: []
|
|
@@ -923,7 +943,7 @@
|
|
|
923
943
|
* @LastEditTime: 2022-10-12 13:23:05
|
|
924
944
|
* @Description:
|
|
925
945
|
*/
|
|
926
|
-
var config = {
|
|
946
|
+
var config$2 = {
|
|
927
947
|
// componentType: 'amisSchema',
|
|
928
948
|
group: "华炎魔方",
|
|
929
949
|
componentName: "AmisObjectFieldLookup",
|
|
@@ -947,7 +967,147 @@
|
|
|
947
967
|
icon: "fa-fw fa fa-list-alt"
|
|
948
968
|
}
|
|
949
969
|
};
|
|
950
|
-
var AmisObjectFieldLookup = __assign(__assign({}, config), { snippets: [
|
|
970
|
+
var AmisObjectFieldLookup = __assign(__assign({}, config$2), { snippets: [
|
|
971
|
+
{
|
|
972
|
+
title: config$2.title,
|
|
973
|
+
screenshot: "",
|
|
974
|
+
schema: {
|
|
975
|
+
componentName: config$2.componentName,
|
|
976
|
+
props: config$2.preview
|
|
977
|
+
}
|
|
978
|
+
}
|
|
979
|
+
], amis: {
|
|
980
|
+
render: {
|
|
981
|
+
type: config$2.amis.name,
|
|
982
|
+
usage: "formitem",
|
|
983
|
+
weight: 1,
|
|
984
|
+
framework: "react"
|
|
985
|
+
},
|
|
986
|
+
plugin: {
|
|
987
|
+
rendererName: config$2.amis.name,
|
|
988
|
+
$schema: '/schemas/UnkownSchema.json',
|
|
989
|
+
name: config$2.title,
|
|
990
|
+
description: config$2.title,
|
|
991
|
+
tags: [config$2.group],
|
|
992
|
+
order: -9999,
|
|
993
|
+
icon: config$2.amis.icon,
|
|
994
|
+
scaffold: {
|
|
995
|
+
type: config$2.amis.name,
|
|
996
|
+
label: config$2.title,
|
|
997
|
+
name: 'board',
|
|
998
|
+
columns: 1,
|
|
999
|
+
vertical: false
|
|
1000
|
+
},
|
|
1001
|
+
previewSchema: {
|
|
1002
|
+
type: config$2.amis.name,
|
|
1003
|
+
},
|
|
1004
|
+
panelTitle: "设置",
|
|
1005
|
+
panelControls: []
|
|
1006
|
+
}
|
|
1007
|
+
} });
|
|
1008
|
+
|
|
1009
|
+
/*
|
|
1010
|
+
* @Author: baozhoutao@steedos.com
|
|
1011
|
+
* @Date: 2022-10-11 09:39:38
|
|
1012
|
+
* @LastEditors: baozhoutao@steedos.com
|
|
1013
|
+
* @LastEditTime: 2022-10-21 11:04:58
|
|
1014
|
+
* @Description:
|
|
1015
|
+
*/
|
|
1016
|
+
var config$1 = {
|
|
1017
|
+
// componentType: 'amisSchema',
|
|
1018
|
+
group: "华炎魔方",
|
|
1019
|
+
componentName: "AmisObjectButton",
|
|
1020
|
+
title: "Steedos Button",
|
|
1021
|
+
docUrl: "",
|
|
1022
|
+
screenshot: "",
|
|
1023
|
+
npm: {
|
|
1024
|
+
package: "@steedos-widgets/amis-object",
|
|
1025
|
+
version: "{{version}}",
|
|
1026
|
+
exportName: "AmisObjectButton",
|
|
1027
|
+
main: "",
|
|
1028
|
+
destructuring: true,
|
|
1029
|
+
subName: ""
|
|
1030
|
+
},
|
|
1031
|
+
preview: {},
|
|
1032
|
+
targets: ["steedos__RecordPage", "steedos__AppPage", "steedos__HomePage"],
|
|
1033
|
+
engines: ["amis"],
|
|
1034
|
+
// settings for amis.
|
|
1035
|
+
amis: {
|
|
1036
|
+
name: 'steedos-object-button',
|
|
1037
|
+
icon: "fa-fw fa fa-list-alt"
|
|
1038
|
+
}
|
|
1039
|
+
};
|
|
1040
|
+
var AmisObjectButton = __assign(__assign({}, config$1), { snippets: [
|
|
1041
|
+
{
|
|
1042
|
+
title: config$1.title,
|
|
1043
|
+
screenshot: "",
|
|
1044
|
+
schema: {
|
|
1045
|
+
componentName: config$1.componentName,
|
|
1046
|
+
props: config$1.preview
|
|
1047
|
+
}
|
|
1048
|
+
}
|
|
1049
|
+
], amis: {
|
|
1050
|
+
render: {
|
|
1051
|
+
type: config$1.amis.name,
|
|
1052
|
+
usage: "renderer",
|
|
1053
|
+
weight: 1,
|
|
1054
|
+
framework: "react"
|
|
1055
|
+
},
|
|
1056
|
+
plugin: {
|
|
1057
|
+
rendererName: config$1.amis.name,
|
|
1058
|
+
$schema: '/schemas/UnkownSchema.json',
|
|
1059
|
+
name: config$1.title,
|
|
1060
|
+
description: config$1.title,
|
|
1061
|
+
tags: [config$1.group],
|
|
1062
|
+
order: -9999,
|
|
1063
|
+
icon: config$1.amis.icon,
|
|
1064
|
+
scaffold: {
|
|
1065
|
+
type: config$1.amis.name,
|
|
1066
|
+
label: config$1.title,
|
|
1067
|
+
name: 'board',
|
|
1068
|
+
columns: 1,
|
|
1069
|
+
vertical: false
|
|
1070
|
+
},
|
|
1071
|
+
previewSchema: {
|
|
1072
|
+
type: config$1.amis.name,
|
|
1073
|
+
},
|
|
1074
|
+
panelTitle: "设置",
|
|
1075
|
+
panelControls: []
|
|
1076
|
+
}
|
|
1077
|
+
} });
|
|
1078
|
+
|
|
1079
|
+
/*
|
|
1080
|
+
* @Author: baozhoutao@steedos.com
|
|
1081
|
+
* @Date: 2022-10-11 09:39:38
|
|
1082
|
+
* @LastEditors: baozhoutao@steedos.com
|
|
1083
|
+
* @LastEditTime: 2022-10-24 11:34:55
|
|
1084
|
+
* @Description:
|
|
1085
|
+
*/
|
|
1086
|
+
var config = {
|
|
1087
|
+
// componentType: 'amisSchema',
|
|
1088
|
+
group: "华炎魔方",
|
|
1089
|
+
componentName: "SteedosDropdownButton",
|
|
1090
|
+
title: "Steedos Button",
|
|
1091
|
+
docUrl: "",
|
|
1092
|
+
screenshot: "",
|
|
1093
|
+
npm: {
|
|
1094
|
+
package: "@steedos-widgets/amis-object",
|
|
1095
|
+
version: "{{version}}",
|
|
1096
|
+
exportName: "SteedosDropdownButton",
|
|
1097
|
+
main: "",
|
|
1098
|
+
destructuring: true,
|
|
1099
|
+
subName: ""
|
|
1100
|
+
},
|
|
1101
|
+
preview: {},
|
|
1102
|
+
targets: ["steedos__RecordPage", "steedos__AppPage", "steedos__HomePage"],
|
|
1103
|
+
engines: ["amis"],
|
|
1104
|
+
// settings for amis.
|
|
1105
|
+
amis: {
|
|
1106
|
+
name: 'steedos-dropdown-button',
|
|
1107
|
+
icon: "fa-fw fa fa-list-alt"
|
|
1108
|
+
}
|
|
1109
|
+
};
|
|
1110
|
+
var SteedosDropdownButton = __assign(__assign({}, config), { snippets: [
|
|
951
1111
|
{
|
|
952
1112
|
title: config.title,
|
|
953
1113
|
screenshot: "",
|
|
@@ -959,7 +1119,7 @@
|
|
|
959
1119
|
], amis: {
|
|
960
1120
|
render: {
|
|
961
1121
|
type: config.amis.name,
|
|
962
|
-
usage: "
|
|
1122
|
+
usage: "renderer",
|
|
963
1123
|
weight: 1,
|
|
964
1124
|
framework: "react"
|
|
965
1125
|
},
|
|
@@ -990,18 +1150,38 @@
|
|
|
990
1150
|
* @Author: baozhoutao@steedos.com
|
|
991
1151
|
* @Date: 2022-08-31 16:32:35
|
|
992
1152
|
* @LastEditors: baozhoutao@steedos.com
|
|
993
|
-
* @LastEditTime: 2022-10-
|
|
1153
|
+
* @LastEditTime: 2022-10-26 15:58:26
|
|
994
1154
|
* @Description:
|
|
995
1155
|
*/
|
|
996
1156
|
// import Hello from './metas/Hello';
|
|
997
|
-
var components = [
|
|
998
|
-
|
|
1157
|
+
var components = [
|
|
1158
|
+
AmisObjectForm,
|
|
1159
|
+
AmisObjectListview,
|
|
1160
|
+
AmisRecordDetailHeader,
|
|
1161
|
+
AmisSelectUser,
|
|
1162
|
+
AmisRecordDetailRelatedList,
|
|
1163
|
+
AmisProvider,
|
|
1164
|
+
AmisObjectFieldLookup,
|
|
1165
|
+
AmisObjectTable,
|
|
1166
|
+
AmisObjectButton,
|
|
1167
|
+
SteedosDropdownButton
|
|
1168
|
+
];
|
|
999
1169
|
var componentList = [
|
|
1000
1170
|
{
|
|
1001
1171
|
title: "华炎魔方",
|
|
1002
1172
|
icon: "",
|
|
1003
|
-
children: [
|
|
1004
|
-
|
|
1173
|
+
children: [
|
|
1174
|
+
AmisObjectForm,
|
|
1175
|
+
AmisObjectListview,
|
|
1176
|
+
AmisRecordDetailHeader,
|
|
1177
|
+
AmisSelectUser,
|
|
1178
|
+
AmisRecordDetailRelatedList,
|
|
1179
|
+
AmisProvider,
|
|
1180
|
+
AmisObjectFieldLookup,
|
|
1181
|
+
AmisObjectTable,
|
|
1182
|
+
AmisObjectButton,
|
|
1183
|
+
SteedosDropdownButton
|
|
1184
|
+
]
|
|
1005
1185
|
}
|
|
1006
1186
|
];
|
|
1007
1187
|
var meta = {
|