@steedos-widgets/amis-object 1.0.2 → 1.0.6

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$b = {
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$b), { snippets: [
98
+ var AmisObjectForm = __assign(__assign({}, config$i), { snippets: [
99
99
  {
100
- title: config$b.title,
100
+ title: config$i.title,
101
101
  screenshot: "",
102
102
  schema: {
103
- componentName: config$b.componentName,
104
- props: config$b.preview
103
+ componentName: config$i.componentName,
104
+ props: config$i.preview
105
105
  }
106
106
  }
107
107
  ], amis: {
108
108
  render: {
109
- type: config$b.amis.name,
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$b.amis.name,
115
+ rendererName: config$i.amis.name,
116
116
  $schema: '/schemas/UnkownSchema.json',
117
- name: config$b.title,
118
- description: config$b.title,
119
- tags: [config$b.group],
117
+ name: config$i.title,
118
+ description: config$i.title,
119
+ tags: [config$i.group],
120
120
  order: -9999,
121
- icon: config$b.amis.icon,
121
+ icon: config$i.amis.icon,
122
122
  scaffold: {
123
- type: config$b.amis.name,
124
- label: config$b.title,
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$b.amis.name,
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$a = {
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$a), { snippets: [
260
+ var AmisObjectListview = __assign(__assign({}, config$h), { snippets: [
261
261
  {
262
- title: config$a.title,
262
+ title: config$h.title,
263
263
  screenshot: "",
264
264
  schema: {
265
- componentName: config$a.componentName,
266
- props: config$a.preview
265
+ componentName: config$h.componentName,
266
+ props: config$h.preview
267
267
  }
268
268
  }
269
269
  ], amis: {
270
270
  render: {
271
- type: config$a.amis.name,
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$a.amis.name,
277
+ rendererName: config$h.amis.name,
278
278
  $schema: '/schemas/UnkownSchema.json',
279
- name: config$a.title,
280
- description: config$a.title,
281
- tags: [config$a.group],
279
+ name: config$h.title,
280
+ description: config$h.title,
281
+ tags: [config$h.group],
282
282
  order: -9999,
283
- icon: config$a.amis.icon,
283
+ icon: config$h.amis.icon,
284
284
  scaffold: {
285
- type: config$a.amis.name,
286
- label: config$a.title,
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$a.amis.name,
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$9 = {
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$9), { snippets: [
414
+ var AmisObjectTable = __assign(__assign({}, config$g), { snippets: [
415
415
  {
416
- title: config$9.title,
416
+ title: config$g.title,
417
417
  screenshot: "",
418
418
  schema: {
419
- componentName: config$9.componentName,
420
- props: config$9.preview
419
+ componentName: config$g.componentName,
420
+ props: config$g.preview
421
421
  }
422
422
  }
423
423
  ], amis: {
424
424
  render: {
425
- type: config$9.amis.name,
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$9.amis.name,
431
+ rendererName: config$g.amis.name,
432
432
  $schema: '/schemas/UnkownSchema.json',
433
- name: config$9.title,
434
- description: config$9.title,
435
- tags: [config$9.group],
433
+ name: config$g.title,
434
+ description: config$g.title,
435
+ tags: [config$g.group],
436
436
  order: -9999,
437
- icon: config$9.amis.icon,
437
+ icon: config$g.amis.icon,
438
438
  scaffold: {
439
- type: config$9.amis.name,
440
- label: config$9.title,
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$9.amis.name,
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$8 = {
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$8), { snippets: [
575
+ var AmisRecordDetailHeader = __assign(__assign({}, config$f), { snippets: [
576
576
  {
577
- title: config$8.title,
577
+ title: config$f.title,
578
578
  screenshot: "",
579
579
  schema: {
580
- componentName: config$8.componentName,
581
- props: config$8.preview
580
+ componentName: config$f.componentName,
581
+ props: config$f.preview
582
582
  }
583
583
  }
584
584
  ], amis: {
585
585
  render: {
586
- type: config$8.amis.name,
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$8.amis.name,
592
+ rendererName: config$f.amis.name,
593
593
  $schema: '/schemas/UnkownSchema.json',
594
- name: config$8.title,
595
- description: config$8.title,
596
- tags: [config$8.group],
594
+ name: config$f.title,
595
+ description: config$f.title,
596
+ tags: [config$f.group],
597
597
  order: -9999,
598
- icon: config$8.amis.icon,
598
+ icon: config$f.amis.icon,
599
599
  scaffold: {
600
- type: config$8.amis.name,
601
- label: config$8.title,
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$8.amis.name,
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$7 = {
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$7), { snippets: [
679
+ var AmisRecordDetail = __assign(__assign({}, config$e), { snippets: [
680
680
  {
681
- title: config$7.title,
681
+ title: config$e.title,
682
682
  screenshot: "",
683
683
  schema: {
684
- componentName: config$7.componentName,
685
- props: config$7.preview
684
+ componentName: config$e.componentName,
685
+ props: config$e.preview
686
686
  }
687
687
  }
688
688
  ], amis: {
689
689
  render: {
690
- type: config$7.amis.name,
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$7.amis.name,
696
+ rendererName: config$e.amis.name,
697
697
  $schema: '/schemas/UnkownSchema.json',
698
- name: config$7.title,
699
- description: config$7.title,
700
- tags: [config$7.group],
698
+ name: config$e.title,
699
+ description: config$e.title,
700
+ tags: [config$e.group],
701
701
  order: -9999,
702
- icon: config$7.amis.icon,
702
+ icon: config$e.amis.icon,
703
703
  scaffold: {
704
- type: config$7.amis.name,
705
- label: config$7.title,
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$7.amis.name,
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$6 = {
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$6), { snippets: [
786
+ var AmisSelectUser = __assign(__assign({}, config$d), { snippets: [
787
787
  {
788
- title: config$6.title,
788
+ title: config$d.title,
789
789
  screenshot: "",
790
790
  schema: {
791
- componentName: config$6.componentName,
792
- props: config$6.preview
791
+ componentName: config$d.componentName,
792
+ props: config$d.preview
793
793
  }
794
794
  }
795
795
  ], amis: {
796
796
  render: {
797
- type: config$6.amis.name,
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$6.amis.name,
803
+ rendererName: config$d.amis.name,
804
804
  $schema: '/schemas/UnkownSchema.json',
805
- name: config$6.title,
806
- description: config$6.title,
807
- tags: [config$6.group],
805
+ name: config$d.title,
806
+ description: config$d.title,
807
+ tags: [config$d.group],
808
808
  order: -9999,
809
- icon: config$6.amis.icon,
809
+ icon: config$d.amis.icon,
810
810
  scaffold: {
811
- type: config$6.amis.name,
812
- label: config$6.title,
811
+ type: config$d.amis.name,
812
+ label: config$d.title,
813
813
  name: ""
814
814
  },
815
815
  previewSchema: {
816
- type: config$6.amis.name,
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$5 = {
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$5), { snippets: [
888
+ var AmisRecordDetailRelatedList = __assign(__assign({}, config$c), { snippets: [
889
889
  {
890
- title: config$5.title,
890
+ title: config$c.title,
891
891
  screenshot: "",
892
892
  schema: {
893
- componentName: config$5.componentName,
894
- props: config$5.preview
893
+ componentName: config$c.componentName,
894
+ props: config$c.preview
895
895
  }
896
896
  }
897
897
  ], amis: {
898
898
  render: {
899
- type: config$5.amis.name,
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$5.amis.name,
905
+ rendererName: config$c.amis.name,
906
906
  $schema: '/schemas/UnkownSchema.json',
907
- name: config$5.title,
908
- description: config$5.title,
909
- tags: [config$5.group],
907
+ name: config$c.title,
908
+ description: config$c.title,
909
+ tags: [config$c.group],
910
910
  order: -9999,
911
- icon: config$5.amis.icon,
911
+ icon: config$c.amis.icon,
912
912
  scaffold: {
913
- type: config$5.amis.name,
914
- label: config$5.title,
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$5.amis.name,
920
+ type: config$c.amis.name,
921
921
  objectApiName: "accounts",
922
922
  // relatedObjectApiName: "contacts"
923
923
  },
@@ -962,6 +962,16 @@
962
962
  "labelField": "label",
963
963
  "valueField": "name",
964
964
  "menuTpl": ""
965
+ },
966
+ {
967
+ "type": "number",
968
+ "name": "top",
969
+ "label": "显示的记录数量",
970
+ },
971
+ {
972
+ "type": "number",
973
+ "name": "perPage",
974
+ "label": "每页显示记录数量",
965
975
  }
966
976
  ]
967
977
  }
@@ -974,7 +984,7 @@
974
984
  * @LastEditTime: 2022-12-01 16:08:49
975
985
  * @Description:
976
986
  */
977
- var config$4 = {
987
+ var config$b = {
978
988
  componentType: 'amisSchema',
979
989
  group: "华炎魔方",
980
990
  componentName: "AmisRecordDetailRelatedLists",
@@ -1010,38 +1020,38 @@
1010
1020
  icon: "fa-fw fa fa-list-alt"
1011
1021
  }
1012
1022
  };
1013
- var AmisRecordDetailRelatedLists = __assign(__assign({}, config$4), { snippets: [
1023
+ var AmisRecordDetailRelatedLists = __assign(__assign({}, config$b), { snippets: [
1014
1024
  {
1015
- title: config$4.title,
1025
+ title: config$b.title,
1016
1026
  screenshot: "",
1017
1027
  schema: {
1018
- componentName: config$4.componentName,
1019
- props: config$4.preview
1028
+ componentName: config$b.componentName,
1029
+ props: config$b.preview
1020
1030
  }
1021
1031
  }
1022
1032
  ], amis: {
1023
1033
  render: {
1024
- type: config$4.amis.name,
1034
+ type: config$b.amis.name,
1025
1035
  usage: "renderer",
1026
1036
  weight: 1,
1027
1037
  framework: "react"
1028
1038
  },
1029
1039
  plugin: {
1030
- rendererName: config$4.amis.name,
1040
+ rendererName: config$b.amis.name,
1031
1041
  $schema: '/schemas/UnkownSchema.json',
1032
- name: config$4.title,
1033
- description: config$4.title,
1034
- tags: [config$4.group],
1042
+ name: config$b.title,
1043
+ description: config$b.title,
1044
+ tags: [config$b.group],
1035
1045
  order: -9999,
1036
- icon: config$4.amis.icon,
1046
+ icon: config$b.amis.icon,
1037
1047
  scaffold: {
1038
- type: config$4.amis.name,
1039
- label: config$4.title,
1048
+ type: config$b.amis.name,
1049
+ label: config$b.title,
1040
1050
  objectApiName: "${objectName}",
1041
1051
  recordId: "${recordId}",
1042
1052
  },
1043
1053
  previewSchema: {
1044
- type: config$4.amis.name,
1054
+ type: config$b.amis.name,
1045
1055
  objectApiName: "accounts",
1046
1056
  },
1047
1057
  panelTitle: "设置",
@@ -1078,7 +1088,7 @@
1078
1088
  * @LastEditTime: 2022-09-02 09:04:33
1079
1089
  * @Description:
1080
1090
  */
1081
- var config$3 = {
1091
+ var config$a = {
1082
1092
  componentType: 'amisSchema',
1083
1093
  group: "华炎魔方",
1084
1094
  componentName: "AmisProvider",
@@ -1103,33 +1113,33 @@
1103
1113
  icon: "fa-fw fa fa-list-alt"
1104
1114
  }
1105
1115
  };
1106
- var AmisProvider = __assign(__assign({}, config$3), { snippets: [
1116
+ var AmisProvider = __assign(__assign({}, config$a), { snippets: [
1107
1117
  {
1108
- title: config$3.title,
1118
+ title: config$a.title,
1109
1119
  screenshot: "",
1110
1120
  schema: {
1111
- componentName: config$3.componentName,
1112
- props: config$3.preview
1121
+ componentName: config$a.componentName,
1122
+ props: config$a.preview
1113
1123
  }
1114
1124
  }
1115
1125
  ], amis: {
1116
1126
  render: {
1117
- type: config$3.amis.name,
1127
+ type: config$a.amis.name,
1118
1128
  usage: "renderer",
1119
1129
  weight: 1,
1120
1130
  framework: "react"
1121
1131
  },
1122
1132
  plugin: {
1123
- rendererName: config$3.amis.name,
1133
+ rendererName: config$a.amis.name,
1124
1134
  $schema: '/schemas/UnkownSchema.json',
1125
- name: config$3.title,
1126
- description: config$3.title,
1127
- tags: [config$3.group],
1135
+ name: config$a.title,
1136
+ description: config$a.title,
1137
+ tags: [config$a.group],
1128
1138
  order: -9999,
1129
- icon: config$3.amis.icon,
1139
+ icon: config$a.amis.icon,
1130
1140
  scaffold: {
1131
- type: config$3.amis.name,
1132
- label: config$3.title,
1141
+ type: config$a.amis.name,
1142
+ label: config$a.title,
1133
1143
  body: [], // 容器类字段
1134
1144
  },
1135
1145
  // 容器类组件必需字段
@@ -1140,7 +1150,7 @@
1140
1150
  },
1141
1151
  ],
1142
1152
  previewSchema: {
1143
- type: config$3.amis.name,
1153
+ type: config$a.amis.name,
1144
1154
  },
1145
1155
  panelTitle: "设置",
1146
1156
  panelControls: []
@@ -1154,7 +1164,7 @@
1154
1164
  * @LastEditTime: 2022-10-12 13:23:05
1155
1165
  * @Description:
1156
1166
  */
1157
- var config$2 = {
1167
+ var config$9 = {
1158
1168
  // componentType: 'amisSchema',
1159
1169
  group: "华炎魔方",
1160
1170
  componentName: "AmisObjectFieldLookup",
@@ -1178,39 +1188,39 @@
1178
1188
  icon: "fa-fw fa fa-list-alt"
1179
1189
  }
1180
1190
  };
1181
- var AmisObjectFieldLookup = __assign(__assign({}, config$2), { snippets: [
1191
+ var AmisObjectFieldLookup = __assign(__assign({}, config$9), { snippets: [
1182
1192
  {
1183
- title: config$2.title,
1193
+ title: config$9.title,
1184
1194
  screenshot: "",
1185
1195
  schema: {
1186
- componentName: config$2.componentName,
1187
- props: config$2.preview
1196
+ componentName: config$9.componentName,
1197
+ props: config$9.preview
1188
1198
  }
1189
1199
  }
1190
1200
  ], amis: {
1191
1201
  render: {
1192
- type: config$2.amis.name,
1202
+ type: config$9.amis.name,
1193
1203
  usage: "formitem",
1194
1204
  weight: 1,
1195
1205
  framework: "react"
1196
1206
  },
1197
1207
  plugin: {
1198
- rendererName: config$2.amis.name,
1208
+ rendererName: config$9.amis.name,
1199
1209
  $schema: '/schemas/UnkownSchema.json',
1200
- name: config$2.title,
1201
- description: config$2.title,
1202
- tags: [config$2.group],
1210
+ name: config$9.title,
1211
+ description: config$9.title,
1212
+ tags: [config$9.group],
1203
1213
  order: -9999,
1204
- icon: config$2.amis.icon,
1214
+ icon: config$9.amis.icon,
1205
1215
  scaffold: {
1206
- type: config$2.amis.name,
1207
- label: config$2.title,
1216
+ type: config$9.amis.name,
1217
+ label: config$9.title,
1208
1218
  name: 'board',
1209
1219
  columns: 1,
1210
1220
  vertical: false
1211
1221
  },
1212
1222
  previewSchema: {
1213
- type: config$2.amis.name,
1223
+ type: config$9.amis.name,
1214
1224
  },
1215
1225
  panelTitle: "设置",
1216
1226
  panelControls: []
@@ -1224,7 +1234,7 @@
1224
1234
  * @LastEditTime: 2022-11-14 10:09:34
1225
1235
  * @Description:
1226
1236
  */
1227
- var config$1 = {
1237
+ var config$8 = {
1228
1238
  // componentType: 'amisSchema',
1229
1239
  group: "华炎魔方",
1230
1240
  componentName: "AmisObjectButton",
@@ -1248,18 +1258,18 @@
1248
1258
  icon: "fa-fw fa fa-list-alt"
1249
1259
  }
1250
1260
  };
1251
- var AmisObjectButton = __assign(__assign({}, config$1), { snippets: [
1261
+ var AmisObjectButton = __assign(__assign({}, config$8), { snippets: [
1252
1262
  {
1253
- title: config$1.title,
1263
+ title: config$8.title,
1254
1264
  screenshot: "",
1255
1265
  schema: {
1256
- componentName: config$1.componentName,
1257
- props: config$1.preview
1266
+ componentName: config$8.componentName,
1267
+ props: config$8.preview
1258
1268
  }
1259
1269
  }
1260
1270
  ], amis: {
1261
1271
  render: {
1262
- type: config$1.amis.name,
1272
+ type: config$8.amis.name,
1263
1273
  usage: "renderer",
1264
1274
  weight: 1,
1265
1275
  framework: "react"
@@ -1295,7 +1305,7 @@
1295
1305
  * @LastEditTime: 2022-11-14 10:09:25
1296
1306
  * @Description:
1297
1307
  */
1298
- var config = {
1308
+ var config$7 = {
1299
1309
  // componentType: 'amisSchema',
1300
1310
  group: "华炎魔方",
1301
1311
  componentName: "SteedosDropdownButton",
@@ -1319,18 +1329,18 @@
1319
1329
  icon: "fa-fw fa fa-list-alt"
1320
1330
  }
1321
1331
  };
1322
- var SteedosDropdownButton = __assign(__assign({}, config), { snippets: [
1332
+ var SteedosDropdownButton = __assign(__assign({}, config$7), { snippets: [
1323
1333
  {
1324
- title: config.title,
1334
+ title: config$7.title,
1325
1335
  screenshot: "",
1326
1336
  schema: {
1327
- componentName: config.componentName,
1328
- props: config.preview
1337
+ componentName: config$7.componentName,
1338
+ props: config$7.preview
1329
1339
  }
1330
1340
  }
1331
1341
  ], amis: {
1332
1342
  render: {
1333
- type: config.amis.name,
1343
+ type: config$7.amis.name,
1334
1344
  usage: "renderer",
1335
1345
  weight: 1,
1336
1346
  framework: "react"
@@ -1359,14 +1369,619 @@
1359
1369
  // }
1360
1370
  } });
1361
1371
 
1372
+ /*
1373
+ * @Author: baozhoutao@steedos.com
1374
+ * @Date: 2022-10-11 09:39:38
1375
+ * @LastEditors: baozhoutao@steedos.com
1376
+ * @LastEditTime: 2022-12-13 12:04:13
1377
+ * @Description:
1378
+ */
1379
+ var config$6 = {
1380
+ componentType: 'amisSchema',
1381
+ group: "华炎魔方",
1382
+ componentName: "AmisAppLauncher",
1383
+ title: "App Launcher",
1384
+ docUrl: "",
1385
+ screenshot: "",
1386
+ npm: {
1387
+ package: "@steedos-widgets/amis-object",
1388
+ version: "{{version}}",
1389
+ exportName: "AmisAppLauncher",
1390
+ main: "",
1391
+ destructuring: true,
1392
+ subName: ""
1393
+ },
1394
+ preview: {},
1395
+ targets: ["steedos__RecordPage", "steedos__AppPage", "steedos__HomePage"],
1396
+ engines: ["amis"],
1397
+ // settings for amis.
1398
+ amis: {
1399
+ name: 'steedos-app-launcher',
1400
+ icon: "fa-fw fa fa-list-alt"
1401
+ }
1402
+ };
1403
+ var AmisAppLauncher = __assign(__assign({}, config$6), { snippets: [
1404
+ {
1405
+ title: config$6.title,
1406
+ screenshot: "",
1407
+ schema: {
1408
+ componentName: config$6.componentName,
1409
+ props: config$6.preview
1410
+ }
1411
+ }
1412
+ ], amis: {
1413
+ render: {
1414
+ type: config$6.amis.name,
1415
+ usage: "renderer",
1416
+ weight: 1,
1417
+ framework: "react"
1418
+ },
1419
+ plugin: {
1420
+ rendererName: config$6.amis.name,
1421
+ $schema: '/schemas/UnkownSchema.json',
1422
+ name: config$6.title,
1423
+ description: config$6.title,
1424
+ tags: [config$6.group],
1425
+ order: -9999,
1426
+ icon: config$6.amis.icon,
1427
+ scaffold: {
1428
+ type: config$6.amis.name,
1429
+ label: config$6.title,
1430
+ name: 'board',
1431
+ columns: 1,
1432
+ vertical: false
1433
+ },
1434
+ previewSchema: {
1435
+ type: config$6.amis.name,
1436
+ },
1437
+ panelTitle: "设置",
1438
+ panelControls: []
1439
+ }
1440
+ } });
1441
+
1442
+ /*
1443
+ * @Author: baozhoutao@steedos.com
1444
+ * @Date: 2022-10-11 09:39:38
1445
+ * @LastEditors: baozhoutao@steedos.com
1446
+ * @LastEditTime: 2022-12-13 12:08:37
1447
+ * @Description:
1448
+ */
1449
+ var config$5 = {
1450
+ componentType: 'amisSchema',
1451
+ group: "华炎魔方",
1452
+ componentName: "AmisLogo",
1453
+ title: "Logo",
1454
+ docUrl: "",
1455
+ screenshot: "",
1456
+ npm: {
1457
+ package: "@steedos-widgets/amis-object",
1458
+ version: "{{version}}",
1459
+ exportName: "AmisLogo",
1460
+ main: "",
1461
+ destructuring: true,
1462
+ subName: ""
1463
+ },
1464
+ preview: {},
1465
+ targets: ["steedos__RecordPage", "steedos__AppPage", "steedos__HomePage"],
1466
+ engines: ["amis"],
1467
+ // settings for amis.
1468
+ amis: {
1469
+ name: 'steedos-logo',
1470
+ icon: "fa-fw fa fa-list-alt"
1471
+ }
1472
+ };
1473
+ var AmisLogo = __assign(__assign({}, config$5), { snippets: [
1474
+ {
1475
+ title: config$5.title,
1476
+ screenshot: "",
1477
+ schema: {
1478
+ componentName: config$5.componentName,
1479
+ props: config$5.preview
1480
+ }
1481
+ }
1482
+ ], amis: {
1483
+ render: {
1484
+ type: config$5.amis.name,
1485
+ usage: "renderer",
1486
+ weight: 1,
1487
+ framework: "react"
1488
+ },
1489
+ plugin: {
1490
+ rendererName: config$5.amis.name,
1491
+ $schema: '/schemas/UnkownSchema.json',
1492
+ name: config$5.title,
1493
+ description: config$5.title,
1494
+ tags: [config$5.group],
1495
+ order: -9999,
1496
+ icon: config$5.amis.icon,
1497
+ scaffold: {
1498
+ type: config$5.amis.name,
1499
+ label: config$5.title,
1500
+ name: 'board',
1501
+ columns: 1,
1502
+ vertical: false
1503
+ },
1504
+ previewSchema: {
1505
+ type: config$5.amis.name,
1506
+ },
1507
+ panelTitle: "设置",
1508
+ panelControls: []
1509
+ }
1510
+ } });
1511
+
1512
+ /*
1513
+ * @Author: baozhoutao@steedos.com
1514
+ * @Date: 2022-10-11 09:39:38
1515
+ * @LastEditors: baozhoutao@steedos.com
1516
+ * @LastEditTime: 2022-12-13 13:21:18
1517
+ * @Description:
1518
+ */
1519
+ var config$4 = {
1520
+ componentType: 'amisSchema',
1521
+ group: "华炎魔方",
1522
+ componentName: "AmisAppMenu",
1523
+ title: "App Menu",
1524
+ docUrl: "",
1525
+ screenshot: "",
1526
+ npm: {
1527
+ package: "@steedos-widgets/amis-object",
1528
+ version: "{{version}}",
1529
+ exportName: "AmisAppMenu",
1530
+ main: "",
1531
+ destructuring: true,
1532
+ subName: ""
1533
+ },
1534
+ props: [
1535
+ {
1536
+ name: "stacked",
1537
+ propType: "string",
1538
+ description: '是否竖着摆放',
1539
+ }
1540
+ ],
1541
+ preview: {},
1542
+ targets: ["steedos__RecordPage", "steedos__AppPage", "steedos__HomePage"],
1543
+ engines: ["amis"],
1544
+ // settings for amis.
1545
+ amis: {
1546
+ name: 'steedos-app-menu',
1547
+ icon: "fa-fw fa fa-list-alt"
1548
+ }
1549
+ };
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: [
1941
+ {
1942
+ title: config.title,
1943
+ screenshot: "",
1944
+ schema: {
1945
+ componentName: config.componentName,
1946
+ props: config.preview
1947
+ }
1948
+ }
1949
+ ], amis: {
1950
+ render: {
1951
+ type: config.amis.name,
1952
+ usage: "renderer",
1953
+ weight: 1,
1954
+ framework: "react"
1955
+ },
1956
+ plugin: {
1957
+ rendererName: config.amis.name,
1958
+ $schema: '/schemas/UnkownSchema.json',
1959
+ name: config.title,
1960
+ description: config.title,
1961
+ tags: [config.group],
1962
+ order: -9999,
1963
+ icon: config.amis.icon,
1964
+ scaffold: {
1965
+ type: config.amis.name,
1966
+ label: config.title,
1967
+ columns: 1,
1968
+ vertical: false
1969
+ },
1970
+ previewSchema: {
1971
+ type: config.amis.name,
1972
+ },
1973
+ panelTitle: "设置",
1974
+ panelControls: []
1975
+ }
1976
+ } });
1977
+
1362
1978
  /*
1363
1979
  * @Author: baozhoutao@steedos.com
1364
1980
  * @Date: 2022-08-31 16:32:35
1365
1981
  * @LastEditors: baozhoutao@steedos.com
1366
- * @LastEditTime: 2022-12-08 10:39:35
1982
+ * @LastEditTime: 2022-12-14 13:38:04
1367
1983
  * @Description:
1368
1984
  */
1369
- // import Hello from './metas/Hello';
1370
1985
  var components = [
1371
1986
  AmisObjectForm,
1372
1987
  AmisObjectListview,
@@ -1379,7 +1994,14 @@
1379
1994
  AmisObjectFieldLookup,
1380
1995
  AmisObjectTable,
1381
1996
  AmisObjectButton,
1382
- SteedosDropdownButton
1997
+ SteedosDropdownButton,
1998
+ AmisAppLauncher,
1999
+ AmisLogo,
2000
+ AmisAppMenu,
2001
+ SteedosIcon,
2002
+ SteedosDropdown,
2003
+ FromNow,
2004
+ AmisGlobalHeader
1383
2005
  ];
1384
2006
  var componentList = [
1385
2007
  {
@@ -1397,7 +2019,14 @@
1397
2019
  AmisObjectFieldLookup,
1398
2020
  AmisObjectTable,
1399
2021
  AmisObjectButton,
1400
- SteedosDropdownButton
2022
+ SteedosDropdownButton,
2023
+ AmisAppLauncher,
2024
+ AmisLogo,
2025
+ AmisAppMenu,
2026
+ SteedosIcon,
2027
+ SteedosDropdown,
2028
+ FromNow,
2029
+ AmisGlobalHeader
1401
2030
  ]
1402
2031
  }
1403
2032
  ];