@steedos-widgets/amis-object 1.0.28 → 1.0.30

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
@@ -34,10 +34,10 @@
34
34
  * @Author: baozhoutao@steedos.com
35
35
  * @Date: 2022-08-31 16:32:35
36
36
  * @LastEditors: baozhoutao@steedos.com
37
- * @LastEditTime: 2022-09-02 09:04:33
37
+ * @LastEditTime: 2023-03-07 16:30:11
38
38
  * @Description:
39
39
  */
40
- var config$p = {
40
+ var config$r = {
41
41
  componentType: 'amisSchema',
42
42
  group: "华炎魔方",
43
43
  componentName: "AmisObjectForm",
@@ -95,39 +95,39 @@
95
95
  icon: "fa-fw fa fa-list-alt"
96
96
  }
97
97
  };
98
- var AmisObjectForm = __assign(__assign({}, config$p), { snippets: [
98
+ var AmisObjectForm = __assign(__assign({}, config$r), { snippets: [
99
99
  {
100
- title: config$p.title,
100
+ title: config$r.title,
101
101
  screenshot: "",
102
102
  schema: {
103
- componentName: config$p.componentName,
104
- props: config$p.preview
103
+ componentName: config$r.componentName,
104
+ props: config$r.preview
105
105
  }
106
106
  }
107
107
  ], amis: {
108
108
  render: {
109
- type: config$p.amis.name,
109
+ type: config$r.amis.name,
110
110
  usage: "renderer",
111
111
  weight: 1,
112
112
  framework: "react"
113
113
  },
114
114
  plugin: {
115
- rendererName: config$p.amis.name,
115
+ rendererName: config$r.amis.name,
116
116
  $schema: '/schemas/UnkownSchema.json',
117
- name: config$p.title,
118
- description: config$p.title,
119
- tags: [config$p.group],
117
+ name: config$r.title,
118
+ description: config$r.title,
119
+ tags: [config$r.group],
120
120
  order: -9999,
121
- icon: config$p.amis.icon,
121
+ icon: config$r.amis.icon,
122
122
  scaffold: {
123
- type: config$p.amis.name,
124
- label: config$p.title,
123
+ type: config$r.amis.name,
124
+ label: config$r.title,
125
125
  objectApiName: "${objectName}",
126
126
  recordId: "${recordId}",
127
127
  className: "sm:border sm:shadow sm:rounded sm:border-gray-300 bg-white p-4"
128
128
  },
129
129
  previewSchema: {
130
- type: config$p.amis.name,
130
+ type: config$r.amis.name,
131
131
  objectApiName: 'space_users'
132
132
  },
133
133
  panelTitle: "设置",
@@ -142,7 +142,7 @@
142
142
  "method": "get",
143
143
  "url": "/service/api/amis-design/objects",
144
144
  "requestAdaptor": "\n api.url = Builder.settings.rootUrl + api.url; \n if(!api.headers){\n api.headers = {}\n };\n api.headers.Authorization='Bearer ' + Builder.settings.tenantId + ',' + Builder.settings.authToken ;\n return api;\n ",
145
- "adaptor": "\n let data = payload.data;\n payload.unshift({\n label: \"${objectName}\",\n name: \"${objectName}\"\n });\n return payload;\n "
145
+ "adaptor": "\n let data = payload.data;\n payload.unshift({\n label: \"\u5F53\u524D\u5BF9\u8C61\",\n name: \"${objectName}\"\n });\n return payload;\n "
146
146
  },
147
147
  "labelField": "label",
148
148
  "valueField": "name",
@@ -211,6 +211,12 @@
211
211
  name: "className",
212
212
  label: "CSS类名",
213
213
  value: "mb-4"
214
+ },
215
+ {
216
+ type: "editor",
217
+ name: "fields",
218
+ label: "指定字段",
219
+ language: "json"
214
220
  }
215
221
  ]
216
222
  }
@@ -220,10 +226,10 @@
220
226
  * @Author: baozhoutao@steedos.com
221
227
  * @Date: 2022-08-31 16:32:35
222
228
  * @LastEditors: baozhoutao@steedos.com
223
- * @LastEditTime: 2022-09-15 10:40:37
229
+ * @LastEditTime: 2023-03-06 14:30:43
224
230
  * @Description:
225
231
  */
226
- var config$o = {
232
+ var config$q = {
227
233
  componentType: 'amisSchema',
228
234
  group: "华炎魔方",
229
235
  componentName: "AmisObjectListView",
@@ -260,40 +266,40 @@
260
266
  icon: "fa-fw fa fa-list-alt"
261
267
  }
262
268
  };
263
- var AmisObjectListview = __assign(__assign({}, config$o), { snippets: [
269
+ var AmisObjectListview = __assign(__assign({}, config$q), { snippets: [
264
270
  {
265
- title: config$o.title,
271
+ title: config$q.title,
266
272
  screenshot: "",
267
273
  schema: {
268
- componentName: config$o.componentName,
269
- props: config$o.preview
274
+ componentName: config$q.componentName,
275
+ props: config$q.preview
270
276
  }
271
277
  }
272
278
  ], amis: {
273
279
  render: {
274
- type: config$o.amis.name,
280
+ type: config$q.amis.name,
275
281
  usage: "renderer",
276
282
  weight: 1,
277
283
  framework: "react"
278
284
  },
279
285
  plugin: {
280
- rendererName: config$o.amis.name,
286
+ rendererName: config$q.amis.name,
281
287
  $schema: '/schemas/UnkownSchema.json',
282
- name: config$o.title,
283
- description: config$o.description,
284
- tags: [config$o.group],
288
+ name: config$q.title,
289
+ description: config$q.description,
290
+ tags: [config$q.group],
285
291
  order: -9999,
286
- icon: config$o.amis.icon,
292
+ icon: config$q.amis.icon,
287
293
  scaffold: {
288
- type: config$o.amis.name,
289
- label: config$o.title,
294
+ type: config$q.amis.name,
295
+ label: config$q.title,
290
296
  objectApiName: "${objectName}",
291
297
  listName: "all",
292
298
  showHeader: true,
293
299
  className: "sm:border sm:shadow sm:rounded sm:border-gray-300 mb-4"
294
300
  },
295
301
  previewSchema: {
296
- type: config$o.amis.name,
302
+ type: config$q.amis.name,
297
303
  objectApiName: 'space_users',
298
304
  listName: "all",
299
305
  showHeader: true,
@@ -310,7 +316,7 @@
310
316
  "method": "get",
311
317
  "url": "/service/api/amis-design/objects",
312
318
  "requestAdaptor": "api.url = Builder.settings.rootUrl + api.url; if(!api.headers){api.headers = {}};api.headers.Authorization='Bearer ' + Builder.settings.tenantId + ',' + Builder.settings.authToken ;return api;",
313
- "adaptor": "\n let data = payload.data;\n payload.unshift({\n label: \"${objectName}\",\n name: \"${objectName}\"\n });\n return payload;\n "
319
+ "adaptor": "\n let data = payload.data;\n payload.unshift({\n label: \"\u5F53\u524D\u5BF9\u8C61\",\n name: \"${objectName}\"\n });\n return payload;\n "
314
320
  },
315
321
  "labelField": "label",
316
322
  "valueField": "name",
@@ -376,7 +382,7 @@
376
382
  }
377
383
  } });
378
384
 
379
- var config$n = {
385
+ var config$p = {
380
386
  componentType: 'amisSchema',
381
387
  group: "华炎魔方",
382
388
  componentName: "AmisObjectCalendar",
@@ -432,38 +438,38 @@
432
438
  icon: "fa-fw fa fa-list-alt"
433
439
  }
434
440
  };
435
- var AmisObjectCalendar = __assign(__assign({}, config$n), { snippets: [
441
+ var AmisObjectCalendar = __assign(__assign({}, config$p), { snippets: [
436
442
  {
437
- title: config$n.title,
443
+ title: config$p.title,
438
444
  screenshot: "",
439
445
  schema: {
440
- componentName: config$n.componentName,
441
- props: config$n.preview
446
+ componentName: config$p.componentName,
447
+ props: config$p.preview
442
448
  }
443
449
  }
444
450
  ], amis: {
445
451
  render: {
446
- type: config$n.amis.name,
452
+ type: config$p.amis.name,
447
453
  usage: "renderer",
448
454
  weight: 1,
449
455
  framework: "react"
450
456
  },
451
457
  plugin: {
452
- rendererName: config$n.amis.name,
458
+ rendererName: config$p.amis.name,
453
459
  $schema: '/schemas/UnkownSchema.json',
454
- name: config$n.title,
455
- description: config$n.title,
456
- tags: [config$n.group],
460
+ name: config$p.title,
461
+ description: config$p.title,
462
+ tags: [config$p.group],
457
463
  order: -9999,
458
- icon: config$n.amis.icon,
464
+ icon: config$p.amis.icon,
459
465
  scaffold: {
460
- type: config$n.amis.name,
461
- label: config$n.title,
466
+ type: config$p.amis.name,
467
+ label: config$p.title,
462
468
  objectApiName: "${objectName}",
463
469
  currentView: "timeGridWeek"
464
470
  },
465
471
  previewSchema: {
466
- type: config$n.amis.name,
472
+ type: config$p.amis.name,
467
473
  objectApiName: 'events',
468
474
  currentView: "timeGridWeek"
469
475
  },
@@ -479,7 +485,7 @@
479
485
  "method": "get",
480
486
  "url": "/service/api/amis-design/objects",
481
487
  "requestAdaptor": "api.url = Builder.settings.rootUrl + api.url; if(!api.headers){api.headers = {}};api.headers.Authorization='Bearer ' + Builder.settings.tenantId + ',' + Builder.settings.authToken ;return api;",
482
- "adaptor": "\n let data = payload.data;\n payload.unshift({\n label: \"${objectName}\",\n name: \"${objectName}\"\n });\n return payload;\n "
488
+ "adaptor": "\n let data = payload.data;\n payload.unshift({\n label: \"\u5F53\u524D\u5BF9\u8C61\",\n name: \"${objectName}\"\n });\n return payload;\n "
483
489
  },
484
490
  "labelField": "label",
485
491
  "valueField": "name",
@@ -529,10 +535,10 @@
529
535
  * @Author: baozhoutao@steedos.com
530
536
  * @Date: 2022-08-31 16:32:35
531
537
  * @LastEditors: baozhoutao@steedos.com
532
- * @LastEditTime: 2023-02-10 11:23:43
538
+ * @LastEditTime: 2023-03-06 14:30:51
533
539
  * @Description:
534
540
  */
535
- var config$m = {
541
+ var config$o = {
536
542
  componentType: 'amisSchema',
537
543
  group: "华炎魔方",
538
544
  componentName: "AmisObjectTable",
@@ -598,39 +604,39 @@
598
604
  icon: "fa-fw fa fa-list-alt"
599
605
  }
600
606
  };
601
- var AmisObjectTable = __assign(__assign({}, config$m), { snippets: [
607
+ var AmisObjectTable = __assign(__assign({}, config$o), { snippets: [
602
608
  {
603
- title: config$m.title,
609
+ title: config$o.title,
604
610
  screenshot: "",
605
611
  schema: {
606
- componentName: config$m.componentName,
607
- props: config$m.preview
612
+ componentName: config$o.componentName,
613
+ props: config$o.preview
608
614
  }
609
615
  }
610
616
  ], amis: {
611
617
  render: {
612
- type: config$m.amis.name,
618
+ type: config$o.amis.name,
613
619
  usage: "renderer",
614
620
  weight: 1,
615
621
  framework: "react"
616
622
  },
617
623
  plugin: {
618
- rendererName: config$m.amis.name,
624
+ rendererName: config$o.amis.name,
619
625
  $schema: '/schemas/UnkownSchema.json',
620
- name: config$m.title,
621
- description: config$m.title,
622
- tags: [config$m.group],
626
+ name: config$o.title,
627
+ description: config$o.title,
628
+ tags: [config$o.group],
623
629
  order: -9999,
624
- icon: config$m.amis.icon,
630
+ icon: config$o.amis.icon,
625
631
  scaffold: {
626
- type: config$m.amis.name,
627
- label: config$m.title,
632
+ type: config$o.amis.name,
633
+ label: config$o.title,
628
634
  objectApiName: "${objectName}",
629
635
  columns: [{ "field": "name" }],
630
636
  className: "sm:border sm:shadow sm:rounded sm:border-gray-300"
631
637
  },
632
638
  previewSchema: {
633
- type: config$m.amis.name,
639
+ type: config$o.amis.name,
634
640
  objectApiName: 'space_users',
635
641
  columns: [{ "field": "name" }]
636
642
  },
@@ -646,7 +652,7 @@
646
652
  "method": "get",
647
653
  "url": "/service/api/amis-design/objects",
648
654
  "requestAdaptor": "api.url = Builder.settings.rootUrl + api.url; if(!api.headers){api.headers = {}};api.headers.Authorization='Bearer ' + Builder.settings.tenantId + ',' + Builder.settings.authToken ;return api;",
649
- "adaptor": "\n let data = payload.data;\n payload.unshift({\n label: \"${objectName}\",\n name: \"${objectName}\"\n });\n return payload;\n "
655
+ "adaptor": "\n let data = payload.data;\n payload.unshift({\n label: \"\u5F53\u524D\u5BF9\u8C61\",\n name: \"${objectName}\"\n });\n return payload;\n "
650
656
  },
651
657
  "labelField": "label",
652
658
  "valueField": "name",
@@ -762,10 +768,10 @@
762
768
  * @Author: baozhoutao@steedos.com
763
769
  * @Date: 2022-08-31 16:32:35
764
770
  * @LastEditors: baozhoutao@steedos.com
765
- * @LastEditTime: 2022-09-15 10:40:37
771
+ * @LastEditTime: 2023-03-06 14:31:08
766
772
  * @Description:
767
773
  */
768
- var config$l = {
774
+ var config$n = {
769
775
  componentType: 'amisSchema',
770
776
  group: "华炎魔方",
771
777
  componentName: "AmisRecordDetailHeader",
@@ -802,38 +808,38 @@
802
808
  icon: "fa-fw fa fa-list-alt"
803
809
  }
804
810
  };
805
- var AmisRecordDetailHeader = __assign(__assign({}, config$l), { snippets: [
811
+ var AmisRecordDetailHeader = __assign(__assign({}, config$n), { snippets: [
806
812
  {
807
- title: config$l.title,
813
+ title: config$n.title,
808
814
  screenshot: "",
809
815
  schema: {
810
- componentName: config$l.componentName,
811
- props: config$l.preview
816
+ componentName: config$n.componentName,
817
+ props: config$n.preview
812
818
  }
813
819
  }
814
820
  ], amis: {
815
821
  render: {
816
- type: config$l.amis.name,
822
+ type: config$n.amis.name,
817
823
  usage: "renderer",
818
824
  weight: 1,
819
825
  framework: "react"
820
826
  },
821
827
  plugin: {
822
- rendererName: config$l.amis.name,
828
+ rendererName: config$n.amis.name,
823
829
  $schema: '/schemas/UnkownSchema.json',
824
- name: config$l.title,
825
- description: config$l.description,
826
- tags: [config$l.group],
830
+ name: config$n.title,
831
+ description: config$n.description,
832
+ tags: [config$n.group],
827
833
  order: -9999,
828
- icon: config$l.amis.icon,
834
+ icon: config$n.amis.icon,
829
835
  scaffold: {
830
- type: config$l.amis.name,
831
- label: config$l.title,
836
+ type: config$n.amis.name,
837
+ label: config$n.title,
832
838
  objectApiName: "${objectName}",
833
839
  recordId: "${recordId}"
834
840
  },
835
841
  previewSchema: {
836
- type: config$l.amis.name,
842
+ type: config$n.amis.name,
837
843
  objectApiName: 'space_users'
838
844
  },
839
845
  panelTitle: "设置",
@@ -848,7 +854,7 @@
848
854
  "method": "get",
849
855
  "url": "/service/api/amis-design/objects",
850
856
  "requestAdaptor": "api.url = Builder.settings.rootUrl + api.url; if(!api.headers){api.headers = {}};api.headers.Authorization='Bearer ' + Builder.settings.tenantId + ',' + Builder.settings.authToken ;return api;",
851
- "adaptor": "\n let data = payload.data;\n payload.unshift({\n label: \"${objectName}\",\n name: \"${objectName}\"\n });\n return payload;\n "
857
+ "adaptor": "\n let data = payload.data;\n payload.unshift({\n label: \"\u5F53\u524D\u5BF9\u8C61\",\n name: \"${objectName}\"\n });\n return payload;\n "
852
858
  },
853
859
  "labelField": "label",
854
860
  "valueField": "name",
@@ -873,10 +879,10 @@
873
879
  * @Author: baozhoutao@steedos.com
874
880
  * @Date: 2022-08-31 16:32:35
875
881
  * @LastEditors: baozhoutao@steedos.com
876
- * @LastEditTime: 2022-12-08 10:37:45
882
+ * @LastEditTime: 2023-03-06 14:31:03
877
883
  * @Description:
878
884
  */
879
- var config$k = {
885
+ var config$m = {
880
886
  componentType: 'amisSchema',
881
887
  group: "华炎魔方",
882
888
  componentName: "AmisRecordDetail",
@@ -912,38 +918,38 @@
912
918
  icon: "fa-fw fa fa-list-alt"
913
919
  }
914
920
  };
915
- var AmisRecordDetail = __assign(__assign({}, config$k), { snippets: [
921
+ var AmisRecordDetail = __assign(__assign({}, config$m), { snippets: [
916
922
  {
917
- title: config$k.title,
923
+ title: config$m.title,
918
924
  screenshot: "",
919
925
  schema: {
920
- componentName: config$k.componentName,
921
- props: config$k.preview
926
+ componentName: config$m.componentName,
927
+ props: config$m.preview
922
928
  }
923
929
  }
924
930
  ], amis: {
925
931
  render: {
926
- type: config$k.amis.name,
932
+ type: config$m.amis.name,
927
933
  usage: "renderer",
928
934
  weight: 1,
929
935
  framework: "react"
930
936
  },
931
937
  plugin_disabled: {
932
- rendererName: config$k.amis.name,
938
+ rendererName: config$m.amis.name,
933
939
  $schema: '/schemas/UnkownSchema.json',
934
- name: config$k.title,
935
- description: config$k.title,
936
- tags: [config$k.group],
940
+ name: config$m.title,
941
+ description: config$m.title,
942
+ tags: [config$m.group],
937
943
  order: -9999,
938
- icon: config$k.amis.icon,
944
+ icon: config$m.amis.icon,
939
945
  scaffold: {
940
- type: config$k.amis.name,
941
- label: config$k.title,
946
+ type: config$m.amis.name,
947
+ label: config$m.title,
942
948
  objectApiName: "${objectName}",
943
949
  recordId: "${recordId}"
944
950
  },
945
951
  previewSchema: {
946
- type: config$k.amis.name,
952
+ type: config$m.amis.name,
947
953
  objectApiName: 'space_users'
948
954
  },
949
955
  panelTitle: "设置",
@@ -958,7 +964,7 @@
958
964
  "method": "get",
959
965
  "url": "/service/api/amis-design/objects",
960
966
  "requestAdaptor": "api.url = Builder.settings.rootUrl + api.url; if(!api.headers){api.headers = {}};api.headers.Authorization='Bearer ' + Builder.settings.tenantId + ',' + Builder.settings.authToken ;return api;",
961
- "adaptor": "\n let data = payload.data;\n payload.unshift({\n label: \"${objectName}\",\n name: \"${objectName}\"\n });\n return payload;\n "
967
+ "adaptor": "\n let data = payload.data;\n payload.unshift({\n label: \"\u5F53\u524D\u5BF9\u8C61\",\n name: \"${objectName}\"\n });\n return payload;\n "
962
968
  },
963
969
  "labelField": "label",
964
970
  "valueField": "name",
@@ -973,7 +979,7 @@
973
979
  }
974
980
  } });
975
981
 
976
- var config$j = {
982
+ var config$l = {
977
983
  componentType: 'amisSchema',
978
984
  group: "华炎魔方-界面",
979
985
  componentName: "AmisSelectUser",
@@ -1019,37 +1025,37 @@
1019
1025
  icon: "fa-fw fa fa-list-alt"
1020
1026
  }
1021
1027
  };
1022
- var AmisSelectUser = __assign(__assign({}, config$j), { snippets: [
1028
+ var AmisSelectUser = __assign(__assign({}, config$l), { snippets: [
1023
1029
  {
1024
- title: config$j.title,
1030
+ title: config$l.title,
1025
1031
  screenshot: "",
1026
1032
  schema: {
1027
- componentName: config$j.componentName,
1028
- props: config$j.preview
1033
+ componentName: config$l.componentName,
1034
+ props: config$l.preview
1029
1035
  }
1030
1036
  }
1031
1037
  ], amis: {
1032
1038
  render: {
1033
- type: config$j.amis.name,
1039
+ type: config$l.amis.name,
1034
1040
  usage: "renderer",
1035
1041
  weight: 1,
1036
1042
  framework: "react"
1037
1043
  },
1038
1044
  plugin_disabled: {
1039
- rendererName: config$j.amis.name,
1045
+ rendererName: config$l.amis.name,
1040
1046
  $schema: '/schemas/UnkownSchema.json',
1041
- name: config$j.title,
1042
- description: config$j.title,
1043
- tags: [config$j.group],
1047
+ name: config$l.title,
1048
+ description: config$l.title,
1049
+ tags: [config$l.group],
1044
1050
  order: -9999,
1045
- icon: config$j.amis.icon,
1051
+ icon: config$l.amis.icon,
1046
1052
  scaffold: {
1047
- type: config$j.amis.name,
1048
- label: config$j.title,
1053
+ type: config$l.amis.name,
1054
+ label: config$l.title,
1049
1055
  name: ""
1050
1056
  },
1051
1057
  previewSchema: {
1052
- type: config$j.amis.name,
1058
+ type: config$l.amis.name,
1053
1059
  },
1054
1060
  panelTitle: "设置",
1055
1061
  panelControls: [
@@ -1077,10 +1083,10 @@
1077
1083
  * @Author: baozhoutao@steedos.com
1078
1084
  * @Date: 2022-08-31 16:32:35
1079
1085
  * @LastEditors: baozhoutao@steedos.com
1080
- * @LastEditTime: 2022-12-01 16:06:37
1086
+ * @LastEditTime: 2023-03-06 14:31:14
1081
1087
  * @Description:
1082
1088
  */
1083
- var config$i = {
1089
+ var config$k = {
1084
1090
  componentType: 'amisSchema',
1085
1091
  group: "华炎魔方",
1086
1092
  componentName: "AmisRecordDetailRelatedList",
@@ -1122,38 +1128,38 @@
1122
1128
  icon: "fa-fw fa fa-list-alt"
1123
1129
  }
1124
1130
  };
1125
- var AmisRecordDetailRelatedList = __assign(__assign({}, config$i), { snippets: [
1131
+ var AmisRecordDetailRelatedList = __assign(__assign({}, config$k), { snippets: [
1126
1132
  {
1127
- title: config$i.title,
1133
+ title: config$k.title,
1128
1134
  screenshot: "",
1129
1135
  schema: {
1130
- componentName: config$i.componentName,
1131
- props: config$i.preview
1136
+ componentName: config$k.componentName,
1137
+ props: config$k.preview
1132
1138
  }
1133
1139
  }
1134
1140
  ], amis: {
1135
1141
  render: {
1136
- type: config$i.amis.name,
1142
+ type: config$k.amis.name,
1137
1143
  usage: "renderer",
1138
1144
  weight: 1,
1139
1145
  framework: "react"
1140
1146
  },
1141
1147
  plugin: {
1142
- rendererName: config$i.amis.name,
1148
+ rendererName: config$k.amis.name,
1143
1149
  $schema: '/schemas/UnkownSchema.json',
1144
- name: config$i.title,
1145
- description: config$i.description,
1146
- tags: [config$i.group],
1150
+ name: config$k.title,
1151
+ description: config$k.description,
1152
+ tags: [config$k.group],
1147
1153
  order: -9999,
1148
- icon: config$i.amis.icon,
1154
+ icon: config$k.amis.icon,
1149
1155
  scaffold: {
1150
- type: config$i.amis.name,
1151
- label: config$i.title,
1156
+ type: config$k.amis.name,
1157
+ label: config$k.title,
1152
1158
  objectApiName: "${objectName}",
1153
1159
  recordId: "${recordId}"
1154
1160
  },
1155
1161
  previewSchema: {
1156
- type: config$i.amis.name,
1162
+ type: config$k.amis.name,
1157
1163
  objectApiName: "accounts"
1158
1164
  },
1159
1165
  panelTitle: "设置",
@@ -1168,7 +1174,7 @@
1168
1174
  "method": "get",
1169
1175
  "url": "/service/api/amis-design/objects",
1170
1176
  "requestAdaptor": "api.url = Builder.settings.rootUrl + api.url; if(!api.headers){api.headers = {}};api.headers.Authorization='Bearer ' + Builder.settings.tenantId + ',' + Builder.settings.authToken ;return api;",
1171
- "adaptor": "\n let data = payload.data;\n payload.unshift({\n label: \"${objectName}\",\n name: \"${objectName}\"\n });\n return payload;\n "
1177
+ "adaptor": "\n let data = payload.data;\n payload.unshift({\n label: \"\u5F53\u524D\u5BF9\u8C61\",\n name: \"${objectName}\"\n });\n return payload;\n "
1172
1178
  },
1173
1179
  "labelField": "label",
1174
1180
  "valueField": "name",
@@ -1220,7 +1226,7 @@
1220
1226
  * @LastEditTime: 2022-12-01 16:08:49
1221
1227
  * @Description:
1222
1228
  */
1223
- var config$h = {
1229
+ var config$j = {
1224
1230
  componentType: 'amisSchema',
1225
1231
  group: "华炎魔方",
1226
1232
  componentName: "AmisRecordDetailRelatedLists",
@@ -1257,38 +1263,38 @@
1257
1263
  icon: "fa-fw fa fa-list-alt"
1258
1264
  }
1259
1265
  };
1260
- var AmisRecordDetailRelatedLists = __assign(__assign({}, config$h), { snippets: [
1266
+ var AmisRecordDetailRelatedLists = __assign(__assign({}, config$j), { snippets: [
1261
1267
  {
1262
- title: config$h.title,
1268
+ title: config$j.title,
1263
1269
  screenshot: "",
1264
1270
  schema: {
1265
- componentName: config$h.componentName,
1266
- props: config$h.preview
1271
+ componentName: config$j.componentName,
1272
+ props: config$j.preview
1267
1273
  }
1268
1274
  }
1269
1275
  ], amis: {
1270
1276
  render: {
1271
- type: config$h.amis.name,
1277
+ type: config$j.amis.name,
1272
1278
  usage: "renderer",
1273
1279
  weight: 1,
1274
1280
  framework: "react"
1275
1281
  },
1276
1282
  plugin: {
1277
- rendererName: config$h.amis.name,
1283
+ rendererName: config$j.amis.name,
1278
1284
  $schema: '/schemas/UnkownSchema.json',
1279
- name: config$h.title,
1280
- description: config$h.description,
1281
- tags: [config$h.group],
1285
+ name: config$j.title,
1286
+ description: config$j.description,
1287
+ tags: [config$j.group],
1282
1288
  order: -9999,
1283
- icon: config$h.amis.icon,
1289
+ icon: config$j.amis.icon,
1284
1290
  scaffold: {
1285
- type: config$h.amis.name,
1286
- label: config$h.title,
1291
+ type: config$j.amis.name,
1292
+ label: config$j.title,
1287
1293
  objectApiName: "${objectName}",
1288
1294
  recordId: "${recordId}",
1289
1295
  },
1290
1296
  previewSchema: {
1291
- type: config$h.amis.name,
1297
+ type: config$j.amis.name,
1292
1298
  objectApiName: "accounts",
1293
1299
  },
1294
1300
  panelTitle: "设置",
@@ -1303,7 +1309,7 @@
1303
1309
  "method": "get",
1304
1310
  "url": "/service/api/amis-design/objects",
1305
1311
  "requestAdaptor": "console.log('api', api);api.url = Builder.settings.rootUrl + api.url; if(!api.headers){api.headers = {}};api.headers.Authorization='Bearer ' + Builder.settings.tenantId + ',' + Builder.settings.authToken ;return api;",
1306
- "adaptor": "\n let data = payload.data;\n payload.unshift({\n label: \"${objectName}\",\n name: \"${objectName}\"\n });\n return payload;\n "
1312
+ "adaptor": "\n let data = payload.data;\n payload.unshift({\n label: \"\u5F53\u524D\u5BF9\u8C61\",\n name: \"${objectName}\"\n });\n return payload;\n "
1307
1313
  },
1308
1314
  "labelField": "label",
1309
1315
  "valueField": "name",
@@ -1325,7 +1331,7 @@
1325
1331
  * @LastEditTime: 2022-09-02 09:04:33
1326
1332
  * @Description:
1327
1333
  */
1328
- var config$g = {
1334
+ var config$i = {
1329
1335
  componentType: 'amisSchema',
1330
1336
  group: "华炎魔方",
1331
1337
  componentName: "AmisProvider",
@@ -1350,33 +1356,33 @@
1350
1356
  icon: "fa-fw fa fa-list-alt"
1351
1357
  }
1352
1358
  };
1353
- var AmisProvider = __assign(__assign({}, config$g), { snippets: [
1359
+ var AmisProvider = __assign(__assign({}, config$i), { snippets: [
1354
1360
  {
1355
- title: config$g.title,
1361
+ title: config$i.title,
1356
1362
  screenshot: "",
1357
1363
  schema: {
1358
- componentName: config$g.componentName,
1359
- props: config$g.preview
1364
+ componentName: config$i.componentName,
1365
+ props: config$i.preview
1360
1366
  }
1361
1367
  }
1362
1368
  ], amis: {
1363
1369
  render: {
1364
- type: config$g.amis.name,
1370
+ type: config$i.amis.name,
1365
1371
  usage: "renderer",
1366
1372
  weight: 1,
1367
1373
  framework: "react"
1368
1374
  },
1369
1375
  plugin_disabled: {
1370
- rendererName: config$g.amis.name,
1376
+ rendererName: config$i.amis.name,
1371
1377
  $schema: '/schemas/UnkownSchema.json',
1372
- name: config$g.title,
1373
- description: config$g.title,
1374
- tags: [config$g.group],
1378
+ name: config$i.title,
1379
+ description: config$i.title,
1380
+ tags: [config$i.group],
1375
1381
  order: -9999,
1376
- icon: config$g.amis.icon,
1382
+ icon: config$i.amis.icon,
1377
1383
  scaffold: {
1378
- type: config$g.amis.name,
1379
- label: config$g.title,
1384
+ type: config$i.amis.name,
1385
+ label: config$i.title,
1380
1386
  body: [], // 容器类字段
1381
1387
  },
1382
1388
  // 容器类组件必需字段
@@ -1387,7 +1393,7 @@
1387
1393
  },
1388
1394
  ],
1389
1395
  previewSchema: {
1390
- type: config$g.amis.name,
1396
+ type: config$i.amis.name,
1391
1397
  },
1392
1398
  panelTitle: "设置",
1393
1399
  panelControls: []
@@ -1401,7 +1407,7 @@
1401
1407
  * @LastEditTime: 2022-12-26 11:26:17
1402
1408
  * @Description:
1403
1409
  */
1404
- var config$f = {
1410
+ var config$h = {
1405
1411
  // componentType: 'amisSchema',
1406
1412
  group: "华炎魔方",
1407
1413
  componentName: "AmisObjectFieldLookup",
@@ -1425,18 +1431,18 @@
1425
1431
  icon: "fa-fw fa fa-list-alt"
1426
1432
  }
1427
1433
  };
1428
- var AmisObjectFieldLookup = __assign(__assign({}, config$f), { snippets: [
1434
+ var AmisObjectFieldLookup = __assign(__assign({}, config$h), { snippets: [
1429
1435
  {
1430
- title: config$f.title,
1436
+ title: config$h.title,
1431
1437
  screenshot: "",
1432
1438
  schema: {
1433
- componentName: config$f.componentName,
1434
- props: config$f.preview
1439
+ componentName: config$h.componentName,
1440
+ props: config$h.preview
1435
1441
  }
1436
1442
  }
1437
1443
  ], amis: {
1438
1444
  render: {
1439
- type: config$f.amis.name,
1445
+ type: config$h.amis.name,
1440
1446
  usage: "formitem",
1441
1447
  weight: 1,
1442
1448
  framework: "react"
@@ -1472,7 +1478,7 @@
1472
1478
  * @LastEditTime: 2023-02-04 12:04:41
1473
1479
  * @Description:
1474
1480
  */
1475
- var config$e = {
1481
+ var config$g = {
1476
1482
  // componentType: 'amisSchema',
1477
1483
  group: "华炎魔方",
1478
1484
  componentName: "AmisObjectButton",
@@ -1496,18 +1502,18 @@
1496
1502
  icon: "fa-fw fa fa-list-alt"
1497
1503
  }
1498
1504
  };
1499
- var AmisObjectButton = __assign(__assign({}, config$e), { snippets: [
1505
+ var AmisObjectButton = __assign(__assign({}, config$g), { snippets: [
1500
1506
  {
1501
- title: config$e.title,
1507
+ title: config$g.title,
1502
1508
  screenshot: "",
1503
1509
  schema: {
1504
- componentName: config$e.componentName,
1505
- props: config$e.preview
1510
+ componentName: config$g.componentName,
1511
+ props: config$g.preview
1506
1512
  }
1507
1513
  }
1508
1514
  ], amis: {
1509
1515
  render: {
1510
- type: config$e.amis.name,
1516
+ type: config$g.amis.name,
1511
1517
  usage: "renderer",
1512
1518
  weight: 1,
1513
1519
  framework: "react"
@@ -1543,7 +1549,7 @@
1543
1549
  * @LastEditTime: 2022-11-14 10:09:25
1544
1550
  * @Description:
1545
1551
  */
1546
- var config$d = {
1552
+ var config$f = {
1547
1553
  // componentType: 'amisSchema',
1548
1554
  group: "华炎魔方",
1549
1555
  componentName: "SteedosDropdownButton",
@@ -1567,18 +1573,18 @@
1567
1573
  icon: "fa-fw fa fa-list-alt"
1568
1574
  }
1569
1575
  };
1570
- var SteedosDropdownButton = __assign(__assign({}, config$d), { snippets: [
1576
+ var SteedosDropdownButton = __assign(__assign({}, config$f), { snippets: [
1571
1577
  {
1572
- title: config$d.title,
1578
+ title: config$f.title,
1573
1579
  screenshot: "",
1574
1580
  schema: {
1575
- componentName: config$d.componentName,
1576
- props: config$d.preview
1581
+ componentName: config$f.componentName,
1582
+ props: config$f.preview
1577
1583
  }
1578
1584
  }
1579
1585
  ], amis: {
1580
1586
  render: {
1581
- type: config$d.amis.name,
1587
+ type: config$f.amis.name,
1582
1588
  usage: "renderer",
1583
1589
  weight: 1,
1584
1590
  framework: "react"
@@ -1614,7 +1620,7 @@
1614
1620
  * @LastEditTime: 2022-12-13 12:04:13
1615
1621
  * @Description:
1616
1622
  */
1617
- var config$c = {
1623
+ var config$e = {
1618
1624
  componentType: 'amisSchema',
1619
1625
  group: "华炎魔方",
1620
1626
  componentName: "AmisAppLauncher",
@@ -1638,39 +1644,39 @@
1638
1644
  icon: "fa-fw fa fa-list-alt"
1639
1645
  }
1640
1646
  };
1641
- var AmisAppLauncher = __assign(__assign({}, config$c), { snippets: [
1647
+ var AmisAppLauncher = __assign(__assign({}, config$e), { snippets: [
1642
1648
  {
1643
- title: config$c.title,
1649
+ title: config$e.title,
1644
1650
  screenshot: "",
1645
1651
  schema: {
1646
- componentName: config$c.componentName,
1647
- props: config$c.preview
1652
+ componentName: config$e.componentName,
1653
+ props: config$e.preview
1648
1654
  }
1649
1655
  }
1650
1656
  ], amis: {
1651
1657
  render: {
1652
- type: config$c.amis.name,
1658
+ type: config$e.amis.name,
1653
1659
  usage: "renderer",
1654
1660
  weight: 1,
1655
1661
  framework: "react"
1656
1662
  },
1657
1663
  plugin_disabled: {
1658
- rendererName: config$c.amis.name,
1664
+ rendererName: config$e.amis.name,
1659
1665
  $schema: '/schemas/UnkownSchema.json',
1660
- name: config$c.title,
1661
- description: config$c.title,
1662
- tags: [config$c.group],
1666
+ name: config$e.title,
1667
+ description: config$e.title,
1668
+ tags: [config$e.group],
1663
1669
  order: -9999,
1664
- icon: config$c.amis.icon,
1670
+ icon: config$e.amis.icon,
1665
1671
  scaffold: {
1666
- type: config$c.amis.name,
1667
- label: config$c.title,
1672
+ type: config$e.amis.name,
1673
+ label: config$e.title,
1668
1674
  name: 'board',
1669
1675
  columns: 1,
1670
1676
  vertical: false
1671
1677
  },
1672
1678
  previewSchema: {
1673
- type: config$c.amis.name,
1679
+ type: config$e.amis.name,
1674
1680
  },
1675
1681
  panelTitle: "设置",
1676
1682
  panelControls: []
@@ -1684,7 +1690,7 @@
1684
1690
  * @LastEditTime: 2022-12-13 12:08:37
1685
1691
  * @Description:
1686
1692
  */
1687
- var config$b = {
1693
+ var config$d = {
1688
1694
  componentType: 'amisSchema',
1689
1695
  group: "华炎魔方",
1690
1696
  componentName: "AmisLogo",
@@ -1708,39 +1714,39 @@
1708
1714
  icon: "fa-fw fa fa-list-alt"
1709
1715
  }
1710
1716
  };
1711
- var AmisLogo = __assign(__assign({}, config$b), { snippets: [
1717
+ var AmisLogo = __assign(__assign({}, config$d), { snippets: [
1712
1718
  {
1713
- title: config$b.title,
1719
+ title: config$d.title,
1714
1720
  screenshot: "",
1715
1721
  schema: {
1716
- componentName: config$b.componentName,
1717
- props: config$b.preview
1722
+ componentName: config$d.componentName,
1723
+ props: config$d.preview
1718
1724
  }
1719
1725
  }
1720
1726
  ], amis: {
1721
1727
  render: {
1722
- type: config$b.amis.name,
1728
+ type: config$d.amis.name,
1723
1729
  usage: "renderer",
1724
1730
  weight: 1,
1725
1731
  framework: "react"
1726
1732
  },
1727
1733
  plugin_disabled: {
1728
- rendererName: config$b.amis.name,
1734
+ rendererName: config$d.amis.name,
1729
1735
  $schema: '/schemas/UnkownSchema.json',
1730
- name: config$b.title,
1731
- description: config$b.title,
1732
- tags: [config$b.group],
1736
+ name: config$d.title,
1737
+ description: config$d.title,
1738
+ tags: [config$d.group],
1733
1739
  order: -9999,
1734
- icon: config$b.amis.icon,
1740
+ icon: config$d.amis.icon,
1735
1741
  scaffold: {
1736
- type: config$b.amis.name,
1737
- label: config$b.title,
1742
+ type: config$d.amis.name,
1743
+ label: config$d.title,
1738
1744
  name: 'board',
1739
1745
  columns: 1,
1740
1746
  vertical: false
1741
1747
  },
1742
1748
  previewSchema: {
1743
- type: config$b.amis.name,
1749
+ type: config$d.amis.name,
1744
1750
  },
1745
1751
  panelTitle: "设置",
1746
1752
  panelControls: []
@@ -1754,7 +1760,7 @@
1754
1760
  * @LastEditTime: 2022-12-16 14:17:37
1755
1761
  * @Description:
1756
1762
  */
1757
- var config$a = {
1763
+ var config$c = {
1758
1764
  componentType: 'amisSchema',
1759
1765
  group: "华炎魔方",
1760
1766
  componentName: "AmisAppMenu",
@@ -1785,39 +1791,39 @@
1785
1791
  icon: "fa-fw fa fa-list-alt"
1786
1792
  }
1787
1793
  };
1788
- var AmisAppMenu = __assign(__assign({}, config$a), { snippets: [
1794
+ var AmisAppMenu = __assign(__assign({}, config$c), { snippets: [
1789
1795
  {
1790
- title: config$a.title,
1796
+ title: config$c.title,
1791
1797
  screenshot: "",
1792
1798
  schema: {
1793
- componentName: config$a.componentName,
1794
- props: config$a.preview
1799
+ componentName: config$c.componentName,
1800
+ props: config$c.preview
1795
1801
  }
1796
1802
  }
1797
1803
  ], amis: {
1798
1804
  render: {
1799
- type: config$a.amis.name,
1805
+ type: config$c.amis.name,
1800
1806
  usage: "renderer",
1801
1807
  weight: 1,
1802
1808
  framework: "react"
1803
1809
  },
1804
1810
  plugin_disabled: {
1805
- rendererName: config$a.amis.name,
1811
+ rendererName: config$c.amis.name,
1806
1812
  $schema: '/schemas/UnkownSchema.json',
1807
- name: config$a.title,
1808
- description: config$a.title,
1809
- tags: [config$a.group],
1813
+ name: config$c.title,
1814
+ description: config$c.title,
1815
+ tags: [config$c.group],
1810
1816
  order: -9999,
1811
- icon: config$a.amis.icon,
1817
+ icon: config$c.amis.icon,
1812
1818
  scaffold: {
1813
- type: config$a.amis.name,
1814
- label: config$a.title,
1819
+ type: config$c.amis.name,
1820
+ label: config$c.title,
1815
1821
  columns: 1,
1816
1822
  vertical: false,
1817
1823
  showIcon: true
1818
1824
  },
1819
1825
  previewSchema: {
1820
- type: config$a.amis.name,
1826
+ type: config$c.amis.name,
1821
1827
  },
1822
1828
  panelTitle: "设置",
1823
1829
  panelControls: [
@@ -1842,7 +1848,7 @@
1842
1848
  * @LastEditTime: 2022-12-16 11:10:03
1843
1849
  * @Description:
1844
1850
  */
1845
- var config$9 = {
1851
+ var config$b = {
1846
1852
  // componentType: 'amisSchema',
1847
1853
  group: "华炎魔方-界面",
1848
1854
  componentName: "SteedosIcon",
@@ -1866,39 +1872,39 @@
1866
1872
  icon: "fa-fw fa fa-list-alt"
1867
1873
  }
1868
1874
  };
1869
- var SteedosIcon = __assign(__assign({}, config$9), { snippets: [
1875
+ var SteedosIcon = __assign(__assign({}, config$b), { snippets: [
1870
1876
  {
1871
- title: config$9.title,
1877
+ title: config$b.title,
1872
1878
  screenshot: "",
1873
1879
  schema: {
1874
- componentName: config$9.componentName,
1875
- props: config$9.preview
1880
+ componentName: config$b.componentName,
1881
+ props: config$b.preview
1876
1882
  }
1877
1883
  }
1878
1884
  ], amis: {
1879
1885
  render: {
1880
- type: config$9.amis.name,
1886
+ type: config$b.amis.name,
1881
1887
  usage: "renderer",
1882
1888
  weight: 1,
1883
1889
  framework: "react"
1884
1890
  },
1885
1891
  plugin_disabled: {
1886
- rendererName: config$9.amis.name,
1892
+ rendererName: config$b.amis.name,
1887
1893
  $schema: '/schemas/UnkownSchema.json',
1888
- name: config$9.title,
1889
- description: config$9.title,
1890
- tags: [config$9.group],
1894
+ name: config$b.title,
1895
+ description: config$b.title,
1896
+ tags: [config$b.group],
1891
1897
  order: -9999,
1892
- icon: config$9.amis.icon,
1898
+ icon: config$b.amis.icon,
1893
1899
  scaffold: {
1894
- type: config$9.amis.name,
1900
+ type: config$b.amis.name,
1895
1901
  category: 'standard',
1896
1902
  name: 'account',
1897
1903
  colorVariant: 'default',
1898
1904
  size: 'medium'
1899
1905
  },
1900
1906
  previewSchema: {
1901
- type: config$9.amis.name,
1907
+ type: config$b.amis.name,
1902
1908
  },
1903
1909
  panelTitle: "设置",
1904
1910
  panelControls: [
@@ -1993,7 +1999,7 @@
1993
1999
  * @LastEditTime: 2022-12-16 11:11:32
1994
2000
  * @Description:
1995
2001
  */
1996
- var config$8 = {
2002
+ var config$a = {
1997
2003
  // componentType: 'amisSchema',
1998
2004
  group: "华炎魔方",
1999
2005
  componentName: "SteedosDropdown",
@@ -2017,32 +2023,32 @@
2017
2023
  icon: "fa-fw fa fa-list-alt"
2018
2024
  }
2019
2025
  };
2020
- var SteedosDropdown = __assign(__assign({}, config$8), { snippets: [
2026
+ var SteedosDropdown = __assign(__assign({}, config$a), { snippets: [
2021
2027
  {
2022
- title: config$8.title,
2028
+ title: config$a.title,
2023
2029
  screenshot: "",
2024
2030
  schema: {
2025
- componentName: config$8.componentName,
2026
- props: config$8.preview
2031
+ componentName: config$a.componentName,
2032
+ props: config$a.preview
2027
2033
  }
2028
2034
  }
2029
2035
  ], amis: {
2030
2036
  render: {
2031
- type: config$8.amis.name,
2037
+ type: config$a.amis.name,
2032
2038
  usage: "renderer",
2033
2039
  weight: 1,
2034
2040
  framework: "react"
2035
2041
  },
2036
2042
  plugin_disabled: {
2037
- rendererName: config$8.amis.name,
2043
+ rendererName: config$a.amis.name,
2038
2044
  $schema: '/schemas/UnkownSchema.json',
2039
- name: config$8.title,
2040
- description: config$8.title,
2041
- tags: [config$8.group],
2045
+ name: config$a.title,
2046
+ description: config$a.title,
2047
+ tags: [config$a.group],
2042
2048
  order: -9999,
2043
- icon: config$8.amis.icon,
2049
+ icon: config$a.amis.icon,
2044
2050
  scaffold: {
2045
- type: config$8.amis.name,
2051
+ type: config$a.amis.name,
2046
2052
  placement: 'bottomLeft',
2047
2053
  trigger: ['click'],
2048
2054
  body: [],
@@ -2059,7 +2065,7 @@
2059
2065
  },
2060
2066
  ],
2061
2067
  previewSchema: {
2062
- type: config$8.amis.name,
2068
+ type: config$a.amis.name,
2063
2069
  },
2064
2070
  panelTitle: "设置",
2065
2071
  panelControls: [
@@ -2107,7 +2113,7 @@
2107
2113
  * @LastEditTime: 2022-12-16 11:10:51
2108
2114
  * @Description:
2109
2115
  */
2110
- var config$7 = {
2116
+ var config$9 = {
2111
2117
  // componentType: 'amisSchema',
2112
2118
  group: "华炎魔方",
2113
2119
  componentName: "FromNow",
@@ -2131,18 +2137,18 @@
2131
2137
  icon: "fa-fw fa fa-list-alt"
2132
2138
  }
2133
2139
  };
2134
- var FromNow = __assign(__assign({}, config$7), { snippets: [
2140
+ var FromNow = __assign(__assign({}, config$9), { snippets: [
2135
2141
  {
2136
- title: config$7.title,
2142
+ title: config$9.title,
2137
2143
  screenshot: "",
2138
2144
  schema: {
2139
- componentName: config$7.componentName,
2140
- props: config$7.preview
2145
+ componentName: config$9.componentName,
2146
+ props: config$9.preview
2141
2147
  }
2142
2148
  }
2143
2149
  ], amis: {
2144
2150
  render: {
2145
- type: config$7.amis.name,
2151
+ type: config$9.amis.name,
2146
2152
  usage: "renderer",
2147
2153
  weight: 1,
2148
2154
  framework: "react"
@@ -2180,7 +2186,7 @@
2180
2186
  * @LastEditTime: 2022-12-14 13:38:52
2181
2187
  * @Description:
2182
2188
  */
2183
- var config$6 = {
2189
+ var config$8 = {
2184
2190
  componentType: 'amisSchema',
2185
2191
  group: "华炎魔方",
2186
2192
  componentName: "AmisGlobalHeader",
@@ -2205,38 +2211,38 @@
2205
2211
  icon: "fa-fw fa fa-list-alt"
2206
2212
  }
2207
2213
  };
2208
- var AmisGlobalHeader = __assign(__assign({}, config$6), { snippets: [
2214
+ var AmisGlobalHeader = __assign(__assign({}, config$8), { snippets: [
2209
2215
  {
2210
- title: config$6.title,
2216
+ title: config$8.title,
2211
2217
  screenshot: "",
2212
2218
  schema: {
2213
- componentName: config$6.componentName,
2214
- props: config$6.preview
2219
+ componentName: config$8.componentName,
2220
+ props: config$8.preview
2215
2221
  }
2216
2222
  }
2217
2223
  ], amis: {
2218
2224
  render: {
2219
- type: config$6.amis.name,
2225
+ type: config$8.amis.name,
2220
2226
  usage: "renderer",
2221
2227
  weight: 1,
2222
2228
  framework: "react"
2223
2229
  },
2224
2230
  plugin_disabled: {
2225
- rendererName: config$6.amis.name,
2231
+ rendererName: config$8.amis.name,
2226
2232
  $schema: '/schemas/UnkownSchema.json',
2227
- name: config$6.title,
2228
- description: config$6.title,
2229
- tags: [config$6.group],
2233
+ name: config$8.title,
2234
+ description: config$8.title,
2235
+ tags: [config$8.group],
2230
2236
  order: -9999,
2231
- icon: config$6.amis.icon,
2237
+ icon: config$8.amis.icon,
2232
2238
  scaffold: {
2233
- type: config$6.amis.name,
2234
- label: config$6.title,
2239
+ type: config$8.amis.name,
2240
+ label: config$8.title,
2235
2241
  columns: 1,
2236
2242
  vertical: false
2237
2243
  },
2238
2244
  previewSchema: {
2239
- type: config$6.amis.name,
2245
+ type: config$8.amis.name,
2240
2246
  },
2241
2247
  panelTitle: "设置",
2242
2248
  panelControls: []
@@ -2250,7 +2256,7 @@
2250
2256
  * @LastEditTime: 2022-12-16 10:15:58
2251
2257
  * @Description:
2252
2258
  */
2253
- var config$5 = {
2259
+ var config$7 = {
2254
2260
  group: "华炎魔方",
2255
2261
  componentName: "SteedosLoading",
2256
2262
  title: "加载中",
@@ -2273,18 +2279,18 @@
2273
2279
  icon: "fa-fw fa fa-list-alt"
2274
2280
  }
2275
2281
  };
2276
- var SteedosLoading = __assign(__assign({}, config$5), { snippets: [
2282
+ var SteedosLoading = __assign(__assign({}, config$7), { snippets: [
2277
2283
  {
2278
- title: config$5.title,
2284
+ title: config$7.title,
2279
2285
  screenshot: "",
2280
2286
  schema: {
2281
- componentName: config$5.componentName,
2282
- props: config$5.preview
2287
+ componentName: config$7.componentName,
2288
+ props: config$7.preview
2283
2289
  }
2284
2290
  }
2285
2291
  ], amis: {
2286
2292
  render: {
2287
- type: config$5.amis.name,
2293
+ type: config$7.amis.name,
2288
2294
  usage: "renderer",
2289
2295
  weight: 1,
2290
2296
  framework: "react"
@@ -2298,7 +2304,7 @@
2298
2304
  * @LastEditTime: 2022-12-16 10:15:58
2299
2305
  * @Description:
2300
2306
  */
2301
- var config$4 = {
2307
+ var config$6 = {
2302
2308
  // componentType: 'amisSchema',
2303
2309
  group: "华炎魔方",
2304
2310
  componentName: "SteedosBadge",
@@ -2322,32 +2328,32 @@
2322
2328
  icon: "fa-fw fa fa-list-alt"
2323
2329
  }
2324
2330
  };
2325
- var SteedosBadge = __assign(__assign({}, config$4), { snippets: [
2331
+ var SteedosBadge = __assign(__assign({}, config$6), { snippets: [
2326
2332
  {
2327
- title: config$4.title,
2333
+ title: config$6.title,
2328
2334
  screenshot: "",
2329
2335
  schema: {
2330
- componentName: config$4.componentName,
2331
- props: config$4.preview
2336
+ componentName: config$6.componentName,
2337
+ props: config$6.preview
2332
2338
  }
2333
2339
  }
2334
2340
  ], amis: {
2335
2341
  render: {
2336
- type: config$4.amis.name,
2342
+ type: config$6.amis.name,
2337
2343
  usage: "renderer",
2338
2344
  weight: 1,
2339
2345
  framework: "react"
2340
2346
  },
2341
2347
  plugin_disabled: {
2342
- rendererName: config$4.amis.name,
2348
+ rendererName: config$6.amis.name,
2343
2349
  $schema: '/schemas/UnkownSchema.json',
2344
- name: config$4.title,
2345
- description: config$4.title,
2346
- tags: [config$4.group],
2350
+ name: config$6.title,
2351
+ description: config$6.title,
2352
+ tags: [config$6.group],
2347
2353
  order: -9999,
2348
- icon: config$4.amis.icon,
2354
+ icon: config$6.amis.icon,
2349
2355
  scaffold: {
2350
- type: config$4.amis.name,
2356
+ type: config$6.amis.name,
2351
2357
  count: 100,
2352
2358
  body: [], // 容器类字段
2353
2359
  },
@@ -2358,7 +2364,7 @@
2358
2364
  }
2359
2365
  ],
2360
2366
  previewSchema: {
2361
- type: config$4.amis.name,
2367
+ type: config$6.amis.name,
2362
2368
  },
2363
2369
  panelTitle: "设置",
2364
2370
  panelControls: [
@@ -2434,7 +2440,7 @@
2434
2440
  * @LastEditTime: 2022-12-16 10:12:33
2435
2441
  * @Description:
2436
2442
  */
2437
- var config$3 = {
2443
+ var config$5 = {
2438
2444
  // componentType: 'amisSchema',
2439
2445
  group: "华炎魔方",
2440
2446
  componentName: "SteedosBadgeRibbon",
@@ -2458,32 +2464,32 @@
2458
2464
  icon: "fa-fw fa fa-list-alt"
2459
2465
  }
2460
2466
  };
2461
- var SteedosBadgeRibbon = __assign(__assign({}, config$3), { snippets: [
2467
+ var SteedosBadgeRibbon = __assign(__assign({}, config$5), { snippets: [
2462
2468
  {
2463
- title: config$3.title,
2469
+ title: config$5.title,
2464
2470
  screenshot: "",
2465
2471
  schema: {
2466
- componentName: config$3.componentName,
2467
- props: config$3.preview
2472
+ componentName: config$5.componentName,
2473
+ props: config$5.preview
2468
2474
  }
2469
2475
  }
2470
2476
  ], amis: {
2471
2477
  render: {
2472
- type: config$3.amis.name,
2478
+ type: config$5.amis.name,
2473
2479
  usage: "renderer",
2474
2480
  weight: 1,
2475
2481
  framework: "react"
2476
2482
  },
2477
2483
  plugin_disabled: {
2478
- rendererName: config$3.amis.name,
2484
+ rendererName: config$5.amis.name,
2479
2485
  $schema: '/schemas/UnkownSchema.json',
2480
- name: config$3.title,
2481
- description: config$3.title,
2482
- tags: [config$3.group],
2486
+ name: config$5.title,
2487
+ description: config$5.title,
2488
+ tags: [config$5.group],
2483
2489
  order: -9999,
2484
- icon: config$3.amis.icon,
2490
+ icon: config$5.amis.icon,
2485
2491
  scaffold: {
2486
- type: config$3.amis.name,
2492
+ type: config$5.amis.name,
2487
2493
  body: [], // 容器类字段
2488
2494
  },
2489
2495
  regions: [
@@ -2493,7 +2499,7 @@
2493
2499
  }
2494
2500
  ],
2495
2501
  previewSchema: {
2496
- type: config$3.amis.name,
2502
+ type: config$5.amis.name,
2497
2503
  },
2498
2504
  panelTitle: "设置",
2499
2505
  panelControls: [
@@ -2524,14 +2530,14 @@
2524
2530
  * @Author: baozhoutao@steedos.com
2525
2531
  * @Date: 2022-10-11 09:39:38
2526
2532
  * @LastEditors: baozhoutao@steedos.com
2527
- * @LastEditTime: 2023-02-07 15:37:59
2533
+ * @LastEditTime: 2023-03-06 18:29:59
2528
2534
  * @Description:
2529
2535
  */
2530
- var config$2 = {
2536
+ var config$4 = {
2531
2537
  componentType: 'amisSchema',
2532
- group: "华炎魔方",
2538
+ group: "华炎魔方-原子组件",
2533
2539
  componentName: "AmisSteedosField",
2534
- title: "对象字段",
2540
+ title: "字段",
2535
2541
  docUrl: "",
2536
2542
  screenshot: "",
2537
2543
  npm: {
@@ -2551,56 +2557,62 @@
2551
2557
  icon: "fa-fw fa fa-list-alt"
2552
2558
  }
2553
2559
  };
2554
- var AmisSteedosField = __assign(__assign({}, config$2), { snippets: [
2560
+ var AmisSteedosField = __assign(__assign({}, config$4), { snippets: [
2555
2561
  {
2556
- title: config$2.title,
2562
+ title: config$4.title,
2557
2563
  screenshot: "",
2558
2564
  schema: {
2559
- componentName: config$2.componentName,
2560
- props: config$2.preview
2565
+ componentName: config$4.componentName,
2566
+ props: config$4.preview
2561
2567
  }
2562
2568
  }
2563
2569
  ], amis: {
2564
2570
  render: {
2565
- type: config$2.amis.name,
2571
+ type: config$4.amis.name,
2566
2572
  usage: "renderer",
2567
2573
  weight: 1,
2568
2574
  framework: "react"
2569
2575
  },
2570
- // plugin: {
2571
- // rendererName: config.amis.name,
2572
- // $schema: '/schemas/UnkownSchema.json',
2573
- // name: config.title,
2574
- // description: config.title,
2575
- // tags: [config.group],
2576
- // order: -9999,
2577
- // icon: config.amis.icon,
2578
- // scaffold: {
2579
- // type: config.amis.name,
2580
- // field: {
2581
- // "type": "lookup",
2582
- // "label": "Company",
2583
- // "reference_to": "company"
2584
- // }
2585
- // },
2586
- // previewSchema: {
2587
- // type: config.amis.name,
2588
- // field: {
2589
- // "type": "lookup",
2590
- // "label": "Company",
2591
- // "reference_to": "company"
2592
- // }
2593
- // },
2594
- // panelTitle: "设置",
2595
- // panelControls: [
2596
- // {
2597
- // type: "editor",
2598
- // name: "field",
2599
- // label: "字段定义",
2600
- // language: "json"
2601
- // }
2602
- // ]
2603
- // }
2576
+ plugin: {
2577
+ rendererName: config$4.amis.name,
2578
+ $schema: '/schemas/UnkownSchema.json',
2579
+ name: config$4.title,
2580
+ description: config$4.title,
2581
+ tags: [config$4.group],
2582
+ order: -9999,
2583
+ icon: config$4.amis.icon,
2584
+ scaffold: {
2585
+ type: config$4.amis.name,
2586
+ config: {
2587
+ "type": "text",
2588
+ "label": "字段1"
2589
+ }
2590
+ },
2591
+ previewSchema: {
2592
+ type: config$4.amis.name,
2593
+ config: {
2594
+ "type": "text",
2595
+ "label": "字段1"
2596
+ }
2597
+ },
2598
+ panelTitle: "设置",
2599
+ panelControls: [
2600
+ {
2601
+ type: "editor",
2602
+ name: "config",
2603
+ label: "字段定义",
2604
+ language: "json",
2605
+ pipeOut: function (value) {
2606
+ try {
2607
+ return value ? JSON.parse(value) : null;
2608
+ }
2609
+ catch (e) {
2610
+ }
2611
+ return value;
2612
+ }
2613
+ }
2614
+ ]
2615
+ }
2604
2616
  } });
2605
2617
 
2606
2618
  /*
@@ -2610,7 +2622,7 @@
2610
2622
  * @LastEditTime: 2023-01-14 16:51:23
2611
2623
  * @Description:
2612
2624
  */
2613
- var config$1 = {
2625
+ var config$3 = {
2614
2626
  componentType: 'amisSchema',
2615
2627
  group: "华炎魔方",
2616
2628
  componentName: "AmisSelectFlow",
@@ -2634,18 +2646,18 @@
2634
2646
  icon: "fa-fw fa fa-list-alt"
2635
2647
  }
2636
2648
  };
2637
- var AmisSelectFlow = __assign(__assign({}, config$1), { snippets: [
2649
+ var AmisSelectFlow = __assign(__assign({}, config$3), { snippets: [
2638
2650
  {
2639
- title: config$1.title,
2651
+ title: config$3.title,
2640
2652
  screenshot: "",
2641
2653
  schema: {
2642
- componentName: config$1.componentName,
2643
- props: config$1.preview
2654
+ componentName: config$3.componentName,
2655
+ props: config$3.preview
2644
2656
  }
2645
2657
  }
2646
2658
  ], amis: {
2647
2659
  render: {
2648
- type: config$1.amis.name,
2660
+ type: config$3.amis.name,
2649
2661
  usage: "renderer",
2650
2662
  weight: 1,
2651
2663
  framework: "react"
@@ -2683,7 +2695,7 @@
2683
2695
  * @LastEditTime: 2023-02-09 16:48:59
2684
2696
  * @Description:
2685
2697
  */
2686
- var config = {
2698
+ var config$2 = {
2687
2699
  componentType: 'amisSchema',
2688
2700
  group: "华炎魔方",
2689
2701
  componentName: "AmisInstanceDetail",
@@ -2707,18 +2719,18 @@
2707
2719
  icon: "fa-fw fa fa-list-alt"
2708
2720
  }
2709
2721
  };
2710
- var AmisInstanceDetail = __assign(__assign({}, config), { snippets: [
2722
+ var AmisInstanceDetail = __assign(__assign({}, config$2), { snippets: [
2711
2723
  {
2712
- title: config.title,
2724
+ title: config$2.title,
2713
2725
  screenshot: "",
2714
2726
  schema: {
2715
- componentName: config.componentName,
2716
- props: config.preview
2727
+ componentName: config$2.componentName,
2728
+ props: config$2.preview
2717
2729
  }
2718
2730
  }
2719
2731
  ], amis: {
2720
2732
  render: {
2721
- type: config.amis.name,
2733
+ type: config$2.amis.name,
2722
2734
  usage: "renderer",
2723
2735
  weight: 1,
2724
2736
  framework: "react"
@@ -2747,6 +2759,104 @@
2747
2759
  // }
2748
2760
  } });
2749
2761
 
2762
+ /*
2763
+ * @Author: baozhoutao@steedos.com
2764
+ * @Date: 2022-08-31 16:32:35
2765
+ * @LastEditors: baozhoutao@steedos.com
2766
+ * @LastEditTime: 2022-12-08 10:37:45
2767
+ * @Description:
2768
+ */
2769
+ var config$1 = {
2770
+ componentType: 'amisSchema',
2771
+ group: "华炎魔方",
2772
+ componentName: "PageListView",
2773
+ title: "列表页",
2774
+ docUrl: "",
2775
+ screenshot: "",
2776
+ npm: {
2777
+ package: "@steedos-widgets/amis-object",
2778
+ version: "{{version}}",
2779
+ exportName: "PageListView",
2780
+ main: "",
2781
+ destructuring: true,
2782
+ subName: ""
2783
+ },
2784
+ preview: {},
2785
+ targets: ["steedos__RecordPage", "steedos__AppPage", "steedos__HomePage"],
2786
+ engines: ["amis"],
2787
+ // settings for amis.
2788
+ amis: {
2789
+ name: 'steedos-page-listview',
2790
+ icon: "fa-fw fa fa-list-alt"
2791
+ }
2792
+ };
2793
+ var PageListViewMeta = __assign(__assign({}, config$1), { snippets: [
2794
+ {
2795
+ title: config$1.title,
2796
+ screenshot: "",
2797
+ schema: {
2798
+ componentName: config$1.componentName,
2799
+ props: config$1.preview
2800
+ }
2801
+ }
2802
+ ], amis: {
2803
+ render: {
2804
+ type: config$1.amis.name,
2805
+ usage: "renderer",
2806
+ weight: 1,
2807
+ framework: "react"
2808
+ },
2809
+ } });
2810
+
2811
+ /*
2812
+ * @Author: baozhoutao@steedos.com
2813
+ * @Date: 2022-08-31 16:32:35
2814
+ * @LastEditors: baozhoutao@steedos.com
2815
+ * @LastEditTime: 2022-12-08 10:37:45
2816
+ * @Description:
2817
+ */
2818
+ var config = {
2819
+ componentType: 'amisSchema',
2820
+ group: "华炎魔方",
2821
+ componentName: "PageRecordDetail",
2822
+ title: "记录详情页",
2823
+ docUrl: "",
2824
+ screenshot: "",
2825
+ npm: {
2826
+ package: "@steedos-widgets/amis-object",
2827
+ version: "{{version}}",
2828
+ exportName: "PageRecordDetail",
2829
+ main: "",
2830
+ destructuring: true,
2831
+ subName: ""
2832
+ },
2833
+ preview: {},
2834
+ targets: ["steedos__RecordPage", "steedos__AppPage", "steedos__HomePage"],
2835
+ engines: ["amis"],
2836
+ // settings for amis.
2837
+ amis: {
2838
+ name: 'steedos-page-record-detail',
2839
+ icon: "fa-fw fa fa-list-alt"
2840
+ }
2841
+ };
2842
+ var PageRecordDetailMeta = __assign(__assign({}, config), { snippets: [
2843
+ {
2844
+ title: config.title,
2845
+ screenshot: "",
2846
+ schema: {
2847
+ componentName: config.componentName,
2848
+ props: config.preview
2849
+ }
2850
+ }
2851
+ ], amis: {
2852
+ render: {
2853
+ type: config.amis.name,
2854
+ usage: "renderer",
2855
+ weight: 1,
2856
+ framework: "react"
2857
+ },
2858
+ } });
2859
+
2750
2860
  /*
2751
2861
  * @Author: baozhoutao@steedos.com
2752
2862
  * @Date: 2022-08-31 16:32:35
@@ -2780,7 +2890,9 @@
2780
2890
  AmisSteedosField,
2781
2891
  AmisSelectFlow,
2782
2892
  AmisInstanceDetail,
2783
- SteedosLoading
2893
+ SteedosLoading,
2894
+ PageListViewMeta,
2895
+ PageRecordDetailMeta,
2784
2896
  ];
2785
2897
  var componentList = [
2786
2898
  {