@next-bricks/visual-builder 1.36.19 → 1.36.20

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/types.json CHANGED
@@ -58,6 +58,57 @@
58
58
  "events": [],
59
59
  "methods": []
60
60
  },
61
+ "visual-builder.workbench-action": {
62
+ "properties": [
63
+ {
64
+ "name": "icon",
65
+ "annotation": {
66
+ "type": "reference",
67
+ "typeName": {
68
+ "type": "identifier",
69
+ "name": "GeneralIconProps"
70
+ }
71
+ }
72
+ },
73
+ {
74
+ "name": "to",
75
+ "annotation": {
76
+ "type": "keyword",
77
+ "value": "string"
78
+ }
79
+ },
80
+ {
81
+ "name": "active",
82
+ "annotation": {
83
+ "type": "keyword",
84
+ "value": "boolean"
85
+ }
86
+ },
87
+ {
88
+ "name": "href",
89
+ "annotation": {
90
+ "type": "keyword",
91
+ "value": "string"
92
+ }
93
+ },
94
+ {
95
+ "name": "target",
96
+ "annotation": {
97
+ "type": "keyword",
98
+ "value": "string"
99
+ }
100
+ },
101
+ {
102
+ "name": "tooltip",
103
+ "annotation": {
104
+ "type": "keyword",
105
+ "value": "string"
106
+ }
107
+ }
108
+ ],
109
+ "events": [],
110
+ "methods": []
111
+ },
61
112
  "visual-builder.page-arch-node": {
62
113
  "properties": [
63
114
  {
@@ -335,8 +386,9 @@
335
386
  }
336
387
  ]
337
388
  },
338
- "visual-builder.pre-generated-preview": {
339
- "properties": [
389
+ "visual-builder.batch-update-raw-data-generated-view": {
390
+ "type": "provider",
391
+ "params": [
340
392
  {
341
393
  "name": "generations",
342
394
  "annotation": {
@@ -345,58 +397,40 @@
345
397
  "type": "reference",
346
398
  "typeName": {
347
399
  "type": "identifier",
348
- "name": "AttributeGeneration"
400
+ "name": "GeneratedView"
349
401
  }
350
402
  }
351
403
  }
352
- },
353
- {
354
- "name": "category",
355
- "annotation": {
356
- "type": "reference",
357
- "typeName": {
358
- "type": "identifier",
359
- "name": "PreviewCategory"
360
- }
361
- }
362
- },
363
- {
364
- "name": "theme",
365
- "annotation": {
366
- "type": "keyword",
367
- "value": "string"
368
- }
369
- },
370
- {
371
- "name": "uiVersion",
372
- "annotation": {
373
- "type": "keyword",
374
- "value": "string"
375
- }
376
- },
377
- {
378
- "name": "app",
379
- "annotation": {
380
- "type": "reference",
381
- "typeName": {
382
- "type": "identifier",
383
- "name": "MicroApp"
384
- }
385
- }
386
404
  }
387
405
  ],
388
- "events": [],
389
- "methods": [],
406
+ "returns": {
407
+ "annotation": {
408
+ "type": "reference",
409
+ "typeName": {
410
+ "type": "identifier",
411
+ "name": "Promise"
412
+ },
413
+ "typeParameters": {
414
+ "type": "typeParameterInstantiation",
415
+ "params": [
416
+ {
417
+ "type": "keyword",
418
+ "value": "unknown"
419
+ }
420
+ ]
421
+ }
422
+ }
423
+ },
390
424
  "types": [
391
425
  {
392
426
  "type": "interface",
393
- "name": "AttributeGeneration",
427
+ "name": "GeneratedView",
394
428
  "body": [
395
429
  {
396
430
  "type": "propertySignature",
397
431
  "key": {
398
432
  "type": "identifier",
399
- "name": "instanceId"
433
+ "name": "attrInstanceId"
400
434
  },
401
435
  "annotation": {
402
436
  "type": "keyword",
@@ -408,7 +442,7 @@
408
442
  "type": "propertySignature",
409
443
  "key": {
410
444
  "type": "identifier",
411
- "name": "objectId"
445
+ "name": "input"
412
446
  },
413
447
  "annotation": {
414
448
  "type": "keyword",
@@ -420,7 +454,7 @@
420
454
  "type": "propertySignature",
421
455
  "key": {
422
456
  "type": "identifier",
423
- "name": "propertyId"
457
+ "name": "output"
424
458
  },
425
459
  "annotation": {
426
460
  "type": "keyword",
@@ -432,11 +466,14 @@
432
466
  "type": "propertySignature",
433
467
  "key": {
434
468
  "type": "identifier",
435
- "name": "propertyName"
469
+ "name": "list"
436
470
  },
437
471
  "annotation": {
438
- "type": "keyword",
439
- "value": "string"
472
+ "type": "array",
473
+ "elementType": {
474
+ "type": "keyword",
475
+ "value": "unknown"
476
+ }
440
477
  },
441
478
  "computed": false
442
479
  },
@@ -444,137 +481,40 @@
444
481
  "type": "propertySignature",
445
482
  "key": {
446
483
  "type": "identifier",
447
- "name": "displayLevel"
484
+ "name": "defaultVisualWeight"
448
485
  },
449
486
  "annotation": {
450
487
  "type": "keyword",
451
488
  "value": "number"
452
489
  },
490
+ "optional": true,
453
491
  "computed": false
454
492
  },
455
493
  {
456
494
  "type": "propertySignature",
457
495
  "key": {
458
496
  "type": "identifier",
459
- "name": "rwType"
497
+ "name": "systemPromptVersion"
460
498
  },
461
499
  "annotation": {
462
500
  "type": "keyword",
463
501
  "value": "string"
464
502
  },
465
- "computed": false
466
- },
467
- {
468
- "type": "propertySignature",
469
- "key": {
470
- "type": "identifier",
471
- "name": "category"
472
- },
473
- "annotation": {
474
- "type": "reference",
475
- "typeName": {
476
- "type": "identifier",
477
- "name": "PreviewCategory"
478
- }
479
- },
480
- "computed": false
481
- },
482
- {
483
- "type": "propertySignature",
484
- "key": {
485
- "type": "identifier",
486
- "name": "storyboard"
487
- },
488
- "annotation": {
489
- "type": "union",
490
- "types": [
491
- {
492
- "type": "reference",
493
- "typeName": {
494
- "type": "identifier",
495
- "name": "BrickConf"
496
- }
497
- },
498
- {
499
- "type": "array",
500
- "elementType": {
501
- "type": "reference",
502
- "typeName": {
503
- "type": "identifier",
504
- "name": "BrickConf"
505
- }
506
- }
507
- }
508
- ]
509
- },
510
- "computed": false
511
- },
512
- {
513
- "type": "propertySignature",
514
- "key": {
515
- "type": "identifier",
516
- "name": "mockData"
517
- },
518
- "annotation": {
519
- "type": "array",
520
- "elementType": {
521
- "type": "keyword",
522
- "value": "unknown"
523
- }
524
- },
503
+ "optional": true,
525
504
  "computed": false
526
505
  }
527
506
  ]
528
- },
529
- {
530
- "type": "typeAlias",
531
- "name": "PreviewCategory",
532
- "annotation": {
533
- "type": "union",
534
- "types": [
535
- {
536
- "type": "jsLiteral",
537
- "value": "detail-item"
538
- },
539
- {
540
- "type": "jsLiteral",
541
- "value": "form-item"
542
- },
543
- {
544
- "type": "jsLiteral",
545
- "value": "table-column"
546
- },
547
- {
548
- "type": "jsLiteral",
549
- "value": "card-item"
550
- },
551
- {
552
- "type": "jsLiteral",
553
- "value": "metric-item"
554
- },
555
- {
556
- "type": "jsLiteral",
557
- "value": "value"
558
- }
559
- ]
560
- }
561
507
  }
562
508
  ]
563
509
  },
564
- "visual-builder.batch-update-raw-data-generated-view": {
510
+ "visual-builder.check-editor-by-name": {
565
511
  "type": "provider",
566
512
  "params": [
567
513
  {
568
- "name": "generations",
514
+ "name": "name",
569
515
  "annotation": {
570
- "type": "array",
571
- "elementType": {
572
- "type": "reference",
573
- "typeName": {
574
- "type": "identifier",
575
- "name": "GeneratedView"
576
- }
577
- }
516
+ "type": "keyword",
517
+ "value": "string"
578
518
  }
579
519
  }
580
520
  ],
@@ -590,131 +530,16 @@
590
530
  "params": [
591
531
  {
592
532
  "type": "keyword",
593
- "value": "unknown"
533
+ "value": "boolean"
594
534
  }
595
535
  ]
596
536
  }
597
537
  }
598
- },
599
- "types": [
600
- {
601
- "type": "interface",
602
- "name": "GeneratedView",
603
- "body": [
604
- {
605
- "type": "propertySignature",
606
- "key": {
607
- "type": "identifier",
608
- "name": "attrInstanceId"
609
- },
610
- "annotation": {
611
- "type": "keyword",
612
- "value": "string"
613
- },
614
- "computed": false
615
- },
616
- {
617
- "type": "propertySignature",
618
- "key": {
619
- "type": "identifier",
620
- "name": "input"
621
- },
622
- "annotation": {
623
- "type": "keyword",
624
- "value": "string"
625
- },
626
- "computed": false
627
- },
628
- {
629
- "type": "propertySignature",
630
- "key": {
631
- "type": "identifier",
632
- "name": "output"
633
- },
634
- "annotation": {
635
- "type": "keyword",
636
- "value": "string"
637
- },
638
- "computed": false
639
- },
640
- {
641
- "type": "propertySignature",
642
- "key": {
643
- "type": "identifier",
644
- "name": "list"
645
- },
646
- "annotation": {
647
- "type": "array",
648
- "elementType": {
649
- "type": "keyword",
650
- "value": "unknown"
651
- }
652
- },
653
- "computed": false
654
- },
655
- {
656
- "type": "propertySignature",
657
- "key": {
658
- "type": "identifier",
659
- "name": "defaultVisualWeight"
660
- },
661
- "annotation": {
662
- "type": "keyword",
663
- "value": "number"
664
- },
665
- "optional": true,
666
- "computed": false
667
- },
668
- {
669
- "type": "propertySignature",
670
- "key": {
671
- "type": "identifier",
672
- "name": "systemPromptVersion"
673
- },
674
- "annotation": {
675
- "type": "keyword",
676
- "value": "string"
677
- },
678
- "optional": true,
679
- "computed": false
680
- }
681
- ]
682
- }
683
- ]
684
- },
685
- "visual-builder.check-editor-by-name": {
686
- "type": "provider",
687
- "params": [
688
- {
689
- "name": "name",
690
- "annotation": {
691
- "type": "keyword",
692
- "value": "string"
693
- }
694
- }
695
- ],
696
- "returns": {
697
- "annotation": {
698
- "type": "reference",
699
- "typeName": {
700
- "type": "identifier",
701
- "name": "Promise"
702
- },
703
- "typeParameters": {
704
- "type": "typeParameterInstantiation",
705
- "params": [
706
- {
707
- "type": "keyword",
708
- "value": "boolean"
709
- }
710
- ]
711
- }
712
- }
713
- }
714
- },
715
- "visual-builder.get-data-deps": {
716
- "type": "provider",
717
- "params": [
538
+ }
539
+ },
540
+ "visual-builder.get-data-deps": {
541
+ "type": "provider",
542
+ "params": [
718
543
  {
719
544
  "name": "contextConfs",
720
545
  "annotation": {
@@ -828,36 +653,262 @@
828
653
  "type": "keyword",
829
654
  "value": "boolean"
830
655
  },
831
- "optional": true,
656
+ "optional": true,
657
+ "computed": false
658
+ },
659
+ {
660
+ "type": "propertySignature",
661
+ "key": {
662
+ "type": "identifier",
663
+ "name": "strict"
664
+ },
665
+ "annotation": {
666
+ "type": "keyword",
667
+ "value": "boolean"
668
+ },
669
+ "optional": true,
670
+ "computed": false
671
+ },
672
+ {
673
+ "type": "propertySignature",
674
+ "key": {
675
+ "type": "identifier",
676
+ "name": "sensitive"
677
+ },
678
+ "annotation": {
679
+ "type": "keyword",
680
+ "value": "boolean"
681
+ },
682
+ "optional": true,
683
+ "computed": false
684
+ }
685
+ ]
686
+ }
687
+ ]
688
+ },
689
+ "visual-builder.pre-generated-preview": {
690
+ "properties": [
691
+ {
692
+ "name": "generations",
693
+ "annotation": {
694
+ "type": "array",
695
+ "elementType": {
696
+ "type": "reference",
697
+ "typeName": {
698
+ "type": "identifier",
699
+ "name": "AttributeGeneration"
700
+ }
701
+ }
702
+ }
703
+ },
704
+ {
705
+ "name": "category",
706
+ "annotation": {
707
+ "type": "reference",
708
+ "typeName": {
709
+ "type": "identifier",
710
+ "name": "PreviewCategory"
711
+ }
712
+ }
713
+ },
714
+ {
715
+ "name": "theme",
716
+ "annotation": {
717
+ "type": "keyword",
718
+ "value": "string"
719
+ }
720
+ },
721
+ {
722
+ "name": "uiVersion",
723
+ "annotation": {
724
+ "type": "keyword",
725
+ "value": "string"
726
+ }
727
+ },
728
+ {
729
+ "name": "app",
730
+ "annotation": {
731
+ "type": "reference",
732
+ "typeName": {
733
+ "type": "identifier",
734
+ "name": "MicroApp"
735
+ }
736
+ }
737
+ }
738
+ ],
739
+ "events": [],
740
+ "methods": [],
741
+ "types": [
742
+ {
743
+ "type": "interface",
744
+ "name": "AttributeGeneration",
745
+ "body": [
746
+ {
747
+ "type": "propertySignature",
748
+ "key": {
749
+ "type": "identifier",
750
+ "name": "instanceId"
751
+ },
752
+ "annotation": {
753
+ "type": "keyword",
754
+ "value": "string"
755
+ },
756
+ "computed": false
757
+ },
758
+ {
759
+ "type": "propertySignature",
760
+ "key": {
761
+ "type": "identifier",
762
+ "name": "objectId"
763
+ },
764
+ "annotation": {
765
+ "type": "keyword",
766
+ "value": "string"
767
+ },
768
+ "computed": false
769
+ },
770
+ {
771
+ "type": "propertySignature",
772
+ "key": {
773
+ "type": "identifier",
774
+ "name": "propertyId"
775
+ },
776
+ "annotation": {
777
+ "type": "keyword",
778
+ "value": "string"
779
+ },
780
+ "computed": false
781
+ },
782
+ {
783
+ "type": "propertySignature",
784
+ "key": {
785
+ "type": "identifier",
786
+ "name": "propertyName"
787
+ },
788
+ "annotation": {
789
+ "type": "keyword",
790
+ "value": "string"
791
+ },
792
+ "computed": false
793
+ },
794
+ {
795
+ "type": "propertySignature",
796
+ "key": {
797
+ "type": "identifier",
798
+ "name": "displayLevel"
799
+ },
800
+ "annotation": {
801
+ "type": "keyword",
802
+ "value": "number"
803
+ },
804
+ "computed": false
805
+ },
806
+ {
807
+ "type": "propertySignature",
808
+ "key": {
809
+ "type": "identifier",
810
+ "name": "rwType"
811
+ },
812
+ "annotation": {
813
+ "type": "keyword",
814
+ "value": "string"
815
+ },
816
+ "computed": false
817
+ },
818
+ {
819
+ "type": "propertySignature",
820
+ "key": {
821
+ "type": "identifier",
822
+ "name": "category"
823
+ },
824
+ "annotation": {
825
+ "type": "reference",
826
+ "typeName": {
827
+ "type": "identifier",
828
+ "name": "PreviewCategory"
829
+ }
830
+ },
832
831
  "computed": false
833
832
  },
834
833
  {
835
834
  "type": "propertySignature",
836
835
  "key": {
837
836
  "type": "identifier",
838
- "name": "strict"
837
+ "name": "storyboard"
839
838
  },
840
839
  "annotation": {
841
- "type": "keyword",
842
- "value": "boolean"
840
+ "type": "union",
841
+ "types": [
842
+ {
843
+ "type": "reference",
844
+ "typeName": {
845
+ "type": "identifier",
846
+ "name": "BrickConf"
847
+ }
848
+ },
849
+ {
850
+ "type": "array",
851
+ "elementType": {
852
+ "type": "reference",
853
+ "typeName": {
854
+ "type": "identifier",
855
+ "name": "BrickConf"
856
+ }
857
+ }
858
+ }
859
+ ]
843
860
  },
844
- "optional": true,
845
861
  "computed": false
846
862
  },
847
863
  {
848
864
  "type": "propertySignature",
849
865
  "key": {
850
866
  "type": "identifier",
851
- "name": "sensitive"
867
+ "name": "mockData"
852
868
  },
853
869
  "annotation": {
854
- "type": "keyword",
855
- "value": "boolean"
870
+ "type": "array",
871
+ "elementType": {
872
+ "type": "keyword",
873
+ "value": "unknown"
874
+ }
856
875
  },
857
- "optional": true,
858
876
  "computed": false
859
877
  }
860
878
  ]
879
+ },
880
+ {
881
+ "type": "typeAlias",
882
+ "name": "PreviewCategory",
883
+ "annotation": {
884
+ "type": "union",
885
+ "types": [
886
+ {
887
+ "type": "jsLiteral",
888
+ "value": "detail-item"
889
+ },
890
+ {
891
+ "type": "jsLiteral",
892
+ "value": "form-item"
893
+ },
894
+ {
895
+ "type": "jsLiteral",
896
+ "value": "table-column"
897
+ },
898
+ {
899
+ "type": "jsLiteral",
900
+ "value": "card-item"
901
+ },
902
+ {
903
+ "type": "jsLiteral",
904
+ "value": "metric-item"
905
+ },
906
+ {
907
+ "type": "jsLiteral",
908
+ "value": "value"
909
+ }
910
+ ]
911
+ }
861
912
  }
862
913
  ]
863
914
  },
@@ -889,56 +940,84 @@
889
940
  "events": [],
890
941
  "methods": []
891
942
  },
892
- "visual-builder.workbench-action": {
943
+ "visual-builder.workbench-action-list": {
893
944
  "properties": [
894
945
  {
895
- "name": "icon",
896
- "annotation": {
897
- "type": "reference",
898
- "typeName": {
899
- "type": "identifier",
900
- "name": "GeneralIconProps"
901
- }
902
- }
903
- },
904
- {
905
- "name": "to",
906
- "annotation": {
907
- "type": "keyword",
908
- "value": "string"
909
- }
910
- },
911
- {
912
- "name": "active",
913
- "annotation": {
914
- "type": "keyword",
915
- "value": "boolean"
916
- }
917
- },
918
- {
919
- "name": "href",
920
- "annotation": {
921
- "type": "keyword",
922
- "value": "string"
923
- }
924
- },
925
- {
926
- "name": "target",
946
+ "name": "appId",
927
947
  "annotation": {
928
948
  "type": "keyword",
929
949
  "value": "string"
930
950
  }
931
951
  },
932
952
  {
933
- "name": "tooltip",
953
+ "name": "menu",
934
954
  "annotation": {
935
- "type": "keyword",
936
- "value": "string"
955
+ "type": "reference",
956
+ "typeName": {
957
+ "type": "identifier",
958
+ "name": "SidebarMenu"
959
+ }
937
960
  }
938
961
  }
939
962
  ],
940
963
  "events": [],
941
- "methods": []
964
+ "methods": [],
965
+ "types": [
966
+ {
967
+ "type": "interface",
968
+ "name": "SidebarMenu",
969
+ "body": [
970
+ {
971
+ "type": "propertySignature",
972
+ "key": {
973
+ "type": "identifier",
974
+ "name": "title"
975
+ },
976
+ "annotation": {
977
+ "type": "keyword",
978
+ "value": "string"
979
+ },
980
+ "optional": true,
981
+ "computed": false
982
+ },
983
+ {
984
+ "type": "propertySignature",
985
+ "key": {
986
+ "type": "identifier",
987
+ "name": "icon"
988
+ },
989
+ "annotation": {
990
+ "type": "reference",
991
+ "typeName": {
992
+ "type": "identifier",
993
+ "name": "GeneralIconProps"
994
+ }
995
+ },
996
+ "optional": true,
997
+ "computed": false
998
+ },
999
+ {
1000
+ "type": "propertySignature",
1001
+ "key": {
1002
+ "type": "identifier",
1003
+ "name": "menuItems"
1004
+ },
1005
+ "annotation": {
1006
+ "type": "array",
1007
+ "elementType": {
1008
+ "type": "reference",
1009
+ "typeName": {
1010
+ "type": "identifier",
1011
+ "name": "SidebarMenuItem"
1012
+ }
1013
+ }
1014
+ },
1015
+ "optional": true,
1016
+ "computed": false
1017
+ }
1018
+ ]
1019
+ }
1020
+ ]
942
1021
  },
943
1022
  "visual-builder.get-dependency-tree": {
944
1023
  "type": "provider",
@@ -1140,85 +1219,6 @@
1140
1219
  }
1141
1220
  ]
1142
1221
  },
1143
- "visual-builder.workbench-action-list": {
1144
- "properties": [
1145
- {
1146
- "name": "appId",
1147
- "annotation": {
1148
- "type": "keyword",
1149
- "value": "string"
1150
- }
1151
- },
1152
- {
1153
- "name": "menu",
1154
- "annotation": {
1155
- "type": "reference",
1156
- "typeName": {
1157
- "type": "identifier",
1158
- "name": "SidebarMenu"
1159
- }
1160
- }
1161
- }
1162
- ],
1163
- "events": [],
1164
- "methods": [],
1165
- "types": [
1166
- {
1167
- "type": "interface",
1168
- "name": "SidebarMenu",
1169
- "body": [
1170
- {
1171
- "type": "propertySignature",
1172
- "key": {
1173
- "type": "identifier",
1174
- "name": "title"
1175
- },
1176
- "annotation": {
1177
- "type": "keyword",
1178
- "value": "string"
1179
- },
1180
- "optional": true,
1181
- "computed": false
1182
- },
1183
- {
1184
- "type": "propertySignature",
1185
- "key": {
1186
- "type": "identifier",
1187
- "name": "icon"
1188
- },
1189
- "annotation": {
1190
- "type": "reference",
1191
- "typeName": {
1192
- "type": "identifier",
1193
- "name": "GeneralIconProps"
1194
- }
1195
- },
1196
- "optional": true,
1197
- "computed": false
1198
- },
1199
- {
1200
- "type": "propertySignature",
1201
- "key": {
1202
- "type": "identifier",
1203
- "name": "menuItems"
1204
- },
1205
- "annotation": {
1206
- "type": "array",
1207
- "elementType": {
1208
- "type": "reference",
1209
- "typeName": {
1210
- "type": "identifier",
1211
- "name": "SidebarMenuItem"
1212
- }
1213
- }
1214
- },
1215
- "optional": true,
1216
- "computed": false
1217
- }
1218
- ]
1219
- }
1220
- ]
1221
- },
1222
1222
  "visual-builder.generate-snippets-context-menu": {
1223
1223
  "properties": [
1224
1224
  {