@divkitframework/jsonbuilder 30.11.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 +142 -2
- 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.
|
|
@@ -4663,11 +4731,11 @@ interface IDivLayoutProvider {
|
|
|
4663
4731
|
/**
|
|
4664
4732
|
* Variable name to store element height.
|
|
4665
4733
|
*/
|
|
4666
|
-
height_variable_name?: Type<string
|
|
4734
|
+
height_variable_name?: Type<string>;
|
|
4667
4735
|
/**
|
|
4668
4736
|
* Variable name to store element width.
|
|
4669
4737
|
*/
|
|
4670
|
-
width_variable_name?: Type<string
|
|
4738
|
+
width_variable_name?: Type<string>;
|
|
4671
4739
|
}
|
|
4672
4740
|
|
|
4673
4741
|
declare type DivLineStyle = 'none' | 'single';
|
|
@@ -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.
|
|
@@ -5324,6 +5400,14 @@ interface IDivPatch {
|
|
|
5324
5400
|
* there are errors, they are reported.
|
|
5325
5401
|
*/
|
|
5326
5402
|
mode?: DivPatchMode | DivExpression;
|
|
5403
|
+
/**
|
|
5404
|
+
* Actions after applying patch.
|
|
5405
|
+
*/
|
|
5406
|
+
on_applied_actions?: NonEmptyArray<IDivAction>;
|
|
5407
|
+
/**
|
|
5408
|
+
* Actions after an error applying patch in transactional mode.
|
|
5409
|
+
*/
|
|
5410
|
+
on_failed_actions?: NonEmptyArray<IDivAction>;
|
|
5327
5411
|
}
|
|
5328
5412
|
declare type DivPatchMode = 'transactional' | 'partial';
|
|
5329
5413
|
interface IDivPatchChange {
|
|
@@ -5827,6 +5911,10 @@ declare class DivSelect<T extends DivSelectProps = DivSelectProps> {
|
|
|
5827
5911
|
* Name of the variable that stores the selected option value (`value`).
|
|
5828
5912
|
*/
|
|
5829
5913
|
value_variable: Type<string>;
|
|
5914
|
+
/**
|
|
5915
|
+
* Triggers for changing variables within an element.
|
|
5916
|
+
*/
|
|
5917
|
+
variable_triggers?: Type<NonEmptyArray<IDivTrigger>>;
|
|
5830
5918
|
/**
|
|
5831
5919
|
* Definition of variables that can be used within this element. These variables, defined in the
|
|
5832
5920
|
* array, can only be used inside this element and its children.
|
|
@@ -6007,6 +6095,10 @@ interface DivSelectProps {
|
|
|
6007
6095
|
* Name of the variable that stores the selected option value (`value`).
|
|
6008
6096
|
*/
|
|
6009
6097
|
value_variable: Type<string>;
|
|
6098
|
+
/**
|
|
6099
|
+
* Triggers for changing variables within an element.
|
|
6100
|
+
*/
|
|
6101
|
+
variable_triggers?: Type<NonEmptyArray<IDivTrigger>>;
|
|
6010
6102
|
/**
|
|
6011
6103
|
* Definition of variables that can be used within this element. These variables, defined in the
|
|
6012
6104
|
* array, can only be used inside this element and its children.
|
|
@@ -6183,6 +6275,10 @@ declare class DivSeparator<T extends DivSeparatorProps = DivSeparatorProps> {
|
|
|
6183
6275
|
* Animation starting triggers. Default value: `[state_change, visibility_change]`.
|
|
6184
6276
|
*/
|
|
6185
6277
|
transition_triggers?: Type<NonEmptyArray<DivTransitionTrigger>>;
|
|
6278
|
+
/**
|
|
6279
|
+
* Triggers for changing variables within an element.
|
|
6280
|
+
*/
|
|
6281
|
+
variable_triggers?: Type<NonEmptyArray<IDivTrigger>>;
|
|
6186
6282
|
/**
|
|
6187
6283
|
* Definition of variables that can be used within this element. These variables, defined in the
|
|
6188
6284
|
* array, can only be used inside this element and its children.
|
|
@@ -6341,6 +6437,10 @@ interface DivSeparatorProps {
|
|
|
6341
6437
|
* Animation starting triggers. Default value: `[state_change, visibility_change]`.
|
|
6342
6438
|
*/
|
|
6343
6439
|
transition_triggers?: Type<NonEmptyArray<DivTransitionTrigger>>;
|
|
6440
|
+
/**
|
|
6441
|
+
* Triggers for changing variables within an element.
|
|
6442
|
+
*/
|
|
6443
|
+
variable_triggers?: Type<NonEmptyArray<IDivTrigger>>;
|
|
6344
6444
|
/**
|
|
6345
6445
|
* Definition of variables that can be used within this element. These variables, defined in the
|
|
6346
6446
|
* array, can only be used inside this element and its children.
|
|
@@ -6712,6 +6812,10 @@ declare class DivSlider<T extends DivSliderProps = DivSliderProps> {
|
|
|
6712
6812
|
* Animation starting triggers. Default value: `[state_change, visibility_change]`.
|
|
6713
6813
|
*/
|
|
6714
6814
|
transition_triggers?: Type<NonEmptyArray<DivTransitionTrigger>>;
|
|
6815
|
+
/**
|
|
6816
|
+
* Triggers for changing variables within an element.
|
|
6817
|
+
*/
|
|
6818
|
+
variable_triggers?: Type<NonEmptyArray<IDivTrigger>>;
|
|
6715
6819
|
/**
|
|
6716
6820
|
* Definition of variables that can be used within this element. These variables, defined in the
|
|
6717
6821
|
* array, can only be used inside this element and its children.
|
|
@@ -6900,6 +7004,10 @@ interface DivSliderProps {
|
|
|
6900
7004
|
* Animation starting triggers. Default value: `[state_change, visibility_change]`.
|
|
6901
7005
|
*/
|
|
6902
7006
|
transition_triggers?: Type<NonEmptyArray<DivTransitionTrigger>>;
|
|
7007
|
+
/**
|
|
7008
|
+
* Triggers for changing variables within an element.
|
|
7009
|
+
*/
|
|
7010
|
+
variable_triggers?: Type<NonEmptyArray<IDivTrigger>>;
|
|
6903
7011
|
/**
|
|
6904
7012
|
* Definition of variables that can be used within this element. These variables, defined in the
|
|
6905
7013
|
* array, can only be used inside this element and its children.
|
|
@@ -7129,6 +7237,10 @@ declare class DivState<T extends DivStateProps = DivStateProps> {
|
|
|
7129
7237
|
* Animation starting triggers. Default value: `[state_change, visibility_change]`.
|
|
7130
7238
|
*/
|
|
7131
7239
|
transition_triggers?: Type<NonEmptyArray<DivTransitionTrigger>>;
|
|
7240
|
+
/**
|
|
7241
|
+
* Triggers for changing variables within an element.
|
|
7242
|
+
*/
|
|
7243
|
+
variable_triggers?: Type<NonEmptyArray<IDivTrigger>>;
|
|
7132
7244
|
/**
|
|
7133
7245
|
* Definition of variables that can be used within this element. These variables, defined in the
|
|
7134
7246
|
* array, can only be used inside this element and its children.
|
|
@@ -7289,6 +7401,10 @@ interface DivStateProps {
|
|
|
7289
7401
|
* Animation starting triggers. Default value: `[state_change, visibility_change]`.
|
|
7290
7402
|
*/
|
|
7291
7403
|
transition_triggers?: Type<NonEmptyArray<DivTransitionTrigger>>;
|
|
7404
|
+
/**
|
|
7405
|
+
* Triggers for changing variables within an element.
|
|
7406
|
+
*/
|
|
7407
|
+
variable_triggers?: Type<NonEmptyArray<IDivTrigger>>;
|
|
7292
7408
|
/**
|
|
7293
7409
|
* Definition of variables that can be used within this element. These variables, defined in the
|
|
7294
7410
|
* array, can only be used inside this element and its children.
|
|
@@ -7549,6 +7665,10 @@ declare class DivTabs<T extends DivTabsProps = DivTabsProps> {
|
|
|
7549
7665
|
* Animation starting triggers. Default value: `[state_change, visibility_change]`.
|
|
7550
7666
|
*/
|
|
7551
7667
|
transition_triggers?: Type<NonEmptyArray<DivTransitionTrigger>>;
|
|
7668
|
+
/**
|
|
7669
|
+
* Triggers for changing variables within an element.
|
|
7670
|
+
*/
|
|
7671
|
+
variable_triggers?: Type<NonEmptyArray<IDivTrigger>>;
|
|
7552
7672
|
/**
|
|
7553
7673
|
* Definition of variables that can be used within this element. These variables, defined in the
|
|
7554
7674
|
* array, can only be used inside this element and its children.
|
|
@@ -7733,6 +7853,10 @@ interface DivTabsProps {
|
|
|
7733
7853
|
* Animation starting triggers. Default value: `[state_change, visibility_change]`.
|
|
7734
7854
|
*/
|
|
7735
7855
|
transition_triggers?: Type<NonEmptyArray<DivTransitionTrigger>>;
|
|
7856
|
+
/**
|
|
7857
|
+
* Triggers for changing variables within an element.
|
|
7858
|
+
*/
|
|
7859
|
+
variable_triggers?: Type<NonEmptyArray<IDivTrigger>>;
|
|
7736
7860
|
/**
|
|
7737
7861
|
* Definition of variables that can be used within this element. These variables, defined in the
|
|
7738
7862
|
* array, can only be used inside this element and its children.
|
|
@@ -8112,6 +8236,10 @@ declare class DivText<T extends DivTextProps = DivTextProps> {
|
|
|
8112
8236
|
* Underline.
|
|
8113
8237
|
*/
|
|
8114
8238
|
underline?: Type<DivLineStyle | DivExpression>;
|
|
8239
|
+
/**
|
|
8240
|
+
* Triggers for changing variables within an element.
|
|
8241
|
+
*/
|
|
8242
|
+
variable_triggers?: Type<NonEmptyArray<IDivTrigger>>;
|
|
8115
8243
|
/**
|
|
8116
8244
|
* Definition of variables that can be used within this element. These variables, defined in the
|
|
8117
8245
|
* array, can only be used inside this element and its children.
|
|
@@ -8368,6 +8496,10 @@ interface DivTextProps {
|
|
|
8368
8496
|
* Underline.
|
|
8369
8497
|
*/
|
|
8370
8498
|
underline?: Type<DivLineStyle | DivExpression>;
|
|
8499
|
+
/**
|
|
8500
|
+
* Triggers for changing variables within an element.
|
|
8501
|
+
*/
|
|
8502
|
+
variable_triggers?: Type<NonEmptyArray<IDivTrigger>>;
|
|
8371
8503
|
/**
|
|
8372
8504
|
* Definition of variables that can be used within this element. These variables, defined in the
|
|
8373
8505
|
* array, can only be used inside this element and its children.
|
|
@@ -8857,6 +8989,10 @@ declare class DivVideo<T extends DivVideoProps = DivVideoProps> {
|
|
|
8857
8989
|
* Animation starting triggers. Default value: `[state_change, visibility_change]`.
|
|
8858
8990
|
*/
|
|
8859
8991
|
transition_triggers?: Type<NonEmptyArray<DivTransitionTrigger>>;
|
|
8992
|
+
/**
|
|
8993
|
+
* Triggers for changing variables within an element.
|
|
8994
|
+
*/
|
|
8995
|
+
variable_triggers?: Type<NonEmptyArray<IDivTrigger>>;
|
|
8860
8996
|
/**
|
|
8861
8997
|
* Definition of variables that can be used within this element. These variables, defined in the
|
|
8862
8998
|
* array, can only be used inside this element and its children.
|
|
@@ -9050,6 +9186,10 @@ interface DivVideoProps {
|
|
|
9050
9186
|
* Animation starting triggers. Default value: `[state_change, visibility_change]`.
|
|
9051
9187
|
*/
|
|
9052
9188
|
transition_triggers?: Type<NonEmptyArray<DivTransitionTrigger>>;
|
|
9189
|
+
/**
|
|
9190
|
+
* Triggers for changing variables within an element.
|
|
9191
|
+
*/
|
|
9192
|
+
variable_triggers?: Type<NonEmptyArray<IDivTrigger>>;
|
|
9053
9193
|
/**
|
|
9054
9194
|
* Definition of variables that can be used within this element. These variables, defined in the
|
|
9055
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;
|