ngx-axis-appforge 0.0.28 → 0.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.
@@ -75,9 +75,9 @@ const buttonExampleDesc = {
75
75
  span: 12,
76
76
  height: 78,
77
77
  example: {
78
- builder: (componentIdBuilder) => ({
78
+ options: {
79
79
  component: "axis-components/button",
80
- id: componentIdBuilder?.("axis-components/button"),
80
+ id: "axis-components/button#1",
81
81
  inuse: true,
82
82
  title: "未命名按钮",
83
83
  confirm: false,
@@ -90,18 +90,18 @@ const buttonExampleDesc = {
90
90
  ghost: false,
91
91
  size: "default",
92
92
  shape: ""
93
- }),
93
+ },
94
94
  },
95
95
  moreExamples: [
96
96
  {
97
97
  name: "链接按钮",
98
- builder: (componentIdBuilder) => ({
98
+ options: {
99
99
  component: "axis-components/button",
100
- id: componentIdBuilder?.("axis-components/button"),
100
+ id: "axis-components/button#1",
101
101
  inuse: true,
102
102
  title: "未命名按钮",
103
103
  styleType: "link"
104
- }),
104
+ },
105
105
  }
106
106
  ]
107
107
  };
@@ -113,15 +113,15 @@ const formExampleDesc = {
113
113
  height: 120,
114
114
  tags: ["wrap"],
115
115
  example: {
116
- builder: (componentIdBuilder) => ({
116
+ options: {
117
117
  component: "axis-components/form",
118
- id: componentIdBuilder?.("axis-components/form"),
118
+ id: "axis-components/form#1",
119
119
  inuse: true,
120
120
  submitConfirm: true,
121
121
  leaveConfirm: true,
122
122
  child: {
123
123
  component: "axis-components/flex",
124
- id: componentIdBuilder?.("axis-components/flex"),
124
+ id: "axis-components/flex#1",
125
125
  inuse: true,
126
126
  direction: "vertical",
127
127
  align: "center",
@@ -133,14 +133,14 @@ const formExampleDesc = {
133
133
  {
134
134
  component: "axis-components/flex",
135
135
  inuse: true,
136
- id: componentIdBuilder?.("axis-components/flex", 2),
136
+ id: "axis-components/flex#2",
137
137
  direction: "horizontal",
138
138
  justify: "end",
139
139
  gap: "6px",
140
140
  children: [
141
141
  {
142
142
  component: "axis-components/button",
143
- id: componentIdBuilder?.("axis-components/button"),
143
+ id: "axis-components/button#1",
144
144
  inuse: true,
145
145
  title: "重置",
146
146
  styleType: "default",
@@ -156,7 +156,7 @@ const formExampleDesc = {
156
156
  {
157
157
  name: "resetForm",
158
158
  disabled: false,
159
- id: componentIdBuilder?.("axis-components/form"),
159
+ id: "axis-components/form#1",
160
160
  target: "component"
161
161
  }
162
162
  ]
@@ -164,7 +164,7 @@ const formExampleDesc = {
164
164
  },
165
165
  {
166
166
  component: "axis-components/button",
167
- id: componentIdBuilder?.("axis-components/button", 2),
167
+ id: "axis-components/button#2",
168
168
  inuse: true,
169
169
  title: "提交",
170
170
  icon: {
@@ -179,7 +179,7 @@ const formExampleDesc = {
179
179
  {
180
180
  name: "validForm",
181
181
  disabled: false,
182
- id: componentIdBuilder?.("axis-components/form"),
182
+ id: "axis-components/form#1",
183
183
  target: "component"
184
184
  }
185
185
  ]
@@ -190,7 +190,7 @@ const formExampleDesc = {
190
190
  {
191
191
  component: "axis-components/flex",
192
192
  inuse: true,
193
- id: componentIdBuilder?.("axis-components/flex", 3),
193
+ id: "axis-components/flex#3",
194
194
  direction: "vertical",
195
195
  align: "center",
196
196
  style: {
@@ -199,27 +199,27 @@ const formExampleDesc = {
199
199
  children: [
200
200
  {
201
201
  component: "axis-components/form-item",
202
- id: componentIdBuilder?.("axis-components/form-item"),
202
+ id: "axis-components/form-item#1",
203
203
  inuse: true,
204
204
  name: "field1",
205
205
  label: "字段1",
206
206
  validators: [],
207
207
  child: {
208
208
  component: "axis-components/input",
209
- id: componentIdBuilder?.("axis-components/input"),
209
+ id: "axis-components/input#1",
210
210
  inuse: true
211
211
  }
212
212
  },
213
213
  {
214
214
  component: "axis-components/form-item",
215
- id: componentIdBuilder?.("axis-components/form-item", 2),
215
+ id: "axis-components/form-item#2",
216
216
  inuse: true,
217
217
  name: "field2",
218
218
  label: "字段2",
219
219
  validators: [],
220
220
  child: {
221
221
  component: "axis-components/input",
222
- id: componentIdBuilder?.("axis-components/input", 2),
222
+ id: "axis-components/input#2",
223
223
  inuse: true
224
224
  }
225
225
  },
@@ -227,24 +227,24 @@ const formExampleDesc = {
227
227
  }
228
228
  ]
229
229
  }
230
- }),
230
+ },
231
231
  },
232
232
  moreExamples: [
233
233
  {
234
234
  name: "空表单",
235
- builder: (componentIdBuilder) => ({
235
+ options: {
236
236
  component: "axis-components/form",
237
- id: componentIdBuilder?.("axis-components/form"),
237
+ id: "axis-components/form#1",
238
238
  inuse: true,
239
239
  submitConfirm: true,
240
240
  leaveConfirm: true
241
- }),
241
+ },
242
242
  },
243
243
  {
244
244
  name: "查询表单",
245
- builder: (componentIdBuilder) => ({
245
+ options: {
246
246
  component: "axis-components/form",
247
- id: componentIdBuilder?.("axis-components/form"),
247
+ id: "axis-components/form#1",
248
248
  inuse: true,
249
249
  submitConfirm: true,
250
250
  leaveConfirm: true,
@@ -253,21 +253,21 @@ const formExampleDesc = {
253
253
  },
254
254
  child: {
255
255
  component: "axis-components/flex",
256
- id: componentIdBuilder?.("axis-components/flex"),
256
+ id: "axis-components/flex#1",
257
257
  direction: "horizontal",
258
258
  children: [
259
259
  {
260
260
  component: "axis-components/flex",
261
- id: componentIdBuilder?.("axis-components/flex", 2),
261
+ id: "axis-components/flex#2",
262
262
  direction: "horizontal",
263
263
  children: [
264
264
  {
265
265
  component: "axis-components/form-item",
266
- id: componentIdBuilder?.("axis-components/form-item"),
266
+ id: "axis-components/form-item#1",
267
267
  validators: [],
268
268
  child: {
269
269
  component: "axis-components/input",
270
- id: componentIdBuilder?.("axis-components/input"),
270
+ id: "axis-components/input#1",
271
271
  requiredPermissions: null,
272
272
  triggeEvents: null,
273
273
  inuse: true,
@@ -291,14 +291,14 @@ const formExampleDesc = {
291
291
  labelWidth: "40px"
292
292
  }, {
293
293
  component: "axis-components/button",
294
- id: componentIdBuilder?.("axis-components/button"),
294
+ id: "axis-components/button#1",
295
295
  requiredPermissions: null,
296
296
  triggeEvents: {
297
297
  buttonClick: [
298
298
  {
299
299
  name: "resetForm",
300
300
  disabled: false,
301
- id: componentIdBuilder?.("axis-components/form"),
301
+ id: "axis-components/form#1",
302
302
  data: null,
303
303
  target: "component"
304
304
  }
@@ -338,12 +338,12 @@ const formExampleDesc = {
338
338
  },
339
339
  {
340
340
  component: "axis-components/flex",
341
- id: componentIdBuilder?.("axis-components/flex", 3),
341
+ id: "axis-components/flex#3",
342
342
  direction: "horizontal",
343
343
  children: [
344
344
  {
345
345
  component: "axis-components/button",
346
- id: componentIdBuilder?.("axis-components/button", 2),
346
+ id: "axis-components/button#2",
347
347
  inuse: true,
348
348
  requiredPermissions: null,
349
349
  triggeEvents: null,
@@ -368,7 +368,7 @@ const formExampleDesc = {
368
368
  },
369
369
  {
370
370
  component: "axis-components/button",
371
- id: componentIdBuilder?.("axis-components/button", 3),
371
+ id: "axis-components/button#3",
372
372
  inuse: true,
373
373
  requiredPermissions: null,
374
374
  triggeEvents: null,
@@ -415,7 +415,7 @@ const formExampleDesc = {
415
415
  wrap: "nowrap",
416
416
  gap: "20px"
417
417
  }
418
- })
418
+ }
419
419
  }
420
420
  ]
421
421
  };
@@ -427,9 +427,9 @@ const formItemExampleDesc = {
427
427
  height: 60,
428
428
  tags: ["wrap"],
429
429
  example: {
430
- builder: (componentIdBuilder) => ({
430
+ options: {
431
431
  component: "axis-components/form-item",
432
- id: componentIdBuilder?.("axis-components/form-item"),
432
+ id: "axis-components/form-item#1",
433
433
  inuse: true,
434
434
  name: "field",
435
435
  label: "字段",
@@ -438,22 +438,22 @@ const formItemExampleDesc = {
438
438
  child: {
439
439
  component: "axis-components/input",
440
440
  inuse: true,
441
- id: componentIdBuilder?.("axis-components/input"),
441
+ id: "axis-components/input#1",
442
442
  }
443
- }),
443
+ },
444
444
  },
445
445
  moreExamples: [
446
446
  {
447
447
  name: "空表单项",
448
- builder: (componentIdBuilder) => ({
448
+ options: {
449
449
  component: "axis-components/form-item",
450
- id: componentIdBuilder?.("axis-components/form-item"),
450
+ id: "axis-components/form-item#1",
451
451
  inuse: true,
452
452
  name: "field",
453
453
  label: "",
454
454
  labelWidth: "",
455
455
  validators: [],
456
- }),
456
+ },
457
457
  }
458
458
  ]
459
459
  };
@@ -465,13 +465,13 @@ const flexExampleDesc = {
465
465
  height: 120,
466
466
  tags: ["wrap"],
467
467
  example: {
468
- builder: (componentIdBuilder) => ({
468
+ options: {
469
469
  component: "axis-components/flex",
470
- id: componentIdBuilder?.("axis-components/flex"),
470
+ id: "axis-components/flex#1",
471
471
  inuse: true,
472
472
  direction: "horizontal",
473
473
  children: []
474
- }),
474
+ },
475
475
  }
476
476
  };
477
477
 
@@ -481,11 +481,11 @@ const inputExampleDesc = {
481
481
  span: 12,
482
482
  height: 60,
483
483
  example: {
484
- builder: (componentIdBuilder) => ({
484
+ options: {
485
485
  component: "axis-components/input",
486
- id: componentIdBuilder?.("axis-components/input"),
486
+ id: "axis-components/input#1",
487
487
  inuse: true
488
- }),
488
+ },
489
489
  },
490
490
  };
491
491
 
@@ -495,9 +495,9 @@ const tableExampleDesc = {
495
495
  span: 24,
496
496
  height: 120,
497
497
  example: {
498
- builder: (componentIdBuilder) => ({
498
+ options: {
499
499
  component: "axis-components/table",
500
- id: componentIdBuilder?.("axis-components/table"),
500
+ id: "axis-components/table#1",
501
501
  inuse: true,
502
502
  keyField: "id",
503
503
  fields: [
@@ -549,7 +549,7 @@ const tableExampleDesc = {
549
549
  rowActions: [
550
550
  {
551
551
  component: "axis-components/button",
552
- id: componentIdBuilder?.("axis-components/button"),
552
+ id: "axis-components/button#1",
553
553
  inuse: true,
554
554
  requiredPermissions: null,
555
555
  triggeEvents: null,
@@ -567,7 +567,7 @@ const tableExampleDesc = {
567
567
  },
568
568
  {
569
569
  component: "axis-components/button",
570
- id: componentIdBuilder?.("axis-components/button", 2),
570
+ id: "axis-components/button#2",
571
571
  requiredPermissions: null,
572
572
  triggeEvents: null,
573
573
  inuse: true,
@@ -594,20 +594,20 @@ const tableExampleDesc = {
594
594
  name: "小张",
595
595
  },
596
596
  ],
597
- }),
597
+ },
598
598
  },
599
599
  moreExamples: [
600
600
  {
601
601
  name: "空表格",
602
- builder: (componentIdBuilder) => ({
602
+ options: {
603
603
  component: "axis-components/table",
604
- id: componentIdBuilder?.("axis-components/table"),
604
+ id: "axis-components/table#1",
605
605
  inuse: true,
606
606
  fields: [],
607
607
  rowActions: [],
608
608
  data: [],
609
609
  showOrder: false,
610
- }),
610
+ },
611
611
  }
612
612
  ]
613
613
  };
@@ -618,11 +618,11 @@ const designExampleDesc = {
618
618
  span: 24,
619
619
  height: 120,
620
620
  example: {
621
- builder: (componentIdBuilder) => ({
621
+ options: {
622
622
  component: "axis-components/design",
623
- id: componentIdBuilder?.("axis-components/design"),
623
+ id: "axis-components/design#1",
624
624
  inuse: true
625
- }),
625
+ },
626
626
  }
627
627
  };
628
628
 
@@ -632,11 +632,11 @@ const textExampleDesc = {
632
632
  span: 12,
633
633
  height: 80,
634
634
  example: {
635
- builder: (componentIdBuilder) => ({
635
+ options: {
636
636
  component: "axis-components/text",
637
- id: componentIdBuilder?.("axis-components/text"),
637
+ id: "axis-components/text#1",
638
638
  inuse: true
639
- }),
639
+ },
640
640
  }
641
641
  };
642
642
 
@@ -646,9 +646,9 @@ const treeSelectorExampleDesc = {
646
646
  span: 12,
647
647
  height: 70,
648
648
  example: {
649
- builder: (componentIdBuilder) => ({
649
+ options: {
650
650
  component: "axis-components/tree-selector",
651
- id: componentIdBuilder?.("axis-components/tree-selector"),
651
+ id: "axis-components/tree-selector#1",
652
652
  inuse: true,
653
653
  menus: [],
654
654
  data: [{
@@ -670,7 +670,7 @@ const treeSelectorExampleDesc = {
670
670
  }
671
671
  ]
672
672
  }]
673
- }),
673
+ },
674
674
  }
675
675
  };
676
676
 
@@ -681,9 +681,9 @@ const splitterExampleDesc = {
681
681
  height: 120,
682
682
  tags: ["wrap"],
683
683
  example: {
684
- builder: (componentIdBuilder) => ({
684
+ options: {
685
685
  component: "axis-components/splitter",
686
- id: componentIdBuilder?.("axis-components/splitter"),
686
+ id: "axis-components/splitter#1",
687
687
  inuse: true,
688
688
  direction: "horizontal",
689
689
  panels: [
@@ -691,7 +691,7 @@ const splitterExampleDesc = {
691
691
  inuse: true,
692
692
  child: {
693
693
  component: "axis-components/text",
694
- id: componentIdBuilder?.("axis-components/text"),
694
+ id: "axis-components/text#1",
695
695
  inuse: true,
696
696
  data: "左面板"
697
697
  }
@@ -699,13 +699,13 @@ const splitterExampleDesc = {
699
699
  inuse: true,
700
700
  child: {
701
701
  component: "axis-components/text",
702
- id: componentIdBuilder?.("axis-components/text", 2),
702
+ id: "axis-components/text#2",
703
703
  inuse: true,
704
704
  data: "右边面板"
705
705
  }
706
706
  }
707
707
  ]
708
- }),
708
+ },
709
709
  }
710
710
  };
711
711
 
@@ -715,11 +715,11 @@ const modalExampleDesc = {
715
715
  span: 24,
716
716
  height: 120,
717
717
  example: {
718
- builder: (componentIdBuilder) => ({
718
+ options: {
719
719
  component: "axis-components/modal",
720
- id: componentIdBuilder?.("axis-components/modal"),
720
+ id: "axis-components/modal#1",
721
721
  inuse: true
722
- }),
722
+ },
723
723
  }
724
724
  };
725
725
 
@@ -729,9 +729,9 @@ const descExampleDesc = {
729
729
  span: 24,
730
730
  height: 90,
731
731
  example: {
732
- builder: (componentIdBuilder) => ({
732
+ options: {
733
733
  component: "axis-components/desc",
734
- id: componentIdBuilder?.("axis-components/desc"),
734
+ id: "axis-components/desc#1",
735
735
  inuse: true,
736
736
  title: "未命名",
737
737
  data: {
@@ -749,7 +749,7 @@ const descExampleDesc = {
749
749
  field: "field2"
750
750
  }
751
751
  ]
752
- }),
752
+ },
753
753
  }
754
754
  };
755
755
 
@@ -760,12 +760,12 @@ const badgeExampleDesc = {
760
760
  height: 70,
761
761
  tags: ["wrap"],
762
762
  example: {
763
- builder: (componentIdBuilder) => ({
763
+ options: {
764
764
  component: "axis-components/badge",
765
- id: componentIdBuilder?.("axis-components/badge"),
765
+ id: "axis-components/badge#1",
766
766
  inuse: true,
767
767
  standalone: true,
768
- }),
768
+ },
769
769
  }
770
770
  };
771
771
 
@@ -775,11 +775,11 @@ const imageExampleDesc = {
775
775
  span: 10,
776
776
  height: 70,
777
777
  example: {
778
- builder: (componentIdBuilder) => ({
778
+ options: {
779
779
  component: "axis-components/image",
780
- id: componentIdBuilder?.("axis-components/image"),
780
+ id: "axis-components/image#1",
781
781
  inuse: true,
782
- }),
782
+ },
783
783
  }
784
784
  };
785
785
 
@@ -789,12 +789,12 @@ const iconExampleDesc = {
789
789
  span: 12,
790
790
  height: 80,
791
791
  example: {
792
- builder: (componentIdBuilder) => ({
792
+ options: {
793
793
  component: "axis-components/icon",
794
- id: componentIdBuilder?.("axis-components/icon"),
794
+ id: "axis-components/icon#1",
795
795
  inuse: true,
796
796
  icon: "ant-design"
797
- }),
797
+ },
798
798
  }
799
799
  };
800
800
 
@@ -804,11 +804,11 @@ const inputIconExampleDesc = {
804
804
  span: 12,
805
805
  height: 70,
806
806
  example: {
807
- builder: (componentIdBuilder) => ({
807
+ options: {
808
808
  component: "axis-components/input-icon",
809
- id: componentIdBuilder?.("axis-components/input-icon"),
809
+ id: "axis-components/input-icon#1",
810
810
  inuse: true,
811
- }),
811
+ },
812
812
  }
813
813
  };
814
814
 
@@ -818,11 +818,11 @@ const inputNumberExampleDesc = {
818
818
  span: 12,
819
819
  height: 60,
820
820
  example: {
821
- builder: (componentIdBuilder) => ({
821
+ options: {
822
822
  component: "axis-components/input-number",
823
- id: componentIdBuilder?.("axis-components/input-number"),
823
+ id: "axis-components/input-number#1",
824
824
  inuse: true
825
- }),
825
+ },
826
826
  },
827
827
  };
828
828
 
@@ -832,11 +832,11 @@ const uploadExampleDesc = {
832
832
  span: 12,
833
833
  height: 70,
834
834
  example: {
835
- builder: (componentIdBuilder) => ({
835
+ options: {
836
836
  component: "axis-components/upload",
837
- id: componentIdBuilder?.("axis-components/upload"),
837
+ id: "axis-components/upload#1",
838
838
  inuse: true,
839
- }),
839
+ },
840
840
  }
841
841
  };
842
842
 
@@ -846,11 +846,11 @@ const textareaExampleDesc = {
846
846
  span: 12,
847
847
  height: 70,
848
848
  example: {
849
- builder: (componentIdBuilder) => ({
849
+ options: {
850
850
  component: "axis-components/textarea",
851
- id: componentIdBuilder?.("axis-components/textarea"),
851
+ id: "axis-components/textarea#1",
852
852
  inuse: true
853
- }),
853
+ },
854
854
  },
855
855
  };
856
856
 
@@ -860,17 +860,17 @@ const dynamicContainerExampleDesc = {
860
860
  span: 24,
861
861
  height: 120,
862
862
  example: {
863
- builder: (componentIdBuilder) => ({
863
+ options: {
864
864
  component: "axis-components/dynamic-container",
865
- id: componentIdBuilder?.("axis-components/dynamic-container"),
865
+ id: "axis-components/dynamic-container#1",
866
866
  inuse: true,
867
867
  child: {
868
868
  component: "axis-components/text",
869
- id: componentIdBuilder?.("axis-components/text"),
869
+ id: "axis-components/text#1",
870
870
  inuse: true,
871
871
  data: "动态容器中的文本"
872
872
  }
873
- }),
873
+ },
874
874
  }
875
875
  };
876
876
 
@@ -881,12 +881,12 @@ const scopeExampleDesc = {
881
881
  height: 80,
882
882
  tags: ["wrap"],
883
883
  example: {
884
- builder: (componentIdBuilder) => ({
884
+ options: {
885
885
  component: "axis-components/scope",
886
- id: componentIdBuilder?.("axis-components/scope"),
886
+ id: "axis-components/scope#1",
887
887
  inuse: true,
888
888
  scopeName: "根"
889
- }),
889
+ },
890
890
  }
891
891
  };
892
892
 
@@ -896,11 +896,11 @@ const inputComponentExampleDesc = {
896
896
  span: 12,
897
897
  height: 70,
898
898
  example: {
899
- builder: (componentIdBuilder) => ({
899
+ options: {
900
900
  component: "axis-components/input-component",
901
- id: componentIdBuilder?.("axis-components/input-component"),
901
+ id: "axis-components/input-component#1",
902
902
  inuse: true
903
- }),
903
+ },
904
904
  }
905
905
  };
906
906
 
@@ -910,11 +910,11 @@ const inputJsonExampleDesc = {
910
910
  span: 12,
911
911
  height: 70,
912
912
  example: {
913
- builder: (componentIdBuilder) => ({
913
+ options: {
914
914
  component: "axis-components/input-json",
915
- id: componentIdBuilder?.("axis-components/input-json"),
915
+ id: "axis-components/input-json#1",
916
916
  inuse: true,
917
- }),
917
+ },
918
918
  }
919
919
  };
920
920
 
@@ -924,11 +924,11 @@ const datePickerExampleDesc = {
924
924
  span: 12,
925
925
  height: 70,
926
926
  example: {
927
- builder: (componentIdBuilder) => ({
927
+ options: {
928
928
  component: "axis-components/date-picker",
929
- id: componentIdBuilder?.("axis-components/date-picker"),
929
+ id: "axis-components/date-picker#1",
930
930
  inuse: true
931
- }),
931
+ },
932
932
  }
933
933
  };
934
934
 
@@ -938,9 +938,9 @@ const stepsExampleDesc = {
938
938
  span: 12,
939
939
  height: 90,
940
940
  example: {
941
- builder: (componentIdBuilder) => ({
941
+ options: {
942
942
  component: "axis-components/steps",
943
- id: componentIdBuilder?.("axis-components/steps"),
943
+ id: "axis-components/steps#1",
944
944
  inuse: true,
945
945
  steps: [
946
946
  {
@@ -961,17 +961,17 @@ const stepsExampleDesc = {
961
961
  title: "步骤三"
962
962
  }
963
963
  ]
964
- }),
964
+ },
965
965
  },
966
966
  moreExamples: [
967
967
  {
968
968
  name: "空步骤条",
969
- builder: (componentIdBuilder) => ({
969
+ options: {
970
970
  component: "axis-components/steps",
971
- id: componentIdBuilder?.("axis-components/steps"),
971
+ id: "axis-components/steps#1",
972
972
  inuse: true,
973
973
  steps: []
974
- }),
974
+ },
975
975
  },
976
976
  ]
977
977
  };
@@ -982,15 +982,15 @@ const editorExampleDesc = {
982
982
  span: 24,
983
983
  height: 120,
984
984
  example: {
985
- builder: (componentIdBuilder) => ({
985
+ options: {
986
986
  component: "axis-components/editor",
987
- id: componentIdBuilder?.("axis-components/editor"),
987
+ id: "axis-components/editor#1",
988
988
  inuse: true,
989
989
  mode: "plain_text",
990
990
  style: {
991
991
  height: "300px"
992
992
  }
993
- }),
993
+ },
994
994
  }
995
995
  };
996
996
 
@@ -1000,9 +1000,9 @@ const tabsExampleDesc = {
1000
1000
  span: 24,
1001
1001
  height: 120,
1002
1002
  example: {
1003
- builder: (componentIdBuilder) => ({
1003
+ options: {
1004
1004
  component: "axis-components/tabs",
1005
- id: componentIdBuilder?.("axis-components/tabs"),
1005
+ id: "axis-components/tabs#1",
1006
1006
  inuse: true,
1007
1007
  tabs: [
1008
1008
  {
@@ -1011,7 +1011,7 @@ const tabsExampleDesc = {
1011
1011
  title: "标签1",
1012
1012
  child: {
1013
1013
  component: "axis-components/text",
1014
- id: componentIdBuilder?.("axis-components/text"),
1014
+ id: "axis-components/text#1",
1015
1015
  inuse: true,
1016
1016
  data: "标签1的内容"
1017
1017
  }
@@ -1021,13 +1021,13 @@ const tabsExampleDesc = {
1021
1021
  title: "标签2",
1022
1022
  child: {
1023
1023
  component: "axis-components/text",
1024
- id: componentIdBuilder?.("axis-components/text", 2),
1024
+ id: "axis-components/text#2",
1025
1025
  inuse: true,
1026
1026
  data: "标签2的内容"
1027
1027
  }
1028
1028
  }
1029
1029
  ]
1030
- }),
1030
+ },
1031
1031
  }
1032
1032
  };
1033
1033
 
@@ -1038,16 +1038,16 @@ const dynamicValueExampleDesc = {
1038
1038
  height: 80,
1039
1039
  tags: ["wrap"],
1040
1040
  example: {
1041
- builder: (componentIdBuilder) => ({
1041
+ options: {
1042
1042
  component: "axis-components/dynamic-value",
1043
- id: componentIdBuilder?.("axis-components/dynamic-value"),
1043
+ id: "axis-components/dynamic-value#1",
1044
1044
  inuse: true,
1045
1045
  child: {
1046
1046
  component: "axis-components/input",
1047
- id: componentIdBuilder?.("axis-components/input"),
1047
+ id: "axis-components/input#1",
1048
1048
  inuse: true,
1049
1049
  }
1050
- }),
1050
+ },
1051
1051
  }
1052
1052
  };
1053
1053
 
@@ -1057,9 +1057,9 @@ const editTableExampleDesc = {
1057
1057
  span: 24,
1058
1058
  height: 80,
1059
1059
  example: {
1060
- builder: (componentIdBuilder) => ({
1060
+ options: {
1061
1061
  component: "axis-components/edit-table",
1062
- id: componentIdBuilder?.("axis-components/edit-table"),
1062
+ id: "axis-components/edit-table#1",
1063
1063
  inuse: true,
1064
1064
  fields: [
1065
1065
  {
@@ -1075,7 +1075,7 @@ const editTableExampleDesc = {
1075
1075
  freezeMode: "none",
1076
1076
  child: {
1077
1077
  component: "axis-components/input",
1078
- id: componentIdBuilder?.("axis-components/input"),
1078
+ id: "axis-components/input#1",
1079
1079
  inuse: true,
1080
1080
  }
1081
1081
  },
@@ -1092,12 +1092,12 @@ const editTableExampleDesc = {
1092
1092
  freezeMode: "none",
1093
1093
  child: {
1094
1094
  component: "axis-components/input",
1095
- id: componentIdBuilder?.("axis-components/input", 2),
1095
+ id: "axis-components/input#2",
1096
1096
  inuse: true,
1097
1097
  }
1098
1098
  }
1099
1099
  ]
1100
- }),
1100
+ },
1101
1101
  }
1102
1102
  };
1103
1103
 
@@ -1107,11 +1107,11 @@ const colorPickerExampleDesc = {
1107
1107
  span: 12,
1108
1108
  height: 80,
1109
1109
  example: {
1110
- builder: (componentIdBuilder) => ({
1110
+ options: {
1111
1111
  component: "axis-components/color-picker",
1112
- id: componentIdBuilder?.("axis-components/color-picker"),
1112
+ id: "axis-components/color-picker#1",
1113
1113
  inuse: true
1114
- }),
1114
+ },
1115
1115
  }
1116
1116
  };
1117
1117
 
@@ -1121,9 +1121,9 @@ const selectExampleDesc = {
1121
1121
  span: 12,
1122
1122
  height: 60,
1123
1123
  example: {
1124
- builder: (componentIdBuilder) => ({
1124
+ options: {
1125
1125
  component: "axis-components/select",
1126
- id: componentIdBuilder?.("axis-components/select"),
1126
+ id: "axis-components/select#1",
1127
1127
  inuse: true,
1128
1128
  data: [
1129
1129
  {
@@ -1135,7 +1135,7 @@ const selectExampleDesc = {
1135
1135
  key: "2"
1136
1136
  }
1137
1137
  ]
1138
- }),
1138
+ },
1139
1139
  }
1140
1140
  };
1141
1141
 
@@ -1145,9 +1145,9 @@ const radioExampleDesc = {
1145
1145
  span: 12,
1146
1146
  height: 60,
1147
1147
  example: {
1148
- builder: (componentIdBuilder) => ({
1148
+ options: {
1149
1149
  component: "axis-components/radio",
1150
- id: componentIdBuilder?.("axis-components/radio"),
1150
+ id: "axis-components/radio#1",
1151
1151
  inuse: true,
1152
1152
  data: [
1153
1153
  {
@@ -1159,7 +1159,7 @@ const radioExampleDesc = {
1159
1159
  key: "2"
1160
1160
  }
1161
1161
  ]
1162
- }),
1162
+ },
1163
1163
  }
1164
1164
  };
1165
1165
 
@@ -1169,12 +1169,12 @@ const switchExampleDesc = {
1169
1169
  span: 12,
1170
1170
  height: 60,
1171
1171
  example: {
1172
- builder: (componentIdBuilder) => ({
1172
+ options: {
1173
1173
  component: "axis-components/switch",
1174
- id: componentIdBuilder?.("axis-components/switch"),
1174
+ id: "axis-components/switch#1",
1175
1175
  inuse: true,
1176
1176
  initValue: false
1177
- }),
1177
+ },
1178
1178
  }
1179
1179
  };
1180
1180