@divkitframework/jsonbuilder 30.30.0 → 30.31.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.
@@ -299,8 +299,8 @@ interface IDivAccessibility {
299
299
  */
300
300
  hint?: Type<string | DivExpression>;
301
301
  /**
302
- * Indicates the current status of the checkbox or radio button. `true` is selected, `false` is
303
- * not selected.
302
+ * Shows the current state of the checkbox or radio button. `true` is selected, `false` is not
303
+ * selected.
304
304
  *
305
305
  * Platforms: web
306
306
  */
@@ -1768,14 +1768,14 @@ declare class DivContainer<T extends DivContainerProps = DivContainerProps> {
1768
1768
  * Actions performed after hovering over an element. Available on platforms that support pointing
1769
1769
  * devices (such as a mouse or stylus).
1770
1770
  *
1771
- * Platforms: not supported
1771
+ * Platforms: web
1772
1772
  */
1773
1773
  hover_end_actions?: Type<NonEmptyArray<IDivAction>>;
1774
1774
  /**
1775
1775
  * Actions performed when hovering over an element. Available on platforms that support pointing
1776
1776
  * devices (such as a mouse or stylus).
1777
1777
  *
1778
- * Platforms: not supported
1778
+ * Platforms: web
1779
1779
  */
1780
1780
  hover_start_actions?: Type<NonEmptyArray<IDivAction>>;
1781
1781
  /**
@@ -1837,13 +1837,13 @@ declare class DivContainer<T extends DivContainerProps = DivContainerProps> {
1837
1837
  /**
1838
1838
  * Actions performed after clicking/tapping an element.
1839
1839
  *
1840
- * Platforms: not supported
1840
+ * Platforms: web
1841
1841
  */
1842
1842
  press_end_actions?: Type<NonEmptyArray<IDivAction>>;
1843
1843
  /**
1844
1844
  * Actions performed at the start of a click/tap on an element.
1845
1845
  *
1846
- * Platforms: not supported
1846
+ * Platforms: web
1847
1847
  */
1848
1848
  press_start_actions?: Type<NonEmptyArray<IDivAction>>;
1849
1849
  /**
@@ -2069,14 +2069,14 @@ interface DivContainerPropsBase {
2069
2069
  * Actions performed after hovering over an element. Available on platforms that support pointing
2070
2070
  * devices (such as a mouse or stylus).
2071
2071
  *
2072
- * Platforms: not supported
2072
+ * Platforms: web
2073
2073
  */
2074
2074
  hover_end_actions?: Type<NonEmptyArray<IDivAction>>;
2075
2075
  /**
2076
2076
  * Actions performed when hovering over an element. Available on platforms that support pointing
2077
2077
  * devices (such as a mouse or stylus).
2078
2078
  *
2079
- * Platforms: not supported
2079
+ * Platforms: web
2080
2080
  */
2081
2081
  hover_start_actions?: Type<NonEmptyArray<IDivAction>>;
2082
2082
  /**
@@ -2138,13 +2138,13 @@ interface DivContainerPropsBase {
2138
2138
  /**
2139
2139
  * Actions performed after clicking/tapping an element.
2140
2140
  *
2141
- * Platforms: not supported
2141
+ * Platforms: web
2142
2142
  */
2143
2143
  press_end_actions?: Type<NonEmptyArray<IDivAction>>;
2144
2144
  /**
2145
2145
  * Actions performed at the start of a click/tap on an element.
2146
2146
  *
2147
- * Platforms: not supported
2147
+ * Platforms: web
2148
2148
  */
2149
2149
  press_start_actions?: Type<NonEmptyArray<IDivAction>>;
2150
2150
  /**
@@ -3270,7 +3270,7 @@ declare class DivGallery<T extends DivGalleryProps = DivGalleryProps> {
3270
3270
  /**
3271
3271
  * Sets collection elements dynamically using `data` and `prototypes`.
3272
3272
  *
3273
- * Platforms: android, ios
3273
+ * Platforms: android, ios, web
3274
3274
  */
3275
3275
  item_builder?: Type<IDivCollectionItemBuilder>;
3276
3276
  /**
@@ -3531,7 +3531,7 @@ interface DivGalleryProps {
3531
3531
  /**
3532
3532
  * Sets collection elements dynamically using `data` and `prototypes`.
3533
3533
  *
3534
- * Platforms: android, ios
3534
+ * Platforms: android, ios, web
3535
3535
  */
3536
3536
  item_builder?: Type<IDivCollectionItemBuilder>;
3537
3537
  /**
@@ -3807,14 +3807,14 @@ declare class DivGifImage<T extends DivGifImageProps = DivGifImageProps> {
3807
3807
  * Actions performed after hovering over an element. Available on platforms that support pointing
3808
3808
  * devices (such as a mouse or stylus).
3809
3809
  *
3810
- * Platforms: not supported
3810
+ * Platforms: web
3811
3811
  */
3812
3812
  hover_end_actions?: Type<NonEmptyArray<IDivAction>>;
3813
3813
  /**
3814
3814
  * Actions performed when hovering over an element. Available on platforms that support pointing
3815
3815
  * devices (such as a mouse or stylus).
3816
3816
  *
3817
- * Platforms: not supported
3817
+ * Platforms: web
3818
3818
  */
3819
3819
  hover_start_actions?: Type<NonEmptyArray<IDivAction>>;
3820
3820
  /**
@@ -3858,13 +3858,13 @@ declare class DivGifImage<T extends DivGifImageProps = DivGifImageProps> {
3858
3858
  /**
3859
3859
  * Actions performed after clicking/tapping an element.
3860
3860
  *
3861
- * Platforms: not supported
3861
+ * Platforms: web
3862
3862
  */
3863
3863
  press_end_actions?: Type<NonEmptyArray<IDivAction>>;
3864
3864
  /**
3865
3865
  * Actions performed at the start of a click/tap on an element.
3866
3866
  *
3867
- * Platforms: not supported
3867
+ * Platforms: web
3868
3868
  */
3869
3869
  press_start_actions?: Type<NonEmptyArray<IDivAction>>;
3870
3870
  /**
@@ -4086,14 +4086,14 @@ interface DivGifImageProps {
4086
4086
  * Actions performed after hovering over an element. Available on platforms that support pointing
4087
4087
  * devices (such as a mouse or stylus).
4088
4088
  *
4089
- * Platforms: not supported
4089
+ * Platforms: web
4090
4090
  */
4091
4091
  hover_end_actions?: Type<NonEmptyArray<IDivAction>>;
4092
4092
  /**
4093
4093
  * Actions performed when hovering over an element. Available on platforms that support pointing
4094
4094
  * devices (such as a mouse or stylus).
4095
4095
  *
4096
- * Platforms: not supported
4096
+ * Platforms: web
4097
4097
  */
4098
4098
  hover_start_actions?: Type<NonEmptyArray<IDivAction>>;
4099
4099
  /**
@@ -4137,13 +4137,13 @@ interface DivGifImageProps {
4137
4137
  /**
4138
4138
  * Actions performed after clicking/tapping an element.
4139
4139
  *
4140
- * Platforms: not supported
4140
+ * Platforms: web
4141
4141
  */
4142
4142
  press_end_actions?: Type<NonEmptyArray<IDivAction>>;
4143
4143
  /**
4144
4144
  * Actions performed at the start of a click/tap on an element.
4145
4145
  *
4146
- * Platforms: not supported
4146
+ * Platforms: web
4147
4147
  */
4148
4148
  press_start_actions?: Type<NonEmptyArray<IDivAction>>;
4149
4149
  /**
@@ -4365,14 +4365,14 @@ declare class DivGrid<T extends DivGridProps = DivGridProps> {
4365
4365
  * Actions performed after hovering over an element. Available on platforms that support pointing
4366
4366
  * devices (such as a mouse or stylus).
4367
4367
  *
4368
- * Platforms: not supported
4368
+ * Platforms: web
4369
4369
  */
4370
4370
  hover_end_actions?: Type<NonEmptyArray<IDivAction>>;
4371
4371
  /**
4372
4372
  * Actions performed when hovering over an element. Available on platforms that support pointing
4373
4373
  * devices (such as a mouse or stylus).
4374
4374
  *
4375
- * Platforms: not supported
4375
+ * Platforms: web
4376
4376
  */
4377
4377
  hover_start_actions?: Type<NonEmptyArray<IDivAction>>;
4378
4378
  /**
@@ -4408,13 +4408,13 @@ declare class DivGrid<T extends DivGridProps = DivGridProps> {
4408
4408
  /**
4409
4409
  * Actions performed after clicking/tapping an element.
4410
4410
  *
4411
- * Platforms: not supported
4411
+ * Platforms: web
4412
4412
  */
4413
4413
  press_end_actions?: Type<NonEmptyArray<IDivAction>>;
4414
4414
  /**
4415
4415
  * Actions performed at the start of a click/tap on an element.
4416
4416
  *
4417
- * Platforms: not supported
4417
+ * Platforms: web
4418
4418
  */
4419
4419
  press_start_actions?: Type<NonEmptyArray<IDivAction>>;
4420
4420
  /**
@@ -4619,14 +4619,14 @@ interface DivGridProps {
4619
4619
  * Actions performed after hovering over an element. Available on platforms that support pointing
4620
4620
  * devices (such as a mouse or stylus).
4621
4621
  *
4622
- * Platforms: not supported
4622
+ * Platforms: web
4623
4623
  */
4624
4624
  hover_end_actions?: Type<NonEmptyArray<IDivAction>>;
4625
4625
  /**
4626
4626
  * Actions performed when hovering over an element. Available on platforms that support pointing
4627
4627
  * devices (such as a mouse or stylus).
4628
4628
  *
4629
- * Platforms: not supported
4629
+ * Platforms: web
4630
4630
  */
4631
4631
  hover_start_actions?: Type<NonEmptyArray<IDivAction>>;
4632
4632
  /**
@@ -4662,13 +4662,13 @@ interface DivGridProps {
4662
4662
  /**
4663
4663
  * Actions performed after clicking/tapping an element.
4664
4664
  *
4665
- * Platforms: not supported
4665
+ * Platforms: web
4666
4666
  */
4667
4667
  press_end_actions?: Type<NonEmptyArray<IDivAction>>;
4668
4668
  /**
4669
4669
  * Actions performed at the start of a click/tap on an element.
4670
4670
  *
4671
- * Platforms: not supported
4671
+ * Platforms: web
4672
4672
  */
4673
4673
  press_start_actions?: Type<NonEmptyArray<IDivAction>>;
4674
4674
  /**
@@ -4897,14 +4897,14 @@ declare class DivImage<T extends DivImageProps = DivImageProps> {
4897
4897
  * Actions performed after hovering over an element. Available on platforms that support pointing
4898
4898
  * devices (such as a mouse or stylus).
4899
4899
  *
4900
- * Platforms: not supported
4900
+ * Platforms: web
4901
4901
  */
4902
4902
  hover_end_actions?: Type<NonEmptyArray<IDivAction>>;
4903
4903
  /**
4904
4904
  * Actions performed when hovering over an element. Available on platforms that support pointing
4905
4905
  * devices (such as a mouse or stylus).
4906
4906
  *
4907
- * Platforms: not supported
4907
+ * Platforms: web
4908
4908
  */
4909
4909
  hover_start_actions?: Type<NonEmptyArray<IDivAction>>;
4910
4910
  /**
@@ -4952,13 +4952,13 @@ declare class DivImage<T extends DivImageProps = DivImageProps> {
4952
4952
  /**
4953
4953
  * Actions performed after clicking/tapping an element.
4954
4954
  *
4955
- * Platforms: not supported
4955
+ * Platforms: web
4956
4956
  */
4957
4957
  press_end_actions?: Type<NonEmptyArray<IDivAction>>;
4958
4958
  /**
4959
4959
  * Actions performed at the start of a click/tap on an element.
4960
4960
  *
4961
- * Platforms: not supported
4961
+ * Platforms: web
4962
4962
  */
4963
4963
  press_start_actions?: Type<NonEmptyArray<IDivAction>>;
4964
4964
  /**
@@ -5202,14 +5202,14 @@ interface DivImageProps {
5202
5202
  * Actions performed after hovering over an element. Available on platforms that support pointing
5203
5203
  * devices (such as a mouse or stylus).
5204
5204
  *
5205
- * Platforms: not supported
5205
+ * Platforms: web
5206
5206
  */
5207
5207
  hover_end_actions?: Type<NonEmptyArray<IDivAction>>;
5208
5208
  /**
5209
5209
  * Actions performed when hovering over an element. Available on platforms that support pointing
5210
5210
  * devices (such as a mouse or stylus).
5211
5211
  *
5212
- * Platforms: not supported
5212
+ * Platforms: web
5213
5213
  */
5214
5214
  hover_start_actions?: Type<NonEmptyArray<IDivAction>>;
5215
5215
  /**
@@ -5257,13 +5257,13 @@ interface DivImageProps {
5257
5257
  /**
5258
5258
  * Actions performed after clicking/tapping an element.
5259
5259
  *
5260
- * Platforms: not supported
5260
+ * Platforms: web
5261
5261
  */
5262
5262
  press_end_actions?: Type<NonEmptyArray<IDivAction>>;
5263
5263
  /**
5264
5264
  * Actions performed at the start of a click/tap on an element.
5265
5265
  *
5266
- * Platforms: not supported
5266
+ * Platforms: web
5267
5267
  */
5268
5268
  press_start_actions?: Type<NonEmptyArray<IDivAction>>;
5269
5269
  /**
@@ -8655,14 +8655,14 @@ declare class DivSeparator<T extends DivSeparatorProps = DivSeparatorProps> {
8655
8655
  * Actions performed after hovering over an element. Available on platforms that support pointing
8656
8656
  * devices (such as a mouse or stylus).
8657
8657
  *
8658
- * Platforms: not supported
8658
+ * Platforms: web
8659
8659
  */
8660
8660
  hover_end_actions?: Type<NonEmptyArray<IDivAction>>;
8661
8661
  /**
8662
8662
  * Actions performed when hovering over an element. Available on platforms that support pointing
8663
8663
  * devices (such as a mouse or stylus).
8664
8664
  *
8665
- * Platforms: not supported
8665
+ * Platforms: web
8666
8666
  */
8667
8667
  hover_start_actions?: Type<NonEmptyArray<IDivAction>>;
8668
8668
  /**
@@ -8694,13 +8694,13 @@ declare class DivSeparator<T extends DivSeparatorProps = DivSeparatorProps> {
8694
8694
  /**
8695
8695
  * Actions performed after clicking/tapping an element.
8696
8696
  *
8697
- * Platforms: not supported
8697
+ * Platforms: web
8698
8698
  */
8699
8699
  press_end_actions?: Type<NonEmptyArray<IDivAction>>;
8700
8700
  /**
8701
8701
  * Actions performed at the start of a click/tap on an element.
8702
8702
  *
8703
- * Platforms: not supported
8703
+ * Platforms: web
8704
8704
  */
8705
8705
  press_start_actions?: Type<NonEmptyArray<IDivAction>>;
8706
8706
  /**
@@ -8897,14 +8897,14 @@ interface DivSeparatorProps {
8897
8897
  * Actions performed after hovering over an element. Available on platforms that support pointing
8898
8898
  * devices (such as a mouse or stylus).
8899
8899
  *
8900
- * Platforms: not supported
8900
+ * Platforms: web
8901
8901
  */
8902
8902
  hover_end_actions?: Type<NonEmptyArray<IDivAction>>;
8903
8903
  /**
8904
8904
  * Actions performed when hovering over an element. Available on platforms that support pointing
8905
8905
  * devices (such as a mouse or stylus).
8906
8906
  *
8907
- * Platforms: not supported
8907
+ * Platforms: web
8908
8908
  */
8909
8909
  hover_start_actions?: Type<NonEmptyArray<IDivAction>>;
8910
8910
  /**
@@ -8936,13 +8936,13 @@ interface DivSeparatorProps {
8936
8936
  /**
8937
8937
  * Actions performed after clicking/tapping an element.
8938
8938
  *
8939
- * Platforms: not supported
8939
+ * Platforms: web
8940
8940
  */
8941
8941
  press_end_actions?: Type<NonEmptyArray<IDivAction>>;
8942
8942
  /**
8943
8943
  * Actions performed at the start of a click/tap on an element.
8944
8944
  *
8945
- * Platforms: not supported
8945
+ * Platforms: web
8946
8946
  */
8947
8947
  press_start_actions?: Type<NonEmptyArray<IDivAction>>;
8948
8948
  /**
@@ -9308,6 +9308,12 @@ declare class DivSlider<T extends DivSliderProps = DivSliderProps> {
9308
9308
  * on iOS.
9309
9309
  */
9310
9310
  id?: Type<string>;
9311
+ /**
9312
+ * Enables or disables value selecting by click/tap or swipe.
9313
+ *
9314
+ * Platforms: android
9315
+ */
9316
+ is_enabled?: Type<IntBoolean | DivExpression>;
9311
9317
  /**
9312
9318
  * Provides data on the actual size of the element.
9313
9319
  *
@@ -9552,6 +9558,12 @@ interface DivSliderProps {
9552
9558
  * on iOS.
9553
9559
  */
9554
9560
  id?: Type<string>;
9561
+ /**
9562
+ * Enables or disables value selecting by click/tap or swipe.
9563
+ *
9564
+ * Platforms: android
9565
+ */
9566
+ is_enabled?: Type<IntBoolean | DivExpression>;
9555
9567
  /**
9556
9568
  * Provides data on the actual size of the element.
9557
9569
  *
@@ -9833,7 +9845,7 @@ declare class DivState<T extends DivStateProps = DivStateProps> {
9833
9845
  /**
9834
9846
  * Enables the bounding of child elements by the parent's borders.
9835
9847
  *
9836
- * Platforms: android
9848
+ * Platforms: android, web
9837
9849
  */
9838
9850
  clip_to_bounds?: Type<IntBoolean | DivExpression>;
9839
9851
  /**
@@ -10051,7 +10063,7 @@ interface DivStateProps {
10051
10063
  /**
10052
10064
  * Enables the bounding of child elements by the parent's borders.
10053
10065
  *
10054
- * Platforms: android
10066
+ * Platforms: android, web
10055
10067
  */
10056
10068
  clip_to_bounds?: Type<IntBoolean | DivExpression>;
10057
10069
  /**
@@ -11473,14 +11485,14 @@ declare class DivText<T extends DivTextProps = DivTextProps> {
11473
11485
  * Actions performed after hovering over an element. Available on platforms that support pointing
11474
11486
  * devices (such as a mouse or stylus).
11475
11487
  *
11476
- * Platforms: not supported
11488
+ * Platforms: web
11477
11489
  */
11478
11490
  hover_end_actions?: Type<NonEmptyArray<IDivAction>>;
11479
11491
  /**
11480
11492
  * Actions performed when hovering over an element. Available on platforms that support pointing
11481
11493
  * devices (such as a mouse or stylus).
11482
11494
  *
11483
- * Platforms: not supported
11495
+ * Platforms: web
11484
11496
  */
11485
11497
  hover_start_actions?: Type<NonEmptyArray<IDivAction>>;
11486
11498
  /**
@@ -11538,13 +11550,13 @@ declare class DivText<T extends DivTextProps = DivTextProps> {
11538
11550
  /**
11539
11551
  * Actions performed after clicking/tapping an element.
11540
11552
  *
11541
- * Platforms: not supported
11553
+ * Platforms: web
11542
11554
  */
11543
11555
  press_end_actions?: Type<NonEmptyArray<IDivAction>>;
11544
11556
  /**
11545
11557
  * Actions performed at the start of a click/tap on an element.
11546
11558
  *
11547
- * Platforms: not supported
11559
+ * Platforms: web
11548
11560
  */
11549
11561
  press_start_actions?: Type<NonEmptyArray<IDivAction>>;
11550
11562
  /**
@@ -11851,14 +11863,14 @@ interface DivTextProps {
11851
11863
  * Actions performed after hovering over an element. Available on platforms that support pointing
11852
11864
  * devices (such as a mouse or stylus).
11853
11865
  *
11854
- * Platforms: not supported
11866
+ * Platforms: web
11855
11867
  */
11856
11868
  hover_end_actions?: Type<NonEmptyArray<IDivAction>>;
11857
11869
  /**
11858
11870
  * Actions performed when hovering over an element. Available on platforms that support pointing
11859
11871
  * devices (such as a mouse or stylus).
11860
11872
  *
11861
- * Platforms: not supported
11873
+ * Platforms: web
11862
11874
  */
11863
11875
  hover_start_actions?: Type<NonEmptyArray<IDivAction>>;
11864
11876
  /**
@@ -11916,13 +11928,13 @@ interface DivTextProps {
11916
11928
  /**
11917
11929
  * Actions performed after clicking/tapping an element.
11918
11930
  *
11919
- * Platforms: not supported
11931
+ * Platforms: web
11920
11932
  */
11921
11933
  press_end_actions?: Type<NonEmptyArray<IDivAction>>;
11922
11934
  /**
11923
11935
  * Actions performed at the start of a click/tap on an element.
11924
11936
  *
11925
- * Platforms: not supported
11937
+ * Platforms: web
11926
11938
  */
11927
11939
  press_start_actions?: Type<NonEmptyArray<IDivAction>>;
11928
11940
  /**
@@ -12092,20 +12104,14 @@ declare type DivTextTruncate = 'none' | 'start' | 'end' | 'middle';
12092
12104
  interface IDivTextEllipsis {
12093
12105
  /**
12094
12106
  * Actions when clicking on a crop marker.
12095
- *
12096
- * Platforms: android, ios, web
12097
12107
  */
12098
12108
  actions?: Type<NonEmptyArray<IDivAction>>;
12099
12109
  /**
12100
12110
  * Images embedded in a crop marker.
12101
- *
12102
- * Platforms: android, ios, web
12103
12111
  */
12104
12112
  images?: Type<NonEmptyArray<IDivTextImage>>;
12105
12113
  /**
12106
12114
  * Character ranges inside a crop marker with different text styles.
12107
- *
12108
- * Platforms: android, ios, web
12109
12115
  */
12110
12116
  ranges?: Type<NonEmptyArray<IDivTextRange>>;
12111
12117
  /**
@@ -12118,7 +12124,7 @@ interface IDivTextEllipsis {
12118
12124
  */
12119
12125
  interface IDivTextImage {
12120
12126
  /**
12121
- * Platforms: android
12127
+ * Platforms: android, web
12122
12128
  */
12123
12129
  accessibility?: Type<IImageAccessibility>;
12124
12130
  /**
@@ -12139,7 +12145,7 @@ interface IDivTextImage {
12139
12145
  * indexation from the end towards the begging of a string ([N, ..., 2, 1, 0]). Use to insert an
12140
12146
  * image by index relative to the end of a string.
12141
12147
  *
12142
- * Platforms: android
12148
+ * Platforms: android, web
12143
12149
  */
12144
12150
  indexing_direction?: Type<ImageIndexingDirection | DivExpression>;
12145
12151
  /**
@@ -1523,6 +1523,7 @@ class DivSlider {
1523
1523
  this.functions = props.functions;
1524
1524
  this.height = props.height;
1525
1525
  this.id = props.id;
1526
+ this.is_enabled = props.is_enabled;
1526
1527
  this.layout_provider = props.layout_provider;
1527
1528
  this.margins = props.margins;
1528
1529
  this.max_value = props.max_value;