@steedos-widgets/amis-object 1.0.5 → 1.0.7
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 +79 -58
- package/dist/amis/AmisAppMenu.d.ts +1 -0
- package/dist/amis/AmisGlobalHeader.d.ts +162 -0
- package/dist/amis/index.d.ts +1 -0
- package/dist/amis-object.cjs.css +65 -8
- package/dist/amis-object.cjs.js +1 -1
- package/dist/amis-object.cjs.js.map +1 -1
- package/dist/amis-object.esm.css +65 -8
- package/dist/amis-object.esm.js +1 -1
- package/dist/amis-object.esm.js.map +1 -1
- package/dist/amis-object.umd.css +65 -8
- package/dist/amis-object.umd.js +1 -1
- package/dist/amis-object.umd.js.map +1 -1
- package/dist/assets-dev.json +9 -2
- package/dist/assets.json +14 -7
- package/dist/components/Dropdown/index.d.ts +8 -0
- package/dist/components/FromNow.d.ts +4 -0
- package/dist/components/SteedosIcon.d.ts +2 -0
- package/dist/components/index.d.ts +3 -0
- package/dist/index.d.ts +2 -0
- package/dist/meta.js +584 -192
- package/dist/metas/AmisGlobalHeader.d.ts +2 -0
- package/dist/metas/FromNow.d.ts +2 -0
- package/dist/metas/SteedosDropdown.d.ts +2 -0
- package/dist/metas/SteedosIcon.d.ts +2 -0
- package/dist/tailwind-base.css +514 -0
- package/package.json +4 -4
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$i = {
|
|
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$i), { snippets: [
|
|
99
99
|
{
|
|
100
|
-
title: config$
|
|
100
|
+
title: config$i.title,
|
|
101
101
|
screenshot: "",
|
|
102
102
|
schema: {
|
|
103
|
-
componentName: config$
|
|
104
|
-
props: config$
|
|
103
|
+
componentName: config$i.componentName,
|
|
104
|
+
props: config$i.preview
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
107
|
], amis: {
|
|
108
108
|
render: {
|
|
109
|
-
type: config$
|
|
109
|
+
type: config$i.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$i.amis.name,
|
|
116
116
|
$schema: '/schemas/UnkownSchema.json',
|
|
117
|
-
name: config$
|
|
118
|
-
description: config$
|
|
119
|
-
tags: [config$
|
|
117
|
+
name: config$i.title,
|
|
118
|
+
description: config$i.title,
|
|
119
|
+
tags: [config$i.group],
|
|
120
120
|
order: -9999,
|
|
121
|
-
icon: config$
|
|
121
|
+
icon: config$i.amis.icon,
|
|
122
122
|
scaffold: {
|
|
123
|
-
type: config$
|
|
124
|
-
label: config$
|
|
123
|
+
type: config$i.amis.name,
|
|
124
|
+
label: config$i.title,
|
|
125
125
|
objectApiName: "${objectName}",
|
|
126
126
|
recordId: "${recordId}"
|
|
127
127
|
},
|
|
128
128
|
previewSchema: {
|
|
129
|
-
type: config$
|
|
129
|
+
type: config$i.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$h = {
|
|
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$h), { snippets: [
|
|
261
261
|
{
|
|
262
|
-
title: config$
|
|
262
|
+
title: config$h.title,
|
|
263
263
|
screenshot: "",
|
|
264
264
|
schema: {
|
|
265
|
-
componentName: config$
|
|
266
|
-
props: config$
|
|
265
|
+
componentName: config$h.componentName,
|
|
266
|
+
props: config$h.preview
|
|
267
267
|
}
|
|
268
268
|
}
|
|
269
269
|
], amis: {
|
|
270
270
|
render: {
|
|
271
|
-
type: config$
|
|
271
|
+
type: config$h.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$h.amis.name,
|
|
278
278
|
$schema: '/schemas/UnkownSchema.json',
|
|
279
|
-
name: config$
|
|
280
|
-
description: config$
|
|
281
|
-
tags: [config$
|
|
279
|
+
name: config$h.title,
|
|
280
|
+
description: config$h.title,
|
|
281
|
+
tags: [config$h.group],
|
|
282
282
|
order: -9999,
|
|
283
|
-
icon: config$
|
|
283
|
+
icon: config$h.amis.icon,
|
|
284
284
|
scaffold: {
|
|
285
|
-
type: config$
|
|
286
|
-
label: config$
|
|
285
|
+
type: config$h.amis.name,
|
|
286
|
+
label: config$h.title,
|
|
287
287
|
objectApiName: "${objectName}",
|
|
288
288
|
listName: "all"
|
|
289
289
|
},
|
|
290
290
|
previewSchema: {
|
|
291
|
-
type: config$
|
|
291
|
+
type: config$h.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$g = {
|
|
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$g), { snippets: [
|
|
415
415
|
{
|
|
416
|
-
title: config$
|
|
416
|
+
title: config$g.title,
|
|
417
417
|
screenshot: "",
|
|
418
418
|
schema: {
|
|
419
|
-
componentName: config$
|
|
420
|
-
props: config$
|
|
419
|
+
componentName: config$g.componentName,
|
|
420
|
+
props: config$g.preview
|
|
421
421
|
}
|
|
422
422
|
}
|
|
423
423
|
], amis: {
|
|
424
424
|
render: {
|
|
425
|
-
type: config$
|
|
425
|
+
type: config$g.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$g.amis.name,
|
|
432
432
|
$schema: '/schemas/UnkownSchema.json',
|
|
433
|
-
name: config$
|
|
434
|
-
description: config$
|
|
435
|
-
tags: [config$
|
|
433
|
+
name: config$g.title,
|
|
434
|
+
description: config$g.title,
|
|
435
|
+
tags: [config$g.group],
|
|
436
436
|
order: -9999,
|
|
437
|
-
icon: config$
|
|
437
|
+
icon: config$g.amis.icon,
|
|
438
438
|
scaffold: {
|
|
439
|
-
type: config$
|
|
440
|
-
label: config$
|
|
439
|
+
type: config$g.amis.name,
|
|
440
|
+
label: config$g.title,
|
|
441
441
|
objectApiName: "${objectName}",
|
|
442
442
|
columns: [{ "field": "name" }]
|
|
443
443
|
},
|
|
444
444
|
previewSchema: {
|
|
445
|
-
type: config$
|
|
445
|
+
type: config$g.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$f = {
|
|
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$f), { snippets: [
|
|
576
576
|
{
|
|
577
|
-
title: config$
|
|
577
|
+
title: config$f.title,
|
|
578
578
|
screenshot: "",
|
|
579
579
|
schema: {
|
|
580
|
-
componentName: config$
|
|
581
|
-
props: config$
|
|
580
|
+
componentName: config$f.componentName,
|
|
581
|
+
props: config$f.preview
|
|
582
582
|
}
|
|
583
583
|
}
|
|
584
584
|
], amis: {
|
|
585
585
|
render: {
|
|
586
|
-
type: config$
|
|
586
|
+
type: config$f.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$f.amis.name,
|
|
593
593
|
$schema: '/schemas/UnkownSchema.json',
|
|
594
|
-
name: config$
|
|
595
|
-
description: config$
|
|
596
|
-
tags: [config$
|
|
594
|
+
name: config$f.title,
|
|
595
|
+
description: config$f.title,
|
|
596
|
+
tags: [config$f.group],
|
|
597
597
|
order: -9999,
|
|
598
|
-
icon: config$
|
|
598
|
+
icon: config$f.amis.icon,
|
|
599
599
|
scaffold: {
|
|
600
|
-
type: config$
|
|
601
|
-
label: config$
|
|
600
|
+
type: config$f.amis.name,
|
|
601
|
+
label: config$f.title,
|
|
602
602
|
objectApiName: "${objectName}",
|
|
603
603
|
recordId: "${recordId}"
|
|
604
604
|
},
|
|
605
605
|
previewSchema: {
|
|
606
|
-
type: config$
|
|
606
|
+
type: config$f.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$e = {
|
|
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$e), { snippets: [
|
|
680
680
|
{
|
|
681
|
-
title: config$
|
|
681
|
+
title: config$e.title,
|
|
682
682
|
screenshot: "",
|
|
683
683
|
schema: {
|
|
684
|
-
componentName: config$
|
|
685
|
-
props: config$
|
|
684
|
+
componentName: config$e.componentName,
|
|
685
|
+
props: config$e.preview
|
|
686
686
|
}
|
|
687
687
|
}
|
|
688
688
|
], amis: {
|
|
689
689
|
render: {
|
|
690
|
-
type: config$
|
|
690
|
+
type: config$e.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$e.amis.name,
|
|
697
697
|
$schema: '/schemas/UnkownSchema.json',
|
|
698
|
-
name: config$
|
|
699
|
-
description: config$
|
|
700
|
-
tags: [config$
|
|
698
|
+
name: config$e.title,
|
|
699
|
+
description: config$e.title,
|
|
700
|
+
tags: [config$e.group],
|
|
701
701
|
order: -9999,
|
|
702
|
-
icon: config$
|
|
702
|
+
icon: config$e.amis.icon,
|
|
703
703
|
scaffold: {
|
|
704
|
-
type: config$
|
|
705
|
-
label: config$
|
|
704
|
+
type: config$e.amis.name,
|
|
705
|
+
label: config$e.title,
|
|
706
706
|
objectApiName: "${objectName}",
|
|
707
707
|
recordId: "${recordId}"
|
|
708
708
|
},
|
|
709
709
|
previewSchema: {
|
|
710
|
-
type: config$
|
|
710
|
+
type: config$e.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$d = {
|
|
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$d), { snippets: [
|
|
787
787
|
{
|
|
788
|
-
title: config$
|
|
788
|
+
title: config$d.title,
|
|
789
789
|
screenshot: "",
|
|
790
790
|
schema: {
|
|
791
|
-
componentName: config$
|
|
792
|
-
props: config$
|
|
791
|
+
componentName: config$d.componentName,
|
|
792
|
+
props: config$d.preview
|
|
793
793
|
}
|
|
794
794
|
}
|
|
795
795
|
], amis: {
|
|
796
796
|
render: {
|
|
797
|
-
type: config$
|
|
797
|
+
type: config$d.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$d.amis.name,
|
|
804
804
|
$schema: '/schemas/UnkownSchema.json',
|
|
805
|
-
name: config$
|
|
806
|
-
description: config$
|
|
807
|
-
tags: [config$
|
|
805
|
+
name: config$d.title,
|
|
806
|
+
description: config$d.title,
|
|
807
|
+
tags: [config$d.group],
|
|
808
808
|
order: -9999,
|
|
809
|
-
icon: config$
|
|
809
|
+
icon: config$d.amis.icon,
|
|
810
810
|
scaffold: {
|
|
811
|
-
type: config$
|
|
812
|
-
label: config$
|
|
811
|
+
type: config$d.amis.name,
|
|
812
|
+
label: config$d.title,
|
|
813
813
|
name: ""
|
|
814
814
|
},
|
|
815
815
|
previewSchema: {
|
|
816
|
-
type: config$
|
|
816
|
+
type: config$d.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$c = {
|
|
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$c), { snippets: [
|
|
889
889
|
{
|
|
890
|
-
title: config$
|
|
890
|
+
title: config$c.title,
|
|
891
891
|
screenshot: "",
|
|
892
892
|
schema: {
|
|
893
|
-
componentName: config$
|
|
894
|
-
props: config$
|
|
893
|
+
componentName: config$c.componentName,
|
|
894
|
+
props: config$c.preview
|
|
895
895
|
}
|
|
896
896
|
}
|
|
897
897
|
], amis: {
|
|
898
898
|
render: {
|
|
899
|
-
type: config$
|
|
899
|
+
type: config$c.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$c.amis.name,
|
|
906
906
|
$schema: '/schemas/UnkownSchema.json',
|
|
907
|
-
name: config$
|
|
908
|
-
description: config$
|
|
909
|
-
tags: [config$
|
|
907
|
+
name: config$c.title,
|
|
908
|
+
description: config$c.title,
|
|
909
|
+
tags: [config$c.group],
|
|
910
910
|
order: -9999,
|
|
911
|
-
icon: config$
|
|
911
|
+
icon: config$c.amis.icon,
|
|
912
912
|
scaffold: {
|
|
913
|
-
type: config$
|
|
914
|
-
label: config$
|
|
913
|
+
type: config$c.amis.name,
|
|
914
|
+
label: config$c.title,
|
|
915
915
|
objectApiName: "${objectName}",
|
|
916
916
|
recordId: "${recordId}",
|
|
917
917
|
// relatedObjectApiName: "contacts"
|
|
918
918
|
},
|
|
919
919
|
previewSchema: {
|
|
920
|
-
type: config$
|
|
920
|
+
type: config$c.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$b = {
|
|
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$b), { snippets: [
|
|
1024
1024
|
{
|
|
1025
|
-
title: config$
|
|
1025
|
+
title: config$b.title,
|
|
1026
1026
|
screenshot: "",
|
|
1027
1027
|
schema: {
|
|
1028
|
-
componentName: config$
|
|
1029
|
-
props: config$
|
|
1028
|
+
componentName: config$b.componentName,
|
|
1029
|
+
props: config$b.preview
|
|
1030
1030
|
}
|
|
1031
1031
|
}
|
|
1032
1032
|
], amis: {
|
|
1033
1033
|
render: {
|
|
1034
|
-
type: config$
|
|
1034
|
+
type: config$b.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$b.amis.name,
|
|
1041
1041
|
$schema: '/schemas/UnkownSchema.json',
|
|
1042
|
-
name: config$
|
|
1043
|
-
description: config$
|
|
1044
|
-
tags: [config$
|
|
1042
|
+
name: config$b.title,
|
|
1043
|
+
description: config$b.title,
|
|
1044
|
+
tags: [config$b.group],
|
|
1045
1045
|
order: -9999,
|
|
1046
|
-
icon: config$
|
|
1046
|
+
icon: config$b.amis.icon,
|
|
1047
1047
|
scaffold: {
|
|
1048
|
-
type: config$
|
|
1049
|
-
label: config$
|
|
1048
|
+
type: config$b.amis.name,
|
|
1049
|
+
label: config$b.title,
|
|
1050
1050
|
objectApiName: "${objectName}",
|
|
1051
1051
|
recordId: "${recordId}",
|
|
1052
1052
|
},
|
|
1053
1053
|
previewSchema: {
|
|
1054
|
-
type: config$
|
|
1054
|
+
type: config$b.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$a = {
|
|
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$a), { snippets: [
|
|
1117
1117
|
{
|
|
1118
|
-
title: config$
|
|
1118
|
+
title: config$a.title,
|
|
1119
1119
|
screenshot: "",
|
|
1120
1120
|
schema: {
|
|
1121
|
-
componentName: config$
|
|
1122
|
-
props: config$
|
|
1121
|
+
componentName: config$a.componentName,
|
|
1122
|
+
props: config$a.preview
|
|
1123
1123
|
}
|
|
1124
1124
|
}
|
|
1125
1125
|
], amis: {
|
|
1126
1126
|
render: {
|
|
1127
|
-
type: config$
|
|
1127
|
+
type: config$a.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$a.amis.name,
|
|
1134
1134
|
$schema: '/schemas/UnkownSchema.json',
|
|
1135
|
-
name: config$
|
|
1136
|
-
description: config$
|
|
1137
|
-
tags: [config$
|
|
1135
|
+
name: config$a.title,
|
|
1136
|
+
description: config$a.title,
|
|
1137
|
+
tags: [config$a.group],
|
|
1138
1138
|
order: -9999,
|
|
1139
|
-
icon: config$
|
|
1139
|
+
icon: config$a.amis.icon,
|
|
1140
1140
|
scaffold: {
|
|
1141
|
-
type: config$
|
|
1142
|
-
label: config$
|
|
1141
|
+
type: config$a.amis.name,
|
|
1142
|
+
label: config$a.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$a.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$9 = {
|
|
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$9), { snippets: [
|
|
1192
1192
|
{
|
|
1193
|
-
title: config$
|
|
1193
|
+
title: config$9.title,
|
|
1194
1194
|
screenshot: "",
|
|
1195
1195
|
schema: {
|
|
1196
|
-
componentName: config$
|
|
1197
|
-
props: config$
|
|
1196
|
+
componentName: config$9.componentName,
|
|
1197
|
+
props: config$9.preview
|
|
1198
1198
|
}
|
|
1199
1199
|
}
|
|
1200
1200
|
], amis: {
|
|
1201
1201
|
render: {
|
|
1202
|
-
type: config$
|
|
1202
|
+
type: config$9.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$9.amis.name,
|
|
1209
1209
|
$schema: '/schemas/UnkownSchema.json',
|
|
1210
|
-
name: config$
|
|
1211
|
-
description: config$
|
|
1212
|
-
tags: [config$
|
|
1210
|
+
name: config$9.title,
|
|
1211
|
+
description: config$9.title,
|
|
1212
|
+
tags: [config$9.group],
|
|
1213
1213
|
order: -9999,
|
|
1214
|
-
icon: config$
|
|
1214
|
+
icon: config$9.amis.icon,
|
|
1215
1215
|
scaffold: {
|
|
1216
|
-
type: config$
|
|
1217
|
-
label: config$
|
|
1216
|
+
type: config$9.amis.name,
|
|
1217
|
+
label: config$9.title,
|
|
1218
1218
|
name: 'board',
|
|
1219
1219
|
columns: 1,
|
|
1220
1220
|
vertical: false
|
|
1221
1221
|
},
|
|
1222
1222
|
previewSchema: {
|
|
1223
|
-
type: config$
|
|
1223
|
+
type: config$9.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$8 = {
|
|
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$8), { snippets: [
|
|
1262
1262
|
{
|
|
1263
|
-
title: config$
|
|
1263
|
+
title: config$8.title,
|
|
1264
1264
|
screenshot: "",
|
|
1265
1265
|
schema: {
|
|
1266
|
-
componentName: config$
|
|
1267
|
-
props: config$
|
|
1266
|
+
componentName: config$8.componentName,
|
|
1267
|
+
props: config$8.preview
|
|
1268
1268
|
}
|
|
1269
1269
|
}
|
|
1270
1270
|
], amis: {
|
|
1271
1271
|
render: {
|
|
1272
|
-
type: config$
|
|
1272
|
+
type: config$8.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$7 = {
|
|
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$7), { snippets: [
|
|
1333
1333
|
{
|
|
1334
|
-
title: config$
|
|
1334
|
+
title: config$7.title,
|
|
1335
1335
|
screenshot: "",
|
|
1336
1336
|
schema: {
|
|
1337
|
-
componentName: config$
|
|
1338
|
-
props: config$
|
|
1337
|
+
componentName: config$7.componentName,
|
|
1338
|
+
props: config$7.preview
|
|
1339
1339
|
}
|
|
1340
1340
|
}
|
|
1341
1341
|
], amis: {
|
|
1342
1342
|
render: {
|
|
1343
|
-
type: config$
|
|
1343
|
+
type: config$7.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$6 = {
|
|
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$6), { snippets: [
|
|
1404
1404
|
{
|
|
1405
|
-
title: config$
|
|
1405
|
+
title: config$6.title,
|
|
1406
1406
|
screenshot: "",
|
|
1407
1407
|
schema: {
|
|
1408
|
-
componentName: config$
|
|
1409
|
-
props: config$
|
|
1408
|
+
componentName: config$6.componentName,
|
|
1409
|
+
props: config$6.preview
|
|
1410
1410
|
}
|
|
1411
1411
|
}
|
|
1412
1412
|
], amis: {
|
|
1413
1413
|
render: {
|
|
1414
|
-
type: config$
|
|
1414
|
+
type: config$6.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$6.amis.name,
|
|
1421
1421
|
$schema: '/schemas/UnkownSchema.json',
|
|
1422
|
-
name: config$
|
|
1423
|
-
description: config$
|
|
1424
|
-
tags: [config$
|
|
1422
|
+
name: config$6.title,
|
|
1423
|
+
description: config$6.title,
|
|
1424
|
+
tags: [config$6.group],
|
|
1425
1425
|
order: -9999,
|
|
1426
|
-
icon: config$
|
|
1426
|
+
icon: config$6.amis.icon,
|
|
1427
1427
|
scaffold: {
|
|
1428
|
-
type: config$
|
|
1429
|
-
label: config$
|
|
1428
|
+
type: config$6.amis.name,
|
|
1429
|
+
label: config$6.title,
|
|
1430
1430
|
name: 'board',
|
|
1431
1431
|
columns: 1,
|
|
1432
1432
|
vertical: false
|
|
1433
1433
|
},
|
|
1434
1434
|
previewSchema: {
|
|
1435
|
-
type: config$
|
|
1435
|
+
type: config$6.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$5 = {
|
|
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$5), { snippets: [
|
|
1474
1474
|
{
|
|
1475
|
-
title: config$
|
|
1475
|
+
title: config$5.title,
|
|
1476
1476
|
screenshot: "",
|
|
1477
1477
|
schema: {
|
|
1478
|
-
componentName: config$
|
|
1479
|
-
props: config$
|
|
1478
|
+
componentName: config$5.componentName,
|
|
1479
|
+
props: config$5.preview
|
|
1480
1480
|
}
|
|
1481
1481
|
}
|
|
1482
1482
|
], amis: {
|
|
1483
1483
|
render: {
|
|
1484
|
-
type: config$
|
|
1484
|
+
type: config$5.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$5.amis.name,
|
|
1491
1491
|
$schema: '/schemas/UnkownSchema.json',
|
|
1492
|
-
name: config$
|
|
1493
|
-
description: config$
|
|
1494
|
-
tags: [config$
|
|
1492
|
+
name: config$5.title,
|
|
1493
|
+
description: config$5.title,
|
|
1494
|
+
tags: [config$5.group],
|
|
1495
1495
|
order: -9999,
|
|
1496
|
-
icon: config$
|
|
1496
|
+
icon: config$5.amis.icon,
|
|
1497
1497
|
scaffold: {
|
|
1498
|
-
type: config$
|
|
1499
|
-
label: config$
|
|
1498
|
+
type: config$5.amis.name,
|
|
1499
|
+
label: config$5.title,
|
|
1500
1500
|
name: 'board',
|
|
1501
1501
|
columns: 1,
|
|
1502
1502
|
vertical: false
|
|
1503
1503
|
},
|
|
1504
1504
|
previewSchema: {
|
|
1505
|
-
type: config$
|
|
1505
|
+
type: config$5.amis.name,
|
|
1506
1506
|
},
|
|
1507
1507
|
panelTitle: "设置",
|
|
1508
1508
|
panelControls: []
|
|
@@ -1516,7 +1516,7 @@
|
|
|
1516
1516
|
* @LastEditTime: 2022-12-13 13:21:18
|
|
1517
1517
|
* @Description:
|
|
1518
1518
|
*/
|
|
1519
|
-
var config = {
|
|
1519
|
+
var config$4 = {
|
|
1520
1520
|
componentType: 'amisSchema',
|
|
1521
1521
|
group: "华炎魔方",
|
|
1522
1522
|
componentName: "AmisAppMenu",
|
|
@@ -1547,7 +1547,397 @@
|
|
|
1547
1547
|
icon: "fa-fw fa fa-list-alt"
|
|
1548
1548
|
}
|
|
1549
1549
|
};
|
|
1550
|
-
var AmisAppMenu = __assign(__assign({}, config), { snippets: [
|
|
1550
|
+
var AmisAppMenu = __assign(__assign({}, config$4), { snippets: [
|
|
1551
|
+
{
|
|
1552
|
+
title: config$4.title,
|
|
1553
|
+
screenshot: "",
|
|
1554
|
+
schema: {
|
|
1555
|
+
componentName: config$4.componentName,
|
|
1556
|
+
props: config$4.preview
|
|
1557
|
+
}
|
|
1558
|
+
}
|
|
1559
|
+
], amis: {
|
|
1560
|
+
render: {
|
|
1561
|
+
type: config$4.amis.name,
|
|
1562
|
+
usage: "renderer",
|
|
1563
|
+
weight: 1,
|
|
1564
|
+
framework: "react"
|
|
1565
|
+
},
|
|
1566
|
+
plugin: {
|
|
1567
|
+
rendererName: config$4.amis.name,
|
|
1568
|
+
$schema: '/schemas/UnkownSchema.json',
|
|
1569
|
+
name: config$4.title,
|
|
1570
|
+
description: config$4.title,
|
|
1571
|
+
tags: [config$4.group],
|
|
1572
|
+
order: -9999,
|
|
1573
|
+
icon: config$4.amis.icon,
|
|
1574
|
+
scaffold: {
|
|
1575
|
+
type: config$4.amis.name,
|
|
1576
|
+
label: config$4.title,
|
|
1577
|
+
columns: 1,
|
|
1578
|
+
vertical: false
|
|
1579
|
+
},
|
|
1580
|
+
previewSchema: {
|
|
1581
|
+
type: config$4.amis.name,
|
|
1582
|
+
},
|
|
1583
|
+
panelTitle: "设置",
|
|
1584
|
+
panelControls: [
|
|
1585
|
+
{
|
|
1586
|
+
type: "switch",
|
|
1587
|
+
name: "stacked",
|
|
1588
|
+
label: "是否竖着摆放"
|
|
1589
|
+
}
|
|
1590
|
+
]
|
|
1591
|
+
}
|
|
1592
|
+
} });
|
|
1593
|
+
|
|
1594
|
+
/*
|
|
1595
|
+
* @Author: baozhoutao@steedos.com
|
|
1596
|
+
* @Date: 2022-10-11 09:39:38
|
|
1597
|
+
* @LastEditors: baozhoutao@steedos.com
|
|
1598
|
+
* @LastEditTime: 2022-12-14 14:54:10
|
|
1599
|
+
* @Description:
|
|
1600
|
+
*/
|
|
1601
|
+
var config$3 = {
|
|
1602
|
+
// componentType: 'amisSchema',
|
|
1603
|
+
group: "华炎魔方",
|
|
1604
|
+
componentName: "SteedosIcon",
|
|
1605
|
+
title: "Icon",
|
|
1606
|
+
docUrl: "",
|
|
1607
|
+
screenshot: "",
|
|
1608
|
+
npm: {
|
|
1609
|
+
package: "@steedos-widgets/amis-object",
|
|
1610
|
+
version: "{{version}}",
|
|
1611
|
+
exportName: "SteedosIcon",
|
|
1612
|
+
main: "",
|
|
1613
|
+
destructuring: true,
|
|
1614
|
+
subName: ""
|
|
1615
|
+
},
|
|
1616
|
+
preview: {},
|
|
1617
|
+
targets: ["steedos__RecordPage", "steedos__AppPage", "steedos__HomePage"],
|
|
1618
|
+
engines: ["amis"],
|
|
1619
|
+
// settings for amis.
|
|
1620
|
+
amis: {
|
|
1621
|
+
name: 'steedos-icon',
|
|
1622
|
+
icon: "fa-fw fa fa-list-alt"
|
|
1623
|
+
}
|
|
1624
|
+
};
|
|
1625
|
+
var SteedosIcon = __assign(__assign({}, config$3), { snippets: [
|
|
1626
|
+
{
|
|
1627
|
+
title: config$3.title,
|
|
1628
|
+
screenshot: "",
|
|
1629
|
+
schema: {
|
|
1630
|
+
componentName: config$3.componentName,
|
|
1631
|
+
props: config$3.preview
|
|
1632
|
+
}
|
|
1633
|
+
}
|
|
1634
|
+
], amis: {
|
|
1635
|
+
render: {
|
|
1636
|
+
type: config$3.amis.name,
|
|
1637
|
+
usage: "renderer",
|
|
1638
|
+
weight: 1,
|
|
1639
|
+
framework: "react"
|
|
1640
|
+
},
|
|
1641
|
+
plugin: {
|
|
1642
|
+
rendererName: config$3.amis.name,
|
|
1643
|
+
$schema: '/schemas/UnkownSchema.json',
|
|
1644
|
+
name: config$3.title,
|
|
1645
|
+
description: config$3.title,
|
|
1646
|
+
tags: [config$3.group],
|
|
1647
|
+
order: -9999,
|
|
1648
|
+
icon: config$3.amis.icon,
|
|
1649
|
+
scaffold: {
|
|
1650
|
+
type: config$3.amis.name,
|
|
1651
|
+
category: 'standard',
|
|
1652
|
+
name: 'account',
|
|
1653
|
+
colorVariant: 'default',
|
|
1654
|
+
size: 'medium'
|
|
1655
|
+
},
|
|
1656
|
+
previewSchema: {
|
|
1657
|
+
type: config$3.amis.name,
|
|
1658
|
+
},
|
|
1659
|
+
panelTitle: "设置",
|
|
1660
|
+
panelControls: [
|
|
1661
|
+
{
|
|
1662
|
+
type: "select",
|
|
1663
|
+
name: "category",
|
|
1664
|
+
label: "Category",
|
|
1665
|
+
options: [
|
|
1666
|
+
{ label: 'action', value: 'action' },
|
|
1667
|
+
{ label: 'custom', value: 'custom' },
|
|
1668
|
+
{ label: 'doctype', value: 'doctype' },
|
|
1669
|
+
{ label: 'standard', value: 'standard' },
|
|
1670
|
+
{ label: 'utility', value: 'utility' },
|
|
1671
|
+
]
|
|
1672
|
+
},
|
|
1673
|
+
{
|
|
1674
|
+
type: "text",
|
|
1675
|
+
name: "name",
|
|
1676
|
+
label: "名称"
|
|
1677
|
+
},
|
|
1678
|
+
{
|
|
1679
|
+
type: "text",
|
|
1680
|
+
name: "className",
|
|
1681
|
+
label: "ClassName"
|
|
1682
|
+
},
|
|
1683
|
+
{
|
|
1684
|
+
type: "text",
|
|
1685
|
+
name: "containerClassName",
|
|
1686
|
+
label: "Container ClassName"
|
|
1687
|
+
},
|
|
1688
|
+
{
|
|
1689
|
+
type: "select",
|
|
1690
|
+
name: "colorVariant",
|
|
1691
|
+
label: "Icon color variants",
|
|
1692
|
+
options: [
|
|
1693
|
+
{ label: 'base', value: 'base' },
|
|
1694
|
+
{ label: 'default', value: 'default' },
|
|
1695
|
+
{ label: 'error', value: 'error' },
|
|
1696
|
+
{ label: 'light', value: 'light' },
|
|
1697
|
+
{ label: 'warning', value: 'warning' }
|
|
1698
|
+
]
|
|
1699
|
+
},
|
|
1700
|
+
{
|
|
1701
|
+
type: "select",
|
|
1702
|
+
name: "size",
|
|
1703
|
+
label: "Size of the icon",
|
|
1704
|
+
options: [
|
|
1705
|
+
{ label: 'xx-small', value: 'xx-small' },
|
|
1706
|
+
{ label: 'x-small', value: 'x-small' },
|
|
1707
|
+
{ label: 'small', value: 'small' },
|
|
1708
|
+
{ label: 'medium', value: 'medium' },
|
|
1709
|
+
{ label: 'large', value: 'large' },
|
|
1710
|
+
]
|
|
1711
|
+
},
|
|
1712
|
+
{
|
|
1713
|
+
type: 'text',
|
|
1714
|
+
name: 'basePath',
|
|
1715
|
+
label: 'Base Path'
|
|
1716
|
+
}
|
|
1717
|
+
]
|
|
1718
|
+
}
|
|
1719
|
+
} });
|
|
1720
|
+
|
|
1721
|
+
/*
|
|
1722
|
+
* @Author: baozhoutao@steedos.com
|
|
1723
|
+
* @Date: 2022-10-11 09:39:38
|
|
1724
|
+
* @LastEditors: baozhoutao@steedos.com
|
|
1725
|
+
* @LastEditTime: 2022-12-14 11:59:13
|
|
1726
|
+
* @Description:
|
|
1727
|
+
*/
|
|
1728
|
+
var config$2 = {
|
|
1729
|
+
// componentType: 'amisSchema',
|
|
1730
|
+
group: "华炎魔方",
|
|
1731
|
+
componentName: "SteedosDropdown",
|
|
1732
|
+
title: "Steedos Dropdown",
|
|
1733
|
+
docUrl: "",
|
|
1734
|
+
screenshot: "",
|
|
1735
|
+
npm: {
|
|
1736
|
+
package: "@steedos-widgets/amis-object",
|
|
1737
|
+
version: "{{version}}",
|
|
1738
|
+
exportName: "SteedosDropdown",
|
|
1739
|
+
main: "",
|
|
1740
|
+
destructuring: true,
|
|
1741
|
+
subName: ""
|
|
1742
|
+
},
|
|
1743
|
+
preview: {},
|
|
1744
|
+
targets: ["steedos__RecordPage", "steedos__AppPage", "steedos__HomePage"],
|
|
1745
|
+
engines: ["amis"],
|
|
1746
|
+
// settings for amis.
|
|
1747
|
+
amis: {
|
|
1748
|
+
name: 'steedos-dropdown',
|
|
1749
|
+
icon: "fa-fw fa fa-list-alt"
|
|
1750
|
+
}
|
|
1751
|
+
};
|
|
1752
|
+
var SteedosDropdown = __assign(__assign({}, config$2), { snippets: [
|
|
1753
|
+
{
|
|
1754
|
+
title: config$2.title,
|
|
1755
|
+
screenshot: "",
|
|
1756
|
+
schema: {
|
|
1757
|
+
componentName: config$2.componentName,
|
|
1758
|
+
props: config$2.preview
|
|
1759
|
+
}
|
|
1760
|
+
}
|
|
1761
|
+
], amis: {
|
|
1762
|
+
render: {
|
|
1763
|
+
type: config$2.amis.name,
|
|
1764
|
+
usage: "renderer",
|
|
1765
|
+
weight: 1,
|
|
1766
|
+
framework: "react"
|
|
1767
|
+
},
|
|
1768
|
+
plugin: {
|
|
1769
|
+
rendererName: config$2.amis.name,
|
|
1770
|
+
$schema: '/schemas/UnkownSchema.json',
|
|
1771
|
+
name: config$2.title,
|
|
1772
|
+
description: config$2.title,
|
|
1773
|
+
tags: [config$2.group],
|
|
1774
|
+
order: -9999,
|
|
1775
|
+
icon: config$2.amis.icon,
|
|
1776
|
+
scaffold: {
|
|
1777
|
+
type: config$2.amis.name,
|
|
1778
|
+
placement: 'bottomLeft',
|
|
1779
|
+
trigger: ['click'],
|
|
1780
|
+
body: [],
|
|
1781
|
+
overlay: [],
|
|
1782
|
+
},
|
|
1783
|
+
regions: [
|
|
1784
|
+
{
|
|
1785
|
+
key: 'body',
|
|
1786
|
+
label: '内容区'
|
|
1787
|
+
},
|
|
1788
|
+
{
|
|
1789
|
+
key: 'overlay',
|
|
1790
|
+
label: 'Overlay'
|
|
1791
|
+
},
|
|
1792
|
+
],
|
|
1793
|
+
previewSchema: {
|
|
1794
|
+
type: config$2.amis.name,
|
|
1795
|
+
},
|
|
1796
|
+
panelTitle: "设置",
|
|
1797
|
+
panelControls: [
|
|
1798
|
+
{
|
|
1799
|
+
type: "select",
|
|
1800
|
+
name: "placement",
|
|
1801
|
+
label: "Placement",
|
|
1802
|
+
options: [
|
|
1803
|
+
{ label: 'bottom', value: 'bottom' },
|
|
1804
|
+
{ label: 'bottomLeft', value: 'bottomLeft' },
|
|
1805
|
+
{ label: 'bottomRight', value: 'bottomRight' },
|
|
1806
|
+
{ label: 'top', value: 'top' },
|
|
1807
|
+
{ label: 'topLeft', value: 'topLeft' },
|
|
1808
|
+
{ label: 'topRight', value: 'topRight' },
|
|
1809
|
+
]
|
|
1810
|
+
},
|
|
1811
|
+
{
|
|
1812
|
+
type: "select",
|
|
1813
|
+
name: "trigger",
|
|
1814
|
+
label: "触发下拉的行为, 移动端不支持 hover",
|
|
1815
|
+
options: [
|
|
1816
|
+
{ label: 'click', value: 'click' },
|
|
1817
|
+
{ label: 'hover', value: 'hover' }
|
|
1818
|
+
],
|
|
1819
|
+
multiple: true
|
|
1820
|
+
},
|
|
1821
|
+
{
|
|
1822
|
+
type: 'text',
|
|
1823
|
+
name: 'className',
|
|
1824
|
+
label: 'Class Name'
|
|
1825
|
+
},
|
|
1826
|
+
{
|
|
1827
|
+
type: 'text',
|
|
1828
|
+
name: 'overlayClassName',
|
|
1829
|
+
label: 'Overlay Class Name'
|
|
1830
|
+
}
|
|
1831
|
+
]
|
|
1832
|
+
}
|
|
1833
|
+
} });
|
|
1834
|
+
|
|
1835
|
+
/*
|
|
1836
|
+
* @Author: baozhoutao@steedos.com
|
|
1837
|
+
* @Date: 2022-10-11 09:39:38
|
|
1838
|
+
* @LastEditors: baozhoutao@steedos.com
|
|
1839
|
+
* @LastEditTime: 2022-12-14 13:07:09
|
|
1840
|
+
* @Description:
|
|
1841
|
+
*/
|
|
1842
|
+
var config$1 = {
|
|
1843
|
+
// componentType: 'amisSchema',
|
|
1844
|
+
group: "华炎魔方",
|
|
1845
|
+
componentName: "FromNow",
|
|
1846
|
+
title: "From Now",
|
|
1847
|
+
docUrl: "",
|
|
1848
|
+
screenshot: "",
|
|
1849
|
+
npm: {
|
|
1850
|
+
package: "@steedos-widgets/amis-object",
|
|
1851
|
+
version: "{{version}}",
|
|
1852
|
+
exportName: "FromNow",
|
|
1853
|
+
main: "",
|
|
1854
|
+
destructuring: true,
|
|
1855
|
+
subName: ""
|
|
1856
|
+
},
|
|
1857
|
+
preview: {},
|
|
1858
|
+
targets: ["steedos__RecordPage", "steedos__AppPage", "steedos__HomePage"],
|
|
1859
|
+
engines: ["amis"],
|
|
1860
|
+
// settings for amis.
|
|
1861
|
+
amis: {
|
|
1862
|
+
name: 'steedos-from-now',
|
|
1863
|
+
icon: "fa-fw fa fa-list-alt"
|
|
1864
|
+
}
|
|
1865
|
+
};
|
|
1866
|
+
var FromNow = __assign(__assign({}, config$1), { snippets: [
|
|
1867
|
+
{
|
|
1868
|
+
title: config$1.title,
|
|
1869
|
+
screenshot: "",
|
|
1870
|
+
schema: {
|
|
1871
|
+
componentName: config$1.componentName,
|
|
1872
|
+
props: config$1.preview
|
|
1873
|
+
}
|
|
1874
|
+
}
|
|
1875
|
+
], amis: {
|
|
1876
|
+
render: {
|
|
1877
|
+
type: config$1.amis.name,
|
|
1878
|
+
usage: "renderer",
|
|
1879
|
+
weight: 1,
|
|
1880
|
+
framework: "react"
|
|
1881
|
+
},
|
|
1882
|
+
plugin: {
|
|
1883
|
+
rendererName: config$1.amis.name,
|
|
1884
|
+
$schema: '/schemas/UnkownSchema.json',
|
|
1885
|
+
name: config$1.title,
|
|
1886
|
+
description: config$1.title,
|
|
1887
|
+
tags: [config$1.group],
|
|
1888
|
+
order: -9999,
|
|
1889
|
+
icon: config$1.amis.icon,
|
|
1890
|
+
scaffold: {
|
|
1891
|
+
type: config$1.amis.name,
|
|
1892
|
+
date: new Date()
|
|
1893
|
+
},
|
|
1894
|
+
previewSchema: {
|
|
1895
|
+
type: config$1.amis.name,
|
|
1896
|
+
},
|
|
1897
|
+
panelTitle: "设置",
|
|
1898
|
+
panelControls: [
|
|
1899
|
+
{
|
|
1900
|
+
type: "input-datetime",
|
|
1901
|
+
name: "date",
|
|
1902
|
+
label: "Date"
|
|
1903
|
+
}
|
|
1904
|
+
]
|
|
1905
|
+
}
|
|
1906
|
+
} });
|
|
1907
|
+
|
|
1908
|
+
/*
|
|
1909
|
+
* @Author: baozhoutao@steedos.com
|
|
1910
|
+
* @Date: 2022-10-11 09:39:38
|
|
1911
|
+
* @LastEditors: baozhoutao@steedos.com
|
|
1912
|
+
* @LastEditTime: 2022-12-14 13:38:52
|
|
1913
|
+
* @Description:
|
|
1914
|
+
*/
|
|
1915
|
+
var config = {
|
|
1916
|
+
componentType: 'amisSchema',
|
|
1917
|
+
group: "华炎魔方",
|
|
1918
|
+
componentName: "AmisGlobalHeader",
|
|
1919
|
+
title: "Global Header",
|
|
1920
|
+
docUrl: "",
|
|
1921
|
+
screenshot: "",
|
|
1922
|
+
npm: {
|
|
1923
|
+
package: "@steedos-widgets/amis-object",
|
|
1924
|
+
version: "{{version}}",
|
|
1925
|
+
exportName: "AmisGlobalHeader",
|
|
1926
|
+
main: "",
|
|
1927
|
+
destructuring: true,
|
|
1928
|
+
subName: ""
|
|
1929
|
+
},
|
|
1930
|
+
props: [],
|
|
1931
|
+
preview: {},
|
|
1932
|
+
targets: ["steedos__RecordPage", "steedos__AppPage", "steedos__HomePage"],
|
|
1933
|
+
engines: ["amis"],
|
|
1934
|
+
// settings for amis.
|
|
1935
|
+
amis: {
|
|
1936
|
+
name: 'steedos-global-header',
|
|
1937
|
+
icon: "fa-fw fa fa-list-alt"
|
|
1938
|
+
}
|
|
1939
|
+
};
|
|
1940
|
+
var AmisGlobalHeader = __assign(__assign({}, config), { snippets: [
|
|
1551
1941
|
{
|
|
1552
1942
|
title: config.title,
|
|
1553
1943
|
screenshot: "",
|
|
@@ -1581,13 +1971,7 @@
|
|
|
1581
1971
|
type: config.amis.name,
|
|
1582
1972
|
},
|
|
1583
1973
|
panelTitle: "设置",
|
|
1584
|
-
panelControls: [
|
|
1585
|
-
{
|
|
1586
|
-
type: "switch",
|
|
1587
|
-
name: "stacked",
|
|
1588
|
-
label: "是否竖着摆放"
|
|
1589
|
-
}
|
|
1590
|
-
]
|
|
1974
|
+
panelControls: []
|
|
1591
1975
|
}
|
|
1592
1976
|
} });
|
|
1593
1977
|
|
|
@@ -1595,7 +1979,7 @@
|
|
|
1595
1979
|
* @Author: baozhoutao@steedos.com
|
|
1596
1980
|
* @Date: 2022-08-31 16:32:35
|
|
1597
1981
|
* @LastEditors: baozhoutao@steedos.com
|
|
1598
|
-
* @LastEditTime: 2022-12-
|
|
1982
|
+
* @LastEditTime: 2022-12-14 13:38:04
|
|
1599
1983
|
* @Description:
|
|
1600
1984
|
*/
|
|
1601
1985
|
var components = [
|
|
@@ -1613,7 +1997,11 @@
|
|
|
1613
1997
|
SteedosDropdownButton,
|
|
1614
1998
|
AmisAppLauncher,
|
|
1615
1999
|
AmisLogo,
|
|
1616
|
-
AmisAppMenu
|
|
2000
|
+
AmisAppMenu,
|
|
2001
|
+
SteedosIcon,
|
|
2002
|
+
SteedosDropdown,
|
|
2003
|
+
FromNow,
|
|
2004
|
+
AmisGlobalHeader
|
|
1617
2005
|
];
|
|
1618
2006
|
var componentList = [
|
|
1619
2007
|
{
|
|
@@ -1634,7 +2022,11 @@
|
|
|
1634
2022
|
SteedosDropdownButton,
|
|
1635
2023
|
AmisAppLauncher,
|
|
1636
2024
|
AmisLogo,
|
|
1637
|
-
AmisAppMenu
|
|
2025
|
+
AmisAppMenu,
|
|
2026
|
+
SteedosIcon,
|
|
2027
|
+
SteedosDropdown,
|
|
2028
|
+
FromNow,
|
|
2029
|
+
AmisGlobalHeader
|
|
1638
2030
|
]
|
|
1639
2031
|
}
|
|
1640
2032
|
];
|