@steedos-widgets/amis-object 1.0.7 → 1.0.9
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/AmisAppLauncher.d.ts +10 -16
- package/dist/amis/AmisAppMenu.d.ts +5 -2
- package/dist/amis/AmisGlobalHeader.d.ts +142 -51
- package/dist/amis/AmisRecordDetail.d.ts +15 -2
- package/dist/amis/AmisRecordDetailHeader.d.ts +47 -65
- package/dist/amis-object.cjs.css +128 -58
- package/dist/amis-object.cjs.js +1 -1
- package/dist/amis-object.cjs.js.map +1 -1
- package/dist/amis-object.esm.css +128 -58
- package/dist/amis-object.esm.js +1 -1
- package/dist/amis-object.esm.js.map +1 -1
- package/dist/amis-object.umd.css +128 -58
- package/dist/amis-object.umd.js +1 -1
- package/dist/amis-object.umd.js.map +1 -1
- package/dist/assets-dev.json +25 -6
- package/dist/assets.json +24 -5
- package/dist/components/SteedosBadge.d.ts +2 -0
- package/dist/components/SteedosBadgeRibbon.d.ts +2 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/meta.js +514 -251
- package/dist/metas/SteedosBadge.d.ts +2 -0
- package/dist/metas/SteedosBadgeRibbon.d.ts +2 -0
- package/package.json +3 -3
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$k = {
|
|
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$k), { snippets: [
|
|
99
99
|
{
|
|
100
|
-
title: config$
|
|
100
|
+
title: config$k.title,
|
|
101
101
|
screenshot: "",
|
|
102
102
|
schema: {
|
|
103
|
-
componentName: config$
|
|
104
|
-
props: config$
|
|
103
|
+
componentName: config$k.componentName,
|
|
104
|
+
props: config$k.preview
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
107
|
], amis: {
|
|
108
108
|
render: {
|
|
109
|
-
type: config$
|
|
109
|
+
type: config$k.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$k.amis.name,
|
|
116
116
|
$schema: '/schemas/UnkownSchema.json',
|
|
117
|
-
name: config$
|
|
118
|
-
description: config$
|
|
119
|
-
tags: [config$
|
|
117
|
+
name: config$k.title,
|
|
118
|
+
description: config$k.title,
|
|
119
|
+
tags: [config$k.group],
|
|
120
120
|
order: -9999,
|
|
121
|
-
icon: config$
|
|
121
|
+
icon: config$k.amis.icon,
|
|
122
122
|
scaffold: {
|
|
123
|
-
type: config$
|
|
124
|
-
label: config$
|
|
123
|
+
type: config$k.amis.name,
|
|
124
|
+
label: config$k.title,
|
|
125
125
|
objectApiName: "${objectName}",
|
|
126
126
|
recordId: "${recordId}"
|
|
127
127
|
},
|
|
128
128
|
previewSchema: {
|
|
129
|
-
type: config$
|
|
129
|
+
type: config$k.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$j = {
|
|
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$j), { snippets: [
|
|
261
261
|
{
|
|
262
|
-
title: config$
|
|
262
|
+
title: config$j.title,
|
|
263
263
|
screenshot: "",
|
|
264
264
|
schema: {
|
|
265
|
-
componentName: config$
|
|
266
|
-
props: config$
|
|
265
|
+
componentName: config$j.componentName,
|
|
266
|
+
props: config$j.preview
|
|
267
267
|
}
|
|
268
268
|
}
|
|
269
269
|
], amis: {
|
|
270
270
|
render: {
|
|
271
|
-
type: config$
|
|
271
|
+
type: config$j.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$j.amis.name,
|
|
278
278
|
$schema: '/schemas/UnkownSchema.json',
|
|
279
|
-
name: config$
|
|
280
|
-
description: config$
|
|
281
|
-
tags: [config$
|
|
279
|
+
name: config$j.title,
|
|
280
|
+
description: config$j.title,
|
|
281
|
+
tags: [config$j.group],
|
|
282
282
|
order: -9999,
|
|
283
|
-
icon: config$
|
|
283
|
+
icon: config$j.amis.icon,
|
|
284
284
|
scaffold: {
|
|
285
|
-
type: config$
|
|
286
|
-
label: config$
|
|
285
|
+
type: config$j.amis.name,
|
|
286
|
+
label: config$j.title,
|
|
287
287
|
objectApiName: "${objectName}",
|
|
288
288
|
listName: "all"
|
|
289
289
|
},
|
|
290
290
|
previewSchema: {
|
|
291
|
-
type: config$
|
|
291
|
+
type: config$j.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$i = {
|
|
359
359
|
componentType: 'amisSchema',
|
|
360
360
|
group: "华炎魔方",
|
|
361
361
|
componentName: "AmisObjectTable",
|
|
@@ -411,38 +411,38 @@
|
|
|
411
411
|
icon: "fa-fw fa fa-list-alt"
|
|
412
412
|
}
|
|
413
413
|
};
|
|
414
|
-
var AmisObjectTable = __assign(__assign({}, config$
|
|
414
|
+
var AmisObjectTable = __assign(__assign({}, config$i), { snippets: [
|
|
415
415
|
{
|
|
416
|
-
title: config$
|
|
416
|
+
title: config$i.title,
|
|
417
417
|
screenshot: "",
|
|
418
418
|
schema: {
|
|
419
|
-
componentName: config$
|
|
420
|
-
props: config$
|
|
419
|
+
componentName: config$i.componentName,
|
|
420
|
+
props: config$i.preview
|
|
421
421
|
}
|
|
422
422
|
}
|
|
423
423
|
], amis: {
|
|
424
424
|
render: {
|
|
425
|
-
type: config$
|
|
425
|
+
type: config$i.amis.name,
|
|
426
426
|
usage: "renderer",
|
|
427
427
|
weight: 1,
|
|
428
428
|
framework: "react"
|
|
429
429
|
},
|
|
430
430
|
plugin: {
|
|
431
|
-
rendererName: config$
|
|
431
|
+
rendererName: config$i.amis.name,
|
|
432
432
|
$schema: '/schemas/UnkownSchema.json',
|
|
433
|
-
name: config$
|
|
434
|
-
description: config$
|
|
435
|
-
tags: [config$
|
|
433
|
+
name: config$i.title,
|
|
434
|
+
description: config$i.title,
|
|
435
|
+
tags: [config$i.group],
|
|
436
436
|
order: -9999,
|
|
437
|
-
icon: config$
|
|
437
|
+
icon: config$i.amis.icon,
|
|
438
438
|
scaffold: {
|
|
439
|
-
type: config$
|
|
440
|
-
label: config$
|
|
439
|
+
type: config$i.amis.name,
|
|
440
|
+
label: config$i.title,
|
|
441
441
|
objectApiName: "${objectName}",
|
|
442
442
|
columns: [{ "field": "name" }]
|
|
443
443
|
},
|
|
444
444
|
previewSchema: {
|
|
445
|
-
type: config$
|
|
445
|
+
type: config$i.amis.name,
|
|
446
446
|
objectApiName: 'space_users',
|
|
447
447
|
columns: [{ "field": "name" }]
|
|
448
448
|
},
|
|
@@ -536,7 +536,7 @@
|
|
|
536
536
|
* @LastEditTime: 2022-09-15 10:40:37
|
|
537
537
|
* @Description:
|
|
538
538
|
*/
|
|
539
|
-
var config$
|
|
539
|
+
var config$h = {
|
|
540
540
|
componentType: 'amisSchema',
|
|
541
541
|
group: "华炎魔方",
|
|
542
542
|
componentName: "AmisRecordDetailHeader",
|
|
@@ -572,38 +572,38 @@
|
|
|
572
572
|
icon: "fa-fw fa fa-list-alt"
|
|
573
573
|
}
|
|
574
574
|
};
|
|
575
|
-
var AmisRecordDetailHeader = __assign(__assign({}, config$
|
|
575
|
+
var AmisRecordDetailHeader = __assign(__assign({}, config$h), { snippets: [
|
|
576
576
|
{
|
|
577
|
-
title: config$
|
|
577
|
+
title: config$h.title,
|
|
578
578
|
screenshot: "",
|
|
579
579
|
schema: {
|
|
580
|
-
componentName: config$
|
|
581
|
-
props: config$
|
|
580
|
+
componentName: config$h.componentName,
|
|
581
|
+
props: config$h.preview
|
|
582
582
|
}
|
|
583
583
|
}
|
|
584
584
|
], amis: {
|
|
585
585
|
render: {
|
|
586
|
-
type: config$
|
|
586
|
+
type: config$h.amis.name,
|
|
587
587
|
usage: "renderer",
|
|
588
588
|
weight: 1,
|
|
589
589
|
framework: "react"
|
|
590
590
|
},
|
|
591
591
|
plugin: {
|
|
592
|
-
rendererName: config$
|
|
592
|
+
rendererName: config$h.amis.name,
|
|
593
593
|
$schema: '/schemas/UnkownSchema.json',
|
|
594
|
-
name: config$
|
|
595
|
-
description: config$
|
|
596
|
-
tags: [config$
|
|
594
|
+
name: config$h.title,
|
|
595
|
+
description: config$h.title,
|
|
596
|
+
tags: [config$h.group],
|
|
597
597
|
order: -9999,
|
|
598
|
-
icon: config$
|
|
598
|
+
icon: config$h.amis.icon,
|
|
599
599
|
scaffold: {
|
|
600
|
-
type: config$
|
|
601
|
-
label: config$
|
|
600
|
+
type: config$h.amis.name,
|
|
601
|
+
label: config$h.title,
|
|
602
602
|
objectApiName: "${objectName}",
|
|
603
603
|
recordId: "${recordId}"
|
|
604
604
|
},
|
|
605
605
|
previewSchema: {
|
|
606
|
-
type: config$
|
|
606
|
+
type: config$h.amis.name,
|
|
607
607
|
objectApiName: 'space_users'
|
|
608
608
|
},
|
|
609
609
|
panelTitle: "设置",
|
|
@@ -640,7 +640,7 @@
|
|
|
640
640
|
* @LastEditTime: 2022-12-08 10:37:45
|
|
641
641
|
* @Description:
|
|
642
642
|
*/
|
|
643
|
-
var config$
|
|
643
|
+
var config$g = {
|
|
644
644
|
componentType: 'amisSchema',
|
|
645
645
|
group: "华炎魔方",
|
|
646
646
|
componentName: "AmisRecordDetail",
|
|
@@ -676,38 +676,38 @@
|
|
|
676
676
|
icon: "fa-fw fa fa-list-alt"
|
|
677
677
|
}
|
|
678
678
|
};
|
|
679
|
-
var AmisRecordDetail = __assign(__assign({}, config$
|
|
679
|
+
var AmisRecordDetail = __assign(__assign({}, config$g), { snippets: [
|
|
680
680
|
{
|
|
681
|
-
title: config$
|
|
681
|
+
title: config$g.title,
|
|
682
682
|
screenshot: "",
|
|
683
683
|
schema: {
|
|
684
|
-
componentName: config$
|
|
685
|
-
props: config$
|
|
684
|
+
componentName: config$g.componentName,
|
|
685
|
+
props: config$g.preview
|
|
686
686
|
}
|
|
687
687
|
}
|
|
688
688
|
], amis: {
|
|
689
689
|
render: {
|
|
690
|
-
type: config$
|
|
690
|
+
type: config$g.amis.name,
|
|
691
691
|
usage: "renderer",
|
|
692
692
|
weight: 1,
|
|
693
693
|
framework: "react"
|
|
694
694
|
},
|
|
695
695
|
plugin: {
|
|
696
|
-
rendererName: config$
|
|
696
|
+
rendererName: config$g.amis.name,
|
|
697
697
|
$schema: '/schemas/UnkownSchema.json',
|
|
698
|
-
name: config$
|
|
699
|
-
description: config$
|
|
700
|
-
tags: [config$
|
|
698
|
+
name: config$g.title,
|
|
699
|
+
description: config$g.title,
|
|
700
|
+
tags: [config$g.group],
|
|
701
701
|
order: -9999,
|
|
702
|
-
icon: config$
|
|
702
|
+
icon: config$g.amis.icon,
|
|
703
703
|
scaffold: {
|
|
704
|
-
type: config$
|
|
705
|
-
label: config$
|
|
704
|
+
type: config$g.amis.name,
|
|
705
|
+
label: config$g.title,
|
|
706
706
|
objectApiName: "${objectName}",
|
|
707
707
|
recordId: "${recordId}"
|
|
708
708
|
},
|
|
709
709
|
previewSchema: {
|
|
710
|
-
type: config$
|
|
710
|
+
type: config$g.amis.name,
|
|
711
711
|
objectApiName: 'space_users'
|
|
712
712
|
},
|
|
713
713
|
panelTitle: "设置",
|
|
@@ -737,7 +737,7 @@
|
|
|
737
737
|
}
|
|
738
738
|
} });
|
|
739
739
|
|
|
740
|
-
var config$
|
|
740
|
+
var config$f = {
|
|
741
741
|
componentType: 'amisSchema',
|
|
742
742
|
group: "华炎魔方",
|
|
743
743
|
componentName: "AmisSelectUser",
|
|
@@ -783,37 +783,37 @@
|
|
|
783
783
|
icon: "fa-fw fa fa-list-alt"
|
|
784
784
|
}
|
|
785
785
|
};
|
|
786
|
-
var AmisSelectUser = __assign(__assign({}, config$
|
|
786
|
+
var AmisSelectUser = __assign(__assign({}, config$f), { snippets: [
|
|
787
787
|
{
|
|
788
|
-
title: config$
|
|
788
|
+
title: config$f.title,
|
|
789
789
|
screenshot: "",
|
|
790
790
|
schema: {
|
|
791
|
-
componentName: config$
|
|
792
|
-
props: config$
|
|
791
|
+
componentName: config$f.componentName,
|
|
792
|
+
props: config$f.preview
|
|
793
793
|
}
|
|
794
794
|
}
|
|
795
795
|
], amis: {
|
|
796
796
|
render: {
|
|
797
|
-
type: config$
|
|
797
|
+
type: config$f.amis.name,
|
|
798
798
|
usage: "formitem",
|
|
799
799
|
weight: 1,
|
|
800
800
|
framework: "react"
|
|
801
801
|
},
|
|
802
802
|
plugin: {
|
|
803
|
-
rendererName: config$
|
|
803
|
+
rendererName: config$f.amis.name,
|
|
804
804
|
$schema: '/schemas/UnkownSchema.json',
|
|
805
|
-
name: config$
|
|
806
|
-
description: config$
|
|
807
|
-
tags: [config$
|
|
805
|
+
name: config$f.title,
|
|
806
|
+
description: config$f.title,
|
|
807
|
+
tags: [config$f.group],
|
|
808
808
|
order: -9999,
|
|
809
|
-
icon: config$
|
|
809
|
+
icon: config$f.amis.icon,
|
|
810
810
|
scaffold: {
|
|
811
|
-
type: config$
|
|
812
|
-
label: config$
|
|
811
|
+
type: config$f.amis.name,
|
|
812
|
+
label: config$f.title,
|
|
813
813
|
name: ""
|
|
814
814
|
},
|
|
815
815
|
previewSchema: {
|
|
816
|
-
type: config$
|
|
816
|
+
type: config$f.amis.name,
|
|
817
817
|
},
|
|
818
818
|
panelTitle: "设置",
|
|
819
819
|
panelControls: [
|
|
@@ -844,7 +844,7 @@
|
|
|
844
844
|
* @LastEditTime: 2022-12-01 16:06:37
|
|
845
845
|
* @Description:
|
|
846
846
|
*/
|
|
847
|
-
var config$
|
|
847
|
+
var config$e = {
|
|
848
848
|
componentType: 'amisSchema',
|
|
849
849
|
group: "华炎魔方",
|
|
850
850
|
componentName: "AmisRecordDetailRelatedList",
|
|
@@ -885,39 +885,39 @@
|
|
|
885
885
|
icon: "fa-fw fa fa-list-alt"
|
|
886
886
|
}
|
|
887
887
|
};
|
|
888
|
-
var AmisRecordDetailRelatedList = __assign(__assign({}, config$
|
|
888
|
+
var AmisRecordDetailRelatedList = __assign(__assign({}, config$e), { snippets: [
|
|
889
889
|
{
|
|
890
|
-
title: config$
|
|
890
|
+
title: config$e.title,
|
|
891
891
|
screenshot: "",
|
|
892
892
|
schema: {
|
|
893
|
-
componentName: config$
|
|
894
|
-
props: config$
|
|
893
|
+
componentName: config$e.componentName,
|
|
894
|
+
props: config$e.preview
|
|
895
895
|
}
|
|
896
896
|
}
|
|
897
897
|
], amis: {
|
|
898
898
|
render: {
|
|
899
|
-
type: config$
|
|
899
|
+
type: config$e.amis.name,
|
|
900
900
|
usage: "renderer",
|
|
901
901
|
weight: 1,
|
|
902
902
|
framework: "react"
|
|
903
903
|
},
|
|
904
904
|
plugin: {
|
|
905
|
-
rendererName: config$
|
|
905
|
+
rendererName: config$e.amis.name,
|
|
906
906
|
$schema: '/schemas/UnkownSchema.json',
|
|
907
|
-
name: config$
|
|
908
|
-
description: config$
|
|
909
|
-
tags: [config$
|
|
907
|
+
name: config$e.title,
|
|
908
|
+
description: config$e.title,
|
|
909
|
+
tags: [config$e.group],
|
|
910
910
|
order: -9999,
|
|
911
|
-
icon: config$
|
|
911
|
+
icon: config$e.amis.icon,
|
|
912
912
|
scaffold: {
|
|
913
|
-
type: config$
|
|
914
|
-
label: config$
|
|
913
|
+
type: config$e.amis.name,
|
|
914
|
+
label: config$e.title,
|
|
915
915
|
objectApiName: "${objectName}",
|
|
916
916
|
recordId: "${recordId}",
|
|
917
917
|
// relatedObjectApiName: "contacts"
|
|
918
918
|
},
|
|
919
919
|
previewSchema: {
|
|
920
|
-
type: config$
|
|
920
|
+
type: config$e.amis.name,
|
|
921
921
|
objectApiName: "accounts",
|
|
922
922
|
// relatedObjectApiName: "contacts"
|
|
923
923
|
},
|
|
@@ -984,7 +984,7 @@
|
|
|
984
984
|
* @LastEditTime: 2022-12-01 16:08:49
|
|
985
985
|
* @Description:
|
|
986
986
|
*/
|
|
987
|
-
var config$
|
|
987
|
+
var config$d = {
|
|
988
988
|
componentType: 'amisSchema',
|
|
989
989
|
group: "华炎魔方",
|
|
990
990
|
componentName: "AmisRecordDetailRelatedLists",
|
|
@@ -1020,38 +1020,38 @@
|
|
|
1020
1020
|
icon: "fa-fw fa fa-list-alt"
|
|
1021
1021
|
}
|
|
1022
1022
|
};
|
|
1023
|
-
var AmisRecordDetailRelatedLists = __assign(__assign({}, config$
|
|
1023
|
+
var AmisRecordDetailRelatedLists = __assign(__assign({}, config$d), { snippets: [
|
|
1024
1024
|
{
|
|
1025
|
-
title: config$
|
|
1025
|
+
title: config$d.title,
|
|
1026
1026
|
screenshot: "",
|
|
1027
1027
|
schema: {
|
|
1028
|
-
componentName: config$
|
|
1029
|
-
props: config$
|
|
1028
|
+
componentName: config$d.componentName,
|
|
1029
|
+
props: config$d.preview
|
|
1030
1030
|
}
|
|
1031
1031
|
}
|
|
1032
1032
|
], amis: {
|
|
1033
1033
|
render: {
|
|
1034
|
-
type: config$
|
|
1034
|
+
type: config$d.amis.name,
|
|
1035
1035
|
usage: "renderer",
|
|
1036
1036
|
weight: 1,
|
|
1037
1037
|
framework: "react"
|
|
1038
1038
|
},
|
|
1039
1039
|
plugin: {
|
|
1040
|
-
rendererName: config$
|
|
1040
|
+
rendererName: config$d.amis.name,
|
|
1041
1041
|
$schema: '/schemas/UnkownSchema.json',
|
|
1042
|
-
name: config$
|
|
1043
|
-
description: config$
|
|
1044
|
-
tags: [config$
|
|
1042
|
+
name: config$d.title,
|
|
1043
|
+
description: config$d.title,
|
|
1044
|
+
tags: [config$d.group],
|
|
1045
1045
|
order: -9999,
|
|
1046
|
-
icon: config$
|
|
1046
|
+
icon: config$d.amis.icon,
|
|
1047
1047
|
scaffold: {
|
|
1048
|
-
type: config$
|
|
1049
|
-
label: config$
|
|
1048
|
+
type: config$d.amis.name,
|
|
1049
|
+
label: config$d.title,
|
|
1050
1050
|
objectApiName: "${objectName}",
|
|
1051
1051
|
recordId: "${recordId}",
|
|
1052
1052
|
},
|
|
1053
1053
|
previewSchema: {
|
|
1054
|
-
type: config$
|
|
1054
|
+
type: config$d.amis.name,
|
|
1055
1055
|
objectApiName: "accounts",
|
|
1056
1056
|
},
|
|
1057
1057
|
panelTitle: "设置",
|
|
@@ -1088,7 +1088,7 @@
|
|
|
1088
1088
|
* @LastEditTime: 2022-09-02 09:04:33
|
|
1089
1089
|
* @Description:
|
|
1090
1090
|
*/
|
|
1091
|
-
var config$
|
|
1091
|
+
var config$c = {
|
|
1092
1092
|
componentType: 'amisSchema',
|
|
1093
1093
|
group: "华炎魔方",
|
|
1094
1094
|
componentName: "AmisProvider",
|
|
@@ -1113,33 +1113,33 @@
|
|
|
1113
1113
|
icon: "fa-fw fa fa-list-alt"
|
|
1114
1114
|
}
|
|
1115
1115
|
};
|
|
1116
|
-
var AmisProvider = __assign(__assign({}, config$
|
|
1116
|
+
var AmisProvider = __assign(__assign({}, config$c), { snippets: [
|
|
1117
1117
|
{
|
|
1118
|
-
title: config$
|
|
1118
|
+
title: config$c.title,
|
|
1119
1119
|
screenshot: "",
|
|
1120
1120
|
schema: {
|
|
1121
|
-
componentName: config$
|
|
1122
|
-
props: config$
|
|
1121
|
+
componentName: config$c.componentName,
|
|
1122
|
+
props: config$c.preview
|
|
1123
1123
|
}
|
|
1124
1124
|
}
|
|
1125
1125
|
], amis: {
|
|
1126
1126
|
render: {
|
|
1127
|
-
type: config$
|
|
1127
|
+
type: config$c.amis.name,
|
|
1128
1128
|
usage: "renderer",
|
|
1129
1129
|
weight: 1,
|
|
1130
1130
|
framework: "react"
|
|
1131
1131
|
},
|
|
1132
1132
|
plugin: {
|
|
1133
|
-
rendererName: config$
|
|
1133
|
+
rendererName: config$c.amis.name,
|
|
1134
1134
|
$schema: '/schemas/UnkownSchema.json',
|
|
1135
|
-
name: config$
|
|
1136
|
-
description: config$
|
|
1137
|
-
tags: [config$
|
|
1135
|
+
name: config$c.title,
|
|
1136
|
+
description: config$c.title,
|
|
1137
|
+
tags: [config$c.group],
|
|
1138
1138
|
order: -9999,
|
|
1139
|
-
icon: config$
|
|
1139
|
+
icon: config$c.amis.icon,
|
|
1140
1140
|
scaffold: {
|
|
1141
|
-
type: config$
|
|
1142
|
-
label: config$
|
|
1141
|
+
type: config$c.amis.name,
|
|
1142
|
+
label: config$c.title,
|
|
1143
1143
|
body: [], // 容器类字段
|
|
1144
1144
|
},
|
|
1145
1145
|
// 容器类组件必需字段
|
|
@@ -1150,7 +1150,7 @@
|
|
|
1150
1150
|
},
|
|
1151
1151
|
],
|
|
1152
1152
|
previewSchema: {
|
|
1153
|
-
type: config$
|
|
1153
|
+
type: config$c.amis.name,
|
|
1154
1154
|
},
|
|
1155
1155
|
panelTitle: "设置",
|
|
1156
1156
|
panelControls: []
|
|
@@ -1164,7 +1164,7 @@
|
|
|
1164
1164
|
* @LastEditTime: 2022-10-12 13:23:05
|
|
1165
1165
|
* @Description:
|
|
1166
1166
|
*/
|
|
1167
|
-
var config$
|
|
1167
|
+
var config$b = {
|
|
1168
1168
|
// componentType: 'amisSchema',
|
|
1169
1169
|
group: "华炎魔方",
|
|
1170
1170
|
componentName: "AmisObjectFieldLookup",
|
|
@@ -1188,39 +1188,39 @@
|
|
|
1188
1188
|
icon: "fa-fw fa fa-list-alt"
|
|
1189
1189
|
}
|
|
1190
1190
|
};
|
|
1191
|
-
var AmisObjectFieldLookup = __assign(__assign({}, config$
|
|
1191
|
+
var AmisObjectFieldLookup = __assign(__assign({}, config$b), { snippets: [
|
|
1192
1192
|
{
|
|
1193
|
-
title: config$
|
|
1193
|
+
title: config$b.title,
|
|
1194
1194
|
screenshot: "",
|
|
1195
1195
|
schema: {
|
|
1196
|
-
componentName: config$
|
|
1197
|
-
props: config$
|
|
1196
|
+
componentName: config$b.componentName,
|
|
1197
|
+
props: config$b.preview
|
|
1198
1198
|
}
|
|
1199
1199
|
}
|
|
1200
1200
|
], amis: {
|
|
1201
1201
|
render: {
|
|
1202
|
-
type: config$
|
|
1202
|
+
type: config$b.amis.name,
|
|
1203
1203
|
usage: "formitem",
|
|
1204
1204
|
weight: 1,
|
|
1205
1205
|
framework: "react"
|
|
1206
1206
|
},
|
|
1207
1207
|
plugin: {
|
|
1208
|
-
rendererName: config$
|
|
1208
|
+
rendererName: config$b.amis.name,
|
|
1209
1209
|
$schema: '/schemas/UnkownSchema.json',
|
|
1210
|
-
name: config$
|
|
1211
|
-
description: config$
|
|
1212
|
-
tags: [config$
|
|
1210
|
+
name: config$b.title,
|
|
1211
|
+
description: config$b.title,
|
|
1212
|
+
tags: [config$b.group],
|
|
1213
1213
|
order: -9999,
|
|
1214
|
-
icon: config$
|
|
1214
|
+
icon: config$b.amis.icon,
|
|
1215
1215
|
scaffold: {
|
|
1216
|
-
type: config$
|
|
1217
|
-
label: config$
|
|
1216
|
+
type: config$b.amis.name,
|
|
1217
|
+
label: config$b.title,
|
|
1218
1218
|
name: 'board',
|
|
1219
1219
|
columns: 1,
|
|
1220
1220
|
vertical: false
|
|
1221
1221
|
},
|
|
1222
1222
|
previewSchema: {
|
|
1223
|
-
type: config$
|
|
1223
|
+
type: config$b.amis.name,
|
|
1224
1224
|
},
|
|
1225
1225
|
panelTitle: "设置",
|
|
1226
1226
|
panelControls: []
|
|
@@ -1234,7 +1234,7 @@
|
|
|
1234
1234
|
* @LastEditTime: 2022-11-14 10:09:34
|
|
1235
1235
|
* @Description:
|
|
1236
1236
|
*/
|
|
1237
|
-
var config$
|
|
1237
|
+
var config$a = {
|
|
1238
1238
|
// componentType: 'amisSchema',
|
|
1239
1239
|
group: "华炎魔方",
|
|
1240
1240
|
componentName: "AmisObjectButton",
|
|
@@ -1258,18 +1258,18 @@
|
|
|
1258
1258
|
icon: "fa-fw fa fa-list-alt"
|
|
1259
1259
|
}
|
|
1260
1260
|
};
|
|
1261
|
-
var AmisObjectButton = __assign(__assign({}, config$
|
|
1261
|
+
var AmisObjectButton = __assign(__assign({}, config$a), { snippets: [
|
|
1262
1262
|
{
|
|
1263
|
-
title: config$
|
|
1263
|
+
title: config$a.title,
|
|
1264
1264
|
screenshot: "",
|
|
1265
1265
|
schema: {
|
|
1266
|
-
componentName: config$
|
|
1267
|
-
props: config$
|
|
1266
|
+
componentName: config$a.componentName,
|
|
1267
|
+
props: config$a.preview
|
|
1268
1268
|
}
|
|
1269
1269
|
}
|
|
1270
1270
|
], amis: {
|
|
1271
1271
|
render: {
|
|
1272
|
-
type: config$
|
|
1272
|
+
type: config$a.amis.name,
|
|
1273
1273
|
usage: "renderer",
|
|
1274
1274
|
weight: 1,
|
|
1275
1275
|
framework: "react"
|
|
@@ -1305,7 +1305,7 @@
|
|
|
1305
1305
|
* @LastEditTime: 2022-11-14 10:09:25
|
|
1306
1306
|
* @Description:
|
|
1307
1307
|
*/
|
|
1308
|
-
var config$
|
|
1308
|
+
var config$9 = {
|
|
1309
1309
|
// componentType: 'amisSchema',
|
|
1310
1310
|
group: "华炎魔方",
|
|
1311
1311
|
componentName: "SteedosDropdownButton",
|
|
@@ -1329,18 +1329,18 @@
|
|
|
1329
1329
|
icon: "fa-fw fa fa-list-alt"
|
|
1330
1330
|
}
|
|
1331
1331
|
};
|
|
1332
|
-
var SteedosDropdownButton = __assign(__assign({}, config$
|
|
1332
|
+
var SteedosDropdownButton = __assign(__assign({}, config$9), { snippets: [
|
|
1333
1333
|
{
|
|
1334
|
-
title: config$
|
|
1334
|
+
title: config$9.title,
|
|
1335
1335
|
screenshot: "",
|
|
1336
1336
|
schema: {
|
|
1337
|
-
componentName: config$
|
|
1338
|
-
props: config$
|
|
1337
|
+
componentName: config$9.componentName,
|
|
1338
|
+
props: config$9.preview
|
|
1339
1339
|
}
|
|
1340
1340
|
}
|
|
1341
1341
|
], amis: {
|
|
1342
1342
|
render: {
|
|
1343
|
-
type: config$
|
|
1343
|
+
type: config$9.amis.name,
|
|
1344
1344
|
usage: "renderer",
|
|
1345
1345
|
weight: 1,
|
|
1346
1346
|
framework: "react"
|
|
@@ -1376,7 +1376,7 @@
|
|
|
1376
1376
|
* @LastEditTime: 2022-12-13 12:04:13
|
|
1377
1377
|
* @Description:
|
|
1378
1378
|
*/
|
|
1379
|
-
var config$
|
|
1379
|
+
var config$8 = {
|
|
1380
1380
|
componentType: 'amisSchema',
|
|
1381
1381
|
group: "华炎魔方",
|
|
1382
1382
|
componentName: "AmisAppLauncher",
|
|
@@ -1400,39 +1400,39 @@
|
|
|
1400
1400
|
icon: "fa-fw fa fa-list-alt"
|
|
1401
1401
|
}
|
|
1402
1402
|
};
|
|
1403
|
-
var AmisAppLauncher = __assign(__assign({}, config$
|
|
1403
|
+
var AmisAppLauncher = __assign(__assign({}, config$8), { snippets: [
|
|
1404
1404
|
{
|
|
1405
|
-
title: config$
|
|
1405
|
+
title: config$8.title,
|
|
1406
1406
|
screenshot: "",
|
|
1407
1407
|
schema: {
|
|
1408
|
-
componentName: config$
|
|
1409
|
-
props: config$
|
|
1408
|
+
componentName: config$8.componentName,
|
|
1409
|
+
props: config$8.preview
|
|
1410
1410
|
}
|
|
1411
1411
|
}
|
|
1412
1412
|
], amis: {
|
|
1413
1413
|
render: {
|
|
1414
|
-
type: config$
|
|
1414
|
+
type: config$8.amis.name,
|
|
1415
1415
|
usage: "renderer",
|
|
1416
1416
|
weight: 1,
|
|
1417
1417
|
framework: "react"
|
|
1418
1418
|
},
|
|
1419
1419
|
plugin: {
|
|
1420
|
-
rendererName: config$
|
|
1420
|
+
rendererName: config$8.amis.name,
|
|
1421
1421
|
$schema: '/schemas/UnkownSchema.json',
|
|
1422
|
-
name: config$
|
|
1423
|
-
description: config$
|
|
1424
|
-
tags: [config$
|
|
1422
|
+
name: config$8.title,
|
|
1423
|
+
description: config$8.title,
|
|
1424
|
+
tags: [config$8.group],
|
|
1425
1425
|
order: -9999,
|
|
1426
|
-
icon: config$
|
|
1426
|
+
icon: config$8.amis.icon,
|
|
1427
1427
|
scaffold: {
|
|
1428
|
-
type: config$
|
|
1429
|
-
label: config$
|
|
1428
|
+
type: config$8.amis.name,
|
|
1429
|
+
label: config$8.title,
|
|
1430
1430
|
name: 'board',
|
|
1431
1431
|
columns: 1,
|
|
1432
1432
|
vertical: false
|
|
1433
1433
|
},
|
|
1434
1434
|
previewSchema: {
|
|
1435
|
-
type: config$
|
|
1435
|
+
type: config$8.amis.name,
|
|
1436
1436
|
},
|
|
1437
1437
|
panelTitle: "设置",
|
|
1438
1438
|
panelControls: []
|
|
@@ -1446,7 +1446,7 @@
|
|
|
1446
1446
|
* @LastEditTime: 2022-12-13 12:08:37
|
|
1447
1447
|
* @Description:
|
|
1448
1448
|
*/
|
|
1449
|
-
var config$
|
|
1449
|
+
var config$7 = {
|
|
1450
1450
|
componentType: 'amisSchema',
|
|
1451
1451
|
group: "华炎魔方",
|
|
1452
1452
|
componentName: "AmisLogo",
|
|
@@ -1470,39 +1470,39 @@
|
|
|
1470
1470
|
icon: "fa-fw fa fa-list-alt"
|
|
1471
1471
|
}
|
|
1472
1472
|
};
|
|
1473
|
-
var AmisLogo = __assign(__assign({}, config$
|
|
1473
|
+
var AmisLogo = __assign(__assign({}, config$7), { snippets: [
|
|
1474
1474
|
{
|
|
1475
|
-
title: config$
|
|
1475
|
+
title: config$7.title,
|
|
1476
1476
|
screenshot: "",
|
|
1477
1477
|
schema: {
|
|
1478
|
-
componentName: config$
|
|
1479
|
-
props: config$
|
|
1478
|
+
componentName: config$7.componentName,
|
|
1479
|
+
props: config$7.preview
|
|
1480
1480
|
}
|
|
1481
1481
|
}
|
|
1482
1482
|
], amis: {
|
|
1483
1483
|
render: {
|
|
1484
|
-
type: config$
|
|
1484
|
+
type: config$7.amis.name,
|
|
1485
1485
|
usage: "renderer",
|
|
1486
1486
|
weight: 1,
|
|
1487
1487
|
framework: "react"
|
|
1488
1488
|
},
|
|
1489
1489
|
plugin: {
|
|
1490
|
-
rendererName: config$
|
|
1490
|
+
rendererName: config$7.amis.name,
|
|
1491
1491
|
$schema: '/schemas/UnkownSchema.json',
|
|
1492
|
-
name: config$
|
|
1493
|
-
description: config$
|
|
1494
|
-
tags: [config$
|
|
1492
|
+
name: config$7.title,
|
|
1493
|
+
description: config$7.title,
|
|
1494
|
+
tags: [config$7.group],
|
|
1495
1495
|
order: -9999,
|
|
1496
|
-
icon: config$
|
|
1496
|
+
icon: config$7.amis.icon,
|
|
1497
1497
|
scaffold: {
|
|
1498
|
-
type: config$
|
|
1499
|
-
label: config$
|
|
1498
|
+
type: config$7.amis.name,
|
|
1499
|
+
label: config$7.title,
|
|
1500
1500
|
name: 'board',
|
|
1501
1501
|
columns: 1,
|
|
1502
1502
|
vertical: false
|
|
1503
1503
|
},
|
|
1504
1504
|
previewSchema: {
|
|
1505
|
-
type: config$
|
|
1505
|
+
type: config$7.amis.name,
|
|
1506
1506
|
},
|
|
1507
1507
|
panelTitle: "设置",
|
|
1508
1508
|
panelControls: []
|
|
@@ -1513,10 +1513,10 @@
|
|
|
1513
1513
|
* @Author: baozhoutao@steedos.com
|
|
1514
1514
|
* @Date: 2022-10-11 09:39:38
|
|
1515
1515
|
* @LastEditors: baozhoutao@steedos.com
|
|
1516
|
-
* @LastEditTime: 2022-12-
|
|
1516
|
+
* @LastEditTime: 2022-12-16 14:17:37
|
|
1517
1517
|
* @Description:
|
|
1518
1518
|
*/
|
|
1519
|
-
var config$
|
|
1519
|
+
var config$6 = {
|
|
1520
1520
|
componentType: 'amisSchema',
|
|
1521
1521
|
group: "华炎魔方",
|
|
1522
1522
|
componentName: "AmisAppMenu",
|
|
@@ -1547,38 +1547,39 @@
|
|
|
1547
1547
|
icon: "fa-fw fa fa-list-alt"
|
|
1548
1548
|
}
|
|
1549
1549
|
};
|
|
1550
|
-
var AmisAppMenu = __assign(__assign({}, config$
|
|
1550
|
+
var AmisAppMenu = __assign(__assign({}, config$6), { snippets: [
|
|
1551
1551
|
{
|
|
1552
|
-
title: config$
|
|
1552
|
+
title: config$6.title,
|
|
1553
1553
|
screenshot: "",
|
|
1554
1554
|
schema: {
|
|
1555
|
-
componentName: config$
|
|
1556
|
-
props: config$
|
|
1555
|
+
componentName: config$6.componentName,
|
|
1556
|
+
props: config$6.preview
|
|
1557
1557
|
}
|
|
1558
1558
|
}
|
|
1559
1559
|
], amis: {
|
|
1560
1560
|
render: {
|
|
1561
|
-
type: config$
|
|
1561
|
+
type: config$6.amis.name,
|
|
1562
1562
|
usage: "renderer",
|
|
1563
1563
|
weight: 1,
|
|
1564
1564
|
framework: "react"
|
|
1565
1565
|
},
|
|
1566
1566
|
plugin: {
|
|
1567
|
-
rendererName: config$
|
|
1567
|
+
rendererName: config$6.amis.name,
|
|
1568
1568
|
$schema: '/schemas/UnkownSchema.json',
|
|
1569
|
-
name: config$
|
|
1570
|
-
description: config$
|
|
1571
|
-
tags: [config$
|
|
1569
|
+
name: config$6.title,
|
|
1570
|
+
description: config$6.title,
|
|
1571
|
+
tags: [config$6.group],
|
|
1572
1572
|
order: -9999,
|
|
1573
|
-
icon: config$
|
|
1573
|
+
icon: config$6.amis.icon,
|
|
1574
1574
|
scaffold: {
|
|
1575
|
-
type: config$
|
|
1576
|
-
label: config$
|
|
1575
|
+
type: config$6.amis.name,
|
|
1576
|
+
label: config$6.title,
|
|
1577
1577
|
columns: 1,
|
|
1578
|
-
vertical: false
|
|
1578
|
+
vertical: false,
|
|
1579
|
+
showIcon: true
|
|
1579
1580
|
},
|
|
1580
1581
|
previewSchema: {
|
|
1581
|
-
type: config$
|
|
1582
|
+
type: config$6.amis.name,
|
|
1582
1583
|
},
|
|
1583
1584
|
panelTitle: "设置",
|
|
1584
1585
|
panelControls: [
|
|
@@ -1586,6 +1587,11 @@
|
|
|
1586
1587
|
type: "switch",
|
|
1587
1588
|
name: "stacked",
|
|
1588
1589
|
label: "是否竖着摆放"
|
|
1590
|
+
},
|
|
1591
|
+
{
|
|
1592
|
+
type: 'switch',
|
|
1593
|
+
name: 'showIcon',
|
|
1594
|
+
label: '是否显示Icon'
|
|
1589
1595
|
}
|
|
1590
1596
|
]
|
|
1591
1597
|
}
|
|
@@ -1595,10 +1601,10 @@
|
|
|
1595
1601
|
* @Author: baozhoutao@steedos.com
|
|
1596
1602
|
* @Date: 2022-10-11 09:39:38
|
|
1597
1603
|
* @LastEditors: baozhoutao@steedos.com
|
|
1598
|
-
* @LastEditTime: 2022-12-
|
|
1604
|
+
* @LastEditTime: 2022-12-16 11:10:03
|
|
1599
1605
|
* @Description:
|
|
1600
1606
|
*/
|
|
1601
|
-
var config$
|
|
1607
|
+
var config$5 = {
|
|
1602
1608
|
// componentType: 'amisSchema',
|
|
1603
1609
|
group: "华炎魔方",
|
|
1604
1610
|
componentName: "SteedosIcon",
|
|
@@ -1622,39 +1628,39 @@
|
|
|
1622
1628
|
icon: "fa-fw fa fa-list-alt"
|
|
1623
1629
|
}
|
|
1624
1630
|
};
|
|
1625
|
-
var SteedosIcon = __assign(__assign({}, config$
|
|
1631
|
+
var SteedosIcon = __assign(__assign({}, config$5), { snippets: [
|
|
1626
1632
|
{
|
|
1627
|
-
title: config$
|
|
1633
|
+
title: config$5.title,
|
|
1628
1634
|
screenshot: "",
|
|
1629
1635
|
schema: {
|
|
1630
|
-
componentName: config$
|
|
1631
|
-
props: config$
|
|
1636
|
+
componentName: config$5.componentName,
|
|
1637
|
+
props: config$5.preview
|
|
1632
1638
|
}
|
|
1633
1639
|
}
|
|
1634
1640
|
], amis: {
|
|
1635
1641
|
render: {
|
|
1636
|
-
type: config$
|
|
1642
|
+
type: config$5.amis.name,
|
|
1637
1643
|
usage: "renderer",
|
|
1638
1644
|
weight: 1,
|
|
1639
1645
|
framework: "react"
|
|
1640
1646
|
},
|
|
1641
1647
|
plugin: {
|
|
1642
|
-
rendererName: config$
|
|
1648
|
+
rendererName: config$5.amis.name,
|
|
1643
1649
|
$schema: '/schemas/UnkownSchema.json',
|
|
1644
|
-
name: config$
|
|
1645
|
-
description: config$
|
|
1646
|
-
tags: [config$
|
|
1650
|
+
name: config$5.title,
|
|
1651
|
+
description: config$5.title,
|
|
1652
|
+
tags: [config$5.group],
|
|
1647
1653
|
order: -9999,
|
|
1648
|
-
icon: config$
|
|
1654
|
+
icon: config$5.amis.icon,
|
|
1649
1655
|
scaffold: {
|
|
1650
|
-
type: config$
|
|
1656
|
+
type: config$5.amis.name,
|
|
1651
1657
|
category: 'standard',
|
|
1652
1658
|
name: 'account',
|
|
1653
1659
|
colorVariant: 'default',
|
|
1654
1660
|
size: 'medium'
|
|
1655
1661
|
},
|
|
1656
1662
|
previewSchema: {
|
|
1657
|
-
type: config$
|
|
1663
|
+
type: config$5.amis.name,
|
|
1658
1664
|
},
|
|
1659
1665
|
panelTitle: "设置",
|
|
1660
1666
|
panelControls: [
|
|
@@ -1671,9 +1677,33 @@
|
|
|
1671
1677
|
]
|
|
1672
1678
|
},
|
|
1673
1679
|
{
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1680
|
+
"name": "name",
|
|
1681
|
+
"label": "Name",
|
|
1682
|
+
"type": "select",
|
|
1683
|
+
"className": "m-0",
|
|
1684
|
+
"labelClassName": "text-left",
|
|
1685
|
+
"id": "u:d0724fe17aa7",
|
|
1686
|
+
"required": true,
|
|
1687
|
+
"joinValues": false,
|
|
1688
|
+
"extractValue": true,
|
|
1689
|
+
"labelField": "symbol",
|
|
1690
|
+
"valueField": "symbol",
|
|
1691
|
+
"multiple": false,
|
|
1692
|
+
searchable: true,
|
|
1693
|
+
"source": {
|
|
1694
|
+
"method": "get",
|
|
1695
|
+
"url": "${context.rootUrl}/ui.icons.json?c=${category}",
|
|
1696
|
+
"requestAdaptor": "",
|
|
1697
|
+
"data": {
|
|
1698
|
+
"category": "${category}"
|
|
1699
|
+
},
|
|
1700
|
+
"adaptor": "if (payload && payload.length) {\n let data = {};\n let sldsStandardIcons = _.find(payload, { name: api.body.category || \"standard\" });\n sldsStandardIcons = sldsStandardIcons && sldsStandardIcons.icons;\n data.options = sldsStandardIcons;\n payload.data = data;\n}\nconsole.log('payload=====',payload);return payload;\n",
|
|
1701
|
+
"headers": {
|
|
1702
|
+
"Authorization": "Bearer ${context.tenantId},${context.authToken}"
|
|
1703
|
+
},
|
|
1704
|
+
"sendOn": "this.category"
|
|
1705
|
+
},
|
|
1706
|
+
// 卡. "menuTpl": "<span class=\"flex items-center mt-0.5\">\n <span role=\"img\" aria-label=\"smile\" class=\"anticon anticon-smile\">\n <span class=\"slds-icon_container slds-icon-standard-${symbol|split:_|join:-}\">\n <svg class=\"slds-icon slds-icon_x-small\" aria-hidden=\"true\">\n <use xlink:href=\"/assets/icons/standard-sprite/svg/symbols.svg#${symbol}\"></use>\n </svg>\n </span>\n </span>\n <span class=\"pl-1.5\">${symbol}</span>\n</span>"
|
|
1677
1707
|
},
|
|
1678
1708
|
{
|
|
1679
1709
|
type: "text",
|
|
@@ -1722,14 +1752,14 @@
|
|
|
1722
1752
|
* @Author: baozhoutao@steedos.com
|
|
1723
1753
|
* @Date: 2022-10-11 09:39:38
|
|
1724
1754
|
* @LastEditors: baozhoutao@steedos.com
|
|
1725
|
-
* @LastEditTime: 2022-12-
|
|
1755
|
+
* @LastEditTime: 2022-12-16 11:11:32
|
|
1726
1756
|
* @Description:
|
|
1727
1757
|
*/
|
|
1728
|
-
var config$
|
|
1758
|
+
var config$4 = {
|
|
1729
1759
|
// componentType: 'amisSchema',
|
|
1730
1760
|
group: "华炎魔方",
|
|
1731
1761
|
componentName: "SteedosDropdown",
|
|
1732
|
-
title: "
|
|
1762
|
+
title: "下拉菜单",
|
|
1733
1763
|
docUrl: "",
|
|
1734
1764
|
screenshot: "",
|
|
1735
1765
|
npm: {
|
|
@@ -1749,32 +1779,32 @@
|
|
|
1749
1779
|
icon: "fa-fw fa fa-list-alt"
|
|
1750
1780
|
}
|
|
1751
1781
|
};
|
|
1752
|
-
var SteedosDropdown = __assign(__assign({}, config$
|
|
1782
|
+
var SteedosDropdown = __assign(__assign({}, config$4), { snippets: [
|
|
1753
1783
|
{
|
|
1754
|
-
title: config$
|
|
1784
|
+
title: config$4.title,
|
|
1755
1785
|
screenshot: "",
|
|
1756
1786
|
schema: {
|
|
1757
|
-
componentName: config$
|
|
1758
|
-
props: config$
|
|
1787
|
+
componentName: config$4.componentName,
|
|
1788
|
+
props: config$4.preview
|
|
1759
1789
|
}
|
|
1760
1790
|
}
|
|
1761
1791
|
], amis: {
|
|
1762
1792
|
render: {
|
|
1763
|
-
type: config$
|
|
1793
|
+
type: config$4.amis.name,
|
|
1764
1794
|
usage: "renderer",
|
|
1765
1795
|
weight: 1,
|
|
1766
1796
|
framework: "react"
|
|
1767
1797
|
},
|
|
1768
1798
|
plugin: {
|
|
1769
|
-
rendererName: config$
|
|
1799
|
+
rendererName: config$4.amis.name,
|
|
1770
1800
|
$schema: '/schemas/UnkownSchema.json',
|
|
1771
|
-
name: config$
|
|
1772
|
-
description: config$
|
|
1773
|
-
tags: [config$
|
|
1801
|
+
name: config$4.title,
|
|
1802
|
+
description: config$4.title,
|
|
1803
|
+
tags: [config$4.group],
|
|
1774
1804
|
order: -9999,
|
|
1775
|
-
icon: config$
|
|
1805
|
+
icon: config$4.amis.icon,
|
|
1776
1806
|
scaffold: {
|
|
1777
|
-
type: config$
|
|
1807
|
+
type: config$4.amis.name,
|
|
1778
1808
|
placement: 'bottomLeft',
|
|
1779
1809
|
trigger: ['click'],
|
|
1780
1810
|
body: [],
|
|
@@ -1791,7 +1821,7 @@
|
|
|
1791
1821
|
},
|
|
1792
1822
|
],
|
|
1793
1823
|
previewSchema: {
|
|
1794
|
-
type: config$
|
|
1824
|
+
type: config$4.amis.name,
|
|
1795
1825
|
},
|
|
1796
1826
|
panelTitle: "设置",
|
|
1797
1827
|
panelControls: [
|
|
@@ -1836,10 +1866,10 @@
|
|
|
1836
1866
|
* @Author: baozhoutao@steedos.com
|
|
1837
1867
|
* @Date: 2022-10-11 09:39:38
|
|
1838
1868
|
* @LastEditors: baozhoutao@steedos.com
|
|
1839
|
-
* @LastEditTime: 2022-12-
|
|
1869
|
+
* @LastEditTime: 2022-12-16 11:10:51
|
|
1840
1870
|
* @Description:
|
|
1841
1871
|
*/
|
|
1842
|
-
var config$
|
|
1872
|
+
var config$3 = {
|
|
1843
1873
|
// componentType: 'amisSchema',
|
|
1844
1874
|
group: "华炎魔方",
|
|
1845
1875
|
componentName: "FromNow",
|
|
@@ -1863,7 +1893,150 @@
|
|
|
1863
1893
|
icon: "fa-fw fa fa-list-alt"
|
|
1864
1894
|
}
|
|
1865
1895
|
};
|
|
1866
|
-
var FromNow = __assign(__assign({}, config$
|
|
1896
|
+
var FromNow = __assign(__assign({}, config$3), { snippets: [
|
|
1897
|
+
{
|
|
1898
|
+
title: config$3.title,
|
|
1899
|
+
screenshot: "",
|
|
1900
|
+
schema: {
|
|
1901
|
+
componentName: config$3.componentName,
|
|
1902
|
+
props: config$3.preview
|
|
1903
|
+
}
|
|
1904
|
+
}
|
|
1905
|
+
], amis: {
|
|
1906
|
+
render: {
|
|
1907
|
+
type: config$3.amis.name,
|
|
1908
|
+
usage: "renderer",
|
|
1909
|
+
weight: 1,
|
|
1910
|
+
framework: "react"
|
|
1911
|
+
},
|
|
1912
|
+
// plugin: {
|
|
1913
|
+
// rendererName: config.amis.name,
|
|
1914
|
+
// $schema: '/schemas/UnkownSchema.json',
|
|
1915
|
+
// name: config.title,
|
|
1916
|
+
// description: config.title,
|
|
1917
|
+
// tags: [config.group],
|
|
1918
|
+
// order: -9999,
|
|
1919
|
+
// icon: config.amis.icon,
|
|
1920
|
+
// scaffold: {
|
|
1921
|
+
// type: config.amis.name,
|
|
1922
|
+
// date: new Date()
|
|
1923
|
+
// },
|
|
1924
|
+
// previewSchema: {
|
|
1925
|
+
// type: config.amis.name,
|
|
1926
|
+
// },
|
|
1927
|
+
// panelTitle: "设置",
|
|
1928
|
+
// panelControls: [
|
|
1929
|
+
// {
|
|
1930
|
+
// type: "input-datetime",
|
|
1931
|
+
// name: "date",
|
|
1932
|
+
// label: "Date"
|
|
1933
|
+
// }
|
|
1934
|
+
// ]
|
|
1935
|
+
// }
|
|
1936
|
+
} });
|
|
1937
|
+
|
|
1938
|
+
/*
|
|
1939
|
+
* @Author: baozhoutao@steedos.com
|
|
1940
|
+
* @Date: 2022-10-11 09:39:38
|
|
1941
|
+
* @LastEditors: baozhoutao@steedos.com
|
|
1942
|
+
* @LastEditTime: 2022-12-14 13:38:52
|
|
1943
|
+
* @Description:
|
|
1944
|
+
*/
|
|
1945
|
+
var config$2 = {
|
|
1946
|
+
componentType: 'amisSchema',
|
|
1947
|
+
group: "华炎魔方",
|
|
1948
|
+
componentName: "AmisGlobalHeader",
|
|
1949
|
+
title: "Global Header",
|
|
1950
|
+
docUrl: "",
|
|
1951
|
+
screenshot: "",
|
|
1952
|
+
npm: {
|
|
1953
|
+
package: "@steedos-widgets/amis-object",
|
|
1954
|
+
version: "{{version}}",
|
|
1955
|
+
exportName: "AmisGlobalHeader",
|
|
1956
|
+
main: "",
|
|
1957
|
+
destructuring: true,
|
|
1958
|
+
subName: ""
|
|
1959
|
+
},
|
|
1960
|
+
props: [],
|
|
1961
|
+
preview: {},
|
|
1962
|
+
targets: ["steedos__RecordPage", "steedos__AppPage", "steedos__HomePage"],
|
|
1963
|
+
engines: ["amis"],
|
|
1964
|
+
// settings for amis.
|
|
1965
|
+
amis: {
|
|
1966
|
+
name: 'steedos-global-header',
|
|
1967
|
+
icon: "fa-fw fa fa-list-alt"
|
|
1968
|
+
}
|
|
1969
|
+
};
|
|
1970
|
+
var AmisGlobalHeader = __assign(__assign({}, config$2), { snippets: [
|
|
1971
|
+
{
|
|
1972
|
+
title: config$2.title,
|
|
1973
|
+
screenshot: "",
|
|
1974
|
+
schema: {
|
|
1975
|
+
componentName: config$2.componentName,
|
|
1976
|
+
props: config$2.preview
|
|
1977
|
+
}
|
|
1978
|
+
}
|
|
1979
|
+
], amis: {
|
|
1980
|
+
render: {
|
|
1981
|
+
type: config$2.amis.name,
|
|
1982
|
+
usage: "renderer",
|
|
1983
|
+
weight: 1,
|
|
1984
|
+
framework: "react"
|
|
1985
|
+
},
|
|
1986
|
+
plugin: {
|
|
1987
|
+
rendererName: config$2.amis.name,
|
|
1988
|
+
$schema: '/schemas/UnkownSchema.json',
|
|
1989
|
+
name: config$2.title,
|
|
1990
|
+
description: config$2.title,
|
|
1991
|
+
tags: [config$2.group],
|
|
1992
|
+
order: -9999,
|
|
1993
|
+
icon: config$2.amis.icon,
|
|
1994
|
+
scaffold: {
|
|
1995
|
+
type: config$2.amis.name,
|
|
1996
|
+
label: config$2.title,
|
|
1997
|
+
columns: 1,
|
|
1998
|
+
vertical: false
|
|
1999
|
+
},
|
|
2000
|
+
previewSchema: {
|
|
2001
|
+
type: config$2.amis.name,
|
|
2002
|
+
},
|
|
2003
|
+
panelTitle: "设置",
|
|
2004
|
+
panelControls: []
|
|
2005
|
+
}
|
|
2006
|
+
} });
|
|
2007
|
+
|
|
2008
|
+
/*
|
|
2009
|
+
* @Author: baozhoutao@steedos.com
|
|
2010
|
+
* @Date: 2022-10-11 09:39:38
|
|
2011
|
+
* @LastEditors: baozhoutao@steedos.com
|
|
2012
|
+
* @LastEditTime: 2022-12-16 10:15:58
|
|
2013
|
+
* @Description:
|
|
2014
|
+
*/
|
|
2015
|
+
var config$1 = {
|
|
2016
|
+
// componentType: 'amisSchema',
|
|
2017
|
+
group: "华炎魔方",
|
|
2018
|
+
componentName: "SteedosBadge",
|
|
2019
|
+
title: "徽标数",
|
|
2020
|
+
docUrl: "",
|
|
2021
|
+
screenshot: "",
|
|
2022
|
+
npm: {
|
|
2023
|
+
package: "@steedos-widgets/amis-object",
|
|
2024
|
+
version: "{{version}}",
|
|
2025
|
+
exportName: "SteedosBadge",
|
|
2026
|
+
main: "",
|
|
2027
|
+
destructuring: true,
|
|
2028
|
+
subName: ""
|
|
2029
|
+
},
|
|
2030
|
+
preview: {},
|
|
2031
|
+
targets: ["steedos__RecordPage", "steedos__AppPage", "steedos__HomePage"],
|
|
2032
|
+
engines: ["amis"],
|
|
2033
|
+
// settings for amis.
|
|
2034
|
+
amis: {
|
|
2035
|
+
name: 'steedos-badge',
|
|
2036
|
+
icon: "fa-fw fa fa-list-alt"
|
|
2037
|
+
}
|
|
2038
|
+
};
|
|
2039
|
+
var SteedosBadge = __assign(__assign({}, config$1), { snippets: [
|
|
1867
2040
|
{
|
|
1868
2041
|
title: config$1.title,
|
|
1869
2042
|
screenshot: "",
|
|
@@ -1889,18 +2062,81 @@
|
|
|
1889
2062
|
icon: config$1.amis.icon,
|
|
1890
2063
|
scaffold: {
|
|
1891
2064
|
type: config$1.amis.name,
|
|
1892
|
-
|
|
2065
|
+
count: 100,
|
|
2066
|
+
body: [], // 容器类字段
|
|
1893
2067
|
},
|
|
2068
|
+
regions: [
|
|
2069
|
+
{
|
|
2070
|
+
key: 'body',
|
|
2071
|
+
label: '内容区'
|
|
2072
|
+
}
|
|
2073
|
+
],
|
|
1894
2074
|
previewSchema: {
|
|
1895
2075
|
type: config$1.amis.name,
|
|
1896
2076
|
},
|
|
1897
2077
|
panelTitle: "设置",
|
|
1898
2078
|
panelControls: [
|
|
1899
2079
|
{
|
|
1900
|
-
type:
|
|
1901
|
-
name:
|
|
1902
|
-
label:
|
|
1903
|
-
}
|
|
2080
|
+
type: 'input-color',
|
|
2081
|
+
name: 'color',
|
|
2082
|
+
label: '小圆点的颜色'
|
|
2083
|
+
},
|
|
2084
|
+
{
|
|
2085
|
+
type: 'text',
|
|
2086
|
+
name: 'count',
|
|
2087
|
+
label: '展示的数字'
|
|
2088
|
+
},
|
|
2089
|
+
{
|
|
2090
|
+
type: 'switch',
|
|
2091
|
+
name: 'dot',
|
|
2092
|
+
label: '不展示数字,只有一个小红点'
|
|
2093
|
+
},
|
|
2094
|
+
// {
|
|
2095
|
+
// type: 'text',
|
|
2096
|
+
// name: 'offset',
|
|
2097
|
+
// label: '设置状态点的位置偏移 '
|
|
2098
|
+
// },
|
|
2099
|
+
{
|
|
2100
|
+
type: 'number',
|
|
2101
|
+
name: 'overflowCount',
|
|
2102
|
+
label: '展示封顶的数字值 '
|
|
2103
|
+
},
|
|
2104
|
+
{
|
|
2105
|
+
type: 'switch',
|
|
2106
|
+
name: 'showZero',
|
|
2107
|
+
label: '当数值为 0 时,是否展示 Badge'
|
|
2108
|
+
},
|
|
2109
|
+
{
|
|
2110
|
+
type: 'select',
|
|
2111
|
+
name: 'size',
|
|
2112
|
+
label: '在设置了 count 的前提下有效,设置小圆点的大小',
|
|
2113
|
+
options: [
|
|
2114
|
+
{ label: 'default', value: 'default' },
|
|
2115
|
+
{ label: 'small', value: 'small' }
|
|
2116
|
+
]
|
|
2117
|
+
},
|
|
2118
|
+
{
|
|
2119
|
+
type: 'select',
|
|
2120
|
+
name: 'status',
|
|
2121
|
+
label: 'Badge 为状态点',
|
|
2122
|
+
options: [
|
|
2123
|
+
{ label: 'success', value: 'success' },
|
|
2124
|
+
{ label: 'processing', value: 'processing' },
|
|
2125
|
+
{ label: 'default', value: 'default' },
|
|
2126
|
+
{ label: 'error', value: 'error' },
|
|
2127
|
+
{ label: 'warning', value: 'warning' }
|
|
2128
|
+
]
|
|
2129
|
+
},
|
|
2130
|
+
{
|
|
2131
|
+
type: 'text',
|
|
2132
|
+
name: 'text',
|
|
2133
|
+
label: '在设置了 status 的前提下有效,设置状态点的文本',
|
|
2134
|
+
},
|
|
2135
|
+
{
|
|
2136
|
+
type: 'text',
|
|
2137
|
+
name: 'title',
|
|
2138
|
+
label: '设置鼠标放在状态点上时显示的文字',
|
|
2139
|
+
},
|
|
1904
2140
|
]
|
|
1905
2141
|
}
|
|
1906
2142
|
} });
|
|
@@ -1909,35 +2145,34 @@
|
|
|
1909
2145
|
* @Author: baozhoutao@steedos.com
|
|
1910
2146
|
* @Date: 2022-10-11 09:39:38
|
|
1911
2147
|
* @LastEditors: baozhoutao@steedos.com
|
|
1912
|
-
* @LastEditTime: 2022-12-
|
|
2148
|
+
* @LastEditTime: 2022-12-16 10:12:33
|
|
1913
2149
|
* @Description:
|
|
1914
2150
|
*/
|
|
1915
2151
|
var config = {
|
|
1916
|
-
componentType: 'amisSchema',
|
|
2152
|
+
// componentType: 'amisSchema',
|
|
1917
2153
|
group: "华炎魔方",
|
|
1918
|
-
componentName: "
|
|
1919
|
-
title: "
|
|
2154
|
+
componentName: "SteedosBadgeRibbon",
|
|
2155
|
+
title: "缎带",
|
|
1920
2156
|
docUrl: "",
|
|
1921
2157
|
screenshot: "",
|
|
1922
2158
|
npm: {
|
|
1923
2159
|
package: "@steedos-widgets/amis-object",
|
|
1924
2160
|
version: "{{version}}",
|
|
1925
|
-
exportName: "
|
|
2161
|
+
exportName: "SteedosBadgeRibbon",
|
|
1926
2162
|
main: "",
|
|
1927
2163
|
destructuring: true,
|
|
1928
2164
|
subName: ""
|
|
1929
2165
|
},
|
|
1930
|
-
props: [],
|
|
1931
2166
|
preview: {},
|
|
1932
2167
|
targets: ["steedos__RecordPage", "steedos__AppPage", "steedos__HomePage"],
|
|
1933
2168
|
engines: ["amis"],
|
|
1934
2169
|
// settings for amis.
|
|
1935
2170
|
amis: {
|
|
1936
|
-
name: 'steedos-
|
|
2171
|
+
name: 'steedos-badge-ribbon',
|
|
1937
2172
|
icon: "fa-fw fa fa-list-alt"
|
|
1938
2173
|
}
|
|
1939
2174
|
};
|
|
1940
|
-
var
|
|
2175
|
+
var SteedosBadgeRibbon = __assign(__assign({}, config), { snippets: [
|
|
1941
2176
|
{
|
|
1942
2177
|
title: config.title,
|
|
1943
2178
|
screenshot: "",
|
|
@@ -1963,15 +2198,39 @@
|
|
|
1963
2198
|
icon: config.amis.icon,
|
|
1964
2199
|
scaffold: {
|
|
1965
2200
|
type: config.amis.name,
|
|
1966
|
-
|
|
1967
|
-
columns: 1,
|
|
1968
|
-
vertical: false
|
|
2201
|
+
body: [], // 容器类字段
|
|
1969
2202
|
},
|
|
2203
|
+
regions: [
|
|
2204
|
+
{
|
|
2205
|
+
key: 'body',
|
|
2206
|
+
label: '内容区'
|
|
2207
|
+
}
|
|
2208
|
+
],
|
|
1970
2209
|
previewSchema: {
|
|
1971
2210
|
type: config.amis.name,
|
|
1972
2211
|
},
|
|
1973
2212
|
panelTitle: "设置",
|
|
1974
|
-
panelControls: [
|
|
2213
|
+
panelControls: [
|
|
2214
|
+
{
|
|
2215
|
+
type: 'input-color',
|
|
2216
|
+
name: 'color',
|
|
2217
|
+
label: '缎带的颜色'
|
|
2218
|
+
},
|
|
2219
|
+
{
|
|
2220
|
+
type: 'select',
|
|
2221
|
+
name: 'placement',
|
|
2222
|
+
label: '缎带的位置',
|
|
2223
|
+
options: [
|
|
2224
|
+
{ label: 'Start', value: 'start' },
|
|
2225
|
+
{ label: 'End', value: 'end' }
|
|
2226
|
+
]
|
|
2227
|
+
},
|
|
2228
|
+
{
|
|
2229
|
+
type: 'text',
|
|
2230
|
+
name: 'text',
|
|
2231
|
+
label: '缎带中填入的内容'
|
|
2232
|
+
}
|
|
2233
|
+
]
|
|
1975
2234
|
}
|
|
1976
2235
|
} });
|
|
1977
2236
|
|
|
@@ -1979,7 +2238,7 @@
|
|
|
1979
2238
|
* @Author: baozhoutao@steedos.com
|
|
1980
2239
|
* @Date: 2022-08-31 16:32:35
|
|
1981
2240
|
* @LastEditors: baozhoutao@steedos.com
|
|
1982
|
-
* @LastEditTime: 2022-12-
|
|
2241
|
+
* @LastEditTime: 2022-12-16 09:43:53
|
|
1983
2242
|
* @Description:
|
|
1984
2243
|
*/
|
|
1985
2244
|
var components = [
|
|
@@ -2001,7 +2260,9 @@
|
|
|
2001
2260
|
SteedosIcon,
|
|
2002
2261
|
SteedosDropdown,
|
|
2003
2262
|
FromNow,
|
|
2004
|
-
AmisGlobalHeader
|
|
2263
|
+
AmisGlobalHeader,
|
|
2264
|
+
SteedosBadge,
|
|
2265
|
+
SteedosBadgeRibbon
|
|
2005
2266
|
];
|
|
2006
2267
|
var componentList = [
|
|
2007
2268
|
{
|
|
@@ -2026,7 +2287,9 @@
|
|
|
2026
2287
|
SteedosIcon,
|
|
2027
2288
|
SteedosDropdown,
|
|
2028
2289
|
FromNow,
|
|
2029
|
-
AmisGlobalHeader
|
|
2290
|
+
AmisGlobalHeader,
|
|
2291
|
+
SteedosBadge,
|
|
2292
|
+
SteedosBadgeRibbon
|
|
2030
2293
|
]
|
|
2031
2294
|
}
|
|
2032
2295
|
];
|