@divkitframework/jsonbuilder 30.9.0 → 30.11.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 +16 -0
- package/dist/es/jsonbuilder.js.map +1 -1
- package/dist/jsonbuilder.d.ts +165 -0
- package/dist/jsonbuilder.js +16 -0
- package/dist/jsonbuilder.js.map +1 -1
- package/package.json +1 -1
package/dist/jsonbuilder.d.ts
CHANGED
|
@@ -648,6 +648,11 @@ interface IDivBase {
|
|
|
648
648
|
* Internal margins from the element stroke.
|
|
649
649
|
*/
|
|
650
650
|
paddings?: Type<IDivEdgeInsets>;
|
|
651
|
+
/**
|
|
652
|
+
* Id for the div structure. Used for more optimal reuse of blocks. See [reusing
|
|
653
|
+
* blocks](../../reuse/reuse.md)
|
|
654
|
+
*/
|
|
655
|
+
reuse_id?: Type<string | DivExpression>;
|
|
651
656
|
/**
|
|
652
657
|
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
653
658
|
*/
|
|
@@ -1026,6 +1031,11 @@ declare class DivContainer<T extends DivContainerProps = DivContainerProps> {
|
|
|
1026
1031
|
* Internal margins from the element stroke.
|
|
1027
1032
|
*/
|
|
1028
1033
|
paddings?: Type<IDivEdgeInsets>;
|
|
1034
|
+
/**
|
|
1035
|
+
* Id for the div structure. Used for more optimal reuse of blocks. See [reusing
|
|
1036
|
+
* blocks](../../reuse/reuse.md)
|
|
1037
|
+
*/
|
|
1038
|
+
reuse_id?: Type<string | DivExpression>;
|
|
1029
1039
|
/**
|
|
1030
1040
|
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
1031
1041
|
*/
|
|
@@ -1230,6 +1240,11 @@ interface DivContainerPropsBase {
|
|
|
1230
1240
|
* Internal margins from the element stroke.
|
|
1231
1241
|
*/
|
|
1232
1242
|
paddings?: Type<IDivEdgeInsets>;
|
|
1243
|
+
/**
|
|
1244
|
+
* Id for the div structure. Used for more optimal reuse of blocks. See [reusing
|
|
1245
|
+
* blocks](../../reuse/reuse.md)
|
|
1246
|
+
*/
|
|
1247
|
+
reuse_id?: Type<string | DivExpression>;
|
|
1233
1248
|
/**
|
|
1234
1249
|
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
1235
1250
|
*/
|
|
@@ -1477,6 +1492,11 @@ declare class DivCustom<T extends DivCustomProps = DivCustomProps> {
|
|
|
1477
1492
|
* Internal margins from the element stroke.
|
|
1478
1493
|
*/
|
|
1479
1494
|
paddings?: Type<IDivEdgeInsets>;
|
|
1495
|
+
/**
|
|
1496
|
+
* Id for the div structure. Used for more optimal reuse of blocks. See [reusing
|
|
1497
|
+
* blocks](../../reuse/reuse.md)
|
|
1498
|
+
*/
|
|
1499
|
+
reuse_id?: Type<string | DivExpression>;
|
|
1480
1500
|
/**
|
|
1481
1501
|
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
1482
1502
|
*/
|
|
@@ -1616,6 +1636,11 @@ interface DivCustomProps {
|
|
|
1616
1636
|
* Internal margins from the element stroke.
|
|
1617
1637
|
*/
|
|
1618
1638
|
paddings?: Type<IDivEdgeInsets>;
|
|
1639
|
+
/**
|
|
1640
|
+
* Id for the div structure. Used for more optimal reuse of blocks. See [reusing
|
|
1641
|
+
* blocks](../../reuse/reuse.md)
|
|
1642
|
+
*/
|
|
1643
|
+
reuse_id?: Type<string | DivExpression>;
|
|
1619
1644
|
/**
|
|
1620
1645
|
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
1621
1646
|
*/
|
|
@@ -2146,6 +2171,11 @@ declare class DivGallery<T extends DivGalleryProps = DivGalleryProps> {
|
|
|
2146
2171
|
* element.
|
|
2147
2172
|
*/
|
|
2148
2173
|
restrict_parent_scroll?: Type<IntBoolean | DivExpression>;
|
|
2174
|
+
/**
|
|
2175
|
+
* Id for the div structure. Used for more optimal reuse of blocks. See [reusing
|
|
2176
|
+
* blocks](../../reuse/reuse.md)
|
|
2177
|
+
*/
|
|
2178
|
+
reuse_id?: Type<string | DivExpression>;
|
|
2149
2179
|
/**
|
|
2150
2180
|
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
2151
2181
|
*/
|
|
@@ -2336,6 +2366,11 @@ interface DivGalleryProps {
|
|
|
2336
2366
|
* element.
|
|
2337
2367
|
*/
|
|
2338
2368
|
restrict_parent_scroll?: Type<IntBoolean | DivExpression>;
|
|
2369
|
+
/**
|
|
2370
|
+
* Id for the div structure. Used for more optimal reuse of blocks. See [reusing
|
|
2371
|
+
* blocks](../../reuse/reuse.md)
|
|
2372
|
+
*/
|
|
2373
|
+
reuse_id?: Type<string | DivExpression>;
|
|
2339
2374
|
/**
|
|
2340
2375
|
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
2341
2376
|
*/
|
|
@@ -2535,6 +2570,11 @@ declare class DivGifImage<T extends DivGifImageProps = DivGifImageProps> {
|
|
|
2535
2570
|
* image is loaded. Format `data url`: `data:[;base64],<data>`
|
|
2536
2571
|
*/
|
|
2537
2572
|
preview?: Type<string | DivExpression>;
|
|
2573
|
+
/**
|
|
2574
|
+
* Id for the div structure. Used for more optimal reuse of blocks. See [reusing
|
|
2575
|
+
* blocks](../../reuse/reuse.md)
|
|
2576
|
+
*/
|
|
2577
|
+
reuse_id?: Type<string | DivExpression>;
|
|
2538
2578
|
/**
|
|
2539
2579
|
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
2540
2580
|
*/
|
|
@@ -2719,6 +2759,11 @@ interface DivGifImageProps {
|
|
|
2719
2759
|
* image is loaded. Format `data url`: `data:[;base64],<data>`
|
|
2720
2760
|
*/
|
|
2721
2761
|
preview?: Type<string | DivExpression>;
|
|
2762
|
+
/**
|
|
2763
|
+
* Id for the div structure. Used for more optimal reuse of blocks. See [reusing
|
|
2764
|
+
* blocks](../../reuse/reuse.md)
|
|
2765
|
+
*/
|
|
2766
|
+
reuse_id?: Type<string | DivExpression>;
|
|
2722
2767
|
/**
|
|
2723
2768
|
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
2724
2769
|
*/
|
|
@@ -2894,6 +2939,11 @@ declare class DivGrid<T extends DivGridProps = DivGridProps> {
|
|
|
2894
2939
|
* Internal margins from the element stroke.
|
|
2895
2940
|
*/
|
|
2896
2941
|
paddings?: Type<IDivEdgeInsets>;
|
|
2942
|
+
/**
|
|
2943
|
+
* Id for the div structure. Used for more optimal reuse of blocks. See [reusing
|
|
2944
|
+
* blocks](../../reuse/reuse.md)
|
|
2945
|
+
*/
|
|
2946
|
+
reuse_id?: Type<string | DivExpression>;
|
|
2897
2947
|
/**
|
|
2898
2948
|
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
2899
2949
|
*/
|
|
@@ -3059,6 +3109,11 @@ interface DivGridProps {
|
|
|
3059
3109
|
* Internal margins from the element stroke.
|
|
3060
3110
|
*/
|
|
3061
3111
|
paddings?: Type<IDivEdgeInsets>;
|
|
3112
|
+
/**
|
|
3113
|
+
* Id for the div structure. Used for more optimal reuse of blocks. See [reusing
|
|
3114
|
+
* blocks](../../reuse/reuse.md)
|
|
3115
|
+
*/
|
|
3116
|
+
reuse_id?: Type<string | DivExpression>;
|
|
3062
3117
|
/**
|
|
3063
3118
|
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
3064
3119
|
*/
|
|
@@ -3257,6 +3312,11 @@ declare class DivImage<T extends DivImageProps = DivImageProps> {
|
|
|
3257
3312
|
* image is loaded. Format `data url`: `data:[;base64],<data>`
|
|
3258
3313
|
*/
|
|
3259
3314
|
preview?: Type<string | DivExpression>;
|
|
3315
|
+
/**
|
|
3316
|
+
* Id for the div structure. Used for more optimal reuse of blocks. See [reusing
|
|
3317
|
+
* blocks](../../reuse/reuse.md)
|
|
3318
|
+
*/
|
|
3319
|
+
reuse_id?: Type<string | DivExpression>;
|
|
3260
3320
|
/**
|
|
3261
3321
|
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
3262
3322
|
*/
|
|
@@ -3463,6 +3523,11 @@ interface DivImageProps {
|
|
|
3463
3523
|
* image is loaded. Format `data url`: `data:[;base64],<data>`
|
|
3464
3524
|
*/
|
|
3465
3525
|
preview?: Type<string | DivExpression>;
|
|
3526
|
+
/**
|
|
3527
|
+
* Id for the div structure. Used for more optimal reuse of blocks. See [reusing
|
|
3528
|
+
* blocks](../../reuse/reuse.md)
|
|
3529
|
+
*/
|
|
3530
|
+
reuse_id?: Type<string | DivExpression>;
|
|
3466
3531
|
/**
|
|
3467
3532
|
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
3468
3533
|
*/
|
|
@@ -3727,6 +3792,11 @@ declare class DivIndicator<T extends DivIndicatorProps = DivIndicatorProps> {
|
|
|
3727
3792
|
* ID of the pager that is a data source for an indicator.
|
|
3728
3793
|
*/
|
|
3729
3794
|
pager_id?: Type<string>;
|
|
3795
|
+
/**
|
|
3796
|
+
* Id for the div structure. Used for more optimal reuse of blocks. See [reusing
|
|
3797
|
+
* blocks](../../reuse/reuse.md)
|
|
3798
|
+
*/
|
|
3799
|
+
reuse_id?: Type<string | DivExpression>;
|
|
3730
3800
|
/**
|
|
3731
3801
|
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
3732
3802
|
*/
|
|
@@ -3916,6 +3986,11 @@ interface DivIndicatorProps {
|
|
|
3916
3986
|
* ID of the pager that is a data source for an indicator.
|
|
3917
3987
|
*/
|
|
3918
3988
|
pager_id?: Type<string>;
|
|
3989
|
+
/**
|
|
3990
|
+
* Id for the div structure. Used for more optimal reuse of blocks. See [reusing
|
|
3991
|
+
* blocks](../../reuse/reuse.md)
|
|
3992
|
+
*/
|
|
3993
|
+
reuse_id?: Type<string | DivExpression>;
|
|
3919
3994
|
/**
|
|
3920
3995
|
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
3921
3996
|
*/
|
|
@@ -4142,6 +4217,11 @@ declare class DivInput<T extends DivInputProps = DivInputProps> {
|
|
|
4142
4217
|
* Internal margins from the element stroke.
|
|
4143
4218
|
*/
|
|
4144
4219
|
paddings?: Type<IDivEdgeInsets>;
|
|
4220
|
+
/**
|
|
4221
|
+
* Id for the div structure. Used for more optimal reuse of blocks. See [reusing
|
|
4222
|
+
* blocks](../../reuse/reuse.md)
|
|
4223
|
+
*/
|
|
4224
|
+
reuse_id?: Type<string | DivExpression>;
|
|
4145
4225
|
/**
|
|
4146
4226
|
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
4147
4227
|
*/
|
|
@@ -4361,6 +4441,11 @@ interface DivInputProps {
|
|
|
4361
4441
|
* Internal margins from the element stroke.
|
|
4362
4442
|
*/
|
|
4363
4443
|
paddings?: Type<IDivEdgeInsets>;
|
|
4444
|
+
/**
|
|
4445
|
+
* Id for the div structure. Used for more optimal reuse of blocks. See [reusing
|
|
4446
|
+
* blocks](../../reuse/reuse.md)
|
|
4447
|
+
*/
|
|
4448
|
+
reuse_id?: Type<string | DivExpression>;
|
|
4364
4449
|
/**
|
|
4365
4450
|
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
4366
4451
|
*/
|
|
@@ -4976,6 +5061,11 @@ declare class DivPager<T extends DivPagerProps = DivPagerProps> {
|
|
|
4976
5061
|
* element.
|
|
4977
5062
|
*/
|
|
4978
5063
|
restrict_parent_scroll?: Type<IntBoolean | DivExpression>;
|
|
5064
|
+
/**
|
|
5065
|
+
* Id for the div structure. Used for more optimal reuse of blocks. See [reusing
|
|
5066
|
+
* blocks](../../reuse/reuse.md)
|
|
5067
|
+
*/
|
|
5068
|
+
reuse_id?: Type<string | DivExpression>;
|
|
4979
5069
|
/**
|
|
4980
5070
|
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
4981
5071
|
*/
|
|
@@ -5150,6 +5240,11 @@ interface DivPagerProps {
|
|
|
5150
5240
|
* element.
|
|
5151
5241
|
*/
|
|
5152
5242
|
restrict_parent_scroll?: Type<IntBoolean | DivExpression>;
|
|
5243
|
+
/**
|
|
5244
|
+
* Id for the div structure. Used for more optimal reuse of blocks. See [reusing
|
|
5245
|
+
* blocks](../../reuse/reuse.md)
|
|
5246
|
+
*/
|
|
5247
|
+
reuse_id?: Type<string | DivExpression>;
|
|
5153
5248
|
/**
|
|
5154
5249
|
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
5155
5250
|
*/
|
|
@@ -5681,6 +5776,11 @@ declare class DivSelect<T extends DivSelectProps = DivSelectProps> {
|
|
|
5681
5776
|
* Internal margins from the element stroke.
|
|
5682
5777
|
*/
|
|
5683
5778
|
paddings?: Type<IDivEdgeInsets>;
|
|
5779
|
+
/**
|
|
5780
|
+
* Id for the div structure. Used for more optimal reuse of blocks. See [reusing
|
|
5781
|
+
* blocks](../../reuse/reuse.md)
|
|
5782
|
+
*/
|
|
5783
|
+
reuse_id?: Type<string | DivExpression>;
|
|
5684
5784
|
/**
|
|
5685
5785
|
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
5686
5786
|
*/
|
|
@@ -5856,6 +5956,11 @@ interface DivSelectProps {
|
|
|
5856
5956
|
* Internal margins from the element stroke.
|
|
5857
5957
|
*/
|
|
5858
5958
|
paddings?: Type<IDivEdgeInsets>;
|
|
5959
|
+
/**
|
|
5960
|
+
* Id for the div structure. Used for more optimal reuse of blocks. See [reusing
|
|
5961
|
+
* blocks](../../reuse/reuse.md)
|
|
5962
|
+
*/
|
|
5963
|
+
reuse_id?: Type<string | DivExpression>;
|
|
5859
5964
|
/**
|
|
5860
5965
|
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
5861
5966
|
*/
|
|
@@ -6035,6 +6140,11 @@ declare class DivSeparator<T extends DivSeparatorProps = DivSeparatorProps> {
|
|
|
6035
6140
|
* Internal margins from the element stroke.
|
|
6036
6141
|
*/
|
|
6037
6142
|
paddings?: Type<IDivEdgeInsets>;
|
|
6143
|
+
/**
|
|
6144
|
+
* Id for the div structure. Used for more optimal reuse of blocks. See [reusing
|
|
6145
|
+
* blocks](../../reuse/reuse.md)
|
|
6146
|
+
*/
|
|
6147
|
+
reuse_id?: Type<string | DivExpression>;
|
|
6038
6148
|
/**
|
|
6039
6149
|
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
6040
6150
|
*/
|
|
@@ -6188,6 +6298,11 @@ interface DivSeparatorProps {
|
|
|
6188
6298
|
* Internal margins from the element stroke.
|
|
6189
6299
|
*/
|
|
6190
6300
|
paddings?: Type<IDivEdgeInsets>;
|
|
6301
|
+
/**
|
|
6302
|
+
* Id for the div structure. Used for more optimal reuse of blocks. See [reusing
|
|
6303
|
+
* blocks](../../reuse/reuse.md)
|
|
6304
|
+
*/
|
|
6305
|
+
reuse_id?: Type<string | DivExpression>;
|
|
6191
6306
|
/**
|
|
6192
6307
|
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
6193
6308
|
*/
|
|
@@ -6510,6 +6625,11 @@ declare class DivSlider<T extends DivSliderProps = DivSliderProps> {
|
|
|
6510
6625
|
* Section style.
|
|
6511
6626
|
*/
|
|
6512
6627
|
ranges?: Type<NonEmptyArray<IDivSliderRange>>;
|
|
6628
|
+
/**
|
|
6629
|
+
* Id for the div structure. Used for more optimal reuse of blocks. See [reusing
|
|
6630
|
+
* blocks](../../reuse/reuse.md)
|
|
6631
|
+
*/
|
|
6632
|
+
reuse_id?: Type<string | DivExpression>;
|
|
6513
6633
|
/**
|
|
6514
6634
|
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
6515
6635
|
*/
|
|
@@ -6693,6 +6813,11 @@ interface DivSliderProps {
|
|
|
6693
6813
|
* Section style.
|
|
6694
6814
|
*/
|
|
6695
6815
|
ranges?: Type<NonEmptyArray<IDivSliderRange>>;
|
|
6816
|
+
/**
|
|
6817
|
+
* Id for the div structure. Used for more optimal reuse of blocks. See [reusing
|
|
6818
|
+
* blocks](../../reuse/reuse.md)
|
|
6819
|
+
*/
|
|
6820
|
+
reuse_id?: Type<string | DivExpression>;
|
|
6696
6821
|
/**
|
|
6697
6822
|
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
6698
6823
|
*/
|
|
@@ -6944,6 +7069,11 @@ declare class DivState<T extends DivStateProps = DivStateProps> {
|
|
|
6944
7069
|
* Internal margins from the element stroke.
|
|
6945
7070
|
*/
|
|
6946
7071
|
paddings?: Type<IDivEdgeInsets>;
|
|
7072
|
+
/**
|
|
7073
|
+
* Id for the div structure. Used for more optimal reuse of blocks. See [reusing
|
|
7074
|
+
* blocks](../../reuse/reuse.md)
|
|
7075
|
+
*/
|
|
7076
|
+
reuse_id?: Type<string | DivExpression>;
|
|
6947
7077
|
/**
|
|
6948
7078
|
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
6949
7079
|
*/
|
|
@@ -7099,6 +7229,11 @@ interface DivStateProps {
|
|
|
7099
7229
|
* Internal margins from the element stroke.
|
|
7100
7230
|
*/
|
|
7101
7231
|
paddings?: Type<IDivEdgeInsets>;
|
|
7232
|
+
/**
|
|
7233
|
+
* Id for the div structure. Used for more optimal reuse of blocks. See [reusing
|
|
7234
|
+
* blocks](../../reuse/reuse.md)
|
|
7235
|
+
*/
|
|
7236
|
+
reuse_id?: Type<string | DivExpression>;
|
|
7102
7237
|
/**
|
|
7103
7238
|
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
7104
7239
|
*/
|
|
@@ -7343,6 +7478,11 @@ declare class DivTabs<T extends DivTabsProps = DivTabsProps> {
|
|
|
7343
7478
|
* If the parameter is enabled, tabs won't transmit the scroll gesture to the parent element.
|
|
7344
7479
|
*/
|
|
7345
7480
|
restrict_parent_scroll?: Type<IntBoolean | DivExpression>;
|
|
7481
|
+
/**
|
|
7482
|
+
* Id for the div structure. Used for more optimal reuse of blocks. See [reusing
|
|
7483
|
+
* blocks](../../reuse/reuse.md)
|
|
7484
|
+
*/
|
|
7485
|
+
reuse_id?: Type<string | DivExpression>;
|
|
7346
7486
|
/**
|
|
7347
7487
|
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
7348
7488
|
*/
|
|
@@ -7522,6 +7662,11 @@ interface DivTabsProps {
|
|
|
7522
7662
|
* If the parameter is enabled, tabs won't transmit the scroll gesture to the parent element.
|
|
7523
7663
|
*/
|
|
7524
7664
|
restrict_parent_scroll?: Type<IntBoolean | DivExpression>;
|
|
7665
|
+
/**
|
|
7666
|
+
* Id for the div structure. Used for more optimal reuse of blocks. See [reusing
|
|
7667
|
+
* blocks](../../reuse/reuse.md)
|
|
7668
|
+
*/
|
|
7669
|
+
reuse_id?: Type<string | DivExpression>;
|
|
7525
7670
|
/**
|
|
7526
7671
|
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
7527
7672
|
*/
|
|
@@ -7882,6 +8027,11 @@ declare class DivText<T extends DivTextProps = DivTextProps> {
|
|
|
7882
8027
|
* `start` and `end` fields.
|
|
7883
8028
|
*/
|
|
7884
8029
|
ranges?: Type<NonEmptyArray<IDivTextRange>>;
|
|
8030
|
+
/**
|
|
8031
|
+
* Id for the div structure. Used for more optimal reuse of blocks. See [reusing
|
|
8032
|
+
* blocks](../../reuse/reuse.md)
|
|
8033
|
+
*/
|
|
8034
|
+
reuse_id?: Type<string | DivExpression>;
|
|
7885
8035
|
/**
|
|
7886
8036
|
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
7887
8037
|
*/
|
|
@@ -8133,6 +8283,11 @@ interface DivTextProps {
|
|
|
8133
8283
|
* `start` and `end` fields.
|
|
8134
8284
|
*/
|
|
8135
8285
|
ranges?: Type<NonEmptyArray<IDivTextRange>>;
|
|
8286
|
+
/**
|
|
8287
|
+
* Id for the div structure. Used for more optimal reuse of blocks. See [reusing
|
|
8288
|
+
* blocks](../../reuse/reuse.md)
|
|
8289
|
+
*/
|
|
8290
|
+
reuse_id?: Type<string | DivExpression>;
|
|
8136
8291
|
/**
|
|
8137
8292
|
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
8138
8293
|
*/
|
|
@@ -8654,6 +8809,11 @@ declare class DivVideo<T extends DivVideoProps = DivVideoProps> {
|
|
|
8654
8809
|
* Actions performed when video playback resumes.
|
|
8655
8810
|
*/
|
|
8656
8811
|
resume_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
8812
|
+
/**
|
|
8813
|
+
* Id for the div structure. Used for more optimal reuse of blocks. See [reusing
|
|
8814
|
+
* blocks](../../reuse/reuse.md)
|
|
8815
|
+
*/
|
|
8816
|
+
reuse_id?: Type<string | DivExpression>;
|
|
8657
8817
|
/**
|
|
8658
8818
|
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
8659
8819
|
*/
|
|
@@ -8842,6 +9002,11 @@ interface DivVideoProps {
|
|
|
8842
9002
|
* Actions performed when video playback resumes.
|
|
8843
9003
|
*/
|
|
8844
9004
|
resume_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
9005
|
+
/**
|
|
9006
|
+
* Id for the div structure. Used for more optimal reuse of blocks. See [reusing
|
|
9007
|
+
* blocks](../../reuse/reuse.md)
|
|
9008
|
+
*/
|
|
9009
|
+
reuse_id?: Type<string | DivExpression>;
|
|
8845
9010
|
/**
|
|
8846
9011
|
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
8847
9012
|
*/
|
package/dist/jsonbuilder.js
CHANGED
|
@@ -292,6 +292,7 @@ class DivContainer {
|
|
|
292
292
|
this.margins = props === null || props === void 0 ? void 0 : props.margins;
|
|
293
293
|
this.orientation = props === null || props === void 0 ? void 0 : props.orientation;
|
|
294
294
|
this.paddings = props === null || props === void 0 ? void 0 : props.paddings;
|
|
295
|
+
this.reuse_id = props === null || props === void 0 ? void 0 : props.reuse_id;
|
|
295
296
|
this.row_span = props === null || props === void 0 ? void 0 : props.row_span;
|
|
296
297
|
this.selected_actions = props === null || props === void 0 ? void 0 : props.selected_actions;
|
|
297
298
|
this.separator = props === null || props === void 0 ? void 0 : props.separator;
|
|
@@ -347,6 +348,7 @@ class DivCustom {
|
|
|
347
348
|
this.layout_provider = props.layout_provider;
|
|
348
349
|
this.margins = props.margins;
|
|
349
350
|
this.paddings = props.paddings;
|
|
351
|
+
this.reuse_id = props.reuse_id;
|
|
350
352
|
this.row_span = props.row_span;
|
|
351
353
|
this.selected_actions = props.selected_actions;
|
|
352
354
|
this.tooltips = props.tooltips;
|
|
@@ -466,6 +468,7 @@ class DivGallery {
|
|
|
466
468
|
this.orientation = props === null || props === void 0 ? void 0 : props.orientation;
|
|
467
469
|
this.paddings = props === null || props === void 0 ? void 0 : props.paddings;
|
|
468
470
|
this.restrict_parent_scroll = props === null || props === void 0 ? void 0 : props.restrict_parent_scroll;
|
|
471
|
+
this.reuse_id = props === null || props === void 0 ? void 0 : props.reuse_id;
|
|
469
472
|
this.row_span = props === null || props === void 0 ? void 0 : props.row_span;
|
|
470
473
|
this.scroll_mode = props === null || props === void 0 ? void 0 : props.scroll_mode;
|
|
471
474
|
this.scrollbar = props === null || props === void 0 ? void 0 : props.scrollbar;
|
|
@@ -518,6 +521,7 @@ class DivGifImage {
|
|
|
518
521
|
this.placeholder_color = props.placeholder_color;
|
|
519
522
|
this.preload_required = props.preload_required;
|
|
520
523
|
this.preview = props.preview;
|
|
524
|
+
this.reuse_id = props.reuse_id;
|
|
521
525
|
this.row_span = props.row_span;
|
|
522
526
|
this.scale = props.scale;
|
|
523
527
|
this.selected_actions = props.selected_actions;
|
|
@@ -566,6 +570,7 @@ class DivGrid {
|
|
|
566
570
|
this.longtap_actions = props.longtap_actions;
|
|
567
571
|
this.margins = props.margins;
|
|
568
572
|
this.paddings = props.paddings;
|
|
573
|
+
this.reuse_id = props.reuse_id;
|
|
569
574
|
this.row_span = props.row_span;
|
|
570
575
|
this.selected_actions = props.selected_actions;
|
|
571
576
|
this.tooltips = props.tooltips;
|
|
@@ -619,6 +624,7 @@ class DivImage {
|
|
|
619
624
|
this.placeholder_color = props.placeholder_color;
|
|
620
625
|
this.preload_required = props.preload_required;
|
|
621
626
|
this.preview = props.preview;
|
|
627
|
+
this.reuse_id = props.reuse_id;
|
|
622
628
|
this.row_span = props.row_span;
|
|
623
629
|
this.scale = props.scale;
|
|
624
630
|
this.selected_actions = props.selected_actions;
|
|
@@ -687,6 +693,7 @@ class DivIndicator {
|
|
|
687
693
|
this.minimum_item_size = props === null || props === void 0 ? void 0 : props.minimum_item_size;
|
|
688
694
|
this.paddings = props === null || props === void 0 ? void 0 : props.paddings;
|
|
689
695
|
this.pager_id = props === null || props === void 0 ? void 0 : props.pager_id;
|
|
696
|
+
this.reuse_id = props === null || props === void 0 ? void 0 : props.reuse_id;
|
|
690
697
|
this.row_span = props === null || props === void 0 ? void 0 : props.row_span;
|
|
691
698
|
this.selected_actions = props === null || props === void 0 ? void 0 : props.selected_actions;
|
|
692
699
|
this.shape = props === null || props === void 0 ? void 0 : props.shape;
|
|
@@ -753,6 +760,7 @@ class DivInput {
|
|
|
753
760
|
this.max_visible_lines = props.max_visible_lines;
|
|
754
761
|
this.native_interface = props.native_interface;
|
|
755
762
|
this.paddings = props.paddings;
|
|
763
|
+
this.reuse_id = props.reuse_id;
|
|
756
764
|
this.row_span = props.row_span;
|
|
757
765
|
this.select_all_on_focus = props.select_all_on_focus;
|
|
758
766
|
this.selected_actions = props.selected_actions;
|
|
@@ -923,6 +931,7 @@ class DivPager {
|
|
|
923
931
|
this.paddings = props.paddings;
|
|
924
932
|
this.page_transformation = props.page_transformation;
|
|
925
933
|
this.restrict_parent_scroll = props.restrict_parent_scroll;
|
|
934
|
+
this.reuse_id = props.reuse_id;
|
|
926
935
|
this.row_span = props.row_span;
|
|
927
936
|
this.selected_actions = props.selected_actions;
|
|
928
937
|
this.tooltips = props.tooltips;
|
|
@@ -1095,6 +1104,7 @@ class DivSelect {
|
|
|
1095
1104
|
this.margins = props.margins;
|
|
1096
1105
|
this.options = props.options;
|
|
1097
1106
|
this.paddings = props.paddings;
|
|
1107
|
+
this.reuse_id = props.reuse_id;
|
|
1098
1108
|
this.row_span = props.row_span;
|
|
1099
1109
|
this.selected_actions = props.selected_actions;
|
|
1100
1110
|
this.text_color = props.text_color;
|
|
@@ -1141,6 +1151,7 @@ class DivSeparator {
|
|
|
1141
1151
|
this.longtap_actions = props === null || props === void 0 ? void 0 : props.longtap_actions;
|
|
1142
1152
|
this.margins = props === null || props === void 0 ? void 0 : props.margins;
|
|
1143
1153
|
this.paddings = props === null || props === void 0 ? void 0 : props.paddings;
|
|
1154
|
+
this.reuse_id = props === null || props === void 0 ? void 0 : props.reuse_id;
|
|
1144
1155
|
this.row_span = props === null || props === void 0 ? void 0 : props.row_span;
|
|
1145
1156
|
this.selected_actions = props === null || props === void 0 ? void 0 : props.selected_actions;
|
|
1146
1157
|
this.tooltips = props === null || props === void 0 ? void 0 : props.tooltips;
|
|
@@ -1210,6 +1221,7 @@ class DivSlider {
|
|
|
1210
1221
|
this.min_value = props.min_value;
|
|
1211
1222
|
this.paddings = props.paddings;
|
|
1212
1223
|
this.ranges = props.ranges;
|
|
1224
|
+
this.reuse_id = props.reuse_id;
|
|
1213
1225
|
this.row_span = props.row_span;
|
|
1214
1226
|
this.secondary_value_accessibility = props.secondary_value_accessibility;
|
|
1215
1227
|
this.selected_actions = props.selected_actions;
|
|
@@ -1272,6 +1284,7 @@ class DivState {
|
|
|
1272
1284
|
this.layout_provider = props.layout_provider;
|
|
1273
1285
|
this.margins = props.margins;
|
|
1274
1286
|
this.paddings = props.paddings;
|
|
1287
|
+
this.reuse_id = props.reuse_id;
|
|
1275
1288
|
this.row_span = props.row_span;
|
|
1276
1289
|
this.selected_actions = props.selected_actions;
|
|
1277
1290
|
this.state_id_variable = props.state_id_variable;
|
|
@@ -1330,6 +1343,7 @@ class DivTabs {
|
|
|
1330
1343
|
this.margins = props.margins;
|
|
1331
1344
|
this.paddings = props.paddings;
|
|
1332
1345
|
this.restrict_parent_scroll = props.restrict_parent_scroll;
|
|
1346
|
+
this.reuse_id = props.reuse_id;
|
|
1333
1347
|
this.row_span = props.row_span;
|
|
1334
1348
|
this.selected_actions = props.selected_actions;
|
|
1335
1349
|
this.selected_tab = props.selected_tab;
|
|
@@ -1395,6 +1409,7 @@ class DivText {
|
|
|
1395
1409
|
this.min_hidden_lines = props.min_hidden_lines;
|
|
1396
1410
|
this.paddings = props.paddings;
|
|
1397
1411
|
this.ranges = props.ranges;
|
|
1412
|
+
this.reuse_id = props.reuse_id;
|
|
1398
1413
|
this.row_span = props.row_span;
|
|
1399
1414
|
this.selectable = props.selectable;
|
|
1400
1415
|
this.selected_actions = props.selected_actions;
|
|
@@ -1456,6 +1471,7 @@ class DivVideo {
|
|
|
1456
1471
|
this.preview = props.preview;
|
|
1457
1472
|
this.repeatable = props.repeatable;
|
|
1458
1473
|
this.resume_actions = props.resume_actions;
|
|
1474
|
+
this.reuse_id = props.reuse_id;
|
|
1459
1475
|
this.row_span = props.row_span;
|
|
1460
1476
|
this.scale = props.scale;
|
|
1461
1477
|
this.selected_actions = props.selected_actions;
|