@divkitframework/jsonbuilder 30.12.0 → 30.13.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 +132 -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
|
@@ -691,6 +691,10 @@ interface IDivBase {
|
|
|
691
691
|
* Animation starting triggers. Default value: `[state_change, visibility_change]`.
|
|
692
692
|
*/
|
|
693
693
|
transition_triggers?: Type<NonEmptyArray<DivTransitionTrigger>>;
|
|
694
|
+
/**
|
|
695
|
+
* Triggers for changing variables within an element.
|
|
696
|
+
*/
|
|
697
|
+
variable_triggers?: Type<NonEmptyArray<IDivTrigger>>;
|
|
694
698
|
/**
|
|
695
699
|
* Definition of variables that can be used within this element. These variables, defined in the
|
|
696
700
|
* array, can only be used inside this element and its children.
|
|
@@ -1080,6 +1084,10 @@ declare class DivContainer<T extends DivContainerProps = DivContainerProps> {
|
|
|
1080
1084
|
* Animation starting triggers. Default value: `[state_change, visibility_change]`.
|
|
1081
1085
|
*/
|
|
1082
1086
|
transition_triggers?: Type<NonEmptyArray<DivTransitionTrigger>>;
|
|
1087
|
+
/**
|
|
1088
|
+
* Triggers for changing variables within an element.
|
|
1089
|
+
*/
|
|
1090
|
+
variable_triggers?: Type<NonEmptyArray<IDivTrigger>>;
|
|
1083
1091
|
/**
|
|
1084
1092
|
* Definition of variables that can be used within this element. These variables, defined in the
|
|
1085
1093
|
* array, can only be used inside this element and its children.
|
|
@@ -1289,6 +1297,10 @@ interface DivContainerPropsBase {
|
|
|
1289
1297
|
* Animation starting triggers. Default value: `[state_change, visibility_change]`.
|
|
1290
1298
|
*/
|
|
1291
1299
|
transition_triggers?: Type<NonEmptyArray<DivTransitionTrigger>>;
|
|
1300
|
+
/**
|
|
1301
|
+
* Triggers for changing variables within an element.
|
|
1302
|
+
*/
|
|
1303
|
+
variable_triggers?: Type<NonEmptyArray<IDivTrigger>>;
|
|
1292
1304
|
/**
|
|
1293
1305
|
* Definition of variables that can be used within this element. These variables, defined in the
|
|
1294
1306
|
* array, can only be used inside this element and its children.
|
|
@@ -1535,6 +1547,10 @@ declare class DivCustom<T extends DivCustomProps = DivCustomProps> {
|
|
|
1535
1547
|
* Animation starting triggers. Default value: `[state_change, visibility_change]`.
|
|
1536
1548
|
*/
|
|
1537
1549
|
transition_triggers?: Type<NonEmptyArray<DivTransitionTrigger>>;
|
|
1550
|
+
/**
|
|
1551
|
+
* Triggers for changing variables within an element.
|
|
1552
|
+
*/
|
|
1553
|
+
variable_triggers?: Type<NonEmptyArray<IDivTrigger>>;
|
|
1538
1554
|
/**
|
|
1539
1555
|
* Definition of variables that can be used within this element. These variables, defined in the
|
|
1540
1556
|
* array, can only be used inside this element and its children.
|
|
@@ -1679,6 +1695,10 @@ interface DivCustomProps {
|
|
|
1679
1695
|
* Animation starting triggers. Default value: `[state_change, visibility_change]`.
|
|
1680
1696
|
*/
|
|
1681
1697
|
transition_triggers?: Type<NonEmptyArray<DivTransitionTrigger>>;
|
|
1698
|
+
/**
|
|
1699
|
+
* Triggers for changing variables within an element.
|
|
1700
|
+
*/
|
|
1701
|
+
variable_triggers?: Type<NonEmptyArray<IDivTrigger>>;
|
|
1682
1702
|
/**
|
|
1683
1703
|
* Definition of variables that can be used within this element. These variables, defined in the
|
|
1684
1704
|
* array, can only be used inside this element and its children.
|
|
@@ -2225,6 +2245,10 @@ declare class DivGallery<T extends DivGalleryProps = DivGalleryProps> {
|
|
|
2225
2245
|
* Animation starting triggers. Default value: `[state_change, visibility_change]`.
|
|
2226
2246
|
*/
|
|
2227
2247
|
transition_triggers?: Type<NonEmptyArray<DivTransitionTrigger>>;
|
|
2248
|
+
/**
|
|
2249
|
+
* Triggers for changing variables within an element.
|
|
2250
|
+
*/
|
|
2251
|
+
variable_triggers?: Type<NonEmptyArray<IDivTrigger>>;
|
|
2228
2252
|
/**
|
|
2229
2253
|
* Definition of variables that can be used within this element. These variables, defined in the
|
|
2230
2254
|
* array, can only be used inside this element and its children.
|
|
@@ -2420,6 +2444,10 @@ interface DivGalleryProps {
|
|
|
2420
2444
|
* Animation starting triggers. Default value: `[state_change, visibility_change]`.
|
|
2421
2445
|
*/
|
|
2422
2446
|
transition_triggers?: Type<NonEmptyArray<DivTransitionTrigger>>;
|
|
2447
|
+
/**
|
|
2448
|
+
* Triggers for changing variables within an element.
|
|
2449
|
+
*/
|
|
2450
|
+
variable_triggers?: Type<NonEmptyArray<IDivTrigger>>;
|
|
2423
2451
|
/**
|
|
2424
2452
|
* Definition of variables that can be used within this element. These variables, defined in the
|
|
2425
2453
|
* array, can only be used inside this element and its children.
|
|
@@ -2618,6 +2646,10 @@ declare class DivGifImage<T extends DivGifImageProps = DivGifImageProps> {
|
|
|
2618
2646
|
* Animation starting triggers. Default value: `[state_change, visibility_change]`.
|
|
2619
2647
|
*/
|
|
2620
2648
|
transition_triggers?: Type<NonEmptyArray<DivTransitionTrigger>>;
|
|
2649
|
+
/**
|
|
2650
|
+
* Triggers for changing variables within an element.
|
|
2651
|
+
*/
|
|
2652
|
+
variable_triggers?: Type<NonEmptyArray<IDivTrigger>>;
|
|
2621
2653
|
/**
|
|
2622
2654
|
* Definition of variables that can be used within this element. These variables, defined in the
|
|
2623
2655
|
* array, can only be used inside this element and its children.
|
|
@@ -2807,6 +2839,10 @@ interface DivGifImageProps {
|
|
|
2807
2839
|
* Animation starting triggers. Default value: `[state_change, visibility_change]`.
|
|
2808
2840
|
*/
|
|
2809
2841
|
transition_triggers?: Type<NonEmptyArray<DivTransitionTrigger>>;
|
|
2842
|
+
/**
|
|
2843
|
+
* Triggers for changing variables within an element.
|
|
2844
|
+
*/
|
|
2845
|
+
variable_triggers?: Type<NonEmptyArray<IDivTrigger>>;
|
|
2810
2846
|
/**
|
|
2811
2847
|
* Definition of variables that can be used within this element. These variables, defined in the
|
|
2812
2848
|
* array, can only be used inside this element and its children.
|
|
@@ -2982,6 +3018,10 @@ declare class DivGrid<T extends DivGridProps = DivGridProps> {
|
|
|
2982
3018
|
* Animation starting triggers. Default value: `[state_change, visibility_change]`.
|
|
2983
3019
|
*/
|
|
2984
3020
|
transition_triggers?: Type<NonEmptyArray<DivTransitionTrigger>>;
|
|
3021
|
+
/**
|
|
3022
|
+
* Triggers for changing variables within an element.
|
|
3023
|
+
*/
|
|
3024
|
+
variable_triggers?: Type<NonEmptyArray<IDivTrigger>>;
|
|
2985
3025
|
/**
|
|
2986
3026
|
* Definition of variables that can be used within this element. These variables, defined in the
|
|
2987
3027
|
* array, can only be used inside this element and its children.
|
|
@@ -3152,6 +3192,10 @@ interface DivGridProps {
|
|
|
3152
3192
|
* Animation starting triggers. Default value: `[state_change, visibility_change]`.
|
|
3153
3193
|
*/
|
|
3154
3194
|
transition_triggers?: Type<NonEmptyArray<DivTransitionTrigger>>;
|
|
3195
|
+
/**
|
|
3196
|
+
* Triggers for changing variables within an element.
|
|
3197
|
+
*/
|
|
3198
|
+
variable_triggers?: Type<NonEmptyArray<IDivTrigger>>;
|
|
3155
3199
|
/**
|
|
3156
3200
|
* Definition of variables that can be used within this element. These variables, defined in the
|
|
3157
3201
|
* array, can only be used inside this element and its children.
|
|
@@ -3368,6 +3412,10 @@ declare class DivImage<T extends DivImageProps = DivImageProps> {
|
|
|
3368
3412
|
* Animation starting triggers. Default value: `[state_change, visibility_change]`.
|
|
3369
3413
|
*/
|
|
3370
3414
|
transition_triggers?: Type<NonEmptyArray<DivTransitionTrigger>>;
|
|
3415
|
+
/**
|
|
3416
|
+
* Triggers for changing variables within an element.
|
|
3417
|
+
*/
|
|
3418
|
+
variable_triggers?: Type<NonEmptyArray<IDivTrigger>>;
|
|
3371
3419
|
/**
|
|
3372
3420
|
* Definition of variables that can be used within this element. These variables, defined in the
|
|
3373
3421
|
* array, can only be used inside this element and its children.
|
|
@@ -3579,6 +3627,10 @@ interface DivImageProps {
|
|
|
3579
3627
|
* Animation starting triggers. Default value: `[state_change, visibility_change]`.
|
|
3580
3628
|
*/
|
|
3581
3629
|
transition_triggers?: Type<NonEmptyArray<DivTransitionTrigger>>;
|
|
3630
|
+
/**
|
|
3631
|
+
* Triggers for changing variables within an element.
|
|
3632
|
+
*/
|
|
3633
|
+
variable_triggers?: Type<NonEmptyArray<IDivTrigger>>;
|
|
3582
3634
|
/**
|
|
3583
3635
|
* Definition of variables that can be used within this element. These variables, defined in the
|
|
3584
3636
|
* array, can only be used inside this element and its children.
|
|
@@ -3847,6 +3899,10 @@ declare class DivIndicator<T extends DivIndicatorProps = DivIndicatorProps> {
|
|
|
3847
3899
|
* Animation starting triggers. Default value: `[state_change, visibility_change]`.
|
|
3848
3900
|
*/
|
|
3849
3901
|
transition_triggers?: Type<NonEmptyArray<DivTransitionTrigger>>;
|
|
3902
|
+
/**
|
|
3903
|
+
* Triggers for changing variables within an element.
|
|
3904
|
+
*/
|
|
3905
|
+
variable_triggers?: Type<NonEmptyArray<IDivTrigger>>;
|
|
3850
3906
|
/**
|
|
3851
3907
|
* Definition of variables that can be used within this element. These variables, defined in the
|
|
3852
3908
|
* array, can only be used inside this element and its children.
|
|
@@ -4041,6 +4097,10 @@ interface DivIndicatorProps {
|
|
|
4041
4097
|
* Animation starting triggers. Default value: `[state_change, visibility_change]`.
|
|
4042
4098
|
*/
|
|
4043
4099
|
transition_triggers?: Type<NonEmptyArray<DivTransitionTrigger>>;
|
|
4100
|
+
/**
|
|
4101
|
+
* Triggers for changing variables within an element.
|
|
4102
|
+
*/
|
|
4103
|
+
variable_triggers?: Type<NonEmptyArray<IDivTrigger>>;
|
|
4044
4104
|
/**
|
|
4045
4105
|
* Definition of variables that can be used within this element. These variables, defined in the
|
|
4046
4106
|
* array, can only be used inside this element and its children.
|
|
@@ -4284,6 +4344,10 @@ declare class DivInput<T extends DivInputProps = DivInputProps> {
|
|
|
4284
4344
|
* Validator that checks that the field value meets the specified conditions.
|
|
4285
4345
|
*/
|
|
4286
4346
|
validators?: Type<NonEmptyArray<DivInputValidator>>;
|
|
4347
|
+
/**
|
|
4348
|
+
* Triggers for changing variables within an element.
|
|
4349
|
+
*/
|
|
4350
|
+
variable_triggers?: Type<NonEmptyArray<IDivTrigger>>;
|
|
4287
4351
|
/**
|
|
4288
4352
|
* Definition of variables that can be used within this element. These variables, defined in the
|
|
4289
4353
|
* array, can only be used inside this element and its children.
|
|
@@ -4508,6 +4572,10 @@ interface DivInputProps {
|
|
|
4508
4572
|
* Validator that checks that the field value meets the specified conditions.
|
|
4509
4573
|
*/
|
|
4510
4574
|
validators?: Type<NonEmptyArray<DivInputValidator>>;
|
|
4575
|
+
/**
|
|
4576
|
+
* Triggers for changing variables within an element.
|
|
4577
|
+
*/
|
|
4578
|
+
variable_triggers?: Type<NonEmptyArray<IDivTrigger>>;
|
|
4511
4579
|
/**
|
|
4512
4580
|
* Definition of variables that can be used within this element. These variables, defined in the
|
|
4513
4581
|
* array, can only be used inside this element and its children.
|
|
@@ -5104,6 +5172,10 @@ declare class DivPager<T extends DivPagerProps = DivPagerProps> {
|
|
|
5104
5172
|
* Animation starting triggers. Default value: `[state_change, visibility_change]`.
|
|
5105
5173
|
*/
|
|
5106
5174
|
transition_triggers?: Type<NonEmptyArray<DivTransitionTrigger>>;
|
|
5175
|
+
/**
|
|
5176
|
+
* Triggers for changing variables within an element.
|
|
5177
|
+
*/
|
|
5178
|
+
variable_triggers?: Type<NonEmptyArray<IDivTrigger>>;
|
|
5107
5179
|
/**
|
|
5108
5180
|
* Definition of variables that can be used within this element. These variables, defined in the
|
|
5109
5181
|
* array, can only be used inside this element and its children.
|
|
@@ -5283,6 +5355,10 @@ interface DivPagerProps {
|
|
|
5283
5355
|
* Animation starting triggers. Default value: `[state_change, visibility_change]`.
|
|
5284
5356
|
*/
|
|
5285
5357
|
transition_triggers?: Type<NonEmptyArray<DivTransitionTrigger>>;
|
|
5358
|
+
/**
|
|
5359
|
+
* Triggers for changing variables within an element.
|
|
5360
|
+
*/
|
|
5361
|
+
variable_triggers?: Type<NonEmptyArray<IDivTrigger>>;
|
|
5286
5362
|
/**
|
|
5287
5363
|
* Definition of variables that can be used within this element. These variables, defined in the
|
|
5288
5364
|
* array, can only be used inside this element and its children.
|
|
@@ -5835,6 +5911,10 @@ declare class DivSelect<T extends DivSelectProps = DivSelectProps> {
|
|
|
5835
5911
|
* Name of the variable that stores the selected option value (`value`).
|
|
5836
5912
|
*/
|
|
5837
5913
|
value_variable: Type<string>;
|
|
5914
|
+
/**
|
|
5915
|
+
* Triggers for changing variables within an element.
|
|
5916
|
+
*/
|
|
5917
|
+
variable_triggers?: Type<NonEmptyArray<IDivTrigger>>;
|
|
5838
5918
|
/**
|
|
5839
5919
|
* Definition of variables that can be used within this element. These variables, defined in the
|
|
5840
5920
|
* array, can only be used inside this element and its children.
|
|
@@ -6015,6 +6095,10 @@ interface DivSelectProps {
|
|
|
6015
6095
|
* Name of the variable that stores the selected option value (`value`).
|
|
6016
6096
|
*/
|
|
6017
6097
|
value_variable: Type<string>;
|
|
6098
|
+
/**
|
|
6099
|
+
* Triggers for changing variables within an element.
|
|
6100
|
+
*/
|
|
6101
|
+
variable_triggers?: Type<NonEmptyArray<IDivTrigger>>;
|
|
6018
6102
|
/**
|
|
6019
6103
|
* Definition of variables that can be used within this element. These variables, defined in the
|
|
6020
6104
|
* array, can only be used inside this element and its children.
|
|
@@ -6191,6 +6275,10 @@ declare class DivSeparator<T extends DivSeparatorProps = DivSeparatorProps> {
|
|
|
6191
6275
|
* Animation starting triggers. Default value: `[state_change, visibility_change]`.
|
|
6192
6276
|
*/
|
|
6193
6277
|
transition_triggers?: Type<NonEmptyArray<DivTransitionTrigger>>;
|
|
6278
|
+
/**
|
|
6279
|
+
* Triggers for changing variables within an element.
|
|
6280
|
+
*/
|
|
6281
|
+
variable_triggers?: Type<NonEmptyArray<IDivTrigger>>;
|
|
6194
6282
|
/**
|
|
6195
6283
|
* Definition of variables that can be used within this element. These variables, defined in the
|
|
6196
6284
|
* array, can only be used inside this element and its children.
|
|
@@ -6349,6 +6437,10 @@ interface DivSeparatorProps {
|
|
|
6349
6437
|
* Animation starting triggers. Default value: `[state_change, visibility_change]`.
|
|
6350
6438
|
*/
|
|
6351
6439
|
transition_triggers?: Type<NonEmptyArray<DivTransitionTrigger>>;
|
|
6440
|
+
/**
|
|
6441
|
+
* Triggers for changing variables within an element.
|
|
6442
|
+
*/
|
|
6443
|
+
variable_triggers?: Type<NonEmptyArray<IDivTrigger>>;
|
|
6352
6444
|
/**
|
|
6353
6445
|
* Definition of variables that can be used within this element. These variables, defined in the
|
|
6354
6446
|
* array, can only be used inside this element and its children.
|
|
@@ -6720,6 +6812,10 @@ declare class DivSlider<T extends DivSliderProps = DivSliderProps> {
|
|
|
6720
6812
|
* Animation starting triggers. Default value: `[state_change, visibility_change]`.
|
|
6721
6813
|
*/
|
|
6722
6814
|
transition_triggers?: Type<NonEmptyArray<DivTransitionTrigger>>;
|
|
6815
|
+
/**
|
|
6816
|
+
* Triggers for changing variables within an element.
|
|
6817
|
+
*/
|
|
6818
|
+
variable_triggers?: Type<NonEmptyArray<IDivTrigger>>;
|
|
6723
6819
|
/**
|
|
6724
6820
|
* Definition of variables that can be used within this element. These variables, defined in the
|
|
6725
6821
|
* array, can only be used inside this element and its children.
|
|
@@ -6908,6 +7004,10 @@ interface DivSliderProps {
|
|
|
6908
7004
|
* Animation starting triggers. Default value: `[state_change, visibility_change]`.
|
|
6909
7005
|
*/
|
|
6910
7006
|
transition_triggers?: Type<NonEmptyArray<DivTransitionTrigger>>;
|
|
7007
|
+
/**
|
|
7008
|
+
* Triggers for changing variables within an element.
|
|
7009
|
+
*/
|
|
7010
|
+
variable_triggers?: Type<NonEmptyArray<IDivTrigger>>;
|
|
6911
7011
|
/**
|
|
6912
7012
|
* Definition of variables that can be used within this element. These variables, defined in the
|
|
6913
7013
|
* array, can only be used inside this element and its children.
|
|
@@ -7137,6 +7237,10 @@ declare class DivState<T extends DivStateProps = DivStateProps> {
|
|
|
7137
7237
|
* Animation starting triggers. Default value: `[state_change, visibility_change]`.
|
|
7138
7238
|
*/
|
|
7139
7239
|
transition_triggers?: Type<NonEmptyArray<DivTransitionTrigger>>;
|
|
7240
|
+
/**
|
|
7241
|
+
* Triggers for changing variables within an element.
|
|
7242
|
+
*/
|
|
7243
|
+
variable_triggers?: Type<NonEmptyArray<IDivTrigger>>;
|
|
7140
7244
|
/**
|
|
7141
7245
|
* Definition of variables that can be used within this element. These variables, defined in the
|
|
7142
7246
|
* array, can only be used inside this element and its children.
|
|
@@ -7297,6 +7401,10 @@ interface DivStateProps {
|
|
|
7297
7401
|
* Animation starting triggers. Default value: `[state_change, visibility_change]`.
|
|
7298
7402
|
*/
|
|
7299
7403
|
transition_triggers?: Type<NonEmptyArray<DivTransitionTrigger>>;
|
|
7404
|
+
/**
|
|
7405
|
+
* Triggers for changing variables within an element.
|
|
7406
|
+
*/
|
|
7407
|
+
variable_triggers?: Type<NonEmptyArray<IDivTrigger>>;
|
|
7300
7408
|
/**
|
|
7301
7409
|
* Definition of variables that can be used within this element. These variables, defined in the
|
|
7302
7410
|
* array, can only be used inside this element and its children.
|
|
@@ -7557,6 +7665,10 @@ declare class DivTabs<T extends DivTabsProps = DivTabsProps> {
|
|
|
7557
7665
|
* Animation starting triggers. Default value: `[state_change, visibility_change]`.
|
|
7558
7666
|
*/
|
|
7559
7667
|
transition_triggers?: Type<NonEmptyArray<DivTransitionTrigger>>;
|
|
7668
|
+
/**
|
|
7669
|
+
* Triggers for changing variables within an element.
|
|
7670
|
+
*/
|
|
7671
|
+
variable_triggers?: Type<NonEmptyArray<IDivTrigger>>;
|
|
7560
7672
|
/**
|
|
7561
7673
|
* Definition of variables that can be used within this element. These variables, defined in the
|
|
7562
7674
|
* array, can only be used inside this element and its children.
|
|
@@ -7741,6 +7853,10 @@ interface DivTabsProps {
|
|
|
7741
7853
|
* Animation starting triggers. Default value: `[state_change, visibility_change]`.
|
|
7742
7854
|
*/
|
|
7743
7855
|
transition_triggers?: Type<NonEmptyArray<DivTransitionTrigger>>;
|
|
7856
|
+
/**
|
|
7857
|
+
* Triggers for changing variables within an element.
|
|
7858
|
+
*/
|
|
7859
|
+
variable_triggers?: Type<NonEmptyArray<IDivTrigger>>;
|
|
7744
7860
|
/**
|
|
7745
7861
|
* Definition of variables that can be used within this element. These variables, defined in the
|
|
7746
7862
|
* array, can only be used inside this element and its children.
|
|
@@ -8120,6 +8236,10 @@ declare class DivText<T extends DivTextProps = DivTextProps> {
|
|
|
8120
8236
|
* Underline.
|
|
8121
8237
|
*/
|
|
8122
8238
|
underline?: Type<DivLineStyle | DivExpression>;
|
|
8239
|
+
/**
|
|
8240
|
+
* Triggers for changing variables within an element.
|
|
8241
|
+
*/
|
|
8242
|
+
variable_triggers?: Type<NonEmptyArray<IDivTrigger>>;
|
|
8123
8243
|
/**
|
|
8124
8244
|
* Definition of variables that can be used within this element. These variables, defined in the
|
|
8125
8245
|
* array, can only be used inside this element and its children.
|
|
@@ -8376,6 +8496,10 @@ interface DivTextProps {
|
|
|
8376
8496
|
* Underline.
|
|
8377
8497
|
*/
|
|
8378
8498
|
underline?: Type<DivLineStyle | DivExpression>;
|
|
8499
|
+
/**
|
|
8500
|
+
* Triggers for changing variables within an element.
|
|
8501
|
+
*/
|
|
8502
|
+
variable_triggers?: Type<NonEmptyArray<IDivTrigger>>;
|
|
8379
8503
|
/**
|
|
8380
8504
|
* Definition of variables that can be used within this element. These variables, defined in the
|
|
8381
8505
|
* array, can only be used inside this element and its children.
|
|
@@ -8865,6 +8989,10 @@ declare class DivVideo<T extends DivVideoProps = DivVideoProps> {
|
|
|
8865
8989
|
* Animation starting triggers. Default value: `[state_change, visibility_change]`.
|
|
8866
8990
|
*/
|
|
8867
8991
|
transition_triggers?: Type<NonEmptyArray<DivTransitionTrigger>>;
|
|
8992
|
+
/**
|
|
8993
|
+
* Triggers for changing variables within an element.
|
|
8994
|
+
*/
|
|
8995
|
+
variable_triggers?: Type<NonEmptyArray<IDivTrigger>>;
|
|
8868
8996
|
/**
|
|
8869
8997
|
* Definition of variables that can be used within this element. These variables, defined in the
|
|
8870
8998
|
* array, can only be used inside this element and its children.
|
|
@@ -9058,6 +9186,10 @@ interface DivVideoProps {
|
|
|
9058
9186
|
* Animation starting triggers. Default value: `[state_change, visibility_change]`.
|
|
9059
9187
|
*/
|
|
9060
9188
|
transition_triggers?: Type<NonEmptyArray<DivTransitionTrigger>>;
|
|
9189
|
+
/**
|
|
9190
|
+
* Triggers for changing variables within an element.
|
|
9191
|
+
*/
|
|
9192
|
+
variable_triggers?: Type<NonEmptyArray<IDivTrigger>>;
|
|
9061
9193
|
/**
|
|
9062
9194
|
* Definition of variables that can be used within this element. These variables, defined in the
|
|
9063
9195
|
* array, can only be used inside this element and its children.
|
package/dist/jsonbuilder.js
CHANGED
|
@@ -302,6 +302,7 @@ class DivContainer {
|
|
|
302
302
|
this.transition_in = props === null || props === void 0 ? void 0 : props.transition_in;
|
|
303
303
|
this.transition_out = props === null || props === void 0 ? void 0 : props.transition_out;
|
|
304
304
|
this.transition_triggers = props === null || props === void 0 ? void 0 : props.transition_triggers;
|
|
305
|
+
this.variable_triggers = props === null || props === void 0 ? void 0 : props.variable_triggers;
|
|
305
306
|
this.variables = props === null || props === void 0 ? void 0 : props.variables;
|
|
306
307
|
this.visibility = props === null || props === void 0 ? void 0 : props.visibility;
|
|
307
308
|
this.visibility_action = props === null || props === void 0 ? void 0 : props.visibility_action;
|
|
@@ -357,6 +358,7 @@ class DivCustom {
|
|
|
357
358
|
this.transition_in = props.transition_in;
|
|
358
359
|
this.transition_out = props.transition_out;
|
|
359
360
|
this.transition_triggers = props.transition_triggers;
|
|
361
|
+
this.variable_triggers = props.variable_triggers;
|
|
360
362
|
this.variables = props.variables;
|
|
361
363
|
this.visibility = props.visibility;
|
|
362
364
|
this.visibility_action = props.visibility_action;
|
|
@@ -479,6 +481,7 @@ class DivGallery {
|
|
|
479
481
|
this.transition_in = props === null || props === void 0 ? void 0 : props.transition_in;
|
|
480
482
|
this.transition_out = props === null || props === void 0 ? void 0 : props.transition_out;
|
|
481
483
|
this.transition_triggers = props === null || props === void 0 ? void 0 : props.transition_triggers;
|
|
484
|
+
this.variable_triggers = props === null || props === void 0 ? void 0 : props.variable_triggers;
|
|
482
485
|
this.variables = props === null || props === void 0 ? void 0 : props.variables;
|
|
483
486
|
this.visibility = props === null || props === void 0 ? void 0 : props.visibility;
|
|
484
487
|
this.visibility_action = props === null || props === void 0 ? void 0 : props.visibility_action;
|
|
@@ -531,6 +534,7 @@ class DivGifImage {
|
|
|
531
534
|
this.transition_in = props.transition_in;
|
|
532
535
|
this.transition_out = props.transition_out;
|
|
533
536
|
this.transition_triggers = props.transition_triggers;
|
|
537
|
+
this.variable_triggers = props.variable_triggers;
|
|
534
538
|
this.variables = props.variables;
|
|
535
539
|
this.visibility = props.visibility;
|
|
536
540
|
this.visibility_action = props.visibility_action;
|
|
@@ -579,6 +583,7 @@ class DivGrid {
|
|
|
579
583
|
this.transition_in = props.transition_in;
|
|
580
584
|
this.transition_out = props.transition_out;
|
|
581
585
|
this.transition_triggers = props.transition_triggers;
|
|
586
|
+
this.variable_triggers = props.variable_triggers;
|
|
582
587
|
this.variables = props.variables;
|
|
583
588
|
this.visibility = props.visibility;
|
|
584
589
|
this.visibility_action = props.visibility_action;
|
|
@@ -636,6 +641,7 @@ class DivImage {
|
|
|
636
641
|
this.transition_in = props.transition_in;
|
|
637
642
|
this.transition_out = props.transition_out;
|
|
638
643
|
this.transition_triggers = props.transition_triggers;
|
|
644
|
+
this.variable_triggers = props.variable_triggers;
|
|
639
645
|
this.variables = props.variables;
|
|
640
646
|
this.visibility = props.visibility;
|
|
641
647
|
this.visibility_action = props.visibility_action;
|
|
@@ -704,6 +710,7 @@ class DivIndicator {
|
|
|
704
710
|
this.transition_in = props === null || props === void 0 ? void 0 : props.transition_in;
|
|
705
711
|
this.transition_out = props === null || props === void 0 ? void 0 : props.transition_out;
|
|
706
712
|
this.transition_triggers = props === null || props === void 0 ? void 0 : props.transition_triggers;
|
|
713
|
+
this.variable_triggers = props === null || props === void 0 ? void 0 : props.variable_triggers;
|
|
707
714
|
this.variables = props === null || props === void 0 ? void 0 : props.variables;
|
|
708
715
|
this.visibility = props === null || props === void 0 ? void 0 : props.visibility;
|
|
709
716
|
this.visibility_action = props === null || props === void 0 ? void 0 : props.visibility_action;
|
|
@@ -775,6 +782,7 @@ class DivInput {
|
|
|
775
782
|
this.transition_out = props.transition_out;
|
|
776
783
|
this.transition_triggers = props.transition_triggers;
|
|
777
784
|
this.validators = props.validators;
|
|
785
|
+
this.variable_triggers = props.variable_triggers;
|
|
778
786
|
this.variables = props.variables;
|
|
779
787
|
this.visibility = props.visibility;
|
|
780
788
|
this.visibility_action = props.visibility_action;
|
|
@@ -940,6 +948,7 @@ class DivPager {
|
|
|
940
948
|
this.transition_in = props.transition_in;
|
|
941
949
|
this.transition_out = props.transition_out;
|
|
942
950
|
this.transition_triggers = props.transition_triggers;
|
|
951
|
+
this.variable_triggers = props.variable_triggers;
|
|
943
952
|
this.variables = props.variables;
|
|
944
953
|
this.visibility = props.visibility;
|
|
945
954
|
this.visibility_action = props.visibility_action;
|
|
@@ -1115,6 +1124,7 @@ class DivSelect {
|
|
|
1115
1124
|
this.transition_out = props.transition_out;
|
|
1116
1125
|
this.transition_triggers = props.transition_triggers;
|
|
1117
1126
|
this.value_variable = props.value_variable;
|
|
1127
|
+
this.variable_triggers = props.variable_triggers;
|
|
1118
1128
|
this.variables = props.variables;
|
|
1119
1129
|
this.visibility = props.visibility;
|
|
1120
1130
|
this.visibility_action = props.visibility_action;
|
|
@@ -1160,6 +1170,7 @@ class DivSeparator {
|
|
|
1160
1170
|
this.transition_in = props === null || props === void 0 ? void 0 : props.transition_in;
|
|
1161
1171
|
this.transition_out = props === null || props === void 0 ? void 0 : props.transition_out;
|
|
1162
1172
|
this.transition_triggers = props === null || props === void 0 ? void 0 : props.transition_triggers;
|
|
1173
|
+
this.variable_triggers = props === null || props === void 0 ? void 0 : props.variable_triggers;
|
|
1163
1174
|
this.variables = props === null || props === void 0 ? void 0 : props.variables;
|
|
1164
1175
|
this.visibility = props === null || props === void 0 ? void 0 : props.visibility;
|
|
1165
1176
|
this.visibility_action = props === null || props === void 0 ? void 0 : props.visibility_action;
|
|
@@ -1241,6 +1252,7 @@ class DivSlider {
|
|
|
1241
1252
|
this.transition_in = props.transition_in;
|
|
1242
1253
|
this.transition_out = props.transition_out;
|
|
1243
1254
|
this.transition_triggers = props.transition_triggers;
|
|
1255
|
+
this.variable_triggers = props.variable_triggers;
|
|
1244
1256
|
this.variables = props.variables;
|
|
1245
1257
|
this.visibility = props.visibility;
|
|
1246
1258
|
this.visibility_action = props.visibility_action;
|
|
@@ -1296,6 +1308,7 @@ class DivState {
|
|
|
1296
1308
|
this.transition_in = props.transition_in;
|
|
1297
1309
|
this.transition_out = props.transition_out;
|
|
1298
1310
|
this.transition_triggers = props.transition_triggers;
|
|
1311
|
+
this.variable_triggers = props.variable_triggers;
|
|
1299
1312
|
this.variables = props.variables;
|
|
1300
1313
|
this.visibility = props.visibility;
|
|
1301
1314
|
this.visibility_action = props.visibility_action;
|
|
@@ -1359,6 +1372,7 @@ class DivTabs {
|
|
|
1359
1372
|
this.transition_in = props.transition_in;
|
|
1360
1373
|
this.transition_out = props.transition_out;
|
|
1361
1374
|
this.transition_triggers = props.transition_triggers;
|
|
1375
|
+
this.variable_triggers = props.variable_triggers;
|
|
1362
1376
|
this.variables = props.variables;
|
|
1363
1377
|
this.visibility = props.visibility;
|
|
1364
1378
|
this.visibility_action = props.visibility_action;
|
|
@@ -1428,6 +1442,7 @@ class DivText {
|
|
|
1428
1442
|
this.transition_triggers = props.transition_triggers;
|
|
1429
1443
|
this.truncate = props.truncate;
|
|
1430
1444
|
this.underline = props.underline;
|
|
1445
|
+
this.variable_triggers = props.variable_triggers;
|
|
1431
1446
|
this.variables = props.variables;
|
|
1432
1447
|
this.visibility = props.visibility;
|
|
1433
1448
|
this.visibility_action = props.visibility_action;
|
|
@@ -1481,6 +1496,7 @@ class DivVideo {
|
|
|
1481
1496
|
this.transition_in = props.transition_in;
|
|
1482
1497
|
this.transition_out = props.transition_out;
|
|
1483
1498
|
this.transition_triggers = props.transition_triggers;
|
|
1499
|
+
this.variable_triggers = props.variable_triggers;
|
|
1484
1500
|
this.variables = props.variables;
|
|
1485
1501
|
this.video_sources = props.video_sources;
|
|
1486
1502
|
this.visibility = props.visibility;
|