@divkitframework/jsonbuilder 21.0.0 → 22.0.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 +12 -6
- package/dist/es/jsonbuilder.js.map +1 -1
- package/dist/jsonbuilder.d.ts +290 -208
- package/dist/jsonbuilder.js +12 -6
- package/dist/jsonbuilder.js.map +1 -1
- package/package.json +1 -1
package/dist/jsonbuilder.d.ts
CHANGED
|
@@ -146,7 +146,7 @@ interface ColorVariableProps {
|
|
|
146
146
|
}
|
|
147
147
|
|
|
148
148
|
/**
|
|
149
|
-
* Sets
|
|
149
|
+
* Sets margins without regard to screen properties.
|
|
150
150
|
*/
|
|
151
151
|
interface IDivAbsoluteEdgeInsets {
|
|
152
152
|
/**
|
|
@@ -168,7 +168,7 @@ interface IDivAbsoluteEdgeInsets {
|
|
|
168
168
|
}
|
|
169
169
|
|
|
170
170
|
/**
|
|
171
|
-
* Accessibility
|
|
171
|
+
* Accessibility settings.
|
|
172
172
|
*/
|
|
173
173
|
interface IDivAccessibility {
|
|
174
174
|
/**
|
|
@@ -187,7 +187,7 @@ interface IDivAccessibility {
|
|
|
187
187
|
*/
|
|
188
188
|
mode?: Type<DivAccessibilityMode | DivExpression>;
|
|
189
189
|
/**
|
|
190
|
-
* Mutes the
|
|
190
|
+
* Mutes the screen reader sound after interacting with the element.
|
|
191
191
|
*/
|
|
192
192
|
mute_after_action?: Type<IntBoolean | DivExpression>;
|
|
193
193
|
/**
|
|
@@ -197,8 +197,7 @@ interface IDivAccessibility {
|
|
|
197
197
|
state_description?: Type<string | DivExpression>;
|
|
198
198
|
/**
|
|
199
199
|
* Element role. It is used for correct identification of an element by an accessibility service.
|
|
200
|
-
* The `list` element is used to group list items into a single element
|
|
201
|
-
* Android/iOS.
|
|
200
|
+
* The `list` element is used to group list items into a single element.
|
|
202
201
|
*/
|
|
203
202
|
type?: Type<DivAccessibilityType>;
|
|
204
203
|
}
|
|
@@ -330,12 +329,11 @@ interface DivAppearanceSetTransitionProps {
|
|
|
330
329
|
declare type DivAppearanceTransition = DivAppearanceSetTransition | DivFadeTransition | DivScaleTransition | DivSlideTransition;
|
|
331
330
|
|
|
332
331
|
/**
|
|
333
|
-
* Size with a fixed aspect ratio. It counts height from width and ignores
|
|
334
|
-
* values.
|
|
332
|
+
* Size with a fixed aspect ratio. It counts height from width and ignores `height` value.
|
|
335
333
|
*/
|
|
336
334
|
interface IDivAspect {
|
|
337
335
|
/**
|
|
338
|
-
* `
|
|
336
|
+
* `height = width / ratio`.
|
|
339
337
|
*/
|
|
340
338
|
ratio: Type<number | DivExpression>;
|
|
341
339
|
}
|
|
@@ -344,7 +342,7 @@ declare type DivBackground = DivLinearGradient | DivRadialGradient | DivImageBac
|
|
|
344
342
|
|
|
345
343
|
interface IDivBase {
|
|
346
344
|
/**
|
|
347
|
-
* Accessibility
|
|
345
|
+
* Accessibility settings.
|
|
348
346
|
*/
|
|
349
347
|
accessibility?: Type<IDivAccessibility>;
|
|
350
348
|
/**
|
|
@@ -414,8 +412,8 @@ interface IDivBase {
|
|
|
414
412
|
*/
|
|
415
413
|
tooltips?: Type<NonEmptyArray<IDivTooltip>>;
|
|
416
414
|
/**
|
|
417
|
-
*
|
|
418
|
-
*
|
|
415
|
+
* Applies the passed transformation to the element. Content that doesn't fit into the original
|
|
416
|
+
* view area is cut off.
|
|
419
417
|
*/
|
|
420
418
|
transform?: Type<IDivTransform>;
|
|
421
419
|
/**
|
|
@@ -465,14 +463,14 @@ declare class DivBlur<T extends DivBlurProps = DivBlurProps> {
|
|
|
465
463
|
readonly _props?: Exact<DivBlurProps, T>;
|
|
466
464
|
readonly type = "blur";
|
|
467
465
|
/**
|
|
468
|
-
* Defines how many pixels
|
|
466
|
+
* Blur radius. Defines how many pixels blend into each other. Specified in: `dp`.
|
|
469
467
|
*/
|
|
470
468
|
radius: Type<number | DivExpression>;
|
|
471
469
|
constructor(props: Exact<DivBlurProps, T>);
|
|
472
470
|
}
|
|
473
471
|
interface DivBlurProps {
|
|
474
472
|
/**
|
|
475
|
-
* Defines how many pixels
|
|
473
|
+
* Blur radius. Defines how many pixels blend into each other. Specified in: `dp`.
|
|
476
474
|
*/
|
|
477
475
|
radius: Type<number | DivExpression>;
|
|
478
476
|
}
|
|
@@ -560,7 +558,7 @@ interface DivChangeSetTransitionProps {
|
|
|
560
558
|
declare type DivChangeTransition = DivChangeSetTransition | DivChangeBoundsTransition;
|
|
561
559
|
|
|
562
560
|
/**
|
|
563
|
-
*
|
|
561
|
+
* Circle.
|
|
564
562
|
*/
|
|
565
563
|
declare class DivCircleShape<T extends DivCircleShapeProps = DivCircleShapeProps> {
|
|
566
564
|
readonly _props?: Exact<DivCircleShapeProps, T>;
|
|
@@ -587,7 +585,7 @@ declare class DivContainer<T extends DivContainerProps = DivContainerProps> {
|
|
|
587
585
|
readonly _props?: Exact<DivContainerProps, T>;
|
|
588
586
|
readonly type = "container";
|
|
589
587
|
/**
|
|
590
|
-
* Accessibility
|
|
588
|
+
* Accessibility settings.
|
|
591
589
|
*/
|
|
592
590
|
accessibility?: Type<IDivAccessibility>;
|
|
593
591
|
/**
|
|
@@ -595,7 +593,7 @@ declare class DivContainer<T extends DivContainerProps = DivContainerProps> {
|
|
|
595
593
|
*/
|
|
596
594
|
action?: Type<IDivAction>;
|
|
597
595
|
/**
|
|
598
|
-
*
|
|
596
|
+
* Click animation. The web only supports the following values: `fade`, `scale`, and `set`.
|
|
599
597
|
*/
|
|
600
598
|
action_animation?: Type<IDivAnimation>;
|
|
601
599
|
/**
|
|
@@ -614,6 +612,10 @@ declare class DivContainer<T extends DivContainerProps = DivContainerProps> {
|
|
|
614
612
|
* Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
|
|
615
613
|
*/
|
|
616
614
|
alpha?: Type<number | DivExpression>;
|
|
615
|
+
/**
|
|
616
|
+
* Size with a fixed aspect ratio. It counts height from width and ignores `height` value.
|
|
617
|
+
*/
|
|
618
|
+
aspect?: Type<IDivAspect>;
|
|
617
619
|
/**
|
|
618
620
|
* Element background. It can contain multiple layers.
|
|
619
621
|
*/
|
|
@@ -666,11 +668,10 @@ declare class DivContainer<T extends DivContainerProps = DivContainerProps> {
|
|
|
666
668
|
*/
|
|
667
669
|
items: Type<NonEmptyArray<Div>>;
|
|
668
670
|
/**
|
|
669
|
-
*
|
|
670
|
-
*
|
|
671
|
-
*
|
|
672
|
-
*
|
|
673
|
-
* will be ignored.
|
|
671
|
+
* Element placement method. The `wrap` value transfers elements to the next line if they don't
|
|
672
|
+
* fit in the previous one. If the `wrap` value is set:A separate line is allocated for each
|
|
673
|
+
* element along the main axis with the size value set to `match_parent`.Elements along the cross
|
|
674
|
+
* axis with the size value `match_parent` are ignored.
|
|
674
675
|
*/
|
|
675
676
|
layout_mode?: Type<DivContainerLayoutMode | DivExpression>;
|
|
676
677
|
/**
|
|
@@ -717,8 +718,8 @@ declare class DivContainer<T extends DivContainerProps = DivContainerProps> {
|
|
|
717
718
|
*/
|
|
718
719
|
tooltips?: Type<NonEmptyArray<IDivTooltip>>;
|
|
719
720
|
/**
|
|
720
|
-
*
|
|
721
|
-
*
|
|
721
|
+
* Applies the passed transformation to the element. Content that doesn't fit into the original
|
|
722
|
+
* view area is cut off.
|
|
722
723
|
*/
|
|
723
724
|
transform?: Type<IDivTransform>;
|
|
724
725
|
/**
|
|
@@ -761,7 +762,7 @@ declare class DivContainer<T extends DivContainerProps = DivContainerProps> {
|
|
|
761
762
|
}
|
|
762
763
|
interface DivContainerProps {
|
|
763
764
|
/**
|
|
764
|
-
* Accessibility
|
|
765
|
+
* Accessibility settings.
|
|
765
766
|
*/
|
|
766
767
|
accessibility?: Type<IDivAccessibility>;
|
|
767
768
|
/**
|
|
@@ -769,7 +770,7 @@ interface DivContainerProps {
|
|
|
769
770
|
*/
|
|
770
771
|
action?: Type<IDivAction>;
|
|
771
772
|
/**
|
|
772
|
-
*
|
|
773
|
+
* Click animation. The web only supports the following values: `fade`, `scale`, and `set`.
|
|
773
774
|
*/
|
|
774
775
|
action_animation?: Type<IDivAnimation>;
|
|
775
776
|
/**
|
|
@@ -788,6 +789,10 @@ interface DivContainerProps {
|
|
|
788
789
|
* Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
|
|
789
790
|
*/
|
|
790
791
|
alpha?: Type<number | DivExpression>;
|
|
792
|
+
/**
|
|
793
|
+
* Size with a fixed aspect ratio. It counts height from width and ignores `height` value.
|
|
794
|
+
*/
|
|
795
|
+
aspect?: Type<IDivAspect>;
|
|
791
796
|
/**
|
|
792
797
|
* Element background. It can contain multiple layers.
|
|
793
798
|
*/
|
|
@@ -840,11 +845,10 @@ interface DivContainerProps {
|
|
|
840
845
|
*/
|
|
841
846
|
items: Type<NonEmptyArray<Div>>;
|
|
842
847
|
/**
|
|
843
|
-
*
|
|
844
|
-
*
|
|
845
|
-
*
|
|
846
|
-
*
|
|
847
|
-
* will be ignored.
|
|
848
|
+
* Element placement method. The `wrap` value transfers elements to the next line if they don't
|
|
849
|
+
* fit in the previous one. If the `wrap` value is set:A separate line is allocated for each
|
|
850
|
+
* element along the main axis with the size value set to `match_parent`.Elements along the cross
|
|
851
|
+
* axis with the size value `match_parent` are ignored.
|
|
848
852
|
*/
|
|
849
853
|
layout_mode?: Type<DivContainerLayoutMode | DivExpression>;
|
|
850
854
|
/**
|
|
@@ -891,8 +895,8 @@ interface DivContainerProps {
|
|
|
891
895
|
*/
|
|
892
896
|
tooltips?: Type<NonEmptyArray<IDivTooltip>>;
|
|
893
897
|
/**
|
|
894
|
-
*
|
|
895
|
-
*
|
|
898
|
+
* Applies the passed transformation to the element. Content that doesn't fit into the original
|
|
899
|
+
* view area is cut off.
|
|
896
900
|
*/
|
|
897
901
|
transform?: Type<IDivTransform>;
|
|
898
902
|
/**
|
|
@@ -936,19 +940,19 @@ declare type DivContainerLayoutMode = 'no_wrap' | 'wrap';
|
|
|
936
940
|
declare type DivContainerOrientation = 'vertical' | 'horizontal' | 'overlap';
|
|
937
941
|
interface IDivContainerSeparator {
|
|
938
942
|
/**
|
|
939
|
-
* Enables
|
|
943
|
+
* Enables displaying the separator after the last item.
|
|
940
944
|
*/
|
|
941
945
|
show_at_end?: Type<IntBoolean | DivExpression>;
|
|
942
946
|
/**
|
|
943
|
-
* Enables
|
|
947
|
+
* Enables displaying the separator before the first item.
|
|
944
948
|
*/
|
|
945
949
|
show_at_start?: Type<IntBoolean | DivExpression>;
|
|
946
950
|
/**
|
|
947
|
-
* Enables
|
|
951
|
+
* Enables displaying the separator between items.
|
|
948
952
|
*/
|
|
949
953
|
show_between?: Type<IntBoolean | DivExpression>;
|
|
950
954
|
/**
|
|
951
|
-
*
|
|
955
|
+
* Separator style.
|
|
952
956
|
*/
|
|
953
957
|
style: Type<DivDrawable>;
|
|
954
958
|
}
|
|
@@ -985,7 +989,7 @@ declare class DivCustom<T extends DivCustomProps = DivCustomProps> {
|
|
|
985
989
|
readonly _props?: Exact<DivCustomProps, T>;
|
|
986
990
|
readonly type = "custom";
|
|
987
991
|
/**
|
|
988
|
-
* Accessibility
|
|
992
|
+
* Accessibility settings.
|
|
989
993
|
*/
|
|
990
994
|
accessibility?: Type<IDivAccessibility>;
|
|
991
995
|
/**
|
|
@@ -1067,8 +1071,8 @@ declare class DivCustom<T extends DivCustomProps = DivCustomProps> {
|
|
|
1067
1071
|
*/
|
|
1068
1072
|
tooltips?: Type<NonEmptyArray<IDivTooltip>>;
|
|
1069
1073
|
/**
|
|
1070
|
-
*
|
|
1071
|
-
*
|
|
1074
|
+
* Applies the passed transformation to the element. Content that doesn't fit into the original
|
|
1075
|
+
* view area is cut off.
|
|
1072
1076
|
*/
|
|
1073
1077
|
transform?: Type<IDivTransform>;
|
|
1074
1078
|
/**
|
|
@@ -1111,7 +1115,7 @@ declare class DivCustom<T extends DivCustomProps = DivCustomProps> {
|
|
|
1111
1115
|
}
|
|
1112
1116
|
interface DivCustomProps {
|
|
1113
1117
|
/**
|
|
1114
|
-
* Accessibility
|
|
1118
|
+
* Accessibility settings.
|
|
1115
1119
|
*/
|
|
1116
1120
|
accessibility?: Type<IDivAccessibility>;
|
|
1117
1121
|
/**
|
|
@@ -1193,8 +1197,8 @@ interface DivCustomProps {
|
|
|
1193
1197
|
*/
|
|
1194
1198
|
tooltips?: Type<NonEmptyArray<IDivTooltip>>;
|
|
1195
1199
|
/**
|
|
1196
|
-
*
|
|
1197
|
-
*
|
|
1200
|
+
* Applies the passed transformation to the element. Content that doesn't fit into the original
|
|
1201
|
+
* view area is cut off.
|
|
1198
1202
|
*/
|
|
1199
1203
|
transform?: Type<IDivTransform>;
|
|
1200
1204
|
/**
|
|
@@ -1242,16 +1246,16 @@ declare class DivDefaultIndicatorItemPlacement<T extends DivDefaultIndicatorItem
|
|
|
1242
1246
|
readonly _props?: Exact<DivDefaultIndicatorItemPlacementProps, T>;
|
|
1243
1247
|
readonly type = "default";
|
|
1244
1248
|
/**
|
|
1245
|
-
* Spacing between indicator centers.
|
|
1246
|
-
* instead.
|
|
1249
|
+
* Spacing between indicator centers. <br>The parameter is deprecated for Android, please use the
|
|
1250
|
+
* `items_placement` parameter instead.
|
|
1247
1251
|
*/
|
|
1248
1252
|
space_between_centers?: Type<DivFixedSize>;
|
|
1249
1253
|
constructor(props?: Exact<DivDefaultIndicatorItemPlacementProps, T>);
|
|
1250
1254
|
}
|
|
1251
1255
|
interface DivDefaultIndicatorItemPlacementProps {
|
|
1252
1256
|
/**
|
|
1253
|
-
* Spacing between indicator centers.
|
|
1254
|
-
* instead.
|
|
1257
|
+
* Spacing between indicator centers. <br>The parameter is deprecated for Android, please use the
|
|
1258
|
+
* `items_placement` parameter instead.
|
|
1255
1259
|
*/
|
|
1256
1260
|
space_between_centers?: Type<DivFixedSize>;
|
|
1257
1261
|
}
|
|
@@ -1424,7 +1428,7 @@ interface IDivFocus {
|
|
|
1424
1428
|
*/
|
|
1425
1429
|
background?: Type<NonEmptyArray<DivBackground>>;
|
|
1426
1430
|
/**
|
|
1427
|
-
* Border of an element when it
|
|
1431
|
+
* Border of an element when it's in focus.
|
|
1428
1432
|
*/
|
|
1429
1433
|
border?: Type<IDivBorder>;
|
|
1430
1434
|
/**
|
|
@@ -1462,7 +1466,7 @@ declare class DivGallery<T extends DivGalleryProps = DivGalleryProps> {
|
|
|
1462
1466
|
readonly _props?: Exact<DivGalleryProps, T>;
|
|
1463
1467
|
readonly type = "gallery";
|
|
1464
1468
|
/**
|
|
1465
|
-
* Accessibility
|
|
1469
|
+
* Accessibility settings.
|
|
1466
1470
|
*/
|
|
1467
1471
|
accessibility?: Type<IDivAccessibility>;
|
|
1468
1472
|
/**
|
|
@@ -1501,7 +1505,7 @@ declare class DivGallery<T extends DivGalleryProps = DivGalleryProps> {
|
|
|
1501
1505
|
*/
|
|
1502
1506
|
cross_content_alignment?: Type<DivGalleryCrossContentAlignment | DivExpression>;
|
|
1503
1507
|
/**
|
|
1504
|
-
* Spacing between elements across the scroll axis.
|
|
1508
|
+
* Spacing between elements across the scroll axis. By default, the value set to `item_spacing`.
|
|
1505
1509
|
*/
|
|
1506
1510
|
cross_spacing?: Type<number | DivExpression>;
|
|
1507
1511
|
/**
|
|
@@ -1584,8 +1588,8 @@ declare class DivGallery<T extends DivGalleryProps = DivGalleryProps> {
|
|
|
1584
1588
|
*/
|
|
1585
1589
|
tooltips?: Type<NonEmptyArray<IDivTooltip>>;
|
|
1586
1590
|
/**
|
|
1587
|
-
*
|
|
1588
|
-
*
|
|
1591
|
+
* Applies the passed transformation to the element. Content that doesn't fit into the original
|
|
1592
|
+
* view area is cut off.
|
|
1589
1593
|
*/
|
|
1590
1594
|
transform?: Type<IDivTransform>;
|
|
1591
1595
|
/**
|
|
@@ -1628,7 +1632,7 @@ declare class DivGallery<T extends DivGalleryProps = DivGalleryProps> {
|
|
|
1628
1632
|
}
|
|
1629
1633
|
interface DivGalleryProps {
|
|
1630
1634
|
/**
|
|
1631
|
-
* Accessibility
|
|
1635
|
+
* Accessibility settings.
|
|
1632
1636
|
*/
|
|
1633
1637
|
accessibility?: Type<IDivAccessibility>;
|
|
1634
1638
|
/**
|
|
@@ -1667,7 +1671,7 @@ interface DivGalleryProps {
|
|
|
1667
1671
|
*/
|
|
1668
1672
|
cross_content_alignment?: Type<DivGalleryCrossContentAlignment | DivExpression>;
|
|
1669
1673
|
/**
|
|
1670
|
-
* Spacing between elements across the scroll axis.
|
|
1674
|
+
* Spacing between elements across the scroll axis. By default, the value set to `item_spacing`.
|
|
1671
1675
|
*/
|
|
1672
1676
|
cross_spacing?: Type<number | DivExpression>;
|
|
1673
1677
|
/**
|
|
@@ -1750,8 +1754,8 @@ interface DivGalleryProps {
|
|
|
1750
1754
|
*/
|
|
1751
1755
|
tooltips?: Type<NonEmptyArray<IDivTooltip>>;
|
|
1752
1756
|
/**
|
|
1753
|
-
*
|
|
1754
|
-
*
|
|
1757
|
+
* Applies the passed transformation to the element. Content that doesn't fit into the original
|
|
1758
|
+
* view area is cut off.
|
|
1755
1759
|
*/
|
|
1756
1760
|
transform?: Type<IDivTransform>;
|
|
1757
1761
|
/**
|
|
@@ -1802,7 +1806,7 @@ declare class DivGifImage<T extends DivGifImageProps = DivGifImageProps> {
|
|
|
1802
1806
|
readonly _props?: Exact<DivGifImageProps, T>;
|
|
1803
1807
|
readonly type = "gif";
|
|
1804
1808
|
/**
|
|
1805
|
-
* Accessibility
|
|
1809
|
+
* Accessibility settings.
|
|
1806
1810
|
*/
|
|
1807
1811
|
accessibility?: Type<IDivAccessibility>;
|
|
1808
1812
|
/**
|
|
@@ -1810,7 +1814,7 @@ declare class DivGifImage<T extends DivGifImageProps = DivGifImageProps> {
|
|
|
1810
1814
|
*/
|
|
1811
1815
|
action?: Type<IDivAction>;
|
|
1812
1816
|
/**
|
|
1813
|
-
*
|
|
1817
|
+
* Click animation. The web only supports the following values: `fade`, `scale`, and `set`.
|
|
1814
1818
|
*/
|
|
1815
1819
|
action_animation?: Type<IDivAnimation>;
|
|
1816
1820
|
/**
|
|
@@ -1829,6 +1833,9 @@ declare class DivGifImage<T extends DivGifImageProps = DivGifImageProps> {
|
|
|
1829
1833
|
* Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
|
|
1830
1834
|
*/
|
|
1831
1835
|
alpha?: Type<number | DivExpression>;
|
|
1836
|
+
/**
|
|
1837
|
+
* Size with a fixed aspect ratio. It counts height from width and ignores `height` value.
|
|
1838
|
+
*/
|
|
1832
1839
|
aspect?: Type<IDivAspect>;
|
|
1833
1840
|
/**
|
|
1834
1841
|
* Element background. It can contain multiple layers.
|
|
@@ -1923,8 +1930,8 @@ declare class DivGifImage<T extends DivGifImageProps = DivGifImageProps> {
|
|
|
1923
1930
|
*/
|
|
1924
1931
|
tooltips?: Type<NonEmptyArray<IDivTooltip>>;
|
|
1925
1932
|
/**
|
|
1926
|
-
*
|
|
1927
|
-
*
|
|
1933
|
+
* Applies the passed transformation to the element. Content that doesn't fit into the original
|
|
1934
|
+
* view area is cut off.
|
|
1928
1935
|
*/
|
|
1929
1936
|
transform?: Type<IDivTransform>;
|
|
1930
1937
|
/**
|
|
@@ -1967,7 +1974,7 @@ declare class DivGifImage<T extends DivGifImageProps = DivGifImageProps> {
|
|
|
1967
1974
|
}
|
|
1968
1975
|
interface DivGifImageProps {
|
|
1969
1976
|
/**
|
|
1970
|
-
* Accessibility
|
|
1977
|
+
* Accessibility settings.
|
|
1971
1978
|
*/
|
|
1972
1979
|
accessibility?: Type<IDivAccessibility>;
|
|
1973
1980
|
/**
|
|
@@ -1975,7 +1982,7 @@ interface DivGifImageProps {
|
|
|
1975
1982
|
*/
|
|
1976
1983
|
action?: Type<IDivAction>;
|
|
1977
1984
|
/**
|
|
1978
|
-
*
|
|
1985
|
+
* Click animation. The web only supports the following values: `fade`, `scale`, and `set`.
|
|
1979
1986
|
*/
|
|
1980
1987
|
action_animation?: Type<IDivAnimation>;
|
|
1981
1988
|
/**
|
|
@@ -1994,6 +2001,9 @@ interface DivGifImageProps {
|
|
|
1994
2001
|
* Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
|
|
1995
2002
|
*/
|
|
1996
2003
|
alpha?: Type<number | DivExpression>;
|
|
2004
|
+
/**
|
|
2005
|
+
* Size with a fixed aspect ratio. It counts height from width and ignores `height` value.
|
|
2006
|
+
*/
|
|
1997
2007
|
aspect?: Type<IDivAspect>;
|
|
1998
2008
|
/**
|
|
1999
2009
|
* Element background. It can contain multiple layers.
|
|
@@ -2088,8 +2098,8 @@ interface DivGifImageProps {
|
|
|
2088
2098
|
*/
|
|
2089
2099
|
tooltips?: Type<NonEmptyArray<IDivTooltip>>;
|
|
2090
2100
|
/**
|
|
2091
|
-
*
|
|
2092
|
-
*
|
|
2101
|
+
* Applies the passed transformation to the element. Content that doesn't fit into the original
|
|
2102
|
+
* view area is cut off.
|
|
2093
2103
|
*/
|
|
2094
2104
|
transform?: Type<IDivTransform>;
|
|
2095
2105
|
/**
|
|
@@ -2137,7 +2147,7 @@ declare class DivGrid<T extends DivGridProps = DivGridProps> {
|
|
|
2137
2147
|
readonly _props?: Exact<DivGridProps, T>;
|
|
2138
2148
|
readonly type = "grid";
|
|
2139
2149
|
/**
|
|
2140
|
-
* Accessibility
|
|
2150
|
+
* Accessibility settings.
|
|
2141
2151
|
*/
|
|
2142
2152
|
accessibility?: Type<IDivAccessibility>;
|
|
2143
2153
|
/**
|
|
@@ -2145,7 +2155,7 @@ declare class DivGrid<T extends DivGridProps = DivGridProps> {
|
|
|
2145
2155
|
*/
|
|
2146
2156
|
action?: Type<IDivAction>;
|
|
2147
2157
|
/**
|
|
2148
|
-
*
|
|
2158
|
+
* Click animation. The web only supports the following values: `fade`, `scale`, and `set`.
|
|
2149
2159
|
*/
|
|
2150
2160
|
action_animation?: Type<IDivAnimation>;
|
|
2151
2161
|
/**
|
|
@@ -2243,8 +2253,8 @@ declare class DivGrid<T extends DivGridProps = DivGridProps> {
|
|
|
2243
2253
|
*/
|
|
2244
2254
|
tooltips?: Type<NonEmptyArray<IDivTooltip>>;
|
|
2245
2255
|
/**
|
|
2246
|
-
*
|
|
2247
|
-
*
|
|
2256
|
+
* Applies the passed transformation to the element. Content that doesn't fit into the original
|
|
2257
|
+
* view area is cut off.
|
|
2248
2258
|
*/
|
|
2249
2259
|
transform?: Type<IDivTransform>;
|
|
2250
2260
|
/**
|
|
@@ -2287,7 +2297,7 @@ declare class DivGrid<T extends DivGridProps = DivGridProps> {
|
|
|
2287
2297
|
}
|
|
2288
2298
|
interface DivGridProps {
|
|
2289
2299
|
/**
|
|
2290
|
-
* Accessibility
|
|
2300
|
+
* Accessibility settings.
|
|
2291
2301
|
*/
|
|
2292
2302
|
accessibility?: Type<IDivAccessibility>;
|
|
2293
2303
|
/**
|
|
@@ -2295,7 +2305,7 @@ interface DivGridProps {
|
|
|
2295
2305
|
*/
|
|
2296
2306
|
action?: Type<IDivAction>;
|
|
2297
2307
|
/**
|
|
2298
|
-
*
|
|
2308
|
+
* Click animation. The web only supports the following values: `fade`, `scale`, and `set`.
|
|
2299
2309
|
*/
|
|
2300
2310
|
action_animation?: Type<IDivAnimation>;
|
|
2301
2311
|
/**
|
|
@@ -2393,8 +2403,8 @@ interface DivGridProps {
|
|
|
2393
2403
|
*/
|
|
2394
2404
|
tooltips?: Type<NonEmptyArray<IDivTooltip>>;
|
|
2395
2405
|
/**
|
|
2396
|
-
*
|
|
2397
|
-
*
|
|
2406
|
+
* Applies the passed transformation to the element. Content that doesn't fit into the original
|
|
2407
|
+
* view area is cut off.
|
|
2398
2408
|
*/
|
|
2399
2409
|
transform?: Type<IDivTransform>;
|
|
2400
2410
|
/**
|
|
@@ -2442,7 +2452,7 @@ declare class DivImage<T extends DivImageProps = DivImageProps> {
|
|
|
2442
2452
|
readonly _props?: Exact<DivImageProps, T>;
|
|
2443
2453
|
readonly type = "image";
|
|
2444
2454
|
/**
|
|
2445
|
-
* Accessibility
|
|
2455
|
+
* Accessibility settings.
|
|
2446
2456
|
*/
|
|
2447
2457
|
accessibility?: Type<IDivAccessibility>;
|
|
2448
2458
|
/**
|
|
@@ -2450,7 +2460,7 @@ declare class DivImage<T extends DivImageProps = DivImageProps> {
|
|
|
2450
2460
|
*/
|
|
2451
2461
|
action?: Type<IDivAction>;
|
|
2452
2462
|
/**
|
|
2453
|
-
*
|
|
2463
|
+
* Click animation. The web only supports the following values: `fade`, `scale`, and `set`.
|
|
2454
2464
|
*/
|
|
2455
2465
|
action_animation?: Type<IDivAnimation>;
|
|
2456
2466
|
/**
|
|
@@ -2473,6 +2483,9 @@ declare class DivImage<T extends DivImageProps = DivImageProps> {
|
|
|
2473
2483
|
* Transparency animation when loading an image.
|
|
2474
2484
|
*/
|
|
2475
2485
|
appearance_animation?: Type<DivFadeTransition>;
|
|
2486
|
+
/**
|
|
2487
|
+
* Size with a fixed aspect ratio. It counts height from width and ignores `height` value.
|
|
2488
|
+
*/
|
|
2476
2489
|
aspect?: Type<IDivAspect>;
|
|
2477
2490
|
/**
|
|
2478
2491
|
* Element background. It can contain multiple layers.
|
|
@@ -2576,7 +2589,7 @@ declare class DivImage<T extends DivImageProps = DivImageProps> {
|
|
|
2576
2589
|
*/
|
|
2577
2590
|
tint_color?: Type<string | DivExpression>;
|
|
2578
2591
|
/**
|
|
2579
|
-
*
|
|
2592
|
+
* Blend mode of the color specified in `tint_color`.
|
|
2580
2593
|
*/
|
|
2581
2594
|
tint_mode?: Type<DivBlendMode | DivExpression>;
|
|
2582
2595
|
/**
|
|
@@ -2585,8 +2598,8 @@ declare class DivImage<T extends DivImageProps = DivImageProps> {
|
|
|
2585
2598
|
*/
|
|
2586
2599
|
tooltips?: Type<NonEmptyArray<IDivTooltip>>;
|
|
2587
2600
|
/**
|
|
2588
|
-
*
|
|
2589
|
-
*
|
|
2601
|
+
* Applies the passed transformation to the element. Content that doesn't fit into the original
|
|
2602
|
+
* view area is cut off.
|
|
2590
2603
|
*/
|
|
2591
2604
|
transform?: Type<IDivTransform>;
|
|
2592
2605
|
/**
|
|
@@ -2629,7 +2642,7 @@ declare class DivImage<T extends DivImageProps = DivImageProps> {
|
|
|
2629
2642
|
}
|
|
2630
2643
|
interface DivImageProps {
|
|
2631
2644
|
/**
|
|
2632
|
-
* Accessibility
|
|
2645
|
+
* Accessibility settings.
|
|
2633
2646
|
*/
|
|
2634
2647
|
accessibility?: Type<IDivAccessibility>;
|
|
2635
2648
|
/**
|
|
@@ -2637,7 +2650,7 @@ interface DivImageProps {
|
|
|
2637
2650
|
*/
|
|
2638
2651
|
action?: Type<IDivAction>;
|
|
2639
2652
|
/**
|
|
2640
|
-
*
|
|
2653
|
+
* Click animation. The web only supports the following values: `fade`, `scale`, and `set`.
|
|
2641
2654
|
*/
|
|
2642
2655
|
action_animation?: Type<IDivAnimation>;
|
|
2643
2656
|
/**
|
|
@@ -2660,6 +2673,9 @@ interface DivImageProps {
|
|
|
2660
2673
|
* Transparency animation when loading an image.
|
|
2661
2674
|
*/
|
|
2662
2675
|
appearance_animation?: Type<DivFadeTransition>;
|
|
2676
|
+
/**
|
|
2677
|
+
* Size with a fixed aspect ratio. It counts height from width and ignores `height` value.
|
|
2678
|
+
*/
|
|
2663
2679
|
aspect?: Type<IDivAspect>;
|
|
2664
2680
|
/**
|
|
2665
2681
|
* Element background. It can contain multiple layers.
|
|
@@ -2763,7 +2779,7 @@ interface DivImageProps {
|
|
|
2763
2779
|
*/
|
|
2764
2780
|
tint_color?: Type<string | DivExpression>;
|
|
2765
2781
|
/**
|
|
2766
|
-
*
|
|
2782
|
+
* Blend mode of the color specified in `tint_color`.
|
|
2767
2783
|
*/
|
|
2768
2784
|
tint_mode?: Type<DivBlendMode | DivExpression>;
|
|
2769
2785
|
/**
|
|
@@ -2772,8 +2788,8 @@ interface DivImageProps {
|
|
|
2772
2788
|
*/
|
|
2773
2789
|
tooltips?: Type<NonEmptyArray<IDivTooltip>>;
|
|
2774
2790
|
/**
|
|
2775
|
-
*
|
|
2776
|
-
*
|
|
2791
|
+
* Applies the passed transformation to the element. Content that doesn't fit into the original
|
|
2792
|
+
* view area is cut off.
|
|
2777
2793
|
*/
|
|
2778
2794
|
transform?: Type<IDivTransform>;
|
|
2779
2795
|
/**
|
|
@@ -2890,17 +2906,25 @@ declare class DivIndicator<T extends DivIndicatorProps = DivIndicatorProps> {
|
|
|
2890
2906
|
readonly _props?: Exact<DivIndicatorProps, T>;
|
|
2891
2907
|
readonly type = "indicator";
|
|
2892
2908
|
/**
|
|
2893
|
-
* Accessibility
|
|
2909
|
+
* Accessibility settings.
|
|
2894
2910
|
*/
|
|
2895
2911
|
accessibility?: Type<IDivAccessibility>;
|
|
2896
2912
|
/**
|
|
2897
2913
|
* Active indicator color.
|
|
2914
|
+
*
|
|
2915
|
+
* @deprecated
|
|
2898
2916
|
*/
|
|
2899
2917
|
active_item_color?: Type<string | DivExpression>;
|
|
2900
2918
|
/**
|
|
2901
2919
|
* A size multiplier for an active indicator.
|
|
2920
|
+
*
|
|
2921
|
+
* @deprecated
|
|
2902
2922
|
*/
|
|
2903
2923
|
active_item_size?: Type<number | DivExpression>;
|
|
2924
|
+
/**
|
|
2925
|
+
* Active indicator shape.
|
|
2926
|
+
*/
|
|
2927
|
+
active_shape?: Type<DivRoundedRectangleShape>;
|
|
2904
2928
|
/**
|
|
2905
2929
|
* Horizontal alignment of an element inside the parent element.
|
|
2906
2930
|
*/
|
|
@@ -2951,12 +2975,22 @@ declare class DivIndicator<T extends DivIndicatorProps = DivIndicatorProps> {
|
|
|
2951
2975
|
id?: Type<string>;
|
|
2952
2976
|
/**
|
|
2953
2977
|
* Indicator color.
|
|
2978
|
+
*
|
|
2979
|
+
* @deprecated
|
|
2954
2980
|
*/
|
|
2955
2981
|
inactive_item_color?: Type<string | DivExpression>;
|
|
2956
2982
|
/**
|
|
2957
|
-
*
|
|
2958
|
-
*
|
|
2959
|
-
|
|
2983
|
+
* Inactive minimum indicator shape. Used when the required number of indicators doesn't fit on
|
|
2984
|
+
* the screen.
|
|
2985
|
+
*/
|
|
2986
|
+
inactive_minimum_shape?: Type<DivRoundedRectangleShape>;
|
|
2987
|
+
/**
|
|
2988
|
+
* Indicator shape.
|
|
2989
|
+
*/
|
|
2990
|
+
inactive_shape?: Type<DivRoundedRectangleShape>;
|
|
2991
|
+
/**
|
|
2992
|
+
* Indicator items placement mode:Default: Indicators' width is fixed and defined by the `shape`
|
|
2993
|
+
* parameters.Stretch: Indicators are expanded to fill the entire width.
|
|
2960
2994
|
*/
|
|
2961
2995
|
items_placement?: Type<DivIndicatorItemPlacement>;
|
|
2962
2996
|
/**
|
|
@@ -2966,6 +3000,8 @@ declare class DivIndicator<T extends DivIndicatorProps = DivIndicatorProps> {
|
|
|
2966
3000
|
/**
|
|
2967
3001
|
* A size multiplier for a minimal indicator. It is used when the required number of indicators
|
|
2968
3002
|
* don't fit on the screen.
|
|
3003
|
+
*
|
|
3004
|
+
* @deprecated
|
|
2969
3005
|
*/
|
|
2970
3006
|
minimum_item_size?: Type<number | DivExpression>;
|
|
2971
3007
|
/**
|
|
@@ -2987,11 +3023,13 @@ declare class DivIndicator<T extends DivIndicatorProps = DivIndicatorProps> {
|
|
|
2987
3023
|
selected_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
2988
3024
|
/**
|
|
2989
3025
|
* Indicator shape.
|
|
3026
|
+
*
|
|
3027
|
+
* @deprecated
|
|
2990
3028
|
*/
|
|
2991
3029
|
shape?: Type<DivShape>;
|
|
2992
3030
|
/**
|
|
2993
|
-
* Spacing between indicator centers.
|
|
2994
|
-
* instead.
|
|
3031
|
+
* Spacing between indicator centers. <br>The parameter is deprecated for Android, please use the
|
|
3032
|
+
* `items_placement` parameter instead.
|
|
2995
3033
|
*
|
|
2996
3034
|
* @deprecated
|
|
2997
3035
|
*/
|
|
@@ -3002,8 +3040,8 @@ declare class DivIndicator<T extends DivIndicatorProps = DivIndicatorProps> {
|
|
|
3002
3040
|
*/
|
|
3003
3041
|
tooltips?: Type<NonEmptyArray<IDivTooltip>>;
|
|
3004
3042
|
/**
|
|
3005
|
-
*
|
|
3006
|
-
*
|
|
3043
|
+
* Applies the passed transformation to the element. Content that doesn't fit into the original
|
|
3044
|
+
* view area is cut off.
|
|
3007
3045
|
*/
|
|
3008
3046
|
transform?: Type<IDivTransform>;
|
|
3009
3047
|
/**
|
|
@@ -3046,17 +3084,25 @@ declare class DivIndicator<T extends DivIndicatorProps = DivIndicatorProps> {
|
|
|
3046
3084
|
}
|
|
3047
3085
|
interface DivIndicatorProps {
|
|
3048
3086
|
/**
|
|
3049
|
-
* Accessibility
|
|
3087
|
+
* Accessibility settings.
|
|
3050
3088
|
*/
|
|
3051
3089
|
accessibility?: Type<IDivAccessibility>;
|
|
3052
3090
|
/**
|
|
3053
3091
|
* Active indicator color.
|
|
3092
|
+
*
|
|
3093
|
+
* @deprecated
|
|
3054
3094
|
*/
|
|
3055
3095
|
active_item_color?: Type<string | DivExpression>;
|
|
3056
3096
|
/**
|
|
3057
3097
|
* A size multiplier for an active indicator.
|
|
3098
|
+
*
|
|
3099
|
+
* @deprecated
|
|
3058
3100
|
*/
|
|
3059
3101
|
active_item_size?: Type<number | DivExpression>;
|
|
3102
|
+
/**
|
|
3103
|
+
* Active indicator shape.
|
|
3104
|
+
*/
|
|
3105
|
+
active_shape?: Type<DivRoundedRectangleShape>;
|
|
3060
3106
|
/**
|
|
3061
3107
|
* Horizontal alignment of an element inside the parent element.
|
|
3062
3108
|
*/
|
|
@@ -3107,12 +3153,22 @@ interface DivIndicatorProps {
|
|
|
3107
3153
|
id?: Type<string>;
|
|
3108
3154
|
/**
|
|
3109
3155
|
* Indicator color.
|
|
3156
|
+
*
|
|
3157
|
+
* @deprecated
|
|
3110
3158
|
*/
|
|
3111
3159
|
inactive_item_color?: Type<string | DivExpression>;
|
|
3112
3160
|
/**
|
|
3113
|
-
*
|
|
3114
|
-
*
|
|
3115
|
-
|
|
3161
|
+
* Inactive minimum indicator shape. Used when the required number of indicators doesn't fit on
|
|
3162
|
+
* the screen.
|
|
3163
|
+
*/
|
|
3164
|
+
inactive_minimum_shape?: Type<DivRoundedRectangleShape>;
|
|
3165
|
+
/**
|
|
3166
|
+
* Indicator shape.
|
|
3167
|
+
*/
|
|
3168
|
+
inactive_shape?: Type<DivRoundedRectangleShape>;
|
|
3169
|
+
/**
|
|
3170
|
+
* Indicator items placement mode:Default: Indicators' width is fixed and defined by the `shape`
|
|
3171
|
+
* parameters.Stretch: Indicators are expanded to fill the entire width.
|
|
3116
3172
|
*/
|
|
3117
3173
|
items_placement?: Type<DivIndicatorItemPlacement>;
|
|
3118
3174
|
/**
|
|
@@ -3122,6 +3178,8 @@ interface DivIndicatorProps {
|
|
|
3122
3178
|
/**
|
|
3123
3179
|
* A size multiplier for a minimal indicator. It is used when the required number of indicators
|
|
3124
3180
|
* don't fit on the screen.
|
|
3181
|
+
*
|
|
3182
|
+
* @deprecated
|
|
3125
3183
|
*/
|
|
3126
3184
|
minimum_item_size?: Type<number | DivExpression>;
|
|
3127
3185
|
/**
|
|
@@ -3143,11 +3201,13 @@ interface DivIndicatorProps {
|
|
|
3143
3201
|
selected_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
3144
3202
|
/**
|
|
3145
3203
|
* Indicator shape.
|
|
3204
|
+
*
|
|
3205
|
+
* @deprecated
|
|
3146
3206
|
*/
|
|
3147
3207
|
shape?: Type<DivShape>;
|
|
3148
3208
|
/**
|
|
3149
|
-
* Spacing between indicator centers.
|
|
3150
|
-
* instead.
|
|
3209
|
+
* Spacing between indicator centers. <br>The parameter is deprecated for Android, please use the
|
|
3210
|
+
* `items_placement` parameter instead.
|
|
3151
3211
|
*
|
|
3152
3212
|
* @deprecated
|
|
3153
3213
|
*/
|
|
@@ -3158,8 +3218,8 @@ interface DivIndicatorProps {
|
|
|
3158
3218
|
*/
|
|
3159
3219
|
tooltips?: Type<NonEmptyArray<IDivTooltip>>;
|
|
3160
3220
|
/**
|
|
3161
|
-
*
|
|
3162
|
-
*
|
|
3221
|
+
* Applies the passed transformation to the element. Content that doesn't fit into the original
|
|
3222
|
+
* view area is cut off.
|
|
3163
3223
|
*/
|
|
3164
3224
|
transform?: Type<IDivTransform>;
|
|
3165
3225
|
/**
|
|
@@ -3221,7 +3281,7 @@ declare class DivInput<T extends DivInputProps = DivInputProps> {
|
|
|
3221
3281
|
readonly _props?: Exact<DivInputProps, T>;
|
|
3222
3282
|
readonly type = "input";
|
|
3223
3283
|
/**
|
|
3224
|
-
* Accessibility
|
|
3284
|
+
* Accessibility settings.
|
|
3225
3285
|
*/
|
|
3226
3286
|
accessibility?: Type<IDivAccessibility>;
|
|
3227
3287
|
/**
|
|
@@ -3318,7 +3378,7 @@ declare class DivInput<T extends DivInputProps = DivInputProps> {
|
|
|
3318
3378
|
*/
|
|
3319
3379
|
margins?: Type<IDivEdgeInsets>;
|
|
3320
3380
|
/**
|
|
3321
|
-
* Maximum number of lines
|
|
3381
|
+
* Maximum number of lines to be displayed in the input field.
|
|
3322
3382
|
*/
|
|
3323
3383
|
max_visible_lines?: Type<number | DivExpression>;
|
|
3324
3384
|
/**
|
|
@@ -3356,8 +3416,8 @@ declare class DivInput<T extends DivInputProps = DivInputProps> {
|
|
|
3356
3416
|
*/
|
|
3357
3417
|
tooltips?: Type<NonEmptyArray<IDivTooltip>>;
|
|
3358
3418
|
/**
|
|
3359
|
-
*
|
|
3360
|
-
*
|
|
3419
|
+
* Applies the passed transformation to the element. Content that doesn't fit into the original
|
|
3420
|
+
* view area is cut off.
|
|
3361
3421
|
*/
|
|
3362
3422
|
transform?: Type<IDivTransform>;
|
|
3363
3423
|
/**
|
|
@@ -3400,7 +3460,7 @@ declare class DivInput<T extends DivInputProps = DivInputProps> {
|
|
|
3400
3460
|
}
|
|
3401
3461
|
interface DivInputProps {
|
|
3402
3462
|
/**
|
|
3403
|
-
* Accessibility
|
|
3463
|
+
* Accessibility settings.
|
|
3404
3464
|
*/
|
|
3405
3465
|
accessibility?: Type<IDivAccessibility>;
|
|
3406
3466
|
/**
|
|
@@ -3497,7 +3557,7 @@ interface DivInputProps {
|
|
|
3497
3557
|
*/
|
|
3498
3558
|
margins?: Type<IDivEdgeInsets>;
|
|
3499
3559
|
/**
|
|
3500
|
-
* Maximum number of lines
|
|
3560
|
+
* Maximum number of lines to be displayed in the input field.
|
|
3501
3561
|
*/
|
|
3502
3562
|
max_visible_lines?: Type<number | DivExpression>;
|
|
3503
3563
|
/**
|
|
@@ -3535,8 +3595,8 @@ interface DivInputProps {
|
|
|
3535
3595
|
*/
|
|
3536
3596
|
tooltips?: Type<NonEmptyArray<IDivTooltip>>;
|
|
3537
3597
|
/**
|
|
3538
|
-
*
|
|
3539
|
-
*
|
|
3598
|
+
* Applies the passed transformation to the element. Content that doesn't fit into the original
|
|
3599
|
+
* view area is cut off.
|
|
3540
3600
|
*/
|
|
3541
3601
|
transform?: Type<IDivTransform>;
|
|
3542
3602
|
/**
|
|
@@ -3600,7 +3660,7 @@ declare class DivLinearGradient<T extends DivLinearGradientProps = DivLinearGrad
|
|
|
3600
3660
|
*/
|
|
3601
3661
|
angle?: Type<number | DivExpression>;
|
|
3602
3662
|
/**
|
|
3603
|
-
* Colors. Gradient points
|
|
3663
|
+
* Colors. Gradient points are located at an equal distance from each other.
|
|
3604
3664
|
*/
|
|
3605
3665
|
colors: Type<NonEmptyArray<string | DivExpression>>;
|
|
3606
3666
|
constructor(props: Exact<DivLinearGradientProps, T>);
|
|
@@ -3611,7 +3671,7 @@ interface DivLinearGradientProps {
|
|
|
3611
3671
|
*/
|
|
3612
3672
|
angle?: Type<number | DivExpression>;
|
|
3613
3673
|
/**
|
|
3614
|
-
* Colors. Gradient points
|
|
3674
|
+
* Colors. Gradient points are located at an equal distance from each other.
|
|
3615
3675
|
*/
|
|
3616
3676
|
colors: Type<NonEmptyArray<string | DivExpression>>;
|
|
3617
3677
|
}
|
|
@@ -3657,7 +3717,7 @@ interface DivNeighbourPageSizeProps {
|
|
|
3657
3717
|
}
|
|
3658
3718
|
|
|
3659
3719
|
/**
|
|
3660
|
-
* Image in
|
|
3720
|
+
* Image in 9-patch format (https://developer.android.com/studio/write/draw9patch).
|
|
3661
3721
|
*/
|
|
3662
3722
|
declare class DivNinePatchBackground<T extends DivNinePatchBackgroundProps = DivNinePatchBackgroundProps> {
|
|
3663
3723
|
readonly _props?: Exact<DivNinePatchBackgroundProps, T>;
|
|
@@ -3667,8 +3727,8 @@ declare class DivNinePatchBackground<T extends DivNinePatchBackgroundProps = Div
|
|
|
3667
3727
|
*/
|
|
3668
3728
|
image_url: Type<string | DivExpression>;
|
|
3669
3729
|
/**
|
|
3670
|
-
* Margins that break
|
|
3671
|
-
*
|
|
3730
|
+
* Margins that break the image into parts using the same rules as the CSS `border-image-slice`
|
|
3731
|
+
* property (https://developer.mozilla.org/en-US/docs/Web/CSS/border-image-slice).
|
|
3672
3732
|
*/
|
|
3673
3733
|
insets: Type<IDivAbsoluteEdgeInsets>;
|
|
3674
3734
|
constructor(props: Exact<DivNinePatchBackgroundProps, T>);
|
|
@@ -3679,8 +3739,8 @@ interface DivNinePatchBackgroundProps {
|
|
|
3679
3739
|
*/
|
|
3680
3740
|
image_url: Type<string | DivExpression>;
|
|
3681
3741
|
/**
|
|
3682
|
-
* Margins that break
|
|
3683
|
-
*
|
|
3742
|
+
* Margins that break the image into parts using the same rules as the CSS `border-image-slice`
|
|
3743
|
+
* property (https://developer.mozilla.org/en-US/docs/Web/CSS/border-image-slice).
|
|
3684
3744
|
*/
|
|
3685
3745
|
insets: Type<IDivAbsoluteEdgeInsets>;
|
|
3686
3746
|
}
|
|
@@ -3712,7 +3772,7 @@ declare class DivPager<T extends DivPagerProps = DivPagerProps> {
|
|
|
3712
3772
|
readonly _props?: Exact<DivPagerProps, T>;
|
|
3713
3773
|
readonly type = "pager";
|
|
3714
3774
|
/**
|
|
3715
|
-
* Accessibility
|
|
3775
|
+
* Accessibility settings.
|
|
3716
3776
|
*/
|
|
3717
3777
|
accessibility?: Type<IDivAccessibility>;
|
|
3718
3778
|
/**
|
|
@@ -3816,8 +3876,8 @@ declare class DivPager<T extends DivPagerProps = DivPagerProps> {
|
|
|
3816
3876
|
*/
|
|
3817
3877
|
tooltips?: Type<NonEmptyArray<IDivTooltip>>;
|
|
3818
3878
|
/**
|
|
3819
|
-
*
|
|
3820
|
-
*
|
|
3879
|
+
* Applies the passed transformation to the element. Content that doesn't fit into the original
|
|
3880
|
+
* view area is cut off.
|
|
3821
3881
|
*/
|
|
3822
3882
|
transform?: Type<IDivTransform>;
|
|
3823
3883
|
/**
|
|
@@ -3860,7 +3920,7 @@ declare class DivPager<T extends DivPagerProps = DivPagerProps> {
|
|
|
3860
3920
|
}
|
|
3861
3921
|
interface DivPagerProps {
|
|
3862
3922
|
/**
|
|
3863
|
-
* Accessibility
|
|
3923
|
+
* Accessibility settings.
|
|
3864
3924
|
*/
|
|
3865
3925
|
accessibility?: Type<IDivAccessibility>;
|
|
3866
3926
|
/**
|
|
@@ -3964,8 +4024,8 @@ interface DivPagerProps {
|
|
|
3964
4024
|
*/
|
|
3965
4025
|
tooltips?: Type<NonEmptyArray<IDivTooltip>>;
|
|
3966
4026
|
/**
|
|
3967
|
-
*
|
|
3968
|
-
*
|
|
4027
|
+
* Applies the passed transformation to the element. Content that doesn't fit into the original
|
|
4028
|
+
* view area is cut off.
|
|
3969
4029
|
*/
|
|
3970
4030
|
transform?: Type<IDivTransform>;
|
|
3971
4031
|
/**
|
|
@@ -4058,49 +4118,49 @@ interface DivPercentageSizeProps {
|
|
|
4058
4118
|
declare type DivPivot = DivPivotFixed | DivPivotPercentage;
|
|
4059
4119
|
|
|
4060
4120
|
/**
|
|
4061
|
-
*
|
|
4121
|
+
* Fixed coordinates of the rotation axis.
|
|
4062
4122
|
*/
|
|
4063
4123
|
declare class DivPivotFixed<T extends DivPivotFixedProps = DivPivotFixedProps> {
|
|
4064
4124
|
readonly _props?: Exact<DivPivotFixedProps, T>;
|
|
4065
4125
|
readonly type = "pivot-fixed";
|
|
4066
4126
|
/**
|
|
4067
|
-
*
|
|
4068
|
-
*
|
|
4127
|
+
* Measurement unit. To learn more about units of size measurement, see [Layout inside the
|
|
4128
|
+
* card](../../layout.dita).
|
|
4069
4129
|
*/
|
|
4070
4130
|
unit?: Type<DivSizeUnit | DivExpression>;
|
|
4071
4131
|
/**
|
|
4072
|
-
*
|
|
4132
|
+
* Coordinate value.
|
|
4073
4133
|
*/
|
|
4074
4134
|
value?: Type<number | DivExpression>;
|
|
4075
4135
|
constructor(props?: Exact<DivPivotFixedProps, T>);
|
|
4076
4136
|
}
|
|
4077
4137
|
interface DivPivotFixedProps {
|
|
4078
4138
|
/**
|
|
4079
|
-
*
|
|
4080
|
-
*
|
|
4139
|
+
* Measurement unit. To learn more about units of size measurement, see [Layout inside the
|
|
4140
|
+
* card](../../layout.dita).
|
|
4081
4141
|
*/
|
|
4082
4142
|
unit?: Type<DivSizeUnit | DivExpression>;
|
|
4083
4143
|
/**
|
|
4084
|
-
*
|
|
4144
|
+
* Coordinate value.
|
|
4085
4145
|
*/
|
|
4086
4146
|
value?: Type<number | DivExpression>;
|
|
4087
4147
|
}
|
|
4088
4148
|
|
|
4089
4149
|
/**
|
|
4090
|
-
* Location of the coordinate of the axis
|
|
4150
|
+
* Location of the coordinate of the rotation axis as a percentage relative to the element size.
|
|
4091
4151
|
*/
|
|
4092
4152
|
declare class DivPivotPercentage<T extends DivPivotPercentageProps = DivPivotPercentageProps> {
|
|
4093
4153
|
readonly _props?: Exact<DivPivotPercentageProps, T>;
|
|
4094
4154
|
readonly type = "pivot-percentage";
|
|
4095
4155
|
/**
|
|
4096
|
-
*
|
|
4156
|
+
* Coordinate value as a percentage.
|
|
4097
4157
|
*/
|
|
4098
4158
|
value: Type<number | DivExpression>;
|
|
4099
4159
|
constructor(props: Exact<DivPivotPercentageProps, T>);
|
|
4100
4160
|
}
|
|
4101
4161
|
interface DivPivotPercentageProps {
|
|
4102
4162
|
/**
|
|
4103
|
-
*
|
|
4163
|
+
* Coordinate value as a percentage.
|
|
4104
4164
|
*/
|
|
4105
4165
|
value: Type<number | DivExpression>;
|
|
4106
4166
|
}
|
|
@@ -4130,11 +4190,11 @@ declare class DivRadialGradient<T extends DivRadialGradientProps = DivRadialGrad
|
|
|
4130
4190
|
*/
|
|
4131
4191
|
center_x?: Type<DivRadialGradientCenter>;
|
|
4132
4192
|
/**
|
|
4133
|
-
* Shift of the central point of the gradient relative to the
|
|
4193
|
+
* Shift of the central point of the gradient relative to the top edge along the Y axis.
|
|
4134
4194
|
*/
|
|
4135
4195
|
center_y?: Type<DivRadialGradientCenter>;
|
|
4136
4196
|
/**
|
|
4137
|
-
* Colors. Gradient points
|
|
4197
|
+
* Colors. Gradient points are located at an equal distance from each other.
|
|
4138
4198
|
*/
|
|
4139
4199
|
colors: Type<NonEmptyArray<string | DivExpression>>;
|
|
4140
4200
|
/**
|
|
@@ -4149,11 +4209,11 @@ interface DivRadialGradientProps {
|
|
|
4149
4209
|
*/
|
|
4150
4210
|
center_x?: Type<DivRadialGradientCenter>;
|
|
4151
4211
|
/**
|
|
4152
|
-
* Shift of the central point of the gradient relative to the
|
|
4212
|
+
* Shift of the central point of the gradient relative to the top edge along the Y axis.
|
|
4153
4213
|
*/
|
|
4154
4214
|
center_y?: Type<DivRadialGradientCenter>;
|
|
4155
4215
|
/**
|
|
4156
|
-
* Colors. Gradient points
|
|
4216
|
+
* Colors. Gradient points are located at an equal distance from each other.
|
|
4157
4217
|
*/
|
|
4158
4218
|
colors: Type<NonEmptyArray<string | DivExpression>>;
|
|
4159
4219
|
/**
|
|
@@ -4165,7 +4225,7 @@ interface DivRadialGradientProps {
|
|
|
4165
4225
|
declare type DivRadialGradientCenter = DivRadialGradientFixedCenter | DivRadialGradientRelativeCenter;
|
|
4166
4226
|
|
|
4167
4227
|
/**
|
|
4168
|
-
* Fixed central point of the gradient.
|
|
4228
|
+
* Fixed coordinates of the central point of the gradient.
|
|
4169
4229
|
*/
|
|
4170
4230
|
declare class DivRadialGradientFixedCenter<T extends DivRadialGradientFixedCenterProps = DivRadialGradientFixedCenterProps> {
|
|
4171
4231
|
readonly _props?: Exact<DivRadialGradientFixedCenterProps, T>;
|
|
@@ -4176,7 +4236,7 @@ declare class DivRadialGradientFixedCenter<T extends DivRadialGradientFixedCente
|
|
|
4176
4236
|
*/
|
|
4177
4237
|
unit?: Type<DivSizeUnit | DivExpression>;
|
|
4178
4238
|
/**
|
|
4179
|
-
*
|
|
4239
|
+
* Coordinate value.
|
|
4180
4240
|
*/
|
|
4181
4241
|
value: Type<number | DivExpression>;
|
|
4182
4242
|
constructor(props: Exact<DivRadialGradientFixedCenterProps, T>);
|
|
@@ -4188,7 +4248,7 @@ interface DivRadialGradientFixedCenterProps {
|
|
|
4188
4248
|
*/
|
|
4189
4249
|
unit?: Type<DivSizeUnit | DivExpression>;
|
|
4190
4250
|
/**
|
|
4191
|
-
*
|
|
4251
|
+
* Coordinate value.
|
|
4192
4252
|
*/
|
|
4193
4253
|
value: Type<number | DivExpression>;
|
|
4194
4254
|
}
|
|
@@ -4196,20 +4256,20 @@ interface DivRadialGradientFixedCenterProps {
|
|
|
4196
4256
|
declare type DivRadialGradientRadius = DivFixedSize | DivRadialGradientRelativeRadius;
|
|
4197
4257
|
|
|
4198
4258
|
/**
|
|
4199
|
-
*
|
|
4259
|
+
* Location of the central point of the gradient relative to the element borders.
|
|
4200
4260
|
*/
|
|
4201
4261
|
declare class DivRadialGradientRelativeCenter<T extends DivRadialGradientRelativeCenterProps = DivRadialGradientRelativeCenterProps> {
|
|
4202
4262
|
readonly _props?: Exact<DivRadialGradientRelativeCenterProps, T>;
|
|
4203
4263
|
readonly type = "relative";
|
|
4204
4264
|
/**
|
|
4205
|
-
*
|
|
4265
|
+
* Coordinate value in the range "0...1".
|
|
4206
4266
|
*/
|
|
4207
4267
|
value: Type<number | DivExpression>;
|
|
4208
4268
|
constructor(props: Exact<DivRadialGradientRelativeCenterProps, T>);
|
|
4209
4269
|
}
|
|
4210
4270
|
interface DivRadialGradientRelativeCenterProps {
|
|
4211
4271
|
/**
|
|
4212
|
-
*
|
|
4272
|
+
* Coordinate value in the range "0...1".
|
|
4213
4273
|
*/
|
|
4214
4274
|
value: Type<number | DivExpression>;
|
|
4215
4275
|
}
|
|
@@ -4221,14 +4281,14 @@ declare class DivRadialGradientRelativeRadius<T extends DivRadialGradientRelativ
|
|
|
4221
4281
|
readonly _props?: Exact<DivRadialGradientRelativeRadiusProps, T>;
|
|
4222
4282
|
readonly type = "relative";
|
|
4223
4283
|
/**
|
|
4224
|
-
* Type of relative radius of the gradient transition.
|
|
4284
|
+
* Type of the relative radius of the gradient transition.
|
|
4225
4285
|
*/
|
|
4226
4286
|
value: Type<DivRadialGradientRelativeRadiusValue | DivExpression>;
|
|
4227
4287
|
constructor(props: Exact<DivRadialGradientRelativeRadiusProps, T>);
|
|
4228
4288
|
}
|
|
4229
4289
|
interface DivRadialGradientRelativeRadiusProps {
|
|
4230
4290
|
/**
|
|
4231
|
-
* Type of relative radius of the gradient transition.
|
|
4291
|
+
* Type of the relative radius of the gradient transition.
|
|
4232
4292
|
*/
|
|
4233
4293
|
value: Type<DivRadialGradientRelativeRadiusValue | DivExpression>;
|
|
4234
4294
|
}
|
|
@@ -4240,6 +4300,10 @@ declare type DivRadialGradientRelativeRadiusValue = 'nearest_corner' | 'farthest
|
|
|
4240
4300
|
declare class DivRoundedRectangleShape<T extends DivRoundedRectangleShapeProps = DivRoundedRectangleShapeProps> {
|
|
4241
4301
|
readonly _props?: Exact<DivRoundedRectangleShapeProps, T>;
|
|
4242
4302
|
readonly type = "rounded_rectangle";
|
|
4303
|
+
/**
|
|
4304
|
+
* Fill color.
|
|
4305
|
+
*/
|
|
4306
|
+
background_color?: Type<string | DivExpression>;
|
|
4243
4307
|
/**
|
|
4244
4308
|
* Corner rounding radius.
|
|
4245
4309
|
*/
|
|
@@ -4252,9 +4316,17 @@ declare class DivRoundedRectangleShape<T extends DivRoundedRectangleShapeProps =
|
|
|
4252
4316
|
* Width.
|
|
4253
4317
|
*/
|
|
4254
4318
|
item_width?: Type<DivFixedSize>;
|
|
4319
|
+
/**
|
|
4320
|
+
* Stroke style.
|
|
4321
|
+
*/
|
|
4322
|
+
stroke?: Type<IDivStroke>;
|
|
4255
4323
|
constructor(props?: Exact<DivRoundedRectangleShapeProps, T>);
|
|
4256
4324
|
}
|
|
4257
4325
|
interface DivRoundedRectangleShapeProps {
|
|
4326
|
+
/**
|
|
4327
|
+
* Fill color.
|
|
4328
|
+
*/
|
|
4329
|
+
background_color?: Type<string | DivExpression>;
|
|
4258
4330
|
/**
|
|
4259
4331
|
* Corner rounding radius.
|
|
4260
4332
|
*/
|
|
@@ -4267,6 +4339,10 @@ interface DivRoundedRectangleShapeProps {
|
|
|
4267
4339
|
* Width.
|
|
4268
4340
|
*/
|
|
4269
4341
|
item_width?: Type<DivFixedSize>;
|
|
4342
|
+
/**
|
|
4343
|
+
* Stroke style.
|
|
4344
|
+
*/
|
|
4345
|
+
stroke?: Type<IDivStroke>;
|
|
4270
4346
|
}
|
|
4271
4347
|
|
|
4272
4348
|
/**
|
|
@@ -4337,7 +4413,7 @@ declare class DivSeparator<T extends DivSeparatorProps = DivSeparatorProps> {
|
|
|
4337
4413
|
readonly _props?: Exact<DivSeparatorProps, T>;
|
|
4338
4414
|
readonly type = "separator";
|
|
4339
4415
|
/**
|
|
4340
|
-
* Accessibility
|
|
4416
|
+
* Accessibility settings.
|
|
4341
4417
|
*/
|
|
4342
4418
|
accessibility?: Type<IDivAccessibility>;
|
|
4343
4419
|
/**
|
|
@@ -4345,7 +4421,7 @@ declare class DivSeparator<T extends DivSeparatorProps = DivSeparatorProps> {
|
|
|
4345
4421
|
*/
|
|
4346
4422
|
action?: Type<IDivAction>;
|
|
4347
4423
|
/**
|
|
4348
|
-
*
|
|
4424
|
+
* Click animation. The web only supports the following values: `fade`, `scale`, and `set`.
|
|
4349
4425
|
*/
|
|
4350
4426
|
action_animation?: Type<IDivAnimation>;
|
|
4351
4427
|
/**
|
|
@@ -4431,8 +4507,8 @@ declare class DivSeparator<T extends DivSeparatorProps = DivSeparatorProps> {
|
|
|
4431
4507
|
*/
|
|
4432
4508
|
tooltips?: Type<NonEmptyArray<IDivTooltip>>;
|
|
4433
4509
|
/**
|
|
4434
|
-
*
|
|
4435
|
-
*
|
|
4510
|
+
* Applies the passed transformation to the element. Content that doesn't fit into the original
|
|
4511
|
+
* view area is cut off.
|
|
4436
4512
|
*/
|
|
4437
4513
|
transform?: Type<IDivTransform>;
|
|
4438
4514
|
/**
|
|
@@ -4475,7 +4551,7 @@ declare class DivSeparator<T extends DivSeparatorProps = DivSeparatorProps> {
|
|
|
4475
4551
|
}
|
|
4476
4552
|
interface DivSeparatorProps {
|
|
4477
4553
|
/**
|
|
4478
|
-
* Accessibility
|
|
4554
|
+
* Accessibility settings.
|
|
4479
4555
|
*/
|
|
4480
4556
|
accessibility?: Type<IDivAccessibility>;
|
|
4481
4557
|
/**
|
|
@@ -4483,7 +4559,7 @@ interface DivSeparatorProps {
|
|
|
4483
4559
|
*/
|
|
4484
4560
|
action?: Type<IDivAction>;
|
|
4485
4561
|
/**
|
|
4486
|
-
*
|
|
4562
|
+
* Click animation. The web only supports the following values: `fade`, `scale`, and `set`.
|
|
4487
4563
|
*/
|
|
4488
4564
|
action_animation?: Type<IDivAnimation>;
|
|
4489
4565
|
/**
|
|
@@ -4569,8 +4645,8 @@ interface DivSeparatorProps {
|
|
|
4569
4645
|
*/
|
|
4570
4646
|
tooltips?: Type<NonEmptyArray<IDivTooltip>>;
|
|
4571
4647
|
/**
|
|
4572
|
-
*
|
|
4573
|
-
*
|
|
4648
|
+
* Applies the passed transformation to the element. Content that doesn't fit into the original
|
|
4649
|
+
* view area is cut off.
|
|
4574
4650
|
*/
|
|
4575
4651
|
transform?: Type<IDivTransform>;
|
|
4576
4652
|
/**
|
|
@@ -4658,6 +4734,8 @@ declare class DivShapeDrawable<T extends DivShapeDrawableProps = DivShapeDrawabl
|
|
|
4658
4734
|
readonly type = "shape_drawable";
|
|
4659
4735
|
/**
|
|
4660
4736
|
* Fill color.
|
|
4737
|
+
*
|
|
4738
|
+
* @deprecated
|
|
4661
4739
|
*/
|
|
4662
4740
|
color: Type<string | DivExpression>;
|
|
4663
4741
|
/**
|
|
@@ -4666,6 +4744,8 @@ declare class DivShapeDrawable<T extends DivShapeDrawableProps = DivShapeDrawabl
|
|
|
4666
4744
|
shape: Type<DivShape>;
|
|
4667
4745
|
/**
|
|
4668
4746
|
* Stroke style.
|
|
4747
|
+
*
|
|
4748
|
+
* @deprecated
|
|
4669
4749
|
*/
|
|
4670
4750
|
stroke?: Type<IDivStroke>;
|
|
4671
4751
|
constructor(props: Exact<DivShapeDrawableProps, T>);
|
|
@@ -4673,6 +4753,8 @@ declare class DivShapeDrawable<T extends DivShapeDrawableProps = DivShapeDrawabl
|
|
|
4673
4753
|
interface DivShapeDrawableProps {
|
|
4674
4754
|
/**
|
|
4675
4755
|
* Fill color.
|
|
4756
|
+
*
|
|
4757
|
+
* @deprecated
|
|
4676
4758
|
*/
|
|
4677
4759
|
color: Type<string | DivExpression>;
|
|
4678
4760
|
/**
|
|
@@ -4681,6 +4763,8 @@ interface DivShapeDrawableProps {
|
|
|
4681
4763
|
shape: Type<DivShape>;
|
|
4682
4764
|
/**
|
|
4683
4765
|
* Stroke style.
|
|
4766
|
+
*
|
|
4767
|
+
* @deprecated
|
|
4684
4768
|
*/
|
|
4685
4769
|
stroke?: Type<IDivStroke>;
|
|
4686
4770
|
}
|
|
@@ -4754,7 +4838,7 @@ declare class DivSlider<T extends DivSliderProps = DivSliderProps> {
|
|
|
4754
4838
|
readonly _props?: Exact<DivSliderProps, T>;
|
|
4755
4839
|
readonly type = "slider";
|
|
4756
4840
|
/**
|
|
4757
|
-
* Accessibility
|
|
4841
|
+
* Accessibility settings.
|
|
4758
4842
|
*/
|
|
4759
4843
|
accessibility?: Type<IDivAccessibility>;
|
|
4760
4844
|
/**
|
|
@@ -4822,7 +4906,7 @@ declare class DivSlider<T extends DivSliderProps = DivSliderProps> {
|
|
|
4822
4906
|
*/
|
|
4823
4907
|
row_span?: Type<number | DivExpression>;
|
|
4824
4908
|
/**
|
|
4825
|
-
* Accessibility for the
|
|
4909
|
+
* Accessibility settings for the second pointer.
|
|
4826
4910
|
*/
|
|
4827
4911
|
secondary_value_accessibility?: Type<IDivAccessibility>;
|
|
4828
4912
|
/**
|
|
@@ -4839,7 +4923,7 @@ declare class DivSlider<T extends DivSliderProps = DivSliderProps> {
|
|
|
4839
4923
|
*/
|
|
4840
4924
|
thumb_secondary_text_style?: Type<IDivSliderTextStyle>;
|
|
4841
4925
|
/**
|
|
4842
|
-
* Name of the variable to store the current value
|
|
4926
|
+
* Name of the variable to store the second pointer's current value.
|
|
4843
4927
|
*/
|
|
4844
4928
|
thumb_secondary_value_variable?: Type<string>;
|
|
4845
4929
|
/**
|
|
@@ -4851,7 +4935,7 @@ declare class DivSlider<T extends DivSliderProps = DivSliderProps> {
|
|
|
4851
4935
|
*/
|
|
4852
4936
|
thumb_text_style?: Type<IDivSliderTextStyle>;
|
|
4853
4937
|
/**
|
|
4854
|
-
* Name of the variable to store the current
|
|
4938
|
+
* Name of the variable to store the pointer's current value.
|
|
4855
4939
|
*/
|
|
4856
4940
|
thumb_value_variable?: Type<string>;
|
|
4857
4941
|
/**
|
|
@@ -4876,8 +4960,8 @@ declare class DivSlider<T extends DivSliderProps = DivSliderProps> {
|
|
|
4876
4960
|
*/
|
|
4877
4961
|
track_inactive_style: Type<DivDrawable>;
|
|
4878
4962
|
/**
|
|
4879
|
-
*
|
|
4880
|
-
*
|
|
4963
|
+
* Applies the passed transformation to the element. Content that doesn't fit into the original
|
|
4964
|
+
* view area is cut off.
|
|
4881
4965
|
*/
|
|
4882
4966
|
transform?: Type<IDivTransform>;
|
|
4883
4967
|
/**
|
|
@@ -4920,7 +5004,7 @@ declare class DivSlider<T extends DivSliderProps = DivSliderProps> {
|
|
|
4920
5004
|
}
|
|
4921
5005
|
interface DivSliderProps {
|
|
4922
5006
|
/**
|
|
4923
|
-
* Accessibility
|
|
5007
|
+
* Accessibility settings.
|
|
4924
5008
|
*/
|
|
4925
5009
|
accessibility?: Type<IDivAccessibility>;
|
|
4926
5010
|
/**
|
|
@@ -4988,7 +5072,7 @@ interface DivSliderProps {
|
|
|
4988
5072
|
*/
|
|
4989
5073
|
row_span?: Type<number | DivExpression>;
|
|
4990
5074
|
/**
|
|
4991
|
-
* Accessibility for the
|
|
5075
|
+
* Accessibility settings for the second pointer.
|
|
4992
5076
|
*/
|
|
4993
5077
|
secondary_value_accessibility?: Type<IDivAccessibility>;
|
|
4994
5078
|
/**
|
|
@@ -5005,7 +5089,7 @@ interface DivSliderProps {
|
|
|
5005
5089
|
*/
|
|
5006
5090
|
thumb_secondary_text_style?: Type<IDivSliderTextStyle>;
|
|
5007
5091
|
/**
|
|
5008
|
-
* Name of the variable to store the current value
|
|
5092
|
+
* Name of the variable to store the second pointer's current value.
|
|
5009
5093
|
*/
|
|
5010
5094
|
thumb_secondary_value_variable?: Type<string>;
|
|
5011
5095
|
/**
|
|
@@ -5017,7 +5101,7 @@ interface DivSliderProps {
|
|
|
5017
5101
|
*/
|
|
5018
5102
|
thumb_text_style?: Type<IDivSliderTextStyle>;
|
|
5019
5103
|
/**
|
|
5020
|
-
* Name of the variable to store the current
|
|
5104
|
+
* Name of the variable to store the pointer's current value.
|
|
5021
5105
|
*/
|
|
5022
5106
|
thumb_value_variable?: Type<string>;
|
|
5023
5107
|
/**
|
|
@@ -5042,8 +5126,8 @@ interface DivSliderProps {
|
|
|
5042
5126
|
*/
|
|
5043
5127
|
track_inactive_style: Type<DivDrawable>;
|
|
5044
5128
|
/**
|
|
5045
|
-
*
|
|
5046
|
-
*
|
|
5129
|
+
* Applies the passed transformation to the element. Content that doesn't fit into the original
|
|
5130
|
+
* view area is cut off.
|
|
5047
5131
|
*/
|
|
5048
5132
|
transform?: Type<IDivTransform>;
|
|
5049
5133
|
/**
|
|
@@ -5129,7 +5213,7 @@ declare class DivState<T extends DivStateProps = DivStateProps> {
|
|
|
5129
5213
|
readonly _props?: Exact<DivStateProps, T>;
|
|
5130
5214
|
readonly type = "state";
|
|
5131
5215
|
/**
|
|
5132
|
-
* Accessibility
|
|
5216
|
+
* Accessibility settings.
|
|
5133
5217
|
*/
|
|
5134
5218
|
accessibility?: Type<IDivAccessibility>;
|
|
5135
5219
|
/**
|
|
@@ -5216,8 +5300,8 @@ declare class DivState<T extends DivStateProps = DivStateProps> {
|
|
|
5216
5300
|
*/
|
|
5217
5301
|
tooltips?: Type<NonEmptyArray<IDivTooltip>>;
|
|
5218
5302
|
/**
|
|
5219
|
-
*
|
|
5220
|
-
*
|
|
5303
|
+
* Applies the passed transformation to the element. Content that doesn't fit into the original
|
|
5304
|
+
* view area is cut off.
|
|
5221
5305
|
*/
|
|
5222
5306
|
transform?: Type<IDivTransform>;
|
|
5223
5307
|
/**
|
|
@@ -5266,7 +5350,7 @@ declare class DivState<T extends DivStateProps = DivStateProps> {
|
|
|
5266
5350
|
}
|
|
5267
5351
|
interface DivStateProps {
|
|
5268
5352
|
/**
|
|
5269
|
-
* Accessibility
|
|
5353
|
+
* Accessibility settings.
|
|
5270
5354
|
*/
|
|
5271
5355
|
accessibility?: Type<IDivAccessibility>;
|
|
5272
5356
|
/**
|
|
@@ -5353,8 +5437,8 @@ interface DivStateProps {
|
|
|
5353
5437
|
*/
|
|
5354
5438
|
tooltips?: Type<NonEmptyArray<IDivTooltip>>;
|
|
5355
5439
|
/**
|
|
5356
|
-
*
|
|
5357
|
-
*
|
|
5440
|
+
* Applies the passed transformation to the element. Content that doesn't fit into the original
|
|
5441
|
+
* view area is cut off.
|
|
5358
5442
|
*/
|
|
5359
5443
|
transform?: Type<IDivTransform>;
|
|
5360
5444
|
/**
|
|
@@ -5436,8 +5520,8 @@ declare class DivStretchIndicatorItemPlacement<T extends DivStretchIndicatorItem
|
|
|
5436
5520
|
readonly _props?: Exact<DivStretchIndicatorItemPlacementProps, T>;
|
|
5437
5521
|
readonly type = "stretch";
|
|
5438
5522
|
/**
|
|
5439
|
-
* Spacing between indicator centers.
|
|
5440
|
-
* instead.
|
|
5523
|
+
* Spacing between indicator centers. <br>The parameter is deprecated for Android, please use the
|
|
5524
|
+
* `items_placement` parameter instead.
|
|
5441
5525
|
*/
|
|
5442
5526
|
item_spacing?: Type<DivFixedSize>;
|
|
5443
5527
|
/**
|
|
@@ -5448,8 +5532,8 @@ declare class DivStretchIndicatorItemPlacement<T extends DivStretchIndicatorItem
|
|
|
5448
5532
|
}
|
|
5449
5533
|
interface DivStretchIndicatorItemPlacementProps {
|
|
5450
5534
|
/**
|
|
5451
|
-
* Spacing between indicator centers.
|
|
5452
|
-
* instead.
|
|
5535
|
+
* Spacing between indicator centers. <br>The parameter is deprecated for Android, please use the
|
|
5536
|
+
* `items_placement` parameter instead.
|
|
5453
5537
|
*/
|
|
5454
5538
|
item_spacing?: Type<DivFixedSize>;
|
|
5455
5539
|
/**
|
|
@@ -5481,7 +5565,7 @@ declare class DivTabs<T extends DivTabsProps = DivTabsProps> {
|
|
|
5481
5565
|
readonly _props?: Exact<DivTabsProps, T>;
|
|
5482
5566
|
readonly type = "tabs";
|
|
5483
5567
|
/**
|
|
5484
|
-
* Accessibility
|
|
5568
|
+
* Accessibility settings.
|
|
5485
5569
|
*/
|
|
5486
5570
|
accessibility?: Type<IDivAccessibility>;
|
|
5487
5571
|
/**
|
|
@@ -5599,8 +5683,8 @@ declare class DivTabs<T extends DivTabsProps = DivTabsProps> {
|
|
|
5599
5683
|
*/
|
|
5600
5684
|
tooltips?: Type<NonEmptyArray<IDivTooltip>>;
|
|
5601
5685
|
/**
|
|
5602
|
-
*
|
|
5603
|
-
*
|
|
5686
|
+
* Applies the passed transformation to the element. Content that doesn't fit into the original
|
|
5687
|
+
* view area is cut off.
|
|
5604
5688
|
*/
|
|
5605
5689
|
transform?: Type<IDivTransform>;
|
|
5606
5690
|
/**
|
|
@@ -5643,7 +5727,7 @@ declare class DivTabs<T extends DivTabsProps = DivTabsProps> {
|
|
|
5643
5727
|
}
|
|
5644
5728
|
interface DivTabsProps {
|
|
5645
5729
|
/**
|
|
5646
|
-
* Accessibility
|
|
5730
|
+
* Accessibility settings.
|
|
5647
5731
|
*/
|
|
5648
5732
|
accessibility?: Type<IDivAccessibility>;
|
|
5649
5733
|
/**
|
|
@@ -5761,8 +5845,8 @@ interface DivTabsProps {
|
|
|
5761
5845
|
*/
|
|
5762
5846
|
tooltips?: Type<NonEmptyArray<IDivTooltip>>;
|
|
5763
5847
|
/**
|
|
5764
|
-
*
|
|
5765
|
-
*
|
|
5848
|
+
* Applies the passed transformation to the element. Content that doesn't fit into the original
|
|
5849
|
+
* view area is cut off.
|
|
5766
5850
|
*/
|
|
5767
5851
|
transform?: Type<IDivTransform>;
|
|
5768
5852
|
/**
|
|
@@ -5892,7 +5976,7 @@ interface IDivTabsTabTitleStyle {
|
|
|
5892
5976
|
*/
|
|
5893
5977
|
letter_spacing?: Type<number | DivExpression>;
|
|
5894
5978
|
/**
|
|
5895
|
-
* Line spacing of the text
|
|
5979
|
+
* Line spacing of the text.
|
|
5896
5980
|
*/
|
|
5897
5981
|
line_height?: Type<number | DivExpression>;
|
|
5898
5982
|
/**
|
|
@@ -5909,7 +5993,7 @@ declare class DivText<T extends DivTextProps = DivTextProps> {
|
|
|
5909
5993
|
readonly _props?: Exact<DivTextProps, T>;
|
|
5910
5994
|
readonly type = "text";
|
|
5911
5995
|
/**
|
|
5912
|
-
* Accessibility
|
|
5996
|
+
* Accessibility settings.
|
|
5913
5997
|
*/
|
|
5914
5998
|
accessibility?: Type<IDivAccessibility>;
|
|
5915
5999
|
/**
|
|
@@ -5917,7 +6001,7 @@ declare class DivText<T extends DivTextProps = DivTextProps> {
|
|
|
5917
6001
|
*/
|
|
5918
6002
|
action?: Type<IDivAction>;
|
|
5919
6003
|
/**
|
|
5920
|
-
*
|
|
6004
|
+
* Click animation. The web only supports the following values: `fade`, `scale`, and `set`.
|
|
5921
6005
|
*/
|
|
5922
6006
|
action_animation?: Type<IDivAnimation>;
|
|
5923
6007
|
/**
|
|
@@ -6040,7 +6124,7 @@ declare class DivText<T extends DivTextProps = DivTextProps> {
|
|
|
6040
6124
|
*/
|
|
6041
6125
|
row_span?: Type<number | DivExpression>;
|
|
6042
6126
|
/**
|
|
6043
|
-
*
|
|
6127
|
+
* Ability to select and copy text.
|
|
6044
6128
|
*/
|
|
6045
6129
|
selectable?: Type<IntBoolean | DivExpression>;
|
|
6046
6130
|
/**
|
|
@@ -6078,8 +6162,8 @@ declare class DivText<T extends DivTextProps = DivTextProps> {
|
|
|
6078
6162
|
*/
|
|
6079
6163
|
tooltips?: Type<NonEmptyArray<IDivTooltip>>;
|
|
6080
6164
|
/**
|
|
6081
|
-
*
|
|
6082
|
-
*
|
|
6165
|
+
* Applies the passed transformation to the element. Content that doesn't fit into the original
|
|
6166
|
+
* view area is cut off.
|
|
6083
6167
|
*/
|
|
6084
6168
|
transform?: Type<IDivTransform>;
|
|
6085
6169
|
/**
|
|
@@ -6132,7 +6216,7 @@ declare class DivText<T extends DivTextProps = DivTextProps> {
|
|
|
6132
6216
|
}
|
|
6133
6217
|
interface DivTextProps {
|
|
6134
6218
|
/**
|
|
6135
|
-
* Accessibility
|
|
6219
|
+
* Accessibility settings.
|
|
6136
6220
|
*/
|
|
6137
6221
|
accessibility?: Type<IDivAccessibility>;
|
|
6138
6222
|
/**
|
|
@@ -6140,7 +6224,7 @@ interface DivTextProps {
|
|
|
6140
6224
|
*/
|
|
6141
6225
|
action?: Type<IDivAction>;
|
|
6142
6226
|
/**
|
|
6143
|
-
*
|
|
6227
|
+
* Click animation. The web only supports the following values: `fade`, `scale`, and `set`.
|
|
6144
6228
|
*/
|
|
6145
6229
|
action_animation?: Type<IDivAnimation>;
|
|
6146
6230
|
/**
|
|
@@ -6263,7 +6347,7 @@ interface DivTextProps {
|
|
|
6263
6347
|
*/
|
|
6264
6348
|
row_span?: Type<number | DivExpression>;
|
|
6265
6349
|
/**
|
|
6266
|
-
*
|
|
6350
|
+
* Ability to select and copy text.
|
|
6267
6351
|
*/
|
|
6268
6352
|
selectable?: Type<IntBoolean | DivExpression>;
|
|
6269
6353
|
/**
|
|
@@ -6301,8 +6385,8 @@ interface DivTextProps {
|
|
|
6301
6385
|
*/
|
|
6302
6386
|
tooltips?: Type<NonEmptyArray<IDivTooltip>>;
|
|
6303
6387
|
/**
|
|
6304
|
-
*
|
|
6305
|
-
*
|
|
6388
|
+
* Applies the passed transformation to the element. Content that doesn't fit into the original
|
|
6389
|
+
* view area is cut off.
|
|
6306
6390
|
*/
|
|
6307
6391
|
transform?: Type<IDivTransform>;
|
|
6308
6392
|
/**
|
|
@@ -6392,7 +6476,7 @@ interface IDivTextImage {
|
|
|
6392
6476
|
*/
|
|
6393
6477
|
tint_color?: Type<string | DivExpression>;
|
|
6394
6478
|
/**
|
|
6395
|
-
*
|
|
6479
|
+
* Blend mode of the color specified in `tint_color`.
|
|
6396
6480
|
*/
|
|
6397
6481
|
tint_mode?: Type<DivBlendMode | DivExpression>;
|
|
6398
6482
|
/**
|
|
@@ -6413,11 +6497,11 @@ interface IDivTextRange {
|
|
|
6413
6497
|
*/
|
|
6414
6498
|
actions?: Type<NonEmptyArray<IDivAction>>;
|
|
6415
6499
|
/**
|
|
6416
|
-
*
|
|
6500
|
+
* Character range background.
|
|
6417
6501
|
*/
|
|
6418
6502
|
background?: Type<DivTextRangeBackground>;
|
|
6419
6503
|
/**
|
|
6420
|
-
*
|
|
6504
|
+
* Character range border.
|
|
6421
6505
|
*/
|
|
6422
6506
|
border?: Type<IDivTextRangeBorder>;
|
|
6423
6507
|
/**
|
|
@@ -6466,7 +6550,7 @@ interface IDivTextRange {
|
|
|
6466
6550
|
*/
|
|
6467
6551
|
text_color?: Type<string | DivExpression>;
|
|
6468
6552
|
/**
|
|
6469
|
-
*
|
|
6553
|
+
* Top margin of the character range. Units specified in `font_size_unit`.
|
|
6470
6554
|
*/
|
|
6471
6555
|
top_offset?: Type<number | DivExpression>;
|
|
6472
6556
|
/**
|
|
@@ -6480,7 +6564,7 @@ declare type DivTextGradient = DivLinearGradient | DivRadialGradient;
|
|
|
6480
6564
|
declare type DivTextRangeBackground = DivSolidBackground;
|
|
6481
6565
|
|
|
6482
6566
|
/**
|
|
6483
|
-
*
|
|
6567
|
+
* Character range border.
|
|
6484
6568
|
*/
|
|
6485
6569
|
interface IDivTextRangeBorder {
|
|
6486
6570
|
/**
|
|
@@ -6498,8 +6582,8 @@ interface IDivTextRangeBorder {
|
|
|
6498
6582
|
*/
|
|
6499
6583
|
interface IDivTimer {
|
|
6500
6584
|
/**
|
|
6501
|
-
*
|
|
6502
|
-
*
|
|
6585
|
+
* Timer duration in milliseconds. If the parameter is `0` or not specified, the timer runs
|
|
6586
|
+
* indefinitely (until the timer stop event occurs).
|
|
6503
6587
|
*/
|
|
6504
6588
|
duration?: Type<number | DivExpression>;
|
|
6505
6589
|
/**
|
|
@@ -6508,23 +6592,22 @@ interface IDivTimer {
|
|
|
6508
6592
|
*/
|
|
6509
6593
|
end_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
6510
6594
|
/**
|
|
6511
|
-
* Timer ID. Must be unique.
|
|
6595
|
+
* Timer ID. Must be unique. Used when calling actions for the selected timer, for example:
|
|
6512
6596
|
* start, stop.
|
|
6513
6597
|
*/
|
|
6514
6598
|
id: Type<string>;
|
|
6515
6599
|
/**
|
|
6516
|
-
* Actions that are performed on each
|
|
6600
|
+
* Actions that are performed on each count of the timer.
|
|
6517
6601
|
*/
|
|
6518
6602
|
tick_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
6519
6603
|
/**
|
|
6520
|
-
* Duration of time intervals in milliseconds between
|
|
6604
|
+
* Duration of time intervals in milliseconds between counts. If the parameter is not specified,
|
|
6521
6605
|
* the timer counts down from `0` to `duration` without calling `tick_actions`.
|
|
6522
6606
|
*/
|
|
6523
6607
|
tick_interval?: Type<number | DivExpression>;
|
|
6524
6608
|
/**
|
|
6525
|
-
*
|
|
6526
|
-
*
|
|
6527
|
-
* cancel command.
|
|
6609
|
+
* Name of the variable where the current timer value is stored. Updated on each count or when
|
|
6610
|
+
* the timer commands are called (start, stop, and so on), except the cancel command.
|
|
6528
6611
|
*/
|
|
6529
6612
|
value_variable?: Type<string>;
|
|
6530
6613
|
}
|
|
@@ -6573,16 +6656,15 @@ declare type DivTooltipPosition = 'left' | 'top-left' | 'top' | 'top-right' | 'r
|
|
|
6573
6656
|
*/
|
|
6574
6657
|
interface IDivTransform {
|
|
6575
6658
|
/**
|
|
6576
|
-
*
|
|
6659
|
+
* X coordinate of the rotation axis.
|
|
6577
6660
|
*/
|
|
6578
6661
|
pivot_x?: Type<DivPivot>;
|
|
6579
6662
|
/**
|
|
6580
|
-
*
|
|
6663
|
+
* Y coordinate of the rotation axis.
|
|
6581
6664
|
*/
|
|
6582
6665
|
pivot_y?: Type<DivPivot>;
|
|
6583
6666
|
/**
|
|
6584
|
-
*
|
|
6585
|
-
* clockwise rotation.
|
|
6667
|
+
* Degrees of the element rotation. Positive values used for clockwise rotation.
|
|
6586
6668
|
*/
|
|
6587
6669
|
rotation?: Type<number | DivExpression>;
|
|
6588
6670
|
}
|
|
@@ -6682,11 +6764,11 @@ declare class DivWrapContentSize<T extends DivWrapContentSizeProps = DivWrapCont
|
|
|
6682
6764
|
*/
|
|
6683
6765
|
constrained?: Type<IntBoolean | DivExpression>;
|
|
6684
6766
|
/**
|
|
6685
|
-
* Maximum element
|
|
6767
|
+
* Maximum size of an element.
|
|
6686
6768
|
*/
|
|
6687
6769
|
max_size?: Type<IDivWrapContentSizeConstraintSize>;
|
|
6688
6770
|
/**
|
|
6689
|
-
* Minimum element
|
|
6771
|
+
* Minimum size of an element.
|
|
6690
6772
|
*/
|
|
6691
6773
|
min_size?: Type<IDivWrapContentSizeConstraintSize>;
|
|
6692
6774
|
constructor(props?: Exact<DivWrapContentSizeProps, T>);
|
|
@@ -6698,11 +6780,11 @@ interface DivWrapContentSizeProps {
|
|
|
6698
6780
|
*/
|
|
6699
6781
|
constrained?: Type<IntBoolean | DivExpression>;
|
|
6700
6782
|
/**
|
|
6701
|
-
* Maximum element
|
|
6783
|
+
* Maximum size of an element.
|
|
6702
6784
|
*/
|
|
6703
6785
|
max_size?: Type<IDivWrapContentSizeConstraintSize>;
|
|
6704
6786
|
/**
|
|
6705
|
-
* Minimum element
|
|
6787
|
+
* Minimum size of an element.
|
|
6706
6788
|
*/
|
|
6707
6789
|
min_size?: Type<IDivWrapContentSizeConstraintSize>;
|
|
6708
6790
|
}
|