@divkitframework/jsonbuilder 1.0.0 → 1.1.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/es/jsonbuilder.js +60 -39
- package/dist/es/jsonbuilder.js.map +1 -1
- package/dist/jsonbuilder.d.ts +142 -74
- package/dist/jsonbuilder.js +61 -38
- package/dist/jsonbuilder.js.map +1 -1
- package/package.json +1 -2
package/dist/jsonbuilder.d.ts
CHANGED
|
@@ -310,7 +310,7 @@ interface IDivAspect {
|
|
|
310
310
|
ratio: Type<number> | DivExpression;
|
|
311
311
|
}
|
|
312
312
|
|
|
313
|
-
declare type DivBackground =
|
|
313
|
+
declare type DivBackground = DivLinearGradient | DivRadialGradient | DivImageBackground | DivSolidBackground;
|
|
314
314
|
|
|
315
315
|
interface IDivBase {
|
|
316
316
|
/**
|
|
@@ -370,7 +370,7 @@ interface IDivBase {
|
|
|
370
370
|
*/
|
|
371
371
|
paddings?: Type<IDivEdgeInsets>;
|
|
372
372
|
/**
|
|
373
|
-
* Merges cells in a string of the [grid](div-grid.
|
|
373
|
+
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
374
374
|
*/
|
|
375
375
|
row_span?: Type<number> | DivExpression;
|
|
376
376
|
/**
|
|
@@ -525,7 +525,7 @@ declare class DivContainer<T extends DivContainerProps = DivContainerProps> {
|
|
|
525
525
|
*/
|
|
526
526
|
action?: Type<IDivAction>;
|
|
527
527
|
/**
|
|
528
|
-
* Action animation. `
|
|
528
|
+
* Action animation. Web supports `fade`, `scale` and `set` only.
|
|
529
529
|
*/
|
|
530
530
|
action_animation?: Type<IDivAnimation>;
|
|
531
531
|
/**
|
|
@@ -594,6 +594,12 @@ declare class DivContainer<T extends DivContainerProps = DivContainerProps> {
|
|
|
594
594
|
* Nested elements.
|
|
595
595
|
*/
|
|
596
596
|
items: Type<NonEmptyArray<Div>>;
|
|
597
|
+
/**
|
|
598
|
+
* Method of placing elements. `wrap` value includes the transfer of elements to the next line if
|
|
599
|
+
* they did not fit in the previous one. If the value is set to `wrap`, then a separate line will
|
|
600
|
+
* be allocated for all elements with a size value of match_parent along the main axis.
|
|
601
|
+
*/
|
|
602
|
+
layout_mode?: Type<DivContainerLayoutMode> | DivExpression;
|
|
597
603
|
/**
|
|
598
604
|
* Action when long-clicking on an element.
|
|
599
605
|
*/
|
|
@@ -612,7 +618,7 @@ declare class DivContainer<T extends DivContainerProps = DivContainerProps> {
|
|
|
612
618
|
*/
|
|
613
619
|
paddings?: Type<IDivEdgeInsets>;
|
|
614
620
|
/**
|
|
615
|
-
* Merges cells in a string of the [grid](div-grid.
|
|
621
|
+
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
616
622
|
*/
|
|
617
623
|
row_span?: Type<number> | DivExpression;
|
|
618
624
|
/**
|
|
@@ -678,7 +684,7 @@ interface DivContainerProps {
|
|
|
678
684
|
*/
|
|
679
685
|
action?: Type<IDivAction>;
|
|
680
686
|
/**
|
|
681
|
-
* Action animation. `
|
|
687
|
+
* Action animation. Web supports `fade`, `scale` and `set` only.
|
|
682
688
|
*/
|
|
683
689
|
action_animation?: Type<IDivAnimation>;
|
|
684
690
|
/**
|
|
@@ -747,6 +753,12 @@ interface DivContainerProps {
|
|
|
747
753
|
* Nested elements.
|
|
748
754
|
*/
|
|
749
755
|
items: Type<NonEmptyArray<Div>>;
|
|
756
|
+
/**
|
|
757
|
+
* Method of placing elements. `wrap` value includes the transfer of elements to the next line if
|
|
758
|
+
* they did not fit in the previous one. If the value is set to `wrap`, then a separate line will
|
|
759
|
+
* be allocated for all elements with a size value of match_parent along the main axis.
|
|
760
|
+
*/
|
|
761
|
+
layout_mode?: Type<DivContainerLayoutMode> | DivExpression;
|
|
750
762
|
/**
|
|
751
763
|
* Action when long-clicking on an element.
|
|
752
764
|
*/
|
|
@@ -765,7 +777,7 @@ interface DivContainerProps {
|
|
|
765
777
|
*/
|
|
766
778
|
paddings?: Type<IDivEdgeInsets>;
|
|
767
779
|
/**
|
|
768
|
-
* Merges cells in a string of the [grid](div-grid.
|
|
780
|
+
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
769
781
|
*/
|
|
770
782
|
row_span?: Type<number> | DivExpression;
|
|
771
783
|
/**
|
|
@@ -820,6 +832,7 @@ interface DivContainerProps {
|
|
|
820
832
|
*/
|
|
821
833
|
width?: Type<DivSize>;
|
|
822
834
|
}
|
|
835
|
+
declare type DivContainerLayoutMode = 'no_wrap' | 'wrap';
|
|
823
836
|
declare type DivContainerOrientation = 'vertical' | 'horizontal' | 'overlap';
|
|
824
837
|
|
|
825
838
|
/**
|
|
@@ -922,7 +935,7 @@ declare class DivCustom<T extends DivCustomProps = DivCustomProps> {
|
|
|
922
935
|
*/
|
|
923
936
|
paddings?: Type<IDivEdgeInsets>;
|
|
924
937
|
/**
|
|
925
|
-
* Merges cells in a string of the [grid](div-grid.
|
|
938
|
+
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
926
939
|
*/
|
|
927
940
|
row_span?: Type<number> | DivExpression;
|
|
928
941
|
/**
|
|
@@ -1048,7 +1061,7 @@ interface DivCustomProps {
|
|
|
1048
1061
|
*/
|
|
1049
1062
|
paddings?: Type<IDivEdgeInsets>;
|
|
1050
1063
|
/**
|
|
1051
|
-
* Merges cells in a string of the [grid](div-grid.
|
|
1064
|
+
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
1052
1065
|
*/
|
|
1053
1066
|
row_span?: Type<number> | DivExpression;
|
|
1054
1067
|
/**
|
|
@@ -1408,7 +1421,7 @@ declare class DivGallery<T extends DivGalleryProps = DivGalleryProps> {
|
|
|
1408
1421
|
*/
|
|
1409
1422
|
restrict_parent_scroll?: Type<IntBoolean> | DivExpression;
|
|
1410
1423
|
/**
|
|
1411
|
-
* Merges cells in a string of the [grid](div-grid.
|
|
1424
|
+
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
1412
1425
|
*/
|
|
1413
1426
|
row_span?: Type<number> | DivExpression;
|
|
1414
1427
|
/**
|
|
@@ -1570,7 +1583,7 @@ interface DivGalleryProps {
|
|
|
1570
1583
|
*/
|
|
1571
1584
|
restrict_parent_scroll?: Type<IntBoolean> | DivExpression;
|
|
1572
1585
|
/**
|
|
1573
|
-
* Merges cells in a string of the [grid](div-grid.
|
|
1586
|
+
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
1574
1587
|
*/
|
|
1575
1588
|
row_span?: Type<number> | DivExpression;
|
|
1576
1589
|
/**
|
|
@@ -1648,7 +1661,7 @@ declare class DivGifImage<T extends DivGifImageProps = DivGifImageProps> {
|
|
|
1648
1661
|
*/
|
|
1649
1662
|
action?: Type<IDivAction>;
|
|
1650
1663
|
/**
|
|
1651
|
-
* Action animation. `
|
|
1664
|
+
* Action animation. Web supports `fade`, `scale` and `set` only.
|
|
1652
1665
|
*/
|
|
1653
1666
|
action_animation?: Type<IDivAnimation>;
|
|
1654
1667
|
/**
|
|
@@ -1742,7 +1755,7 @@ declare class DivGifImage<T extends DivGifImageProps = DivGifImageProps> {
|
|
|
1742
1755
|
*/
|
|
1743
1756
|
preview?: Type<string> | DivExpression;
|
|
1744
1757
|
/**
|
|
1745
|
-
* Merges cells in a string of the [grid](div-grid.
|
|
1758
|
+
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
1746
1759
|
*/
|
|
1747
1760
|
row_span?: Type<number> | DivExpression;
|
|
1748
1761
|
/**
|
|
@@ -1813,7 +1826,7 @@ interface DivGifImageProps {
|
|
|
1813
1826
|
*/
|
|
1814
1827
|
action?: Type<IDivAction>;
|
|
1815
1828
|
/**
|
|
1816
|
-
* Action animation. `
|
|
1829
|
+
* Action animation. Web supports `fade`, `scale` and `set` only.
|
|
1817
1830
|
*/
|
|
1818
1831
|
action_animation?: Type<IDivAnimation>;
|
|
1819
1832
|
/**
|
|
@@ -1907,7 +1920,7 @@ interface DivGifImageProps {
|
|
|
1907
1920
|
*/
|
|
1908
1921
|
preview?: Type<string> | DivExpression;
|
|
1909
1922
|
/**
|
|
1910
|
-
* Merges cells in a string of the [grid](div-grid.
|
|
1923
|
+
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
1911
1924
|
*/
|
|
1912
1925
|
row_span?: Type<number> | DivExpression;
|
|
1913
1926
|
/**
|
|
@@ -1968,33 +1981,6 @@ interface DivGifImageProps {
|
|
|
1968
1981
|
width?: Type<DivSize>;
|
|
1969
1982
|
}
|
|
1970
1983
|
|
|
1971
|
-
/**
|
|
1972
|
-
* Gradient background.
|
|
1973
|
-
*/
|
|
1974
|
-
declare class DivGradientBackground<T extends DivGradientBackgroundProps = DivGradientBackgroundProps> {
|
|
1975
|
-
readonly _props?: Exact<DivGradientBackgroundProps, T>;
|
|
1976
|
-
readonly type = "gradient";
|
|
1977
|
-
/**
|
|
1978
|
-
* Angle of gradient direction.
|
|
1979
|
-
*/
|
|
1980
|
-
angle?: Type<number> | DivExpression;
|
|
1981
|
-
/**
|
|
1982
|
-
* Colors. Gradient points will be located at an equal distance from each other.
|
|
1983
|
-
*/
|
|
1984
|
-
colors: Type<NonEmptyArray<string | DivExpression>>;
|
|
1985
|
-
constructor(props: Exact<DivGradientBackgroundProps, T>);
|
|
1986
|
-
}
|
|
1987
|
-
interface DivGradientBackgroundProps {
|
|
1988
|
-
/**
|
|
1989
|
-
* Angle of gradient direction.
|
|
1990
|
-
*/
|
|
1991
|
-
angle?: Type<number> | DivExpression;
|
|
1992
|
-
/**
|
|
1993
|
-
* Colors. Gradient points will be located at an equal distance from each other.
|
|
1994
|
-
*/
|
|
1995
|
-
colors: Type<NonEmptyArray<string | DivExpression>>;
|
|
1996
|
-
}
|
|
1997
|
-
|
|
1998
1984
|
/**
|
|
1999
1985
|
* A grid with an option to merge cells vertically and horizontally.
|
|
2000
1986
|
*/
|
|
@@ -2010,7 +1996,7 @@ declare class DivGrid<T extends DivGridProps = DivGridProps> {
|
|
|
2010
1996
|
*/
|
|
2011
1997
|
action?: Type<IDivAction>;
|
|
2012
1998
|
/**
|
|
2013
|
-
* Action animation. `
|
|
1999
|
+
* Action animation. Web supports `fade`, `scale` and `set` only.
|
|
2014
2000
|
*/
|
|
2015
2001
|
action_animation?: Type<IDivAnimation>;
|
|
2016
2002
|
/**
|
|
@@ -2094,7 +2080,7 @@ declare class DivGrid<T extends DivGridProps = DivGridProps> {
|
|
|
2094
2080
|
*/
|
|
2095
2081
|
paddings?: Type<IDivEdgeInsets>;
|
|
2096
2082
|
/**
|
|
2097
|
-
* Merges cells in a string of the [grid](div-grid.
|
|
2083
|
+
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
2098
2084
|
*/
|
|
2099
2085
|
row_span?: Type<number> | DivExpression;
|
|
2100
2086
|
/**
|
|
@@ -2160,7 +2146,7 @@ interface DivGridProps {
|
|
|
2160
2146
|
*/
|
|
2161
2147
|
action?: Type<IDivAction>;
|
|
2162
2148
|
/**
|
|
2163
|
-
* Action animation. `
|
|
2149
|
+
* Action animation. Web supports `fade`, `scale` and `set` only.
|
|
2164
2150
|
*/
|
|
2165
2151
|
action_animation?: Type<IDivAnimation>;
|
|
2166
2152
|
/**
|
|
@@ -2244,7 +2230,7 @@ interface DivGridProps {
|
|
|
2244
2230
|
*/
|
|
2245
2231
|
paddings?: Type<IDivEdgeInsets>;
|
|
2246
2232
|
/**
|
|
2247
|
-
* Merges cells in a string of the [grid](div-grid.
|
|
2233
|
+
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
2248
2234
|
*/
|
|
2249
2235
|
row_span?: Type<number> | DivExpression;
|
|
2250
2236
|
/**
|
|
@@ -2315,7 +2301,7 @@ declare class DivImage<T extends DivImageProps = DivImageProps> {
|
|
|
2315
2301
|
*/
|
|
2316
2302
|
action?: Type<IDivAction>;
|
|
2317
2303
|
/**
|
|
2318
|
-
* Action animation. `
|
|
2304
|
+
* Action animation. Web supports `fade`, `scale` and `set` only.
|
|
2319
2305
|
*/
|
|
2320
2306
|
action_animation?: Type<IDivAnimation>;
|
|
2321
2307
|
/**
|
|
@@ -2419,7 +2405,7 @@ declare class DivImage<T extends DivImageProps = DivImageProps> {
|
|
|
2419
2405
|
*/
|
|
2420
2406
|
preview?: Type<string> | DivExpression;
|
|
2421
2407
|
/**
|
|
2422
|
-
* Merges cells in a string of the [grid](div-grid.
|
|
2408
|
+
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
2423
2409
|
*/
|
|
2424
2410
|
row_span?: Type<number> | DivExpression;
|
|
2425
2411
|
/**
|
|
@@ -2494,7 +2480,7 @@ interface DivImageProps {
|
|
|
2494
2480
|
*/
|
|
2495
2481
|
action?: Type<IDivAction>;
|
|
2496
2482
|
/**
|
|
2497
|
-
* Action animation. `
|
|
2483
|
+
* Action animation. Web supports `fade`, `scale` and `set` only.
|
|
2498
2484
|
*/
|
|
2499
2485
|
action_animation?: Type<IDivAnimation>;
|
|
2500
2486
|
/**
|
|
@@ -2598,7 +2584,7 @@ interface DivImageProps {
|
|
|
2598
2584
|
*/
|
|
2599
2585
|
preview?: Type<string> | DivExpression;
|
|
2600
2586
|
/**
|
|
2601
|
-
* Merges cells in a string of the [grid](div-grid.
|
|
2587
|
+
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
2602
2588
|
*/
|
|
2603
2589
|
row_span?: Type<number> | DivExpression;
|
|
2604
2590
|
/**
|
|
@@ -2812,7 +2798,7 @@ declare class DivIndicator<T extends DivIndicatorProps = DivIndicatorProps> {
|
|
|
2812
2798
|
*/
|
|
2813
2799
|
pager_id?: Type<string>;
|
|
2814
2800
|
/**
|
|
2815
|
-
* Merges cells in a string of the [grid](div-grid.
|
|
2801
|
+
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
2816
2802
|
*/
|
|
2817
2803
|
row_span?: Type<number> | DivExpression;
|
|
2818
2804
|
/**
|
|
@@ -2959,7 +2945,7 @@ interface DivIndicatorProps {
|
|
|
2959
2945
|
*/
|
|
2960
2946
|
pager_id?: Type<string>;
|
|
2961
2947
|
/**
|
|
2962
|
-
* Merges cells in a string of the [grid](div-grid.
|
|
2948
|
+
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
2963
2949
|
*/
|
|
2964
2950
|
row_span?: Type<number> | DivExpression;
|
|
2965
2951
|
/**
|
|
@@ -3151,7 +3137,7 @@ declare class DivInput<T extends DivInputProps = DivInputProps> {
|
|
|
3151
3137
|
*/
|
|
3152
3138
|
paddings?: Type<IDivEdgeInsets>;
|
|
3153
3139
|
/**
|
|
3154
|
-
* Merges cells in a string of the [grid](div-grid.
|
|
3140
|
+
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
3155
3141
|
*/
|
|
3156
3142
|
row_span?: Type<number> | DivExpression;
|
|
3157
3143
|
/**
|
|
@@ -3330,7 +3316,7 @@ interface DivInputProps {
|
|
|
3330
3316
|
*/
|
|
3331
3317
|
paddings?: Type<IDivEdgeInsets>;
|
|
3332
3318
|
/**
|
|
3333
|
-
* Merges cells in a string of the [grid](div-grid.
|
|
3319
|
+
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
3334
3320
|
*/
|
|
3335
3321
|
row_span?: Type<number> | DivExpression;
|
|
3336
3322
|
/**
|
|
@@ -3410,6 +3396,33 @@ interface IDivInputNativeInterface {
|
|
|
3410
3396
|
|
|
3411
3397
|
declare type DivLineStyle = 'none' | 'single';
|
|
3412
3398
|
|
|
3399
|
+
/**
|
|
3400
|
+
* Linear gradient.
|
|
3401
|
+
*/
|
|
3402
|
+
declare class DivLinearGradient<T extends DivLinearGradientProps = DivLinearGradientProps> {
|
|
3403
|
+
readonly _props?: Exact<DivLinearGradientProps, T>;
|
|
3404
|
+
readonly type = "gradient";
|
|
3405
|
+
/**
|
|
3406
|
+
* Angle of gradient direction.
|
|
3407
|
+
*/
|
|
3408
|
+
angle?: Type<number> | DivExpression;
|
|
3409
|
+
/**
|
|
3410
|
+
* Colors. Gradient points will be located at an equal distance from each other.
|
|
3411
|
+
*/
|
|
3412
|
+
colors: Type<NonEmptyArray<string | DivExpression>>;
|
|
3413
|
+
constructor(props: Exact<DivLinearGradientProps, T>);
|
|
3414
|
+
}
|
|
3415
|
+
interface DivLinearGradientProps {
|
|
3416
|
+
/**
|
|
3417
|
+
* Angle of gradient direction.
|
|
3418
|
+
*/
|
|
3419
|
+
angle?: Type<number> | DivExpression;
|
|
3420
|
+
/**
|
|
3421
|
+
* Colors. Gradient points will be located at an equal distance from each other.
|
|
3422
|
+
*/
|
|
3423
|
+
colors: Type<NonEmptyArray<string | DivExpression>>;
|
|
3424
|
+
}
|
|
3425
|
+
|
|
3413
3426
|
/**
|
|
3414
3427
|
* Element size adjusts to a parent element.
|
|
3415
3428
|
*/
|
|
@@ -3567,7 +3580,7 @@ declare class DivPager<T extends DivPagerProps = DivPagerProps> {
|
|
|
3567
3580
|
*/
|
|
3568
3581
|
restrict_parent_scroll?: Type<IntBoolean> | DivExpression;
|
|
3569
3582
|
/**
|
|
3570
|
-
* Merges cells in a string of the [grid](div-grid.
|
|
3583
|
+
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
3571
3584
|
*/
|
|
3572
3585
|
row_span?: Type<number> | DivExpression;
|
|
3573
3586
|
/**
|
|
@@ -3715,7 +3728,7 @@ interface DivPagerProps {
|
|
|
3715
3728
|
*/
|
|
3716
3729
|
restrict_parent_scroll?: Type<IntBoolean> | DivExpression;
|
|
3717
3730
|
/**
|
|
3718
|
-
* Merges cells in a string of the [grid](div-grid.
|
|
3731
|
+
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
3719
3732
|
*/
|
|
3720
3733
|
row_span?: Type<number> | DivExpression;
|
|
3721
3734
|
/**
|
|
@@ -3884,6 +3897,53 @@ interface IDivPoint {
|
|
|
3884
3897
|
y: Type<IDivDimension>;
|
|
3885
3898
|
}
|
|
3886
3899
|
|
|
3900
|
+
/**
|
|
3901
|
+
* Radial gradient.
|
|
3902
|
+
*/
|
|
3903
|
+
declare class DivRadialGradient<T extends DivRadialGradientProps = DivRadialGradientProps> {
|
|
3904
|
+
readonly _props?: Exact<DivRadialGradientProps, T>;
|
|
3905
|
+
readonly type = "radial_gradient";
|
|
3906
|
+
/**
|
|
3907
|
+
* Shift of the central point of the gradient relative to the left edge along the X axis in the
|
|
3908
|
+
* range `0..1`.
|
|
3909
|
+
*/
|
|
3910
|
+
center_x?: Type<number> | DivExpression;
|
|
3911
|
+
/**
|
|
3912
|
+
* Shift of the central point of the gradient relative to the upper edge along the Y axis in the
|
|
3913
|
+
* range `0..1`.
|
|
3914
|
+
*/
|
|
3915
|
+
center_y?: Type<number> | DivExpression;
|
|
3916
|
+
/**
|
|
3917
|
+
* Colors. Gradient points will be located at an equal distance from each other.
|
|
3918
|
+
*/
|
|
3919
|
+
colors: Type<NonEmptyArray<string | DivExpression>>;
|
|
3920
|
+
/**
|
|
3921
|
+
* Radius of the gradient transition in `dp`.
|
|
3922
|
+
*/
|
|
3923
|
+
radius: Type<number> | DivExpression;
|
|
3924
|
+
constructor(props: Exact<DivRadialGradientProps, T>);
|
|
3925
|
+
}
|
|
3926
|
+
interface DivRadialGradientProps {
|
|
3927
|
+
/**
|
|
3928
|
+
* Shift of the central point of the gradient relative to the left edge along the X axis in the
|
|
3929
|
+
* range `0..1`.
|
|
3930
|
+
*/
|
|
3931
|
+
center_x?: Type<number> | DivExpression;
|
|
3932
|
+
/**
|
|
3933
|
+
* Shift of the central point of the gradient relative to the upper edge along the Y axis in the
|
|
3934
|
+
* range `0..1`.
|
|
3935
|
+
*/
|
|
3936
|
+
center_y?: Type<number> | DivExpression;
|
|
3937
|
+
/**
|
|
3938
|
+
* Colors. Gradient points will be located at an equal distance from each other.
|
|
3939
|
+
*/
|
|
3940
|
+
colors: Type<NonEmptyArray<string | DivExpression>>;
|
|
3941
|
+
/**
|
|
3942
|
+
* Radius of the gradient transition in `dp`.
|
|
3943
|
+
*/
|
|
3944
|
+
radius: Type<number> | DivExpression;
|
|
3945
|
+
}
|
|
3946
|
+
|
|
3887
3947
|
/**
|
|
3888
3948
|
* A rectangle with rounded corners.
|
|
3889
3949
|
*/
|
|
@@ -3995,7 +4055,7 @@ declare class DivSeparator<T extends DivSeparatorProps = DivSeparatorProps> {
|
|
|
3995
4055
|
*/
|
|
3996
4056
|
action?: Type<IDivAction>;
|
|
3997
4057
|
/**
|
|
3998
|
-
* Action animation. `
|
|
4058
|
+
* Action animation. Web supports `fade`, `scale` and `set` only.
|
|
3999
4059
|
*/
|
|
4000
4060
|
action_animation?: Type<IDivAnimation>;
|
|
4001
4061
|
/**
|
|
@@ -4067,7 +4127,7 @@ declare class DivSeparator<T extends DivSeparatorProps = DivSeparatorProps> {
|
|
|
4067
4127
|
*/
|
|
4068
4128
|
paddings?: Type<IDivEdgeInsets>;
|
|
4069
4129
|
/**
|
|
4070
|
-
* Merges cells in a string of the [grid](div-grid.
|
|
4130
|
+
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
4071
4131
|
*/
|
|
4072
4132
|
row_span?: Type<number> | DivExpression;
|
|
4073
4133
|
/**
|
|
@@ -4133,7 +4193,7 @@ interface DivSeparatorProps {
|
|
|
4133
4193
|
*/
|
|
4134
4194
|
action?: Type<IDivAction>;
|
|
4135
4195
|
/**
|
|
4136
|
-
* Action animation. `
|
|
4196
|
+
* Action animation. Web supports `fade`, `scale` and `set` only.
|
|
4137
4197
|
*/
|
|
4138
4198
|
action_animation?: Type<IDivAnimation>;
|
|
4139
4199
|
/**
|
|
@@ -4205,7 +4265,7 @@ interface DivSeparatorProps {
|
|
|
4205
4265
|
*/
|
|
4206
4266
|
paddings?: Type<IDivEdgeInsets>;
|
|
4207
4267
|
/**
|
|
4208
|
-
* Merges cells in a string of the [grid](div-grid.
|
|
4268
|
+
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
4209
4269
|
*/
|
|
4210
4270
|
row_span?: Type<number> | DivExpression;
|
|
4211
4271
|
/**
|
|
@@ -4311,7 +4371,7 @@ declare class DivShapeDrawable<T extends DivShapeDrawableProps = DivShapeDrawabl
|
|
|
4311
4371
|
*/
|
|
4312
4372
|
color: Type<string> | DivExpression;
|
|
4313
4373
|
/**
|
|
4314
|
-
*
|
|
4374
|
+
* Shape.
|
|
4315
4375
|
*/
|
|
4316
4376
|
shape: Type<DivShape>;
|
|
4317
4377
|
/**
|
|
@@ -4326,7 +4386,7 @@ interface DivShapeDrawableProps {
|
|
|
4326
4386
|
*/
|
|
4327
4387
|
color: Type<string> | DivExpression;
|
|
4328
4388
|
/**
|
|
4329
|
-
*
|
|
4389
|
+
* Shape.
|
|
4330
4390
|
*/
|
|
4331
4391
|
shape: Type<DivShape>;
|
|
4332
4392
|
/**
|
|
@@ -4468,7 +4528,7 @@ declare class DivSlider<T extends DivSliderProps = DivSliderProps> {
|
|
|
4468
4528
|
*/
|
|
4469
4529
|
paddings?: Type<IDivEdgeInsets>;
|
|
4470
4530
|
/**
|
|
4471
|
-
* Merges cells in a string of the [grid](div-grid.
|
|
4531
|
+
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
4472
4532
|
*/
|
|
4473
4533
|
row_span?: Type<number> | DivExpression;
|
|
4474
4534
|
/**
|
|
@@ -4634,7 +4694,7 @@ interface DivSliderProps {
|
|
|
4634
4694
|
*/
|
|
4635
4695
|
paddings?: Type<IDivEdgeInsets>;
|
|
4636
4696
|
/**
|
|
4637
|
-
* Merges cells in a string of the [grid](div-grid.
|
|
4697
|
+
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
4638
4698
|
*/
|
|
4639
4699
|
row_span?: Type<number> | DivExpression;
|
|
4640
4700
|
/**
|
|
@@ -4846,7 +4906,7 @@ declare class DivState<T extends DivStateProps = DivStateProps> {
|
|
|
4846
4906
|
*/
|
|
4847
4907
|
paddings?: Type<IDivEdgeInsets>;
|
|
4848
4908
|
/**
|
|
4849
|
-
* Merges cells in a string of the [grid](div-grid.
|
|
4909
|
+
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
4850
4910
|
*/
|
|
4851
4911
|
row_span?: Type<number> | DivExpression;
|
|
4852
4912
|
/**
|
|
@@ -4983,7 +5043,7 @@ interface DivStateProps {
|
|
|
4983
5043
|
*/
|
|
4984
5044
|
paddings?: Type<IDivEdgeInsets>;
|
|
4985
5045
|
/**
|
|
4986
|
-
* Merges cells in a string of the [grid](div-grid.
|
|
5046
|
+
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
4987
5047
|
*/
|
|
4988
5048
|
row_span?: Type<number> | DivExpression;
|
|
4989
5049
|
/**
|
|
@@ -5182,7 +5242,7 @@ declare class DivTabs<T extends DivTabsProps = DivTabsProps> {
|
|
|
5182
5242
|
*/
|
|
5183
5243
|
restrict_parent_scroll?: Type<IntBoolean> | DivExpression;
|
|
5184
5244
|
/**
|
|
5185
|
-
* Merges cells in a string of the [grid](div-grid.
|
|
5245
|
+
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
5186
5246
|
*/
|
|
5187
5247
|
row_span?: Type<number> | DivExpression;
|
|
5188
5248
|
/**
|
|
@@ -5344,7 +5404,7 @@ interface DivTabsProps {
|
|
|
5344
5404
|
*/
|
|
5345
5405
|
restrict_parent_scroll?: Type<IntBoolean> | DivExpression;
|
|
5346
5406
|
/**
|
|
5347
|
-
* Merges cells in a string of the [grid](div-grid.
|
|
5407
|
+
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
5348
5408
|
*/
|
|
5349
5409
|
row_span?: Type<number> | DivExpression;
|
|
5350
5410
|
/**
|
|
@@ -5538,7 +5598,7 @@ declare class DivText<T extends DivTextProps = DivTextProps> {
|
|
|
5538
5598
|
*/
|
|
5539
5599
|
action?: Type<IDivAction>;
|
|
5540
5600
|
/**
|
|
5541
|
-
* Action animation. `
|
|
5601
|
+
* Action animation. Web supports `fade`, `scale` and `set` only.
|
|
5542
5602
|
*/
|
|
5543
5603
|
action_animation?: Type<IDivAnimation>;
|
|
5544
5604
|
/**
|
|
@@ -5657,7 +5717,7 @@ declare class DivText<T extends DivTextProps = DivTextProps> {
|
|
|
5657
5717
|
*/
|
|
5658
5718
|
ranges?: Type<NonEmptyArray<IDivTextRange>>;
|
|
5659
5719
|
/**
|
|
5660
|
-
* Merges cells in a string of the [grid](div-grid.
|
|
5720
|
+
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
5661
5721
|
*/
|
|
5662
5722
|
row_span?: Type<number> | DivExpression;
|
|
5663
5723
|
/**
|
|
@@ -5692,7 +5752,7 @@ declare class DivText<T extends DivTextProps = DivTextProps> {
|
|
|
5692
5752
|
/**
|
|
5693
5753
|
* Gradient text color.
|
|
5694
5754
|
*/
|
|
5695
|
-
text_gradient?: Type<
|
|
5755
|
+
text_gradient?: Type<DivTextGradient>;
|
|
5696
5756
|
/**
|
|
5697
5757
|
* Tooltips linked to an element. A tooltip can be shown by `div-action://show_tooltip?id=`,
|
|
5698
5758
|
* hidden by `div-action://hide_tooltip?id=` where `id` — tooltip id.
|
|
@@ -5761,7 +5821,7 @@ interface DivTextProps {
|
|
|
5761
5821
|
*/
|
|
5762
5822
|
action?: Type<IDivAction>;
|
|
5763
5823
|
/**
|
|
5764
|
-
* Action animation. `
|
|
5824
|
+
* Action animation. Web supports `fade`, `scale` and `set` only.
|
|
5765
5825
|
*/
|
|
5766
5826
|
action_animation?: Type<IDivAnimation>;
|
|
5767
5827
|
/**
|
|
@@ -5880,7 +5940,7 @@ interface DivTextProps {
|
|
|
5880
5940
|
*/
|
|
5881
5941
|
ranges?: Type<NonEmptyArray<IDivTextRange>>;
|
|
5882
5942
|
/**
|
|
5883
|
-
* Merges cells in a string of the [grid](div-grid.
|
|
5943
|
+
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
5884
5944
|
*/
|
|
5885
5945
|
row_span?: Type<number> | DivExpression;
|
|
5886
5946
|
/**
|
|
@@ -5915,7 +5975,7 @@ interface DivTextProps {
|
|
|
5915
5975
|
/**
|
|
5916
5976
|
* Gradient text color.
|
|
5917
5977
|
*/
|
|
5918
|
-
text_gradient?: Type<
|
|
5978
|
+
text_gradient?: Type<DivTextGradient>;
|
|
5919
5979
|
/**
|
|
5920
5980
|
* Tooltips linked to an element. A tooltip can be shown by `div-action://show_tooltip?id=`,
|
|
5921
5981
|
* hidden by `div-action://hide_tooltip?id=` where `id` — tooltip id.
|
|
@@ -6084,6 +6144,8 @@ interface IDivTextRange {
|
|
|
6084
6144
|
underline?: Type<DivLineStyle> | DivExpression;
|
|
6085
6145
|
}
|
|
6086
6146
|
|
|
6147
|
+
declare type DivTextGradient = DivLinearGradient | DivRadialGradient;
|
|
6148
|
+
|
|
6087
6149
|
/**
|
|
6088
6150
|
* Tooltip.
|
|
6089
6151
|
*/
|
|
@@ -6354,6 +6416,12 @@ interface UrlVariableProps {
|
|
|
6354
6416
|
value: Type<string>;
|
|
6355
6417
|
}
|
|
6356
6418
|
|
|
6419
|
+
/**
|
|
6420
|
+
* @deprecated use DivLinearGradient instead.
|
|
6421
|
+
*/
|
|
6422
|
+
declare class DivGradientBackground extends DivLinearGradient {
|
|
6423
|
+
}
|
|
6424
|
+
|
|
6357
6425
|
declare function fixed(value: number, unit?: DivSizeUnit | undefined): DivFixedSize;
|
|
6358
6426
|
declare function matchParent(): DivMatchParentSize;
|
|
6359
6427
|
declare function weighted(weight: number): DivMatchParentSize;
|
|
@@ -6507,4 +6575,4 @@ declare function rewriteTemplateVersions<T extends ITemplates>(templates: T, res
|
|
|
6507
6575
|
};
|
|
6508
6576
|
};
|
|
6509
6577
|
|
|
6510
|
-
export { BooleanVariable, ColorVariable, DelimiterStyleOrientation, Div, DivAccessibilityMode, DivAccessibilityType, DivActionTarget, DivAlignmentHorizontal, DivAlignmentVertical, DivAnimationInterpolator, DivAnimationName, DivAppearanceSetTransition, DivAppearanceTransition, DivBackground, DivChangeBoundsTransition, DivChangeSetTransition, DivChangeTransition, DivContainer, DivContainerOrientation, DivCount, DivCustom, DivDrawable, DivExpression, DivFadeTransition, DivFixedCount, DivFixedSize, DivFontFamily, DivFontWeight, DivGallery, DivGalleryCrossContentAlignment, DivGalleryOrientation, DivGalleryScrollMode, DivGifImage, DivGradientBackground, DivGrid, DivImage, DivImageBackground, DivImageScale, DivIndicator, DivIndicatorAnimation, DivInfinityCount, DivInput, DivInputKeyboardType, DivLineStyle, DivMatchParentSize, DivNeighbourPageSize, DivPageSize, DivPager, DivPagerLayoutMode, DivPagerOrientation, DivPatchMode, DivPercentageSize, DivPivot, DivPivotFixed, DivPivotPercentage, DivRoundedRectangleShape, DivScaleTransition, DivSeparator, DivShape, DivShapeDrawable, DivSize, DivSizeUnit, DivSlideTransition, DivSlideTransitionEdge, DivSlider, DivSolidBackground, DivState, DivTabs, DivText, DivTextTruncate, DivTooltipPosition, DivTransitionSelector, DivTransitionTrigger, DivTriggerMode, DivVariable, DivVisibility, DivWrapContentSize, Exact, IDivAccessibility, IDivAction, IDivActionMenuItem, IDivAnimation, IDivAspect, IDivBase, IDivBorder, IDivCornersRadius, IDivData, IDivDataState, IDivDimension, IDivDownloadCallbacks, IDivEdgeInsets, IDivExtension, IDivFocus, IDivFocusNextFocusIds, IDivInputNativeInterface, IDivPatch, IDivPatchChange, IDivPoint, IDivSeparatorDelimiterStyle, IDivShadow, IDivSliderTextStyle, IDivStateState, IDivStroke, IDivTabsItem, IDivTabsTabTitleStyle, IDivTextEllipsis, IDivTextImage, IDivTextRange, IDivTooltip, IDivTransform, IDivTransitionBase, IDivTrigger, IDivVisibilityAction, ITemplates, IntBoolean, IntegerVariable, NonEmptyArray, NumberVariable, StringVariable, TabTitleStyleAnimationType, TemplateBlock, TemplateHelper, TemplatePropertyReference, TemplateResolvedAction, ThelperWithMemo, Type, UrlVariable, copyTemplates, divCard, escapeCard, escapeExpression, expression, fixed, getTemplateHash, isExternalTemplate, matchParent, reference, rewriteNames, rewriteRefs, rewriteTemplateVersions, runResolveDeps, template, templateHelper, templatesDepsMap, thelperVersion, thelperWithMemo, treeWalkDFS, weighted, wrapContent };
|
|
6578
|
+
export { BooleanVariable, BooleanVariableProps, ColorVariable, ColorVariableProps, DelimiterStyleOrientation, Div, DivAccessibilityMode, DivAccessibilityType, DivActionTarget, DivAlignmentHorizontal, DivAlignmentVertical, DivAnimationInterpolator, DivAnimationName, DivAppearanceSetTransition, DivAppearanceSetTransitionProps, DivAppearanceTransition, DivBackground, DivChangeBoundsTransition, DivChangeBoundsTransitionProps, DivChangeSetTransition, DivChangeSetTransitionProps, DivChangeTransition, DivContainer, DivContainerLayoutMode, DivContainerOrientation, DivContainerProps, DivCount, DivCustom, DivCustomProps, DivDrawable, DivExpression, DivFadeTransition, DivFadeTransitionProps, DivFixedCount, DivFixedCountProps, DivFixedSize, DivFixedSizeProps, DivFontFamily, DivFontWeight, DivGallery, DivGalleryCrossContentAlignment, DivGalleryOrientation, DivGalleryProps, DivGalleryScrollMode, DivGifImage, DivGifImageProps, DivGradientBackground, DivGrid, DivGridProps, DivImage, DivImageBackground, DivImageBackgroundProps, DivImageProps, DivImageScale, DivIndicator, DivIndicatorAnimation, DivIndicatorProps, DivInfinityCount, DivInfinityCountProps, DivInput, DivInputKeyboardType, DivInputProps, DivLineStyle, DivLinearGradient, DivLinearGradientProps, DivMatchParentSize, DivMatchParentSizeProps, DivNeighbourPageSize, DivNeighbourPageSizeProps, DivPageSize, DivPageSizeProps, DivPager, DivPagerLayoutMode, DivPagerOrientation, DivPagerProps, DivPatchMode, DivPercentageSize, DivPercentageSizeProps, DivPivot, DivPivotFixed, DivPivotFixedProps, DivPivotPercentage, DivPivotPercentageProps, DivRadialGradient, DivRadialGradientProps, DivRoundedRectangleShape, DivRoundedRectangleShapeProps, DivScaleTransition, DivScaleTransitionProps, DivSeparator, DivSeparatorProps, DivShape, DivShapeDrawable, DivShapeDrawableProps, DivSize, DivSizeUnit, DivSlideTransition, DivSlideTransitionEdge, DivSlideTransitionProps, DivSlider, DivSliderProps, DivSolidBackground, DivSolidBackgroundProps, DivState, DivStateProps, DivTabs, DivTabsProps, DivText, DivTextGradient, DivTextProps, DivTextTruncate, DivTooltipPosition, DivTransitionSelector, DivTransitionTrigger, DivTriggerMode, DivVariable, DivVisibility, DivWrapContentSize, DivWrapContentSizeProps, Exact, IDivAccessibility, IDivAction, IDivActionMenuItem, IDivAnimation, IDivAspect, IDivBase, IDivBorder, IDivCornersRadius, IDivData, IDivDataState, IDivDimension, IDivDownloadCallbacks, IDivEdgeInsets, IDivExtension, IDivFocus, IDivFocusNextFocusIds, IDivInputNativeInterface, IDivPatch, IDivPatchChange, IDivPoint, IDivSeparatorDelimiterStyle, IDivShadow, IDivSliderTextStyle, IDivStateState, IDivStroke, IDivTabsItem, IDivTabsTabTitleStyle, IDivTextEllipsis, IDivTextImage, IDivTextRange, IDivTooltip, IDivTransform, IDivTransitionBase, IDivTrigger, IDivVisibilityAction, ITemplates, IntBoolean, IntegerVariable, IntegerVariableProps, NonEmptyArray, NumberVariable, NumberVariableProps, StringVariable, StringVariableProps, TabTitleStyleAnimationType, TemplateBlock, TemplateHelper, TemplatePropertyReference, TemplateResolvedAction, ThelperWithMemo, Type, UrlVariable, UrlVariableProps, copyTemplates, divCard, escapeCard, escapeExpression, expression, fixed, getTemplateHash, isExternalTemplate, matchParent, reference, rewriteNames, rewriteRefs, rewriteTemplateVersions, runResolveDeps, template, templateHelper, templatesDepsMap, thelperVersion, thelperWithMemo, treeWalkDFS, weighted, wrapContent };
|