@steedos-widgets/amis-object 1.0.6 → 1.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/meta.js CHANGED
@@ -37,7 +37,7 @@
37
37
  * @LastEditTime: 2022-09-02 09:04:33
38
38
  * @Description:
39
39
  */
40
- var config$i = {
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$i), { snippets: [
98
+ var AmisObjectForm = __assign(__assign({}, config$k), { snippets: [
99
99
  {
100
- title: config$i.title,
100
+ title: config$k.title,
101
101
  screenshot: "",
102
102
  schema: {
103
- componentName: config$i.componentName,
104
- props: config$i.preview
103
+ componentName: config$k.componentName,
104
+ props: config$k.preview
105
105
  }
106
106
  }
107
107
  ], amis: {
108
108
  render: {
109
- type: config$i.amis.name,
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$i.amis.name,
115
+ rendererName: config$k.amis.name,
116
116
  $schema: '/schemas/UnkownSchema.json',
117
- name: config$i.title,
118
- description: config$i.title,
119
- tags: [config$i.group],
117
+ name: config$k.title,
118
+ description: config$k.title,
119
+ tags: [config$k.group],
120
120
  order: -9999,
121
- icon: config$i.amis.icon,
121
+ icon: config$k.amis.icon,
122
122
  scaffold: {
123
- type: config$i.amis.name,
124
- label: config$i.title,
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$i.amis.name,
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$h = {
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$h), { snippets: [
260
+ var AmisObjectListview = __assign(__assign({}, config$j), { snippets: [
261
261
  {
262
- title: config$h.title,
262
+ title: config$j.title,
263
263
  screenshot: "",
264
264
  schema: {
265
- componentName: config$h.componentName,
266
- props: config$h.preview
265
+ componentName: config$j.componentName,
266
+ props: config$j.preview
267
267
  }
268
268
  }
269
269
  ], amis: {
270
270
  render: {
271
- type: config$h.amis.name,
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$h.amis.name,
277
+ rendererName: config$j.amis.name,
278
278
  $schema: '/schemas/UnkownSchema.json',
279
- name: config$h.title,
280
- description: config$h.title,
281
- tags: [config$h.group],
279
+ name: config$j.title,
280
+ description: config$j.title,
281
+ tags: [config$j.group],
282
282
  order: -9999,
283
- icon: config$h.amis.icon,
283
+ icon: config$j.amis.icon,
284
284
  scaffold: {
285
- type: config$h.amis.name,
286
- label: config$h.title,
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$h.amis.name,
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$g = {
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$g), { snippets: [
414
+ var AmisObjectTable = __assign(__assign({}, config$i), { snippets: [
415
415
  {
416
- title: config$g.title,
416
+ title: config$i.title,
417
417
  screenshot: "",
418
418
  schema: {
419
- componentName: config$g.componentName,
420
- props: config$g.preview
419
+ componentName: config$i.componentName,
420
+ props: config$i.preview
421
421
  }
422
422
  }
423
423
  ], amis: {
424
424
  render: {
425
- type: config$g.amis.name,
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$g.amis.name,
431
+ rendererName: config$i.amis.name,
432
432
  $schema: '/schemas/UnkownSchema.json',
433
- name: config$g.title,
434
- description: config$g.title,
435
- tags: [config$g.group],
433
+ name: config$i.title,
434
+ description: config$i.title,
435
+ tags: [config$i.group],
436
436
  order: -9999,
437
- icon: config$g.amis.icon,
437
+ icon: config$i.amis.icon,
438
438
  scaffold: {
439
- type: config$g.amis.name,
440
- label: config$g.title,
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$g.amis.name,
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$f = {
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$f), { snippets: [
575
+ var AmisRecordDetailHeader = __assign(__assign({}, config$h), { snippets: [
576
576
  {
577
- title: config$f.title,
577
+ title: config$h.title,
578
578
  screenshot: "",
579
579
  schema: {
580
- componentName: config$f.componentName,
581
- props: config$f.preview
580
+ componentName: config$h.componentName,
581
+ props: config$h.preview
582
582
  }
583
583
  }
584
584
  ], amis: {
585
585
  render: {
586
- type: config$f.amis.name,
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$f.amis.name,
592
+ rendererName: config$h.amis.name,
593
593
  $schema: '/schemas/UnkownSchema.json',
594
- name: config$f.title,
595
- description: config$f.title,
596
- tags: [config$f.group],
594
+ name: config$h.title,
595
+ description: config$h.title,
596
+ tags: [config$h.group],
597
597
  order: -9999,
598
- icon: config$f.amis.icon,
598
+ icon: config$h.amis.icon,
599
599
  scaffold: {
600
- type: config$f.amis.name,
601
- label: config$f.title,
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$f.amis.name,
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$e = {
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$e), { snippets: [
679
+ var AmisRecordDetail = __assign(__assign({}, config$g), { snippets: [
680
680
  {
681
- title: config$e.title,
681
+ title: config$g.title,
682
682
  screenshot: "",
683
683
  schema: {
684
- componentName: config$e.componentName,
685
- props: config$e.preview
684
+ componentName: config$g.componentName,
685
+ props: config$g.preview
686
686
  }
687
687
  }
688
688
  ], amis: {
689
689
  render: {
690
- type: config$e.amis.name,
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$e.amis.name,
696
+ rendererName: config$g.amis.name,
697
697
  $schema: '/schemas/UnkownSchema.json',
698
- name: config$e.title,
699
- description: config$e.title,
700
- tags: [config$e.group],
698
+ name: config$g.title,
699
+ description: config$g.title,
700
+ tags: [config$g.group],
701
701
  order: -9999,
702
- icon: config$e.amis.icon,
702
+ icon: config$g.amis.icon,
703
703
  scaffold: {
704
- type: config$e.amis.name,
705
- label: config$e.title,
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$e.amis.name,
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$d = {
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$d), { snippets: [
786
+ var AmisSelectUser = __assign(__assign({}, config$f), { snippets: [
787
787
  {
788
- title: config$d.title,
788
+ title: config$f.title,
789
789
  screenshot: "",
790
790
  schema: {
791
- componentName: config$d.componentName,
792
- props: config$d.preview
791
+ componentName: config$f.componentName,
792
+ props: config$f.preview
793
793
  }
794
794
  }
795
795
  ], amis: {
796
796
  render: {
797
- type: config$d.amis.name,
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$d.amis.name,
803
+ rendererName: config$f.amis.name,
804
804
  $schema: '/schemas/UnkownSchema.json',
805
- name: config$d.title,
806
- description: config$d.title,
807
- tags: [config$d.group],
805
+ name: config$f.title,
806
+ description: config$f.title,
807
+ tags: [config$f.group],
808
808
  order: -9999,
809
- icon: config$d.amis.icon,
809
+ icon: config$f.amis.icon,
810
810
  scaffold: {
811
- type: config$d.amis.name,
812
- label: config$d.title,
811
+ type: config$f.amis.name,
812
+ label: config$f.title,
813
813
  name: ""
814
814
  },
815
815
  previewSchema: {
816
- type: config$d.amis.name,
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$c = {
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$c), { snippets: [
888
+ var AmisRecordDetailRelatedList = __assign(__assign({}, config$e), { snippets: [
889
889
  {
890
- title: config$c.title,
890
+ title: config$e.title,
891
891
  screenshot: "",
892
892
  schema: {
893
- componentName: config$c.componentName,
894
- props: config$c.preview
893
+ componentName: config$e.componentName,
894
+ props: config$e.preview
895
895
  }
896
896
  }
897
897
  ], amis: {
898
898
  render: {
899
- type: config$c.amis.name,
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$c.amis.name,
905
+ rendererName: config$e.amis.name,
906
906
  $schema: '/schemas/UnkownSchema.json',
907
- name: config$c.title,
908
- description: config$c.title,
909
- tags: [config$c.group],
907
+ name: config$e.title,
908
+ description: config$e.title,
909
+ tags: [config$e.group],
910
910
  order: -9999,
911
- icon: config$c.amis.icon,
911
+ icon: config$e.amis.icon,
912
912
  scaffold: {
913
- type: config$c.amis.name,
914
- label: config$c.title,
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$c.amis.name,
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$b = {
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$b), { snippets: [
1023
+ var AmisRecordDetailRelatedLists = __assign(__assign({}, config$d), { snippets: [
1024
1024
  {
1025
- title: config$b.title,
1025
+ title: config$d.title,
1026
1026
  screenshot: "",
1027
1027
  schema: {
1028
- componentName: config$b.componentName,
1029
- props: config$b.preview
1028
+ componentName: config$d.componentName,
1029
+ props: config$d.preview
1030
1030
  }
1031
1031
  }
1032
1032
  ], amis: {
1033
1033
  render: {
1034
- type: config$b.amis.name,
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$b.amis.name,
1040
+ rendererName: config$d.amis.name,
1041
1041
  $schema: '/schemas/UnkownSchema.json',
1042
- name: config$b.title,
1043
- description: config$b.title,
1044
- tags: [config$b.group],
1042
+ name: config$d.title,
1043
+ description: config$d.title,
1044
+ tags: [config$d.group],
1045
1045
  order: -9999,
1046
- icon: config$b.amis.icon,
1046
+ icon: config$d.amis.icon,
1047
1047
  scaffold: {
1048
- type: config$b.amis.name,
1049
- label: config$b.title,
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$b.amis.name,
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$a = {
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$a), { snippets: [
1116
+ var AmisProvider = __assign(__assign({}, config$c), { snippets: [
1117
1117
  {
1118
- title: config$a.title,
1118
+ title: config$c.title,
1119
1119
  screenshot: "",
1120
1120
  schema: {
1121
- componentName: config$a.componentName,
1122
- props: config$a.preview
1121
+ componentName: config$c.componentName,
1122
+ props: config$c.preview
1123
1123
  }
1124
1124
  }
1125
1125
  ], amis: {
1126
1126
  render: {
1127
- type: config$a.amis.name,
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$a.amis.name,
1133
+ rendererName: config$c.amis.name,
1134
1134
  $schema: '/schemas/UnkownSchema.json',
1135
- name: config$a.title,
1136
- description: config$a.title,
1137
- tags: [config$a.group],
1135
+ name: config$c.title,
1136
+ description: config$c.title,
1137
+ tags: [config$c.group],
1138
1138
  order: -9999,
1139
- icon: config$a.amis.icon,
1139
+ icon: config$c.amis.icon,
1140
1140
  scaffold: {
1141
- type: config$a.amis.name,
1142
- label: config$a.title,
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$a.amis.name,
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$9 = {
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$9), { snippets: [
1191
+ var AmisObjectFieldLookup = __assign(__assign({}, config$b), { snippets: [
1192
1192
  {
1193
- title: config$9.title,
1193
+ title: config$b.title,
1194
1194
  screenshot: "",
1195
1195
  schema: {
1196
- componentName: config$9.componentName,
1197
- props: config$9.preview
1196
+ componentName: config$b.componentName,
1197
+ props: config$b.preview
1198
1198
  }
1199
1199
  }
1200
1200
  ], amis: {
1201
1201
  render: {
1202
- type: config$9.amis.name,
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$9.amis.name,
1208
+ rendererName: config$b.amis.name,
1209
1209
  $schema: '/schemas/UnkownSchema.json',
1210
- name: config$9.title,
1211
- description: config$9.title,
1212
- tags: [config$9.group],
1210
+ name: config$b.title,
1211
+ description: config$b.title,
1212
+ tags: [config$b.group],
1213
1213
  order: -9999,
1214
- icon: config$9.amis.icon,
1214
+ icon: config$b.amis.icon,
1215
1215
  scaffold: {
1216
- type: config$9.amis.name,
1217
- label: config$9.title,
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$9.amis.name,
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$8 = {
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$8), { snippets: [
1261
+ var AmisObjectButton = __assign(__assign({}, config$a), { snippets: [
1262
1262
  {
1263
- title: config$8.title,
1263
+ title: config$a.title,
1264
1264
  screenshot: "",
1265
1265
  schema: {
1266
- componentName: config$8.componentName,
1267
- props: config$8.preview
1266
+ componentName: config$a.componentName,
1267
+ props: config$a.preview
1268
1268
  }
1269
1269
  }
1270
1270
  ], amis: {
1271
1271
  render: {
1272
- type: config$8.amis.name,
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$7 = {
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$7), { snippets: [
1332
+ var SteedosDropdownButton = __assign(__assign({}, config$9), { snippets: [
1333
1333
  {
1334
- title: config$7.title,
1334
+ title: config$9.title,
1335
1335
  screenshot: "",
1336
1336
  schema: {
1337
- componentName: config$7.componentName,
1338
- props: config$7.preview
1337
+ componentName: config$9.componentName,
1338
+ props: config$9.preview
1339
1339
  }
1340
1340
  }
1341
1341
  ], amis: {
1342
1342
  render: {
1343
- type: config$7.amis.name,
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$6 = {
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$6), { snippets: [
1403
+ var AmisAppLauncher = __assign(__assign({}, config$8), { snippets: [
1404
1404
  {
1405
- title: config$6.title,
1405
+ title: config$8.title,
1406
1406
  screenshot: "",
1407
1407
  schema: {
1408
- componentName: config$6.componentName,
1409
- props: config$6.preview
1408
+ componentName: config$8.componentName,
1409
+ props: config$8.preview
1410
1410
  }
1411
1411
  }
1412
1412
  ], amis: {
1413
1413
  render: {
1414
- type: config$6.amis.name,
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$6.amis.name,
1420
+ rendererName: config$8.amis.name,
1421
1421
  $schema: '/schemas/UnkownSchema.json',
1422
- name: config$6.title,
1423
- description: config$6.title,
1424
- tags: [config$6.group],
1422
+ name: config$8.title,
1423
+ description: config$8.title,
1424
+ tags: [config$8.group],
1425
1425
  order: -9999,
1426
- icon: config$6.amis.icon,
1426
+ icon: config$8.amis.icon,
1427
1427
  scaffold: {
1428
- type: config$6.amis.name,
1429
- label: config$6.title,
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$6.amis.name,
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$5 = {
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$5), { snippets: [
1473
+ var AmisLogo = __assign(__assign({}, config$7), { snippets: [
1474
1474
  {
1475
- title: config$5.title,
1475
+ title: config$7.title,
1476
1476
  screenshot: "",
1477
1477
  schema: {
1478
- componentName: config$5.componentName,
1479
- props: config$5.preview
1478
+ componentName: config$7.componentName,
1479
+ props: config$7.preview
1480
1480
  }
1481
1481
  }
1482
1482
  ], amis: {
1483
1483
  render: {
1484
- type: config$5.amis.name,
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$5.amis.name,
1490
+ rendererName: config$7.amis.name,
1491
1491
  $schema: '/schemas/UnkownSchema.json',
1492
- name: config$5.title,
1493
- description: config$5.title,
1494
- tags: [config$5.group],
1492
+ name: config$7.title,
1493
+ description: config$7.title,
1494
+ tags: [config$7.group],
1495
1495
  order: -9999,
1496
- icon: config$5.amis.icon,
1496
+ icon: config$7.amis.icon,
1497
1497
  scaffold: {
1498
- type: config$5.amis.name,
1499
- label: config$5.title,
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$5.amis.name,
1505
+ type: config$7.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$4 = {
1519
+ var config$6 = {
1520
1520
  componentType: 'amisSchema',
1521
1521
  group: "华炎魔方",
1522
1522
  componentName: "AmisAppMenu",
@@ -1547,38 +1547,38 @@
1547
1547
  icon: "fa-fw fa fa-list-alt"
1548
1548
  }
1549
1549
  };
1550
- var AmisAppMenu = __assign(__assign({}, config$4), { snippets: [
1550
+ var AmisAppMenu = __assign(__assign({}, config$6), { snippets: [
1551
1551
  {
1552
- title: config$4.title,
1552
+ title: config$6.title,
1553
1553
  screenshot: "",
1554
1554
  schema: {
1555
- componentName: config$4.componentName,
1556
- props: config$4.preview
1555
+ componentName: config$6.componentName,
1556
+ props: config$6.preview
1557
1557
  }
1558
1558
  }
1559
1559
  ], amis: {
1560
1560
  render: {
1561
- type: config$4.amis.name,
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$4.amis.name,
1567
+ rendererName: config$6.amis.name,
1568
1568
  $schema: '/schemas/UnkownSchema.json',
1569
- name: config$4.title,
1570
- description: config$4.title,
1571
- tags: [config$4.group],
1569
+ name: config$6.title,
1570
+ description: config$6.title,
1571
+ tags: [config$6.group],
1572
1572
  order: -9999,
1573
- icon: config$4.amis.icon,
1573
+ icon: config$6.amis.icon,
1574
1574
  scaffold: {
1575
- type: config$4.amis.name,
1576
- label: config$4.title,
1575
+ type: config$6.amis.name,
1576
+ label: config$6.title,
1577
1577
  columns: 1,
1578
1578
  vertical: false
1579
1579
  },
1580
1580
  previewSchema: {
1581
- type: config$4.amis.name,
1581
+ type: config$6.amis.name,
1582
1582
  },
1583
1583
  panelTitle: "设置",
1584
1584
  panelControls: [
@@ -1595,10 +1595,10 @@
1595
1595
  * @Author: baozhoutao@steedos.com
1596
1596
  * @Date: 2022-10-11 09:39:38
1597
1597
  * @LastEditors: baozhoutao@steedos.com
1598
- * @LastEditTime: 2022-12-14 14:54:10
1598
+ * @LastEditTime: 2022-12-16 11:10:03
1599
1599
  * @Description:
1600
1600
  */
1601
- var config$3 = {
1601
+ var config$5 = {
1602
1602
  // componentType: 'amisSchema',
1603
1603
  group: "华炎魔方",
1604
1604
  componentName: "SteedosIcon",
@@ -1622,39 +1622,39 @@
1622
1622
  icon: "fa-fw fa fa-list-alt"
1623
1623
  }
1624
1624
  };
1625
- var SteedosIcon = __assign(__assign({}, config$3), { snippets: [
1625
+ var SteedosIcon = __assign(__assign({}, config$5), { snippets: [
1626
1626
  {
1627
- title: config$3.title,
1627
+ title: config$5.title,
1628
1628
  screenshot: "",
1629
1629
  schema: {
1630
- componentName: config$3.componentName,
1631
- props: config$3.preview
1630
+ componentName: config$5.componentName,
1631
+ props: config$5.preview
1632
1632
  }
1633
1633
  }
1634
1634
  ], amis: {
1635
1635
  render: {
1636
- type: config$3.amis.name,
1636
+ type: config$5.amis.name,
1637
1637
  usage: "renderer",
1638
1638
  weight: 1,
1639
1639
  framework: "react"
1640
1640
  },
1641
1641
  plugin: {
1642
- rendererName: config$3.amis.name,
1642
+ rendererName: config$5.amis.name,
1643
1643
  $schema: '/schemas/UnkownSchema.json',
1644
- name: config$3.title,
1645
- description: config$3.title,
1646
- tags: [config$3.group],
1644
+ name: config$5.title,
1645
+ description: config$5.title,
1646
+ tags: [config$5.group],
1647
1647
  order: -9999,
1648
- icon: config$3.amis.icon,
1648
+ icon: config$5.amis.icon,
1649
1649
  scaffold: {
1650
- type: config$3.amis.name,
1650
+ type: config$5.amis.name,
1651
1651
  category: 'standard',
1652
1652
  name: 'account',
1653
1653
  colorVariant: 'default',
1654
1654
  size: 'medium'
1655
1655
  },
1656
1656
  previewSchema: {
1657
- type: config$3.amis.name,
1657
+ type: config$5.amis.name,
1658
1658
  },
1659
1659
  panelTitle: "设置",
1660
1660
  panelControls: [
@@ -1671,9 +1671,33 @@
1671
1671
  ]
1672
1672
  },
1673
1673
  {
1674
- type: "text",
1675
- name: "name",
1676
- label: "名称"
1674
+ "name": "name",
1675
+ "label": "Name",
1676
+ "type": "select",
1677
+ "className": "m-0",
1678
+ "labelClassName": "text-left",
1679
+ "id": "u:d0724fe17aa7",
1680
+ "required": true,
1681
+ "joinValues": false,
1682
+ "extractValue": true,
1683
+ "labelField": "symbol",
1684
+ "valueField": "symbol",
1685
+ "multiple": false,
1686
+ searchable: true,
1687
+ "source": {
1688
+ "method": "get",
1689
+ "url": "${context.rootUrl}/ui.icons.json?c=${category}",
1690
+ "requestAdaptor": "",
1691
+ "data": {
1692
+ "category": "${category}"
1693
+ },
1694
+ "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",
1695
+ "headers": {
1696
+ "Authorization": "Bearer ${context.tenantId},${context.authToken}"
1697
+ },
1698
+ "sendOn": "this.category"
1699
+ },
1700
+ // 卡. "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
1701
  },
1678
1702
  {
1679
1703
  type: "text",
@@ -1722,14 +1746,14 @@
1722
1746
  * @Author: baozhoutao@steedos.com
1723
1747
  * @Date: 2022-10-11 09:39:38
1724
1748
  * @LastEditors: baozhoutao@steedos.com
1725
- * @LastEditTime: 2022-12-14 11:59:13
1749
+ * @LastEditTime: 2022-12-16 11:11:32
1726
1750
  * @Description:
1727
1751
  */
1728
- var config$2 = {
1752
+ var config$4 = {
1729
1753
  // componentType: 'amisSchema',
1730
1754
  group: "华炎魔方",
1731
1755
  componentName: "SteedosDropdown",
1732
- title: "Steedos Dropdown",
1756
+ title: "下拉菜单",
1733
1757
  docUrl: "",
1734
1758
  screenshot: "",
1735
1759
  npm: {
@@ -1749,32 +1773,32 @@
1749
1773
  icon: "fa-fw fa fa-list-alt"
1750
1774
  }
1751
1775
  };
1752
- var SteedosDropdown = __assign(__assign({}, config$2), { snippets: [
1776
+ var SteedosDropdown = __assign(__assign({}, config$4), { snippets: [
1753
1777
  {
1754
- title: config$2.title,
1778
+ title: config$4.title,
1755
1779
  screenshot: "",
1756
1780
  schema: {
1757
- componentName: config$2.componentName,
1758
- props: config$2.preview
1781
+ componentName: config$4.componentName,
1782
+ props: config$4.preview
1759
1783
  }
1760
1784
  }
1761
1785
  ], amis: {
1762
1786
  render: {
1763
- type: config$2.amis.name,
1787
+ type: config$4.amis.name,
1764
1788
  usage: "renderer",
1765
1789
  weight: 1,
1766
1790
  framework: "react"
1767
1791
  },
1768
1792
  plugin: {
1769
- rendererName: config$2.amis.name,
1793
+ rendererName: config$4.amis.name,
1770
1794
  $schema: '/schemas/UnkownSchema.json',
1771
- name: config$2.title,
1772
- description: config$2.title,
1773
- tags: [config$2.group],
1795
+ name: config$4.title,
1796
+ description: config$4.title,
1797
+ tags: [config$4.group],
1774
1798
  order: -9999,
1775
- icon: config$2.amis.icon,
1799
+ icon: config$4.amis.icon,
1776
1800
  scaffold: {
1777
- type: config$2.amis.name,
1801
+ type: config$4.amis.name,
1778
1802
  placement: 'bottomLeft',
1779
1803
  trigger: ['click'],
1780
1804
  body: [],
@@ -1791,7 +1815,7 @@
1791
1815
  },
1792
1816
  ],
1793
1817
  previewSchema: {
1794
- type: config$2.amis.name,
1818
+ type: config$4.amis.name,
1795
1819
  },
1796
1820
  panelTitle: "设置",
1797
1821
  panelControls: [
@@ -1836,10 +1860,10 @@
1836
1860
  * @Author: baozhoutao@steedos.com
1837
1861
  * @Date: 2022-10-11 09:39:38
1838
1862
  * @LastEditors: baozhoutao@steedos.com
1839
- * @LastEditTime: 2022-12-14 13:07:09
1863
+ * @LastEditTime: 2022-12-16 11:10:51
1840
1864
  * @Description:
1841
1865
  */
1842
- var config$1 = {
1866
+ var config$3 = {
1843
1867
  // componentType: 'amisSchema',
1844
1868
  group: "华炎魔方",
1845
1869
  componentName: "FromNow",
@@ -1863,7 +1887,150 @@
1863
1887
  icon: "fa-fw fa fa-list-alt"
1864
1888
  }
1865
1889
  };
1866
- var FromNow = __assign(__assign({}, config$1), { snippets: [
1890
+ var FromNow = __assign(__assign({}, config$3), { snippets: [
1891
+ {
1892
+ title: config$3.title,
1893
+ screenshot: "",
1894
+ schema: {
1895
+ componentName: config$3.componentName,
1896
+ props: config$3.preview
1897
+ }
1898
+ }
1899
+ ], amis: {
1900
+ render: {
1901
+ type: config$3.amis.name,
1902
+ usage: "renderer",
1903
+ weight: 1,
1904
+ framework: "react"
1905
+ },
1906
+ // plugin: {
1907
+ // rendererName: config.amis.name,
1908
+ // $schema: '/schemas/UnkownSchema.json',
1909
+ // name: config.title,
1910
+ // description: config.title,
1911
+ // tags: [config.group],
1912
+ // order: -9999,
1913
+ // icon: config.amis.icon,
1914
+ // scaffold: {
1915
+ // type: config.amis.name,
1916
+ // date: new Date()
1917
+ // },
1918
+ // previewSchema: {
1919
+ // type: config.amis.name,
1920
+ // },
1921
+ // panelTitle: "设置",
1922
+ // panelControls: [
1923
+ // {
1924
+ // type: "input-datetime",
1925
+ // name: "date",
1926
+ // label: "Date"
1927
+ // }
1928
+ // ]
1929
+ // }
1930
+ } });
1931
+
1932
+ /*
1933
+ * @Author: baozhoutao@steedos.com
1934
+ * @Date: 2022-10-11 09:39:38
1935
+ * @LastEditors: baozhoutao@steedos.com
1936
+ * @LastEditTime: 2022-12-14 13:38:52
1937
+ * @Description:
1938
+ */
1939
+ var config$2 = {
1940
+ componentType: 'amisSchema',
1941
+ group: "华炎魔方",
1942
+ componentName: "AmisGlobalHeader",
1943
+ title: "Global Header",
1944
+ docUrl: "",
1945
+ screenshot: "",
1946
+ npm: {
1947
+ package: "@steedos-widgets/amis-object",
1948
+ version: "{{version}}",
1949
+ exportName: "AmisGlobalHeader",
1950
+ main: "",
1951
+ destructuring: true,
1952
+ subName: ""
1953
+ },
1954
+ props: [],
1955
+ preview: {},
1956
+ targets: ["steedos__RecordPage", "steedos__AppPage", "steedos__HomePage"],
1957
+ engines: ["amis"],
1958
+ // settings for amis.
1959
+ amis: {
1960
+ name: 'steedos-global-header',
1961
+ icon: "fa-fw fa fa-list-alt"
1962
+ }
1963
+ };
1964
+ var AmisGlobalHeader = __assign(__assign({}, config$2), { snippets: [
1965
+ {
1966
+ title: config$2.title,
1967
+ screenshot: "",
1968
+ schema: {
1969
+ componentName: config$2.componentName,
1970
+ props: config$2.preview
1971
+ }
1972
+ }
1973
+ ], amis: {
1974
+ render: {
1975
+ type: config$2.amis.name,
1976
+ usage: "renderer",
1977
+ weight: 1,
1978
+ framework: "react"
1979
+ },
1980
+ plugin: {
1981
+ rendererName: config$2.amis.name,
1982
+ $schema: '/schemas/UnkownSchema.json',
1983
+ name: config$2.title,
1984
+ description: config$2.title,
1985
+ tags: [config$2.group],
1986
+ order: -9999,
1987
+ icon: config$2.amis.icon,
1988
+ scaffold: {
1989
+ type: config$2.amis.name,
1990
+ label: config$2.title,
1991
+ columns: 1,
1992
+ vertical: false
1993
+ },
1994
+ previewSchema: {
1995
+ type: config$2.amis.name,
1996
+ },
1997
+ panelTitle: "设置",
1998
+ panelControls: []
1999
+ }
2000
+ } });
2001
+
2002
+ /*
2003
+ * @Author: baozhoutao@steedos.com
2004
+ * @Date: 2022-10-11 09:39:38
2005
+ * @LastEditors: baozhoutao@steedos.com
2006
+ * @LastEditTime: 2022-12-16 10:15:58
2007
+ * @Description:
2008
+ */
2009
+ var config$1 = {
2010
+ // componentType: 'amisSchema',
2011
+ group: "华炎魔方",
2012
+ componentName: "SteedosBadge",
2013
+ title: "徽标数",
2014
+ docUrl: "",
2015
+ screenshot: "",
2016
+ npm: {
2017
+ package: "@steedos-widgets/amis-object",
2018
+ version: "{{version}}",
2019
+ exportName: "SteedosBadge",
2020
+ main: "",
2021
+ destructuring: true,
2022
+ subName: ""
2023
+ },
2024
+ preview: {},
2025
+ targets: ["steedos__RecordPage", "steedos__AppPage", "steedos__HomePage"],
2026
+ engines: ["amis"],
2027
+ // settings for amis.
2028
+ amis: {
2029
+ name: 'steedos-badge',
2030
+ icon: "fa-fw fa fa-list-alt"
2031
+ }
2032
+ };
2033
+ var SteedosBadge = __assign(__assign({}, config$1), { snippets: [
1867
2034
  {
1868
2035
  title: config$1.title,
1869
2036
  screenshot: "",
@@ -1889,18 +2056,81 @@
1889
2056
  icon: config$1.amis.icon,
1890
2057
  scaffold: {
1891
2058
  type: config$1.amis.name,
1892
- date: new Date()
2059
+ count: 100,
2060
+ body: [], // 容器类字段
1893
2061
  },
2062
+ regions: [
2063
+ {
2064
+ key: 'body',
2065
+ label: '内容区'
2066
+ }
2067
+ ],
1894
2068
  previewSchema: {
1895
2069
  type: config$1.amis.name,
1896
2070
  },
1897
2071
  panelTitle: "设置",
1898
2072
  panelControls: [
1899
2073
  {
1900
- type: "input-datetime",
1901
- name: "date",
1902
- label: "Date"
1903
- }
2074
+ type: 'input-color',
2075
+ name: 'color',
2076
+ label: '小圆点的颜色'
2077
+ },
2078
+ {
2079
+ type: 'text',
2080
+ name: 'count',
2081
+ label: '展示的数字'
2082
+ },
2083
+ {
2084
+ type: 'switch',
2085
+ name: 'dot',
2086
+ label: '不展示数字,只有一个小红点'
2087
+ },
2088
+ // {
2089
+ // type: 'text',
2090
+ // name: 'offset',
2091
+ // label: '设置状态点的位置偏移 '
2092
+ // },
2093
+ {
2094
+ type: 'number',
2095
+ name: 'overflowCount',
2096
+ label: '展示封顶的数字值 '
2097
+ },
2098
+ {
2099
+ type: 'switch',
2100
+ name: 'showZero',
2101
+ label: '当数值为 0 时,是否展示 Badge'
2102
+ },
2103
+ {
2104
+ type: 'select',
2105
+ name: 'size',
2106
+ label: '在设置了 count 的前提下有效,设置小圆点的大小',
2107
+ options: [
2108
+ { label: 'default', value: 'default' },
2109
+ { label: 'small', value: 'small' }
2110
+ ]
2111
+ },
2112
+ {
2113
+ type: 'select',
2114
+ name: 'status',
2115
+ label: 'Badge 为状态点',
2116
+ options: [
2117
+ { label: 'success', value: 'success' },
2118
+ { label: 'processing', value: 'processing' },
2119
+ { label: 'default', value: 'default' },
2120
+ { label: 'error', value: 'error' },
2121
+ { label: 'warning', value: 'warning' }
2122
+ ]
2123
+ },
2124
+ {
2125
+ type: 'text',
2126
+ name: 'text',
2127
+ label: '在设置了 status 的前提下有效,设置状态点的文本',
2128
+ },
2129
+ {
2130
+ type: 'text',
2131
+ name: 'title',
2132
+ label: '设置鼠标放在状态点上时显示的文字',
2133
+ },
1904
2134
  ]
1905
2135
  }
1906
2136
  } });
@@ -1909,35 +2139,34 @@
1909
2139
  * @Author: baozhoutao@steedos.com
1910
2140
  * @Date: 2022-10-11 09:39:38
1911
2141
  * @LastEditors: baozhoutao@steedos.com
1912
- * @LastEditTime: 2022-12-14 13:38:52
2142
+ * @LastEditTime: 2022-12-16 10:12:33
1913
2143
  * @Description:
1914
2144
  */
1915
2145
  var config = {
1916
- componentType: 'amisSchema',
2146
+ // componentType: 'amisSchema',
1917
2147
  group: "华炎魔方",
1918
- componentName: "AmisGlobalHeader",
1919
- title: "Global Header",
2148
+ componentName: "SteedosBadgeRibbon",
2149
+ title: "缎带",
1920
2150
  docUrl: "",
1921
2151
  screenshot: "",
1922
2152
  npm: {
1923
2153
  package: "@steedos-widgets/amis-object",
1924
2154
  version: "{{version}}",
1925
- exportName: "AmisGlobalHeader",
2155
+ exportName: "SteedosBadgeRibbon",
1926
2156
  main: "",
1927
2157
  destructuring: true,
1928
2158
  subName: ""
1929
2159
  },
1930
- props: [],
1931
2160
  preview: {},
1932
2161
  targets: ["steedos__RecordPage", "steedos__AppPage", "steedos__HomePage"],
1933
2162
  engines: ["amis"],
1934
2163
  // settings for amis.
1935
2164
  amis: {
1936
- name: 'steedos-global-header',
2165
+ name: 'steedos-badge-ribbon',
1937
2166
  icon: "fa-fw fa fa-list-alt"
1938
2167
  }
1939
2168
  };
1940
- var AmisGlobalHeader = __assign(__assign({}, config), { snippets: [
2169
+ var SteedosBadgeRibbon = __assign(__assign({}, config), { snippets: [
1941
2170
  {
1942
2171
  title: config.title,
1943
2172
  screenshot: "",
@@ -1963,15 +2192,39 @@
1963
2192
  icon: config.amis.icon,
1964
2193
  scaffold: {
1965
2194
  type: config.amis.name,
1966
- label: config.title,
1967
- columns: 1,
1968
- vertical: false
2195
+ body: [], // 容器类字段
1969
2196
  },
2197
+ regions: [
2198
+ {
2199
+ key: 'body',
2200
+ label: '内容区'
2201
+ }
2202
+ ],
1970
2203
  previewSchema: {
1971
2204
  type: config.amis.name,
1972
2205
  },
1973
2206
  panelTitle: "设置",
1974
- panelControls: []
2207
+ panelControls: [
2208
+ {
2209
+ type: 'input-color',
2210
+ name: 'color',
2211
+ label: '缎带的颜色'
2212
+ },
2213
+ {
2214
+ type: 'select',
2215
+ name: 'placement',
2216
+ label: '缎带的位置',
2217
+ options: [
2218
+ { label: 'Start', value: 'start' },
2219
+ { label: 'End', value: 'end' }
2220
+ ]
2221
+ },
2222
+ {
2223
+ type: 'text',
2224
+ name: 'text',
2225
+ label: '缎带中填入的内容'
2226
+ }
2227
+ ]
1975
2228
  }
1976
2229
  } });
1977
2230
 
@@ -1979,7 +2232,7 @@
1979
2232
  * @Author: baozhoutao@steedos.com
1980
2233
  * @Date: 2022-08-31 16:32:35
1981
2234
  * @LastEditors: baozhoutao@steedos.com
1982
- * @LastEditTime: 2022-12-14 13:38:04
2235
+ * @LastEditTime: 2022-12-16 09:43:53
1983
2236
  * @Description:
1984
2237
  */
1985
2238
  var components = [
@@ -2001,7 +2254,9 @@
2001
2254
  SteedosIcon,
2002
2255
  SteedosDropdown,
2003
2256
  FromNow,
2004
- AmisGlobalHeader
2257
+ AmisGlobalHeader,
2258
+ SteedosBadge,
2259
+ SteedosBadgeRibbon
2005
2260
  ];
2006
2261
  var componentList = [
2007
2262
  {
@@ -2026,7 +2281,9 @@
2026
2281
  SteedosIcon,
2027
2282
  SteedosDropdown,
2028
2283
  FromNow,
2029
- AmisGlobalHeader
2284
+ AmisGlobalHeader,
2285
+ SteedosBadge,
2286
+ SteedosBadgeRibbon
2030
2287
  ]
2031
2288
  }
2032
2289
  ];