@next-bricks/visual-builder 1.19.0 → 1.20.0

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
@@ -45,63 +45,6 @@
45
45
  ],
46
46
  "methods": []
47
47
  },
48
- "visual-builder.workbench-sidebar": {
49
- "properties": [
50
- {
51
- "name": "titleLabel",
52
- "annotation": {
53
- "type": "keyword",
54
- "value": "string"
55
- }
56
- }
57
- ],
58
- "events": [],
59
- "methods": []
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
- "events": [],
103
- "methods": []
104
- },
105
48
  "visual-builder.check-editor-by-name": {
106
49
  "type": "provider",
107
50
  "params": [
@@ -132,6 +75,19 @@
132
75
  }
133
76
  }
134
77
  },
78
+ "visual-builder.workbench-sidebar": {
79
+ "properties": [
80
+ {
81
+ "name": "titleLabel",
82
+ "annotation": {
83
+ "type": "keyword",
84
+ "value": "string"
85
+ }
86
+ }
87
+ ],
88
+ "events": [],
89
+ "methods": []
90
+ },
135
91
  "visual-builder.page-arch-node": {
136
92
  "properties": [
137
93
  {
@@ -409,6 +365,50 @@
409
365
  }
410
366
  ]
411
367
  },
368
+ "visual-builder.workbench-action": {
369
+ "properties": [
370
+ {
371
+ "name": "icon",
372
+ "annotation": {
373
+ "type": "reference",
374
+ "typeName": {
375
+ "type": "identifier",
376
+ "name": "GeneralIconProps"
377
+ }
378
+ }
379
+ },
380
+ {
381
+ "name": "to",
382
+ "annotation": {
383
+ "type": "keyword",
384
+ "value": "string"
385
+ }
386
+ },
387
+ {
388
+ "name": "active",
389
+ "annotation": {
390
+ "type": "keyword",
391
+ "value": "boolean"
392
+ }
393
+ },
394
+ {
395
+ "name": "href",
396
+ "annotation": {
397
+ "type": "keyword",
398
+ "value": "string"
399
+ }
400
+ },
401
+ {
402
+ "name": "target",
403
+ "annotation": {
404
+ "type": "keyword",
405
+ "value": "string"
406
+ }
407
+ }
408
+ ],
409
+ "events": [],
410
+ "methods": []
411
+ },
412
412
  "visual-builder.pre-generated-preview": {
413
413
  "properties": [
414
414
  {
@@ -1244,6 +1244,15 @@
1244
1244
  }
1245
1245
  }
1246
1246
  }
1247
+ },
1248
+ {
1249
+ "name": "values.change",
1250
+ "detail": {
1251
+ "annotation": {
1252
+ "type": "keyword",
1253
+ "value": "any"
1254
+ }
1255
+ }
1247
1256
  }
1248
1257
  ],
1249
1258
  "methods": [
@@ -1756,122 +1765,348 @@
1756
1765
  }
1757
1766
  ]
1758
1767
  },
1759
- "visual-builder.workbench-tree": {
1760
- "properties": [
1761
- {
1762
- "name": "nodes",
1763
- "annotation": {
1764
- "type": "array",
1765
- "elementType": {
1766
- "type": "reference",
1767
- "typeName": {
1768
- "type": "identifier",
1769
- "name": "WorkbenchNodeData"
1770
- }
1771
- }
1772
- }
1773
- },
1774
- {
1775
- "name": "actions",
1776
- "annotation": {
1777
- "type": "array",
1778
- "elementType": {
1779
- "type": "reference",
1780
- "typeName": {
1781
- "type": "identifier",
1782
- "name": "WorkbenchTreeAction"
1783
- }
1784
- }
1785
- }
1786
- },
1787
- {
1788
- "name": "actionsHidden",
1789
- "annotation": {
1790
- "type": "keyword",
1791
- "value": "boolean"
1792
- }
1793
- },
1794
- {
1795
- "name": "placeholder",
1796
- "annotation": {
1797
- "type": "keyword",
1798
- "value": "string"
1799
- }
1800
- },
1801
- {
1802
- "name": "isTransformName",
1803
- "annotation": {
1804
- "type": "keyword",
1805
- "value": "boolean"
1806
- }
1807
- },
1768
+ "visual-builder.inject-preview-agent": {
1769
+ "type": "provider",
1770
+ "params": [
1808
1771
  {
1809
- "name": "searchPlaceholder",
1772
+ "name": "previewFromOrigin",
1810
1773
  "annotation": {
1811
1774
  "type": "keyword",
1812
1775
  "value": "string"
1813
1776
  }
1814
1777
  },
1815
1778
  {
1816
- "name": "noSearch",
1779
+ "name": "options",
1817
1780
  "annotation": {
1818
- "type": "keyword",
1819
- "value": "boolean"
1781
+ "type": "reference",
1782
+ "typeName": {
1783
+ "type": "identifier",
1784
+ "name": "PreviewStartOptions"
1785
+ }
1820
1786
  }
1821
- },
1822
- {
1823
- "name": "activeKey",
1824
- "annotation": {
1825
- "type": "union",
1826
- "types": [
1827
- {
1828
- "type": "keyword",
1829
- "value": "string"
1830
- },
1787
+ }
1788
+ ],
1789
+ "returns": {
1790
+ "annotation": {
1791
+ "type": "reference",
1792
+ "typeName": {
1793
+ "type": "identifier",
1794
+ "name": "Promise"
1795
+ },
1796
+ "typeParameters": {
1797
+ "type": "typeParameterInstantiation",
1798
+ "params": [
1831
1799
  {
1832
1800
  "type": "keyword",
1833
- "value": "number"
1801
+ "value": "unknown"
1834
1802
  }
1835
1803
  ]
1836
1804
  }
1837
- },
1838
- {
1839
- "name": "showMatchedNodeOnly",
1840
- "annotation": {
1841
- "type": "keyword",
1842
- "value": "boolean"
1843
- }
1844
- },
1805
+ }
1806
+ },
1807
+ "types": [
1845
1808
  {
1846
- "name": "matchNodeDataFields",
1847
- "annotation": {
1848
- "type": "union",
1849
- "types": [
1850
- {
1809
+ "type": "interface",
1810
+ "name": "PreviewStartOptions",
1811
+ "body": [
1812
+ {
1813
+ "type": "propertySignature",
1814
+ "key": {
1815
+ "type": "identifier",
1816
+ "name": "appId"
1817
+ },
1818
+ "annotation": {
1851
1819
  "type": "keyword",
1852
1820
  "value": "string"
1853
1821
  },
1854
- {
1855
- "type": "array",
1856
- "elementType": {
1857
- "type": "keyword",
1858
- "value": "string"
1859
- }
1860
- }
1861
- ]
1862
- }
1863
- },
1864
- {
1865
- "name": "fixedActionsFor",
1866
- "annotation": {
1867
- "type": "union",
1868
- "types": [
1869
- {
1870
- "type": "reference",
1871
- "typeName": {
1872
- "type": "identifier",
1873
- "name": "Record"
1874
- },
1822
+ "computed": false
1823
+ },
1824
+ {
1825
+ "type": "propertySignature",
1826
+ "key": {
1827
+ "type": "identifier",
1828
+ "name": "routeId"
1829
+ },
1830
+ "annotation": {
1831
+ "type": "keyword",
1832
+ "value": "string"
1833
+ },
1834
+ "optional": true,
1835
+ "computed": false
1836
+ },
1837
+ {
1838
+ "type": "propertySignature",
1839
+ "key": {
1840
+ "type": "identifier",
1841
+ "name": "templateId"
1842
+ },
1843
+ "annotation": {
1844
+ "type": "keyword",
1845
+ "value": "string"
1846
+ },
1847
+ "optional": true,
1848
+ "computed": false
1849
+ },
1850
+ {
1851
+ "type": "propertySignature",
1852
+ "key": {
1853
+ "type": "identifier",
1854
+ "name": "formId"
1855
+ },
1856
+ "annotation": {
1857
+ "type": "keyword",
1858
+ "value": "string"
1859
+ },
1860
+ "optional": true,
1861
+ "computed": false
1862
+ },
1863
+ {
1864
+ "type": "propertySignature",
1865
+ "key": {
1866
+ "type": "identifier",
1867
+ "name": "snippetData"
1868
+ },
1869
+ "annotation": {
1870
+ "type": "keyword",
1871
+ "value": "any"
1872
+ },
1873
+ "optional": true,
1874
+ "computed": false
1875
+ },
1876
+ {
1877
+ "type": "propertySignature",
1878
+ "key": {
1879
+ "type": "identifier",
1880
+ "name": "routePath"
1881
+ },
1882
+ "annotation": {
1883
+ "type": "keyword",
1884
+ "value": "string"
1885
+ },
1886
+ "optional": true,
1887
+ "computed": false
1888
+ },
1889
+ {
1890
+ "type": "propertySignature",
1891
+ "key": {
1892
+ "type": "identifier",
1893
+ "name": "routeExact"
1894
+ },
1895
+ "annotation": {
1896
+ "type": "keyword",
1897
+ "value": "boolean"
1898
+ },
1899
+ "optional": true,
1900
+ "computed": false
1901
+ },
1902
+ {
1903
+ "type": "propertySignature",
1904
+ "key": {
1905
+ "type": "identifier",
1906
+ "name": "settings"
1907
+ },
1908
+ "annotation": {
1909
+ "type": "reference",
1910
+ "typeName": {
1911
+ "type": "identifier",
1912
+ "name": "PreviewSettings"
1913
+ }
1914
+ },
1915
+ "optional": true,
1916
+ "computed": false
1917
+ },
1918
+ {
1919
+ "type": "propertySignature",
1920
+ "key": {
1921
+ "type": "identifier",
1922
+ "name": "updateStoryboardType"
1923
+ },
1924
+ "annotation": {
1925
+ "type": "reference",
1926
+ "typeName": {
1927
+ "type": "identifier",
1928
+ "name": "UpdateStoryboardType"
1929
+ }
1930
+ },
1931
+ "optional": true,
1932
+ "computed": false
1933
+ }
1934
+ ]
1935
+ },
1936
+ {
1937
+ "type": "interface",
1938
+ "name": "PreviewSettings",
1939
+ "body": [
1940
+ {
1941
+ "type": "propertySignature",
1942
+ "key": {
1943
+ "type": "identifier",
1944
+ "name": "properties"
1945
+ },
1946
+ "annotation": {
1947
+ "type": "reference",
1948
+ "typeName": {
1949
+ "type": "identifier",
1950
+ "name": "Record"
1951
+ },
1952
+ "typeParameters": {
1953
+ "type": "typeParameterInstantiation",
1954
+ "params": [
1955
+ {
1956
+ "type": "keyword",
1957
+ "value": "string"
1958
+ },
1959
+ {
1960
+ "type": "keyword",
1961
+ "value": "unknown"
1962
+ }
1963
+ ]
1964
+ }
1965
+ },
1966
+ "optional": true,
1967
+ "computed": false
1968
+ }
1969
+ ]
1970
+ },
1971
+ {
1972
+ "type": "typeAlias",
1973
+ "name": "UpdateStoryboardType",
1974
+ "annotation": {
1975
+ "type": "union",
1976
+ "types": [
1977
+ {
1978
+ "type": "jsLiteral",
1979
+ "value": "route"
1980
+ },
1981
+ {
1982
+ "type": "jsLiteral",
1983
+ "value": "template"
1984
+ },
1985
+ {
1986
+ "type": "jsLiteral",
1987
+ "value": "snippet"
1988
+ }
1989
+ ]
1990
+ }
1991
+ }
1992
+ ]
1993
+ },
1994
+ "visual-builder.workbench-tree": {
1995
+ "properties": [
1996
+ {
1997
+ "name": "nodes",
1998
+ "annotation": {
1999
+ "type": "array",
2000
+ "elementType": {
2001
+ "type": "reference",
2002
+ "typeName": {
2003
+ "type": "identifier",
2004
+ "name": "WorkbenchNodeData"
2005
+ }
2006
+ }
2007
+ }
2008
+ },
2009
+ {
2010
+ "name": "actions",
2011
+ "annotation": {
2012
+ "type": "array",
2013
+ "elementType": {
2014
+ "type": "reference",
2015
+ "typeName": {
2016
+ "type": "identifier",
2017
+ "name": "WorkbenchTreeAction"
2018
+ }
2019
+ }
2020
+ }
2021
+ },
2022
+ {
2023
+ "name": "actionsHidden",
2024
+ "annotation": {
2025
+ "type": "keyword",
2026
+ "value": "boolean"
2027
+ }
2028
+ },
2029
+ {
2030
+ "name": "placeholder",
2031
+ "annotation": {
2032
+ "type": "keyword",
2033
+ "value": "string"
2034
+ }
2035
+ },
2036
+ {
2037
+ "name": "isTransformName",
2038
+ "annotation": {
2039
+ "type": "keyword",
2040
+ "value": "boolean"
2041
+ }
2042
+ },
2043
+ {
2044
+ "name": "searchPlaceholder",
2045
+ "annotation": {
2046
+ "type": "keyword",
2047
+ "value": "string"
2048
+ }
2049
+ },
2050
+ {
2051
+ "name": "noSearch",
2052
+ "annotation": {
2053
+ "type": "keyword",
2054
+ "value": "boolean"
2055
+ }
2056
+ },
2057
+ {
2058
+ "name": "activeKey",
2059
+ "annotation": {
2060
+ "type": "union",
2061
+ "types": [
2062
+ {
2063
+ "type": "keyword",
2064
+ "value": "string"
2065
+ },
2066
+ {
2067
+ "type": "keyword",
2068
+ "value": "number"
2069
+ }
2070
+ ]
2071
+ }
2072
+ },
2073
+ {
2074
+ "name": "showMatchedNodeOnly",
2075
+ "annotation": {
2076
+ "type": "keyword",
2077
+ "value": "boolean"
2078
+ }
2079
+ },
2080
+ {
2081
+ "name": "matchNodeDataFields",
2082
+ "annotation": {
2083
+ "type": "union",
2084
+ "types": [
2085
+ {
2086
+ "type": "keyword",
2087
+ "value": "string"
2088
+ },
2089
+ {
2090
+ "type": "array",
2091
+ "elementType": {
2092
+ "type": "keyword",
2093
+ "value": "string"
2094
+ }
2095
+ }
2096
+ ]
2097
+ }
2098
+ },
2099
+ {
2100
+ "name": "fixedActionsFor",
2101
+ "annotation": {
2102
+ "type": "union",
2103
+ "types": [
2104
+ {
2105
+ "type": "reference",
2106
+ "typeName": {
2107
+ "type": "identifier",
2108
+ "name": "Record"
2109
+ },
1875
2110
  "typeParameters": {
1876
2111
  "type": "typeParameterInstantiation",
1877
2112
  "params": [
@@ -2509,231 +2744,5 @@
2509
2744
  ]
2510
2745
  }
2511
2746
  ]
2512
- },
2513
- "visual-builder.inject-preview-agent": {
2514
- "type": "provider",
2515
- "params": [
2516
- {
2517
- "name": "previewFromOrigin",
2518
- "annotation": {
2519
- "type": "keyword",
2520
- "value": "string"
2521
- }
2522
- },
2523
- {
2524
- "name": "options",
2525
- "annotation": {
2526
- "type": "reference",
2527
- "typeName": {
2528
- "type": "identifier",
2529
- "name": "PreviewStartOptions"
2530
- }
2531
- }
2532
- }
2533
- ],
2534
- "returns": {
2535
- "annotation": {
2536
- "type": "reference",
2537
- "typeName": {
2538
- "type": "identifier",
2539
- "name": "Promise"
2540
- },
2541
- "typeParameters": {
2542
- "type": "typeParameterInstantiation",
2543
- "params": [
2544
- {
2545
- "type": "keyword",
2546
- "value": "unknown"
2547
- }
2548
- ]
2549
- }
2550
- }
2551
- },
2552
- "types": [
2553
- {
2554
- "type": "interface",
2555
- "name": "PreviewStartOptions",
2556
- "body": [
2557
- {
2558
- "type": "propertySignature",
2559
- "key": {
2560
- "type": "identifier",
2561
- "name": "appId"
2562
- },
2563
- "annotation": {
2564
- "type": "keyword",
2565
- "value": "string"
2566
- },
2567
- "computed": false
2568
- },
2569
- {
2570
- "type": "propertySignature",
2571
- "key": {
2572
- "type": "identifier",
2573
- "name": "routeId"
2574
- },
2575
- "annotation": {
2576
- "type": "keyword",
2577
- "value": "string"
2578
- },
2579
- "optional": true,
2580
- "computed": false
2581
- },
2582
- {
2583
- "type": "propertySignature",
2584
- "key": {
2585
- "type": "identifier",
2586
- "name": "templateId"
2587
- },
2588
- "annotation": {
2589
- "type": "keyword",
2590
- "value": "string"
2591
- },
2592
- "optional": true,
2593
- "computed": false
2594
- },
2595
- {
2596
- "type": "propertySignature",
2597
- "key": {
2598
- "type": "identifier",
2599
- "name": "formId"
2600
- },
2601
- "annotation": {
2602
- "type": "keyword",
2603
- "value": "string"
2604
- },
2605
- "optional": true,
2606
- "computed": false
2607
- },
2608
- {
2609
- "type": "propertySignature",
2610
- "key": {
2611
- "type": "identifier",
2612
- "name": "snippetData"
2613
- },
2614
- "annotation": {
2615
- "type": "keyword",
2616
- "value": "any"
2617
- },
2618
- "optional": true,
2619
- "computed": false
2620
- },
2621
- {
2622
- "type": "propertySignature",
2623
- "key": {
2624
- "type": "identifier",
2625
- "name": "routePath"
2626
- },
2627
- "annotation": {
2628
- "type": "keyword",
2629
- "value": "string"
2630
- },
2631
- "optional": true,
2632
- "computed": false
2633
- },
2634
- {
2635
- "type": "propertySignature",
2636
- "key": {
2637
- "type": "identifier",
2638
- "name": "routeExact"
2639
- },
2640
- "annotation": {
2641
- "type": "keyword",
2642
- "value": "boolean"
2643
- },
2644
- "optional": true,
2645
- "computed": false
2646
- },
2647
- {
2648
- "type": "propertySignature",
2649
- "key": {
2650
- "type": "identifier",
2651
- "name": "settings"
2652
- },
2653
- "annotation": {
2654
- "type": "reference",
2655
- "typeName": {
2656
- "type": "identifier",
2657
- "name": "PreviewSettings"
2658
- }
2659
- },
2660
- "optional": true,
2661
- "computed": false
2662
- },
2663
- {
2664
- "type": "propertySignature",
2665
- "key": {
2666
- "type": "identifier",
2667
- "name": "updateStoryboardType"
2668
- },
2669
- "annotation": {
2670
- "type": "reference",
2671
- "typeName": {
2672
- "type": "identifier",
2673
- "name": "UpdateStoryboardType"
2674
- }
2675
- },
2676
- "optional": true,
2677
- "computed": false
2678
- }
2679
- ]
2680
- },
2681
- {
2682
- "type": "interface",
2683
- "name": "PreviewSettings",
2684
- "body": [
2685
- {
2686
- "type": "propertySignature",
2687
- "key": {
2688
- "type": "identifier",
2689
- "name": "properties"
2690
- },
2691
- "annotation": {
2692
- "type": "reference",
2693
- "typeName": {
2694
- "type": "identifier",
2695
- "name": "Record"
2696
- },
2697
- "typeParameters": {
2698
- "type": "typeParameterInstantiation",
2699
- "params": [
2700
- {
2701
- "type": "keyword",
2702
- "value": "string"
2703
- },
2704
- {
2705
- "type": "keyword",
2706
- "value": "unknown"
2707
- }
2708
- ]
2709
- }
2710
- },
2711
- "optional": true,
2712
- "computed": false
2713
- }
2714
- ]
2715
- },
2716
- {
2717
- "type": "typeAlias",
2718
- "name": "UpdateStoryboardType",
2719
- "annotation": {
2720
- "type": "union",
2721
- "types": [
2722
- {
2723
- "type": "jsLiteral",
2724
- "value": "route"
2725
- },
2726
- {
2727
- "type": "jsLiteral",
2728
- "value": "template"
2729
- },
2730
- {
2731
- "type": "jsLiteral",
2732
- "value": "snippet"
2733
- }
2734
- ]
2735
- }
2736
- }
2737
- ]
2738
2747
  }
2739
2748
  }