@divkitframework/jsonbuilder 30.15.0 → 30.17.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 +148 -1
- package/dist/es/jsonbuilder.js.map +1 -1
- package/dist/jsonbuilder.d.ts +634 -2
- package/dist/jsonbuilder.js +156 -0
- package/dist/jsonbuilder.js.map +1 -1
- package/package.json +1 -1
package/dist/jsonbuilder.d.ts
CHANGED
|
@@ -378,6 +378,98 @@ interface IDivActionMenuItem {
|
|
|
378
378
|
text: Type<string | DivExpression>;
|
|
379
379
|
}
|
|
380
380
|
|
|
381
|
+
/**
|
|
382
|
+
* Starts specified animator
|
|
383
|
+
*/
|
|
384
|
+
declare class DivActionAnimatorStart<T extends DivActionAnimatorStartProps = DivActionAnimatorStartProps> {
|
|
385
|
+
readonly _props?: Exact<DivActionAnimatorStartProps, T>;
|
|
386
|
+
readonly type = "animator_start";
|
|
387
|
+
/**
|
|
388
|
+
* The identifier of the animator being started.
|
|
389
|
+
*/
|
|
390
|
+
animator_id: Type<string | DivExpression>;
|
|
391
|
+
/**
|
|
392
|
+
* Animation direction. This property sets whether an animation should play forward, backward, or
|
|
393
|
+
* alternate back and forth between playing the sequence forward and backward.
|
|
394
|
+
*/
|
|
395
|
+
direction?: Type<DivAnimationDirection | DivExpression>;
|
|
396
|
+
/**
|
|
397
|
+
* Animation duration in milliseconds.
|
|
398
|
+
*/
|
|
399
|
+
duration?: Type<number | DivExpression>;
|
|
400
|
+
/**
|
|
401
|
+
* Overrides value that will be set at the end of animation.
|
|
402
|
+
*/
|
|
403
|
+
end_value?: Type<DivTypedValue>;
|
|
404
|
+
/**
|
|
405
|
+
* Interpolation function.
|
|
406
|
+
*/
|
|
407
|
+
interpolator?: Type<DivAnimationInterpolator | DivExpression>;
|
|
408
|
+
/**
|
|
409
|
+
* The number of times the animation will repeat before it finishes. `0` enables infinite
|
|
410
|
+
* repeats.
|
|
411
|
+
*/
|
|
412
|
+
repeat_count?: Type<number | DivExpression>;
|
|
413
|
+
/**
|
|
414
|
+
* Animation start delay in milliseconds.
|
|
415
|
+
*/
|
|
416
|
+
start_delay?: Type<number | DivExpression>;
|
|
417
|
+
/**
|
|
418
|
+
* Overrides value that will be set at the start of animation.
|
|
419
|
+
*/
|
|
420
|
+
start_value?: Type<DivTypedValue>;
|
|
421
|
+
constructor(props: Exact<DivActionAnimatorStartProps, T>);
|
|
422
|
+
}
|
|
423
|
+
interface DivActionAnimatorStartProps {
|
|
424
|
+
/**
|
|
425
|
+
* The identifier of the animator being started.
|
|
426
|
+
*/
|
|
427
|
+
animator_id: Type<string | DivExpression>;
|
|
428
|
+
/**
|
|
429
|
+
* Animation direction. This property sets whether an animation should play forward, backward, or
|
|
430
|
+
* alternate back and forth between playing the sequence forward and backward.
|
|
431
|
+
*/
|
|
432
|
+
direction?: Type<DivAnimationDirection | DivExpression>;
|
|
433
|
+
/**
|
|
434
|
+
* Animation duration in milliseconds.
|
|
435
|
+
*/
|
|
436
|
+
duration?: Type<number | DivExpression>;
|
|
437
|
+
/**
|
|
438
|
+
* Overrides value that will be set at the end of animation.
|
|
439
|
+
*/
|
|
440
|
+
end_value?: Type<DivTypedValue>;
|
|
441
|
+
/**
|
|
442
|
+
* Interpolation function.
|
|
443
|
+
*/
|
|
444
|
+
interpolator?: Type<DivAnimationInterpolator | DivExpression>;
|
|
445
|
+
/**
|
|
446
|
+
* The number of times the animation will repeat before it finishes. `0` enables infinite
|
|
447
|
+
* repeats.
|
|
448
|
+
*/
|
|
449
|
+
repeat_count?: Type<number | DivExpression>;
|
|
450
|
+
/**
|
|
451
|
+
* Animation start delay in milliseconds.
|
|
452
|
+
*/
|
|
453
|
+
start_delay?: Type<number | DivExpression>;
|
|
454
|
+
/**
|
|
455
|
+
* Overrides value that will be set at the start of animation.
|
|
456
|
+
*/
|
|
457
|
+
start_value?: Type<DivTypedValue>;
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
/**
|
|
461
|
+
* Stops specified animator
|
|
462
|
+
*/
|
|
463
|
+
declare class DivActionAnimatorStop<T extends DivActionAnimatorStopProps = DivActionAnimatorStopProps> {
|
|
464
|
+
readonly _props?: Exact<DivActionAnimatorStopProps, T>;
|
|
465
|
+
readonly type = "animator_stop";
|
|
466
|
+
animator_id: Type<string | DivExpression>;
|
|
467
|
+
constructor(props: Exact<DivActionAnimatorStopProps, T>);
|
|
468
|
+
}
|
|
469
|
+
interface DivActionAnimatorStopProps {
|
|
470
|
+
animator_id: Type<string | DivExpression>;
|
|
471
|
+
}
|
|
472
|
+
|
|
381
473
|
/**
|
|
382
474
|
* Adds a value to the array
|
|
383
475
|
*/
|
|
@@ -498,7 +590,98 @@ interface DivActionSetVariableProps {
|
|
|
498
590
|
variable_name: Type<string | DivExpression>;
|
|
499
591
|
}
|
|
500
592
|
|
|
501
|
-
|
|
593
|
+
/**
|
|
594
|
+
* Shows tooltip.
|
|
595
|
+
*/
|
|
596
|
+
declare class DivActionShowTooltip<T extends DivActionShowTooltipProps = DivActionShowTooltipProps> {
|
|
597
|
+
readonly _props?: Exact<DivActionShowTooltipProps, T>;
|
|
598
|
+
readonly type = "show_tooltip";
|
|
599
|
+
/**
|
|
600
|
+
* Tooltip identifier.
|
|
601
|
+
*/
|
|
602
|
+
id: Type<string | DivExpression>;
|
|
603
|
+
/**
|
|
604
|
+
* Defines whether tooltip can be shown again after being closed.
|
|
605
|
+
*/
|
|
606
|
+
multiple?: Type<boolean | DivExpression>;
|
|
607
|
+
constructor(props: Exact<DivActionShowTooltipProps, T>);
|
|
608
|
+
}
|
|
609
|
+
interface DivActionShowTooltipProps {
|
|
610
|
+
/**
|
|
611
|
+
* Tooltip identifier.
|
|
612
|
+
*/
|
|
613
|
+
id: Type<string | DivExpression>;
|
|
614
|
+
/**
|
|
615
|
+
* Defines whether tooltip can be shown again after being closed.
|
|
616
|
+
*/
|
|
617
|
+
multiple?: Type<boolean | DivExpression>;
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
/**
|
|
621
|
+
* Controls the timer.
|
|
622
|
+
*/
|
|
623
|
+
declare class DivActionTimer<T extends DivActionTimerProps = DivActionTimerProps> {
|
|
624
|
+
readonly _props?: Exact<DivActionTimerProps, T>;
|
|
625
|
+
readonly type = "timer";
|
|
626
|
+
/**
|
|
627
|
+
* Defines timer action:`start`- starts the timer when stopped, does onStart action;`stop`- stops
|
|
628
|
+
* timer, resets the time, does onEnd action;`pause`- pause timer, preserves current
|
|
629
|
+
* time;`resume`- starts timer from paused state, restores saved time;`cancel`- stops timer,
|
|
630
|
+
* resets its state, does onInterrupt action;`reset`- cancels timer and starts it again.
|
|
631
|
+
*/
|
|
632
|
+
action: Type<DivActionTimerAction | DivExpression>;
|
|
633
|
+
/**
|
|
634
|
+
* Timer identifier.
|
|
635
|
+
*/
|
|
636
|
+
id: Type<string | DivExpression>;
|
|
637
|
+
constructor(props: Exact<DivActionTimerProps, T>);
|
|
638
|
+
}
|
|
639
|
+
interface DivActionTimerProps {
|
|
640
|
+
/**
|
|
641
|
+
* Defines timer action:`start`- starts the timer when stopped, does onStart action;`stop`- stops
|
|
642
|
+
* timer, resets the time, does onEnd action;`pause`- pause timer, preserves current
|
|
643
|
+
* time;`resume`- starts timer from paused state, restores saved time;`cancel`- stops timer,
|
|
644
|
+
* resets its state, does onInterrupt action;`reset`- cancels timer and starts it again.
|
|
645
|
+
*/
|
|
646
|
+
action: Type<DivActionTimerAction | DivExpression>;
|
|
647
|
+
/**
|
|
648
|
+
* Timer identifier.
|
|
649
|
+
*/
|
|
650
|
+
id: Type<string | DivExpression>;
|
|
651
|
+
}
|
|
652
|
+
declare type DivActionTimerAction = 'start' | 'stop' | 'pause' | 'resume' | 'cancel' | 'reset';
|
|
653
|
+
|
|
654
|
+
declare type DivActionTyped = DivActionAnimatorStart | DivActionAnimatorStop | DivActionArrayInsertValue | DivActionArrayRemoveValue | DivActionArraySetValue | DivActionClearFocus | DivActionCopyToClipboard | DivActionDictSetValue | DivActionFocusElement | DivActionSetVariable | DivActionShowTooltip | DivActionTimer | DivActionVideo;
|
|
655
|
+
|
|
656
|
+
/**
|
|
657
|
+
* Controls given video.
|
|
658
|
+
*/
|
|
659
|
+
declare class DivActionVideo<T extends DivActionVideoProps = DivActionVideoProps> {
|
|
660
|
+
readonly _props?: Exact<DivActionVideoProps, T>;
|
|
661
|
+
readonly type = "video";
|
|
662
|
+
/**
|
|
663
|
+
* Defines video action:`start` - play if it is ready or plans to play when video becomes
|
|
664
|
+
* ready;`pause` - pauses video playback.
|
|
665
|
+
*/
|
|
666
|
+
action: Type<DivActionVideoAction | DivExpression>;
|
|
667
|
+
/**
|
|
668
|
+
* Video identifier.
|
|
669
|
+
*/
|
|
670
|
+
id: Type<string | DivExpression>;
|
|
671
|
+
constructor(props: Exact<DivActionVideoProps, T>);
|
|
672
|
+
}
|
|
673
|
+
interface DivActionVideoProps {
|
|
674
|
+
/**
|
|
675
|
+
* Defines video action:`start` - play if it is ready or plans to play when video becomes
|
|
676
|
+
* ready;`pause` - pauses video playback.
|
|
677
|
+
*/
|
|
678
|
+
action: Type<DivActionVideoAction | DivExpression>;
|
|
679
|
+
/**
|
|
680
|
+
* Video identifier.
|
|
681
|
+
*/
|
|
682
|
+
id: Type<string | DivExpression>;
|
|
683
|
+
}
|
|
684
|
+
declare type DivActionVideoAction = 'start' | 'pause';
|
|
502
685
|
|
|
503
686
|
declare type DivAlignmentHorizontal = 'left' | 'center' | 'right' | 'start' | 'end';
|
|
504
687
|
|
|
@@ -547,8 +730,54 @@ interface IDivAnimation {
|
|
|
547
730
|
}
|
|
548
731
|
declare type DivAnimationName = 'fade' | 'translate' | 'scale' | 'native' | 'set' | 'no_animation';
|
|
549
732
|
|
|
733
|
+
declare type DivAnimationDirection = 'normal' | 'reverse' | 'alternate' | 'alternate_reverse';
|
|
734
|
+
|
|
550
735
|
declare type DivAnimationInterpolator = 'linear' | 'ease' | 'ease_in' | 'ease_out' | 'ease_in_out' | 'spring';
|
|
551
736
|
|
|
737
|
+
declare type DivAnimator = DivColorAnimator | DivNumberAnimator;
|
|
738
|
+
|
|
739
|
+
interface IDivAnimatorBase {
|
|
740
|
+
/**
|
|
741
|
+
* Actions performed when the animator is cancelled. For example, when an action with
|
|
742
|
+
* `animator_stop` type is received
|
|
743
|
+
*/
|
|
744
|
+
cancel_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
745
|
+
/**
|
|
746
|
+
* Animation direction. This property sets whether an animation should play forward, backward, or
|
|
747
|
+
* alternate back and forth between playing the sequence forward and backward.
|
|
748
|
+
*/
|
|
749
|
+
direction?: Type<DivAnimationDirection | DivExpression>;
|
|
750
|
+
/**
|
|
751
|
+
* Animation duration in milliseconds.
|
|
752
|
+
*/
|
|
753
|
+
duration: Type<number | DivExpression>;
|
|
754
|
+
/**
|
|
755
|
+
* Actions performed when the animator completes animation.
|
|
756
|
+
*/
|
|
757
|
+
end_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
758
|
+
/**
|
|
759
|
+
* Animator identificator
|
|
760
|
+
*/
|
|
761
|
+
id: Type<string>;
|
|
762
|
+
/**
|
|
763
|
+
* Interpolation function.
|
|
764
|
+
*/
|
|
765
|
+
interpolator?: Type<DivAnimationInterpolator | DivExpression>;
|
|
766
|
+
/**
|
|
767
|
+
* The number of times the animation will repeat before it finishes. `0` enables infinite
|
|
768
|
+
* repeats.
|
|
769
|
+
*/
|
|
770
|
+
repeat_count?: Type<number | DivExpression>;
|
|
771
|
+
/**
|
|
772
|
+
* Animation start delay in milliseconds.
|
|
773
|
+
*/
|
|
774
|
+
start_delay?: Type<number | DivExpression>;
|
|
775
|
+
/**
|
|
776
|
+
* Name of the variable being animated.
|
|
777
|
+
*/
|
|
778
|
+
variable_name: Type<string>;
|
|
779
|
+
}
|
|
780
|
+
|
|
552
781
|
/**
|
|
553
782
|
* A set of animations to be applied simultaneously.
|
|
554
783
|
*/
|
|
@@ -600,6 +829,10 @@ interface IDivBase {
|
|
|
600
829
|
* Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
|
|
601
830
|
*/
|
|
602
831
|
alpha?: Type<number | DivExpression>;
|
|
832
|
+
/**
|
|
833
|
+
* Declaration of animators that can be used to change the value of variables over time.
|
|
834
|
+
*/
|
|
835
|
+
animators?: Type<NonEmptyArray<DivAnimator>>;
|
|
603
836
|
/**
|
|
604
837
|
* Element background. It can contain multiple layers.
|
|
605
838
|
*/
|
|
@@ -892,6 +1125,113 @@ interface IDivCollectionItemBuilderPrototype {
|
|
|
892
1125
|
selector?: Type<IntBoolean | DivExpression>;
|
|
893
1126
|
}
|
|
894
1127
|
|
|
1128
|
+
/**
|
|
1129
|
+
* Color animator.
|
|
1130
|
+
*/
|
|
1131
|
+
declare class DivColorAnimator<T extends DivColorAnimatorProps = DivColorAnimatorProps> {
|
|
1132
|
+
readonly _props?: Exact<DivColorAnimatorProps, T>;
|
|
1133
|
+
readonly type = "color_animator";
|
|
1134
|
+
/**
|
|
1135
|
+
* Actions performed when the animator is cancelled. For example, when an action with
|
|
1136
|
+
* `animator_stop` type is received
|
|
1137
|
+
*/
|
|
1138
|
+
cancel_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
1139
|
+
/**
|
|
1140
|
+
* Animation direction. This property sets whether an animation should play forward, backward, or
|
|
1141
|
+
* alternate back and forth between playing the sequence forward and backward.
|
|
1142
|
+
*/
|
|
1143
|
+
direction?: Type<DivAnimationDirection | DivExpression>;
|
|
1144
|
+
/**
|
|
1145
|
+
* Animation duration in milliseconds.
|
|
1146
|
+
*/
|
|
1147
|
+
duration: Type<number | DivExpression>;
|
|
1148
|
+
/**
|
|
1149
|
+
* Actions performed when the animator completes animation.
|
|
1150
|
+
*/
|
|
1151
|
+
end_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
1152
|
+
/**
|
|
1153
|
+
* Value that will be set at the end of animation.
|
|
1154
|
+
*/
|
|
1155
|
+
end_value: Type<string | DivExpression>;
|
|
1156
|
+
/**
|
|
1157
|
+
* Animator identificator
|
|
1158
|
+
*/
|
|
1159
|
+
id: Type<string>;
|
|
1160
|
+
/**
|
|
1161
|
+
* Interpolation function.
|
|
1162
|
+
*/
|
|
1163
|
+
interpolator?: Type<DivAnimationInterpolator | DivExpression>;
|
|
1164
|
+
/**
|
|
1165
|
+
* The number of times the animation will repeat before it finishes. `0` enables infinite
|
|
1166
|
+
* repeats.
|
|
1167
|
+
*/
|
|
1168
|
+
repeat_count?: Type<number | DivExpression>;
|
|
1169
|
+
/**
|
|
1170
|
+
* Animation start delay in milliseconds.
|
|
1171
|
+
*/
|
|
1172
|
+
start_delay?: Type<number | DivExpression>;
|
|
1173
|
+
/**
|
|
1174
|
+
* Value that will be set at the start of animation. Can be omitted, in which case current value
|
|
1175
|
+
* of the variable will be used.
|
|
1176
|
+
*/
|
|
1177
|
+
start_value?: Type<string | DivExpression>;
|
|
1178
|
+
/**
|
|
1179
|
+
* Name of the variable being animated.
|
|
1180
|
+
*/
|
|
1181
|
+
variable_name: Type<string>;
|
|
1182
|
+
constructor(props: Exact<DivColorAnimatorProps, T>);
|
|
1183
|
+
}
|
|
1184
|
+
interface DivColorAnimatorProps {
|
|
1185
|
+
/**
|
|
1186
|
+
* Actions performed when the animator is cancelled. For example, when an action with
|
|
1187
|
+
* `animator_stop` type is received
|
|
1188
|
+
*/
|
|
1189
|
+
cancel_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
1190
|
+
/**
|
|
1191
|
+
* Animation direction. This property sets whether an animation should play forward, backward, or
|
|
1192
|
+
* alternate back and forth between playing the sequence forward and backward.
|
|
1193
|
+
*/
|
|
1194
|
+
direction?: Type<DivAnimationDirection | DivExpression>;
|
|
1195
|
+
/**
|
|
1196
|
+
* Animation duration in milliseconds.
|
|
1197
|
+
*/
|
|
1198
|
+
duration: Type<number | DivExpression>;
|
|
1199
|
+
/**
|
|
1200
|
+
* Actions performed when the animator completes animation.
|
|
1201
|
+
*/
|
|
1202
|
+
end_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
1203
|
+
/**
|
|
1204
|
+
* Value that will be set at the end of animation.
|
|
1205
|
+
*/
|
|
1206
|
+
end_value: Type<string | DivExpression>;
|
|
1207
|
+
/**
|
|
1208
|
+
* Animator identificator
|
|
1209
|
+
*/
|
|
1210
|
+
id: Type<string>;
|
|
1211
|
+
/**
|
|
1212
|
+
* Interpolation function.
|
|
1213
|
+
*/
|
|
1214
|
+
interpolator?: Type<DivAnimationInterpolator | DivExpression>;
|
|
1215
|
+
/**
|
|
1216
|
+
* The number of times the animation will repeat before it finishes. `0` enables infinite
|
|
1217
|
+
* repeats.
|
|
1218
|
+
*/
|
|
1219
|
+
repeat_count?: Type<number | DivExpression>;
|
|
1220
|
+
/**
|
|
1221
|
+
* Animation start delay in milliseconds.
|
|
1222
|
+
*/
|
|
1223
|
+
start_delay?: Type<number | DivExpression>;
|
|
1224
|
+
/**
|
|
1225
|
+
* Value that will be set at the start of animation. Can be omitted, in which case current value
|
|
1226
|
+
* of the variable will be used.
|
|
1227
|
+
*/
|
|
1228
|
+
start_value?: Type<string | DivExpression>;
|
|
1229
|
+
/**
|
|
1230
|
+
* Name of the variable being animated.
|
|
1231
|
+
*/
|
|
1232
|
+
variable_name: Type<string>;
|
|
1233
|
+
}
|
|
1234
|
+
|
|
895
1235
|
/**
|
|
896
1236
|
* Container. It contains other elements and is responsible for their location. It is used to
|
|
897
1237
|
* arrange elements vertically, horizontally, and with an overlay in a certain order, simulating
|
|
@@ -929,6 +1269,10 @@ declare class DivContainer<T extends DivContainerProps = DivContainerProps> {
|
|
|
929
1269
|
* Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
|
|
930
1270
|
*/
|
|
931
1271
|
alpha?: Type<number | DivExpression>;
|
|
1272
|
+
/**
|
|
1273
|
+
* Declaration of animators that can be used to change the value of variables over time.
|
|
1274
|
+
*/
|
|
1275
|
+
animators?: Type<NonEmptyArray<DivAnimator>>;
|
|
932
1276
|
/**
|
|
933
1277
|
* Fixed aspect ratio of the container. The element's height is calculated based on the width,
|
|
934
1278
|
* ignoring the `height` parameter's value.
|
|
@@ -1142,6 +1486,10 @@ interface DivContainerPropsBase {
|
|
|
1142
1486
|
* Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
|
|
1143
1487
|
*/
|
|
1144
1488
|
alpha?: Type<number | DivExpression>;
|
|
1489
|
+
/**
|
|
1490
|
+
* Declaration of animators that can be used to change the value of variables over time.
|
|
1491
|
+
*/
|
|
1492
|
+
animators?: Type<NonEmptyArray<DivAnimator>>;
|
|
1145
1493
|
/**
|
|
1146
1494
|
* Fixed aspect ratio of the container. The element's height is calculated based on the width,
|
|
1147
1495
|
* ignoring the `height` parameter's value.
|
|
@@ -1444,6 +1792,10 @@ declare class DivCustom<T extends DivCustomProps = DivCustomProps> {
|
|
|
1444
1792
|
* Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
|
|
1445
1793
|
*/
|
|
1446
1794
|
alpha?: Type<number | DivExpression>;
|
|
1795
|
+
/**
|
|
1796
|
+
* Declaration of animators that can be used to change the value of variables over time.
|
|
1797
|
+
*/
|
|
1798
|
+
animators?: Type<NonEmptyArray<DivAnimator>>;
|
|
1447
1799
|
/**
|
|
1448
1800
|
* Element background. It can contain multiple layers.
|
|
1449
1801
|
*/
|
|
@@ -1592,6 +1944,10 @@ interface DivCustomProps {
|
|
|
1592
1944
|
* Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
|
|
1593
1945
|
*/
|
|
1594
1946
|
alpha?: Type<number | DivExpression>;
|
|
1947
|
+
/**
|
|
1948
|
+
* Declaration of animators that can be used to change the value of variables over time.
|
|
1949
|
+
*/
|
|
1950
|
+
animators?: Type<NonEmptyArray<DivAnimator>>;
|
|
1595
1951
|
/**
|
|
1596
1952
|
* Element background. It can contain multiple layers.
|
|
1597
1953
|
*/
|
|
@@ -2091,6 +2447,10 @@ declare class DivGallery<T extends DivGalleryProps = DivGalleryProps> {
|
|
|
2091
2447
|
* Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
|
|
2092
2448
|
*/
|
|
2093
2449
|
alpha?: Type<number | DivExpression>;
|
|
2450
|
+
/**
|
|
2451
|
+
* Declaration of animators that can be used to change the value of variables over time.
|
|
2452
|
+
*/
|
|
2453
|
+
animators?: Type<NonEmptyArray<DivAnimator>>;
|
|
2094
2454
|
/**
|
|
2095
2455
|
* Element background. It can contain multiple layers.
|
|
2096
2456
|
*/
|
|
@@ -2290,6 +2650,10 @@ interface DivGalleryProps {
|
|
|
2290
2650
|
* Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
|
|
2291
2651
|
*/
|
|
2292
2652
|
alpha?: Type<number | DivExpression>;
|
|
2653
|
+
/**
|
|
2654
|
+
* Declaration of animators that can be used to change the value of variables over time.
|
|
2655
|
+
*/
|
|
2656
|
+
animators?: Type<NonEmptyArray<DivAnimator>>;
|
|
2293
2657
|
/**
|
|
2294
2658
|
* Element background. It can contain multiple layers.
|
|
2295
2659
|
*/
|
|
@@ -2511,6 +2875,10 @@ declare class DivGifImage<T extends DivGifImageProps = DivGifImageProps> {
|
|
|
2511
2875
|
* Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
|
|
2512
2876
|
*/
|
|
2513
2877
|
alpha?: Type<number | DivExpression>;
|
|
2878
|
+
/**
|
|
2879
|
+
* Declaration of animators that can be used to change the value of variables over time.
|
|
2880
|
+
*/
|
|
2881
|
+
animators?: Type<NonEmptyArray<DivAnimator>>;
|
|
2514
2882
|
/**
|
|
2515
2883
|
* Fixed aspect ratio. The element's height is calculated based on the width, ignoring the
|
|
2516
2884
|
* `height` value.
|
|
@@ -2704,6 +3072,10 @@ interface DivGifImageProps {
|
|
|
2704
3072
|
* Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
|
|
2705
3073
|
*/
|
|
2706
3074
|
alpha?: Type<number | DivExpression>;
|
|
3075
|
+
/**
|
|
3076
|
+
* Declaration of animators that can be used to change the value of variables over time.
|
|
3077
|
+
*/
|
|
3078
|
+
animators?: Type<NonEmptyArray<DivAnimator>>;
|
|
2707
3079
|
/**
|
|
2708
3080
|
* Fixed aspect ratio. The element's height is calculated based on the width, ignoring the
|
|
2709
3081
|
* `height` value.
|
|
@@ -2902,6 +3274,10 @@ declare class DivGrid<T extends DivGridProps = DivGridProps> {
|
|
|
2902
3274
|
* Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
|
|
2903
3275
|
*/
|
|
2904
3276
|
alpha?: Type<number | DivExpression>;
|
|
3277
|
+
/**
|
|
3278
|
+
* Declaration of animators that can be used to change the value of variables over time.
|
|
3279
|
+
*/
|
|
3280
|
+
animators?: Type<NonEmptyArray<DivAnimator>>;
|
|
2905
3281
|
/**
|
|
2906
3282
|
* Element background. It can contain multiple layers.
|
|
2907
3283
|
*/
|
|
@@ -3076,6 +3452,10 @@ interface DivGridProps {
|
|
|
3076
3452
|
* Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
|
|
3077
3453
|
*/
|
|
3078
3454
|
alpha?: Type<number | DivExpression>;
|
|
3455
|
+
/**
|
|
3456
|
+
* Declaration of animators that can be used to change the value of variables over time.
|
|
3457
|
+
*/
|
|
3458
|
+
animators?: Type<NonEmptyArray<DivAnimator>>;
|
|
3079
3459
|
/**
|
|
3080
3460
|
* Element background. It can contain multiple layers.
|
|
3081
3461
|
*/
|
|
@@ -3255,6 +3635,10 @@ declare class DivImage<T extends DivImageProps = DivImageProps> {
|
|
|
3255
3635
|
* Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
|
|
3256
3636
|
*/
|
|
3257
3637
|
alpha?: Type<number | DivExpression>;
|
|
3638
|
+
/**
|
|
3639
|
+
* Declaration of animators that can be used to change the value of variables over time.
|
|
3640
|
+
*/
|
|
3641
|
+
animators?: Type<NonEmptyArray<DivAnimator>>;
|
|
3258
3642
|
/**
|
|
3259
3643
|
* Transparency animation when loading an image.
|
|
3260
3644
|
*/
|
|
@@ -3470,6 +3854,10 @@ interface DivImageProps {
|
|
|
3470
3854
|
* Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
|
|
3471
3855
|
*/
|
|
3472
3856
|
alpha?: Type<number | DivExpression>;
|
|
3857
|
+
/**
|
|
3858
|
+
* Declaration of animators that can be used to change the value of variables over time.
|
|
3859
|
+
*/
|
|
3860
|
+
animators?: Type<NonEmptyArray<DivAnimator>>;
|
|
3473
3861
|
/**
|
|
3474
3862
|
* Transparency animation when loading an image.
|
|
3475
3863
|
*/
|
|
@@ -3766,6 +4154,10 @@ declare class DivIndicator<T extends DivIndicatorProps = DivIndicatorProps> {
|
|
|
3766
4154
|
* Animation of switching between indicators.
|
|
3767
4155
|
*/
|
|
3768
4156
|
animation?: Type<DivIndicatorAnimation | DivExpression>;
|
|
4157
|
+
/**
|
|
4158
|
+
* Declaration of animators that can be used to change the value of variables over time.
|
|
4159
|
+
*/
|
|
4160
|
+
animators?: Type<NonEmptyArray<DivAnimator>>;
|
|
3769
4161
|
/**
|
|
3770
4162
|
* Element background. It can contain multiple layers.
|
|
3771
4163
|
*/
|
|
@@ -3964,6 +4356,10 @@ interface DivIndicatorProps {
|
|
|
3964
4356
|
* Animation of switching between indicators.
|
|
3965
4357
|
*/
|
|
3966
4358
|
animation?: Type<DivIndicatorAnimation | DivExpression>;
|
|
4359
|
+
/**
|
|
4360
|
+
* Declaration of animators that can be used to change the value of variables over time.
|
|
4361
|
+
*/
|
|
4362
|
+
animators?: Type<NonEmptyArray<DivAnimator>>;
|
|
3967
4363
|
/**
|
|
3968
4364
|
* Element background. It can contain multiple layers.
|
|
3969
4365
|
*/
|
|
@@ -4161,6 +4557,14 @@ declare class DivInput<T extends DivInputProps = DivInputProps> {
|
|
|
4161
4557
|
* Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
|
|
4162
4558
|
*/
|
|
4163
4559
|
alpha?: Type<number | DivExpression>;
|
|
4560
|
+
/**
|
|
4561
|
+
* Declaration of animators that can be used to change the value of variables over time.
|
|
4562
|
+
*/
|
|
4563
|
+
animators?: Type<NonEmptyArray<DivAnimator>>;
|
|
4564
|
+
/**
|
|
4565
|
+
* Automatic text capitalization type.
|
|
4566
|
+
*/
|
|
4567
|
+
autocapitalization?: Type<DivInputAutocapitalization | DivExpression>;
|
|
4164
4568
|
/**
|
|
4165
4569
|
* Element background. It can contain multiple layers.
|
|
4166
4570
|
*/
|
|
@@ -4182,6 +4586,10 @@ declare class DivInput<T extends DivInputProps = DivInputProps> {
|
|
|
4182
4586
|
* [DivExtension](../../extensions).
|
|
4183
4587
|
*/
|
|
4184
4588
|
extensions?: Type<NonEmptyArray<IDivExtension>>;
|
|
4589
|
+
/**
|
|
4590
|
+
* Filtering that prevents the entry of text that does not meet specified conditions.
|
|
4591
|
+
*/
|
|
4592
|
+
filters?: Type<NonEmptyArray<DivInputFilter>>;
|
|
4185
4593
|
/**
|
|
4186
4594
|
* Parameters when focusing on an element or losing focus.
|
|
4187
4595
|
*/
|
|
@@ -4389,6 +4797,14 @@ interface DivInputProps {
|
|
|
4389
4797
|
* Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
|
|
4390
4798
|
*/
|
|
4391
4799
|
alpha?: Type<number | DivExpression>;
|
|
4800
|
+
/**
|
|
4801
|
+
* Declaration of animators that can be used to change the value of variables over time.
|
|
4802
|
+
*/
|
|
4803
|
+
animators?: Type<NonEmptyArray<DivAnimator>>;
|
|
4804
|
+
/**
|
|
4805
|
+
* Automatic text capitalization type.
|
|
4806
|
+
*/
|
|
4807
|
+
autocapitalization?: Type<DivInputAutocapitalization | DivExpression>;
|
|
4392
4808
|
/**
|
|
4393
4809
|
* Element background. It can contain multiple layers.
|
|
4394
4810
|
*/
|
|
@@ -4410,6 +4826,10 @@ interface DivInputProps {
|
|
|
4410
4826
|
* [DivExtension](../../extensions).
|
|
4411
4827
|
*/
|
|
4412
4828
|
extensions?: Type<NonEmptyArray<IDivExtension>>;
|
|
4829
|
+
/**
|
|
4830
|
+
* Filtering that prevents the entry of text that does not meet specified conditions.
|
|
4831
|
+
*/
|
|
4832
|
+
filters?: Type<NonEmptyArray<DivInputFilter>>;
|
|
4413
4833
|
/**
|
|
4414
4834
|
* Parameters when focusing on an element or losing focus.
|
|
4415
4835
|
*/
|
|
@@ -4599,6 +5019,7 @@ interface DivInputProps {
|
|
|
4599
5019
|
*/
|
|
4600
5020
|
width?: Type<DivSize>;
|
|
4601
5021
|
}
|
|
5022
|
+
declare type DivInputAutocapitalization = 'auto' | 'none' | 'words' | 'sentences' | 'all_characters';
|
|
4602
5023
|
declare type DivInputKeyboardType = 'single_line_text' | 'multi_line_text' | 'phone' | 'number' | 'email' | 'uri' | 'password';
|
|
4603
5024
|
/**
|
|
4604
5025
|
* Text input line used in the native interface.
|
|
@@ -4610,6 +5031,46 @@ interface IDivInputNativeInterface {
|
|
|
4610
5031
|
color: Type<string | DivExpression>;
|
|
4611
5032
|
}
|
|
4612
5033
|
|
|
5034
|
+
declare type DivInputFilter = DivInputFilterRegex | DivInputFilterExpression;
|
|
5035
|
+
|
|
5036
|
+
/**
|
|
5037
|
+
* [Calculated expression](../../expressions) filter.
|
|
5038
|
+
*/
|
|
5039
|
+
declare class DivInputFilterExpression<T extends DivInputFilterExpressionProps = DivInputFilterExpressionProps> {
|
|
5040
|
+
readonly _props?: Exact<DivInputFilterExpressionProps, T>;
|
|
5041
|
+
readonly type = "expression";
|
|
5042
|
+
/**
|
|
5043
|
+
* [Calculated expression](../../expressions) used as a value validity condition.
|
|
5044
|
+
*/
|
|
5045
|
+
condition: Type<IntBoolean | DivExpression>;
|
|
5046
|
+
constructor(props: Exact<DivInputFilterExpressionProps, T>);
|
|
5047
|
+
}
|
|
5048
|
+
interface DivInputFilterExpressionProps {
|
|
5049
|
+
/**
|
|
5050
|
+
* [Calculated expression](../../expressions) used as a value validity condition.
|
|
5051
|
+
*/
|
|
5052
|
+
condition: Type<IntBoolean | DivExpression>;
|
|
5053
|
+
}
|
|
5054
|
+
|
|
5055
|
+
/**
|
|
5056
|
+
* Regex filter.
|
|
5057
|
+
*/
|
|
5058
|
+
declare class DivInputFilterRegex<T extends DivInputFilterRegexProps = DivInputFilterRegexProps> {
|
|
5059
|
+
readonly _props?: Exact<DivInputFilterRegexProps, T>;
|
|
5060
|
+
readonly type = "regex";
|
|
5061
|
+
/**
|
|
5062
|
+
* A regular expression (pattern) that the input value must match.
|
|
5063
|
+
*/
|
|
5064
|
+
pattern: Type<string | DivExpression>;
|
|
5065
|
+
constructor(props: Exact<DivInputFilterRegexProps, T>);
|
|
5066
|
+
}
|
|
5067
|
+
interface DivInputFilterRegexProps {
|
|
5068
|
+
/**
|
|
5069
|
+
* A regular expression (pattern) that the input value must match.
|
|
5070
|
+
*/
|
|
5071
|
+
pattern: Type<string | DivExpression>;
|
|
5072
|
+
}
|
|
5073
|
+
|
|
4613
5074
|
declare type DivInputMask = DivFixedLengthInputMask | DivCurrencyInputMask | DivPhoneInputMask;
|
|
4614
5075
|
|
|
4615
5076
|
interface IDivInputMaskBase {
|
|
@@ -4836,6 +5297,113 @@ interface DivNinePatchBackgroundProps {
|
|
|
4836
5297
|
insets: Type<IDivAbsoluteEdgeInsets>;
|
|
4837
5298
|
}
|
|
4838
5299
|
|
|
5300
|
+
/**
|
|
5301
|
+
* Number animator.
|
|
5302
|
+
*/
|
|
5303
|
+
declare class DivNumberAnimator<T extends DivNumberAnimatorProps = DivNumberAnimatorProps> {
|
|
5304
|
+
readonly _props?: Exact<DivNumberAnimatorProps, T>;
|
|
5305
|
+
readonly type = "number_animator";
|
|
5306
|
+
/**
|
|
5307
|
+
* Actions performed when the animator is cancelled. For example, when an action with
|
|
5308
|
+
* `animator_stop` type is received
|
|
5309
|
+
*/
|
|
5310
|
+
cancel_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
5311
|
+
/**
|
|
5312
|
+
* Animation direction. This property sets whether an animation should play forward, backward, or
|
|
5313
|
+
* alternate back and forth between playing the sequence forward and backward.
|
|
5314
|
+
*/
|
|
5315
|
+
direction?: Type<DivAnimationDirection | DivExpression>;
|
|
5316
|
+
/**
|
|
5317
|
+
* Animation duration in milliseconds.
|
|
5318
|
+
*/
|
|
5319
|
+
duration: Type<number | DivExpression>;
|
|
5320
|
+
/**
|
|
5321
|
+
* Actions performed when the animator completes animation.
|
|
5322
|
+
*/
|
|
5323
|
+
end_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
5324
|
+
/**
|
|
5325
|
+
* Value that will be set at the end of animation.
|
|
5326
|
+
*/
|
|
5327
|
+
end_value: Type<number | DivExpression>;
|
|
5328
|
+
/**
|
|
5329
|
+
* Animator identificator
|
|
5330
|
+
*/
|
|
5331
|
+
id: Type<string>;
|
|
5332
|
+
/**
|
|
5333
|
+
* Interpolation function.
|
|
5334
|
+
*/
|
|
5335
|
+
interpolator?: Type<DivAnimationInterpolator | DivExpression>;
|
|
5336
|
+
/**
|
|
5337
|
+
* The number of times the animation will repeat before it finishes. `0` enables infinite
|
|
5338
|
+
* repeats.
|
|
5339
|
+
*/
|
|
5340
|
+
repeat_count?: Type<number | DivExpression>;
|
|
5341
|
+
/**
|
|
5342
|
+
* Animation start delay in milliseconds.
|
|
5343
|
+
*/
|
|
5344
|
+
start_delay?: Type<number | DivExpression>;
|
|
5345
|
+
/**
|
|
5346
|
+
* Value that will be set at the start of animation. Can be omitted, in which case current value
|
|
5347
|
+
* of the variable will be used.
|
|
5348
|
+
*/
|
|
5349
|
+
start_value?: Type<number | DivExpression>;
|
|
5350
|
+
/**
|
|
5351
|
+
* Name of the variable being animated.
|
|
5352
|
+
*/
|
|
5353
|
+
variable_name: Type<string>;
|
|
5354
|
+
constructor(props: Exact<DivNumberAnimatorProps, T>);
|
|
5355
|
+
}
|
|
5356
|
+
interface DivNumberAnimatorProps {
|
|
5357
|
+
/**
|
|
5358
|
+
* Actions performed when the animator is cancelled. For example, when an action with
|
|
5359
|
+
* `animator_stop` type is received
|
|
5360
|
+
*/
|
|
5361
|
+
cancel_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
5362
|
+
/**
|
|
5363
|
+
* Animation direction. This property sets whether an animation should play forward, backward, or
|
|
5364
|
+
* alternate back and forth between playing the sequence forward and backward.
|
|
5365
|
+
*/
|
|
5366
|
+
direction?: Type<DivAnimationDirection | DivExpression>;
|
|
5367
|
+
/**
|
|
5368
|
+
* Animation duration in milliseconds.
|
|
5369
|
+
*/
|
|
5370
|
+
duration: Type<number | DivExpression>;
|
|
5371
|
+
/**
|
|
5372
|
+
* Actions performed when the animator completes animation.
|
|
5373
|
+
*/
|
|
5374
|
+
end_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
5375
|
+
/**
|
|
5376
|
+
* Value that will be set at the end of animation.
|
|
5377
|
+
*/
|
|
5378
|
+
end_value: Type<number | DivExpression>;
|
|
5379
|
+
/**
|
|
5380
|
+
* Animator identificator
|
|
5381
|
+
*/
|
|
5382
|
+
id: Type<string>;
|
|
5383
|
+
/**
|
|
5384
|
+
* Interpolation function.
|
|
5385
|
+
*/
|
|
5386
|
+
interpolator?: Type<DivAnimationInterpolator | DivExpression>;
|
|
5387
|
+
/**
|
|
5388
|
+
* The number of times the animation will repeat before it finishes. `0` enables infinite
|
|
5389
|
+
* repeats.
|
|
5390
|
+
*/
|
|
5391
|
+
repeat_count?: Type<number | DivExpression>;
|
|
5392
|
+
/**
|
|
5393
|
+
* Animation start delay in milliseconds.
|
|
5394
|
+
*/
|
|
5395
|
+
start_delay?: Type<number | DivExpression>;
|
|
5396
|
+
/**
|
|
5397
|
+
* Value that will be set at the start of animation. Can be omitted, in which case current value
|
|
5398
|
+
* of the variable will be used.
|
|
5399
|
+
*/
|
|
5400
|
+
start_value?: Type<number | DivExpression>;
|
|
5401
|
+
/**
|
|
5402
|
+
* Name of the variable being animated.
|
|
5403
|
+
*/
|
|
5404
|
+
variable_name: Type<string>;
|
|
5405
|
+
}
|
|
5406
|
+
|
|
4839
5407
|
/**
|
|
4840
5408
|
* Page width (%).
|
|
4841
5409
|
*/
|
|
@@ -5034,6 +5602,10 @@ declare class DivPager<T extends DivPagerProps = DivPagerProps> {
|
|
|
5034
5602
|
* Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
|
|
5035
5603
|
*/
|
|
5036
5604
|
alpha?: Type<number | DivExpression>;
|
|
5605
|
+
/**
|
|
5606
|
+
* Declaration of animators that can be used to change the value of variables over time.
|
|
5607
|
+
*/
|
|
5608
|
+
animators?: Type<NonEmptyArray<DivAnimator>>;
|
|
5037
5609
|
/**
|
|
5038
5610
|
* Element background. It can contain multiple layers.
|
|
5039
5611
|
*/
|
|
@@ -5217,6 +5789,10 @@ interface DivPagerProps {
|
|
|
5217
5789
|
* Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
|
|
5218
5790
|
*/
|
|
5219
5791
|
alpha?: Type<number | DivExpression>;
|
|
5792
|
+
/**
|
|
5793
|
+
* Declaration of animators that can be used to change the value of variables over time.
|
|
5794
|
+
*/
|
|
5795
|
+
animators?: Type<NonEmptyArray<DivAnimator>>;
|
|
5220
5796
|
/**
|
|
5221
5797
|
* Element background. It can contain multiple layers.
|
|
5222
5798
|
*/
|
|
@@ -5772,6 +6348,10 @@ declare class DivSelect<T extends DivSelectProps = DivSelectProps> {
|
|
|
5772
6348
|
* Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
|
|
5773
6349
|
*/
|
|
5774
6350
|
alpha?: Type<number | DivExpression>;
|
|
6351
|
+
/**
|
|
6352
|
+
* Declaration of animators that can be used to change the value of variables over time.
|
|
6353
|
+
*/
|
|
6354
|
+
animators?: Type<NonEmptyArray<DivAnimator>>;
|
|
5775
6355
|
/**
|
|
5776
6356
|
* Element background. It can contain multiple layers.
|
|
5777
6357
|
*/
|
|
@@ -5956,6 +6536,10 @@ interface DivSelectProps {
|
|
|
5956
6536
|
* Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
|
|
5957
6537
|
*/
|
|
5958
6538
|
alpha?: Type<number | DivExpression>;
|
|
6539
|
+
/**
|
|
6540
|
+
* Declaration of animators that can be used to change the value of variables over time.
|
|
6541
|
+
*/
|
|
6542
|
+
animators?: Type<NonEmptyArray<DivAnimator>>;
|
|
5959
6543
|
/**
|
|
5960
6544
|
* Element background. It can contain multiple layers.
|
|
5961
6545
|
*/
|
|
@@ -6171,6 +6755,10 @@ declare class DivSeparator<T extends DivSeparatorProps = DivSeparatorProps> {
|
|
|
6171
6755
|
* Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
|
|
6172
6756
|
*/
|
|
6173
6757
|
alpha?: Type<number | DivExpression>;
|
|
6758
|
+
/**
|
|
6759
|
+
* Declaration of animators that can be used to change the value of variables over time.
|
|
6760
|
+
*/
|
|
6761
|
+
animators?: Type<NonEmptyArray<DivAnimator>>;
|
|
6174
6762
|
/**
|
|
6175
6763
|
* Element background. It can contain multiple layers.
|
|
6176
6764
|
*/
|
|
@@ -6333,6 +6921,10 @@ interface DivSeparatorProps {
|
|
|
6333
6921
|
* Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
|
|
6334
6922
|
*/
|
|
6335
6923
|
alpha?: Type<number | DivExpression>;
|
|
6924
|
+
/**
|
|
6925
|
+
* Declaration of animators that can be used to change the value of variables over time.
|
|
6926
|
+
*/
|
|
6927
|
+
animators?: Type<NonEmptyArray<DivAnimator>>;
|
|
6336
6928
|
/**
|
|
6337
6929
|
* Element background. It can contain multiple layers.
|
|
6338
6930
|
*/
|
|
@@ -6665,6 +7257,10 @@ declare class DivSlider<T extends DivSliderProps = DivSliderProps> {
|
|
|
6665
7257
|
* Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
|
|
6666
7258
|
*/
|
|
6667
7259
|
alpha?: Type<number | DivExpression>;
|
|
7260
|
+
/**
|
|
7261
|
+
* Declaration of animators that can be used to change the value of variables over time.
|
|
7262
|
+
*/
|
|
7263
|
+
animators?: Type<NonEmptyArray<DivAnimator>>;
|
|
6668
7264
|
/**
|
|
6669
7265
|
* Element background. It can contain multiple layers.
|
|
6670
7266
|
*/
|
|
@@ -6857,6 +7453,10 @@ interface DivSliderProps {
|
|
|
6857
7453
|
* Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
|
|
6858
7454
|
*/
|
|
6859
7455
|
alpha?: Type<number | DivExpression>;
|
|
7456
|
+
/**
|
|
7457
|
+
* Declaration of animators that can be used to change the value of variables over time.
|
|
7458
|
+
*/
|
|
7459
|
+
animators?: Type<NonEmptyArray<DivAnimator>>;
|
|
6860
7460
|
/**
|
|
6861
7461
|
* Element background. It can contain multiple layers.
|
|
6862
7462
|
*/
|
|
@@ -7118,6 +7718,10 @@ declare class DivState<T extends DivStateProps = DivStateProps> {
|
|
|
7118
7718
|
* Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
|
|
7119
7719
|
*/
|
|
7120
7720
|
alpha?: Type<number | DivExpression>;
|
|
7721
|
+
/**
|
|
7722
|
+
* Declaration of animators that can be used to change the value of variables over time.
|
|
7723
|
+
*/
|
|
7724
|
+
animators?: Type<NonEmptyArray<DivAnimator>>;
|
|
7121
7725
|
/**
|
|
7122
7726
|
* Element background. It can contain multiple layers.
|
|
7123
7727
|
*/
|
|
@@ -7282,6 +7886,10 @@ interface DivStateProps {
|
|
|
7282
7886
|
* Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
|
|
7283
7887
|
*/
|
|
7284
7888
|
alpha?: Type<number | DivExpression>;
|
|
7889
|
+
/**
|
|
7890
|
+
* Declaration of animators that can be used to change the value of variables over time.
|
|
7891
|
+
*/
|
|
7892
|
+
animators?: Type<NonEmptyArray<DivAnimator>>;
|
|
7285
7893
|
/**
|
|
7286
7894
|
* Element background. It can contain multiple layers.
|
|
7287
7895
|
*/
|
|
@@ -7522,6 +8130,10 @@ declare class DivTabs<T extends DivTabsProps = DivTabsProps> {
|
|
|
7522
8130
|
* Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
|
|
7523
8131
|
*/
|
|
7524
8132
|
alpha?: Type<number | DivExpression>;
|
|
8133
|
+
/**
|
|
8134
|
+
* Declaration of animators that can be used to change the value of variables over time.
|
|
8135
|
+
*/
|
|
8136
|
+
animators?: Type<NonEmptyArray<DivAnimator>>;
|
|
7525
8137
|
/**
|
|
7526
8138
|
* Element background. It can contain multiple layers.
|
|
7527
8139
|
*/
|
|
@@ -7710,6 +8322,10 @@ interface DivTabsProps {
|
|
|
7710
8322
|
* Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
|
|
7711
8323
|
*/
|
|
7712
8324
|
alpha?: Type<number | DivExpression>;
|
|
8325
|
+
/**
|
|
8326
|
+
* Declaration of animators that can be used to change the value of variables over time.
|
|
8327
|
+
*/
|
|
8328
|
+
animators?: Type<NonEmptyArray<DivAnimator>>;
|
|
7713
8329
|
/**
|
|
7714
8330
|
* Element background. It can contain multiple layers.
|
|
7715
8331
|
*/
|
|
@@ -8034,6 +8650,10 @@ declare class DivText<T extends DivTextProps = DivTextProps> {
|
|
|
8034
8650
|
* Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
|
|
8035
8651
|
*/
|
|
8036
8652
|
alpha?: Type<number | DivExpression>;
|
|
8653
|
+
/**
|
|
8654
|
+
* Declaration of animators that can be used to change the value of variables over time.
|
|
8655
|
+
*/
|
|
8656
|
+
animators?: Type<NonEmptyArray<DivAnimator>>;
|
|
8037
8657
|
/**
|
|
8038
8658
|
* Automatic text cropping to fit the container size.
|
|
8039
8659
|
*/
|
|
@@ -8294,6 +8914,10 @@ interface DivTextProps {
|
|
|
8294
8914
|
* Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
|
|
8295
8915
|
*/
|
|
8296
8916
|
alpha?: Type<number | DivExpression>;
|
|
8917
|
+
/**
|
|
8918
|
+
* Declaration of animators that can be used to change the value of variables over time.
|
|
8919
|
+
*/
|
|
8920
|
+
animators?: Type<NonEmptyArray<DivAnimator>>;
|
|
8297
8921
|
/**
|
|
8298
8922
|
* Automatic text cropping to fit the container size.
|
|
8299
8923
|
*/
|
|
@@ -8861,6 +9485,10 @@ declare class DivVideo<T extends DivVideoProps = DivVideoProps> {
|
|
|
8861
9485
|
* Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
|
|
8862
9486
|
*/
|
|
8863
9487
|
alpha?: Type<number | DivExpression>;
|
|
9488
|
+
/**
|
|
9489
|
+
* Declaration of animators that can be used to change the value of variables over time.
|
|
9490
|
+
*/
|
|
9491
|
+
animators?: Type<NonEmptyArray<DivAnimator>>;
|
|
8864
9492
|
/**
|
|
8865
9493
|
* Fixed aspect ratio. The element's height is calculated based on the width, ignoring the
|
|
8866
9494
|
* `height` value.
|
|
@@ -9058,6 +9686,10 @@ interface DivVideoProps {
|
|
|
9058
9686
|
* Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
|
|
9059
9687
|
*/
|
|
9060
9688
|
alpha?: Type<number | DivExpression>;
|
|
9689
|
+
/**
|
|
9690
|
+
* Declaration of animators that can be used to change the value of variables over time.
|
|
9691
|
+
*/
|
|
9692
|
+
animators?: Type<NonEmptyArray<DivAnimator>>;
|
|
9061
9693
|
/**
|
|
9062
9694
|
* Fixed aspect ratio. The element's height is calculated based on the width, ignoring the
|
|
9063
9695
|
* `height` value.
|
|
@@ -9706,4 +10338,4 @@ declare function rewriteTemplateVersions<T extends ITemplates>(templates: T, res
|
|
|
9706
10338
|
};
|
|
9707
10339
|
};
|
|
9708
10340
|
|
|
9709
|
-
export { AccessibilityType, ArrayValue, ArrayValueProps, ArrayVariable, ArrayVariableProps, BooleanValue, BooleanValueProps, BooleanVariable, BooleanVariableProps, ColorValue, ColorValueProps, ColorVariable, ColorVariableProps, ContentText, ContentTextProps, ContentUrl, ContentUrlProps, DelimiterStyleOrientation, DictValue, DictValueProps, DictVariable, DictVariableProps, Div, DivAccessibilityMode, DivAccessibilityType, DivActionArrayInsertValue, DivActionArrayInsertValueProps, DivActionArrayRemoveValue, DivActionArrayRemoveValueProps, DivActionArraySetValue, DivActionArraySetValueProps, DivActionClearFocus, DivActionClearFocusProps, DivActionCopyToClipboard, DivActionCopyToClipboardContent, DivActionCopyToClipboardProps, DivActionDictSetValue, DivActionDictSetValueProps, DivActionFocusElement, DivActionFocusElementProps, DivActionSetVariable, DivActionSetVariableProps, DivActionTarget, DivActionTyped, DivAlignmentHorizontal, DivAlignmentVertical, DivAnimationInterpolator, DivAnimationName, DivAppearanceSetTransition, DivAppearanceSetTransitionProps, DivAppearanceTransition, DivBackground, DivBlendMode, DivBlur, DivBlurProps, DivChangeBoundsTransition, DivChangeBoundsTransitionProps, DivChangeSetTransition, DivChangeSetTransitionProps, DivChangeTransition, DivCircleShape, DivCircleShapeProps, DivContainer, DivContainerLayoutMode, DivContainerOrientation, DivContainerProps, DivContainerProps0, DivContainerProps1, DivContainerPropsBase, DivContentAlignmentHorizontal, DivContentAlignmentVertical, DivCount, DivCurrencyInputMask, DivCurrencyInputMaskProps, DivCustom, DivCustomProps, DivDefaultIndicatorItemPlacement, DivDefaultIndicatorItemPlacementProps, DivDrawable, DivExpression, DivFadeTransition, DivFadeTransitionProps, DivFilter, DivFilterRtlMirror, DivFilterRtlMirrorProps, DivFixedCount, DivFixedCountProps, DivFixedLengthInputMask, DivFixedLengthInputMaskProps, DivFixedSize, DivFixedSizeProps, DivFontWeight, DivGallery, DivGalleryCrossContentAlignment, DivGalleryOrientation, DivGalleryProps, DivGalleryScrollMode, DivGalleryScrollbar, DivGifImage, DivGifImageProps, DivGradientBackground, DivGrid, DivGridProps, DivImage, DivImageBackground, DivImageBackgroundProps, DivImageProps, DivImageScale, DivIndicator, DivIndicatorAnimation, DivIndicatorItemPlacement, DivIndicatorProps, DivInfinityCount, DivInfinityCountProps, DivInput, DivInputKeyboardType, DivInputMask, DivInputProps, DivInputValidator, DivInputValidatorExpression, DivInputValidatorExpressionProps, DivInputValidatorRegex, DivInputValidatorRegexProps, DivLineStyle, DivLinearGradient, DivLinearGradientProps, DivMatchParentSize, DivMatchParentSizeProps, DivNeighbourPageSize, DivNeighbourPageSizeProps, DivNinePatchBackground, DivNinePatchBackgroundProps, DivPageSize, DivPageSizeProps, DivPageTransformation, DivPageTransformationOverlap, DivPageTransformationOverlapProps, DivPageTransformationSlide, DivPageTransformationSlideProps, DivPager, DivPagerLayoutMode, DivPagerOrientation, DivPagerProps, DivPatchMode, DivPercentageSize, DivPercentageSizeProps, DivPhoneInputMask, DivPhoneInputMaskProps, DivPivot, DivPivotFixed, DivPivotFixedProps, DivPivotPercentage, DivPivotPercentageProps, DivRadialGradient, DivRadialGradientCenter, DivRadialGradientFixedCenter, DivRadialGradientFixedCenterProps, DivRadialGradientProps, DivRadialGradientRadius, DivRadialGradientRelativeCenter, DivRadialGradientRelativeCenterProps, DivRadialGradientRelativeRadius, DivRadialGradientRelativeRadiusProps, DivRadialGradientRelativeRadiusValue, DivRoundedRectangleShape, DivRoundedRectangleShapeProps, DivScaleTransition, DivScaleTransitionProps, DivSelect, DivSelectProps, DivSeparator, DivSeparatorProps, DivShape, DivShapeDrawable, DivShapeDrawableProps, DivSize, DivSizeUnit, DivSlideTransition, DivSlideTransitionEdge, DivSlideTransitionProps, DivSlider, DivSliderProps, DivSolidBackground, DivSolidBackgroundProps, DivState, DivStateProps, DivStretchIndicatorItemPlacement, DivStretchIndicatorItemPlacementProps, DivTabs, DivTabsProps, DivText, DivTextAlignmentVertical, DivTextGradient, DivTextProps, DivTextRangeBackground, DivTextTruncate, DivTooltipPosition, DivTransitionSelector, DivTransitionTrigger, DivTriggerMode, DivTypedValue, DivVariable, DivVideo, DivVideoProps, DivVideoScale, DivVideoSource, DivVideoSourceProps, DivVideoSourceResolution, DivVideoSourceResolutionProps, DivVisibility, DivWrapContentSize, DivWrapContentSizeProps, Exact, IDivAbsoluteEdgeInsets, IDivAccessibility, IDivAction, IDivActionMenuItem, IDivAnimation, IDivAspect, IDivBase, IDivBorder, IDivCollectionItemBuilder, IDivCollectionItemBuilderPrototype, IDivContainerSeparator, IDivCornersRadius, IDivData, IDivDataState, IDivDimension, IDivDisappearAction, IDivDownloadCallbacks, IDivEdgeInsets, IDivExtension, IDivFixedLengthInputMaskPatternElement, IDivFocus, IDivFocusNextFocusIds, IDivInputMaskBase, IDivInputNativeInterface, IDivInputValidatorBase, IDivLayoutProvider, IDivPatch, IDivPatchChange, IDivPoint, IDivSelectOption, IDivSeparatorDelimiterStyle, IDivShadow, IDivSightAction, IDivSliderRange, IDivSliderTextStyle, IDivStateState, IDivStroke, IDivTabsItem, IDivTabsTabTitleDelimiter, IDivTabsTabTitleStyle, IDivTextEllipsis, IDivTextImage, IDivTextRange, IDivTextRangeBorder, IDivTimer, IDivTooltip, IDivTransform, IDivTransitionBase, IDivTrigger, IDivVisibilityAction, IDivWrapContentSizeConstraintSize, IImageAccessibility, ITemplates, IntBoolean, IntegerValue, IntegerValueProps, IntegerVariable, IntegerVariableProps, NonEmptyArray, NumberValue, NumberValueProps, NumberVariable, NumberVariableProps, SafeDivExpression, StringValue, StringValueProps, StringVariable, StringVariableProps, TabTitleStyleAnimationType, TemplateBlock, TemplateHelper, TemplatePropertyReference, TemplateResolvedAction, ThelperWithMemo, Type, UrlValue, UrlValueProps, UrlVariable, UrlVariableProps, copyTemplates, divCard, escapeCard, escapeExpression, expression, fixed, getTemplateHash, matchParent, reference, rewriteNames, rewriteRefs, rewriteTemplateVersions, runResolveDeps, template, templateHelper, templatesDepsMap, thelperVersion, thelperWithMemo, treeWalkDFS, weighted, wrapContent };
|
|
10341
|
+
export { AccessibilityType, ArrayValue, ArrayValueProps, ArrayVariable, ArrayVariableProps, BooleanValue, BooleanValueProps, BooleanVariable, BooleanVariableProps, ColorValue, ColorValueProps, ColorVariable, ColorVariableProps, ContentText, ContentTextProps, ContentUrl, ContentUrlProps, DelimiterStyleOrientation, DictValue, DictValueProps, DictVariable, DictVariableProps, Div, DivAccessibilityMode, DivAccessibilityType, DivActionAnimatorStart, DivActionAnimatorStartProps, DivActionAnimatorStop, DivActionAnimatorStopProps, DivActionArrayInsertValue, DivActionArrayInsertValueProps, DivActionArrayRemoveValue, DivActionArrayRemoveValueProps, DivActionArraySetValue, DivActionArraySetValueProps, DivActionClearFocus, DivActionClearFocusProps, DivActionCopyToClipboard, DivActionCopyToClipboardContent, DivActionCopyToClipboardProps, DivActionDictSetValue, DivActionDictSetValueProps, DivActionFocusElement, DivActionFocusElementProps, DivActionSetVariable, DivActionSetVariableProps, DivActionShowTooltip, DivActionShowTooltipProps, DivActionTarget, DivActionTimer, DivActionTimerAction, DivActionTimerProps, DivActionTyped, DivActionVideo, DivActionVideoAction, DivActionVideoProps, DivAlignmentHorizontal, DivAlignmentVertical, DivAnimationDirection, DivAnimationInterpolator, DivAnimationName, DivAnimator, DivAppearanceSetTransition, DivAppearanceSetTransitionProps, DivAppearanceTransition, DivBackground, DivBlendMode, DivBlur, DivBlurProps, DivChangeBoundsTransition, DivChangeBoundsTransitionProps, DivChangeSetTransition, DivChangeSetTransitionProps, DivChangeTransition, DivCircleShape, DivCircleShapeProps, DivColorAnimator, DivColorAnimatorProps, DivContainer, DivContainerLayoutMode, DivContainerOrientation, DivContainerProps, DivContainerProps0, DivContainerProps1, DivContainerPropsBase, DivContentAlignmentHorizontal, DivContentAlignmentVertical, DivCount, DivCurrencyInputMask, DivCurrencyInputMaskProps, DivCustom, DivCustomProps, DivDefaultIndicatorItemPlacement, DivDefaultIndicatorItemPlacementProps, DivDrawable, DivExpression, DivFadeTransition, DivFadeTransitionProps, DivFilter, DivFilterRtlMirror, DivFilterRtlMirrorProps, DivFixedCount, DivFixedCountProps, DivFixedLengthInputMask, DivFixedLengthInputMaskProps, DivFixedSize, DivFixedSizeProps, DivFontWeight, DivGallery, DivGalleryCrossContentAlignment, DivGalleryOrientation, DivGalleryProps, DivGalleryScrollMode, DivGalleryScrollbar, DivGifImage, DivGifImageProps, DivGradientBackground, DivGrid, DivGridProps, DivImage, DivImageBackground, DivImageBackgroundProps, DivImageProps, DivImageScale, DivIndicator, DivIndicatorAnimation, DivIndicatorItemPlacement, DivIndicatorProps, DivInfinityCount, DivInfinityCountProps, DivInput, DivInputAutocapitalization, DivInputFilter, DivInputFilterExpression, DivInputFilterExpressionProps, DivInputFilterRegex, DivInputFilterRegexProps, DivInputKeyboardType, DivInputMask, DivInputProps, DivInputValidator, DivInputValidatorExpression, DivInputValidatorExpressionProps, DivInputValidatorRegex, DivInputValidatorRegexProps, DivLineStyle, DivLinearGradient, DivLinearGradientProps, DivMatchParentSize, DivMatchParentSizeProps, DivNeighbourPageSize, DivNeighbourPageSizeProps, DivNinePatchBackground, DivNinePatchBackgroundProps, DivNumberAnimator, DivNumberAnimatorProps, DivPageSize, DivPageSizeProps, DivPageTransformation, DivPageTransformationOverlap, DivPageTransformationOverlapProps, DivPageTransformationSlide, DivPageTransformationSlideProps, DivPager, DivPagerLayoutMode, DivPagerOrientation, DivPagerProps, DivPatchMode, DivPercentageSize, DivPercentageSizeProps, DivPhoneInputMask, DivPhoneInputMaskProps, DivPivot, DivPivotFixed, DivPivotFixedProps, DivPivotPercentage, DivPivotPercentageProps, DivRadialGradient, DivRadialGradientCenter, DivRadialGradientFixedCenter, DivRadialGradientFixedCenterProps, DivRadialGradientProps, DivRadialGradientRadius, DivRadialGradientRelativeCenter, DivRadialGradientRelativeCenterProps, DivRadialGradientRelativeRadius, DivRadialGradientRelativeRadiusProps, DivRadialGradientRelativeRadiusValue, DivRoundedRectangleShape, DivRoundedRectangleShapeProps, DivScaleTransition, DivScaleTransitionProps, DivSelect, DivSelectProps, DivSeparator, DivSeparatorProps, DivShape, DivShapeDrawable, DivShapeDrawableProps, DivSize, DivSizeUnit, DivSlideTransition, DivSlideTransitionEdge, DivSlideTransitionProps, DivSlider, DivSliderProps, DivSolidBackground, DivSolidBackgroundProps, DivState, DivStateProps, DivStretchIndicatorItemPlacement, DivStretchIndicatorItemPlacementProps, DivTabs, DivTabsProps, DivText, DivTextAlignmentVertical, DivTextGradient, DivTextProps, DivTextRangeBackground, DivTextTruncate, DivTooltipPosition, DivTransitionSelector, DivTransitionTrigger, DivTriggerMode, DivTypedValue, DivVariable, DivVideo, DivVideoProps, DivVideoScale, DivVideoSource, DivVideoSourceProps, DivVideoSourceResolution, DivVideoSourceResolutionProps, DivVisibility, DivWrapContentSize, DivWrapContentSizeProps, Exact, IDivAbsoluteEdgeInsets, IDivAccessibility, IDivAction, IDivActionMenuItem, IDivAnimation, IDivAnimatorBase, IDivAspect, IDivBase, IDivBorder, IDivCollectionItemBuilder, IDivCollectionItemBuilderPrototype, IDivContainerSeparator, IDivCornersRadius, IDivData, IDivDataState, IDivDimension, IDivDisappearAction, IDivDownloadCallbacks, IDivEdgeInsets, IDivExtension, IDivFixedLengthInputMaskPatternElement, IDivFocus, IDivFocusNextFocusIds, IDivInputMaskBase, IDivInputNativeInterface, IDivInputValidatorBase, IDivLayoutProvider, IDivPatch, IDivPatchChange, IDivPoint, IDivSelectOption, IDivSeparatorDelimiterStyle, IDivShadow, IDivSightAction, IDivSliderRange, IDivSliderTextStyle, IDivStateState, IDivStroke, IDivTabsItem, IDivTabsTabTitleDelimiter, IDivTabsTabTitleStyle, IDivTextEllipsis, IDivTextImage, IDivTextRange, IDivTextRangeBorder, IDivTimer, IDivTooltip, IDivTransform, IDivTransitionBase, IDivTrigger, IDivVisibilityAction, IDivWrapContentSizeConstraintSize, IImageAccessibility, ITemplates, IntBoolean, IntegerValue, IntegerValueProps, IntegerVariable, IntegerVariableProps, NonEmptyArray, NumberValue, NumberValueProps, NumberVariable, NumberVariableProps, SafeDivExpression, StringValue, StringValueProps, StringVariable, StringVariableProps, TabTitleStyleAnimationType, TemplateBlock, TemplateHelper, TemplatePropertyReference, TemplateResolvedAction, ThelperWithMemo, Type, UrlValue, UrlValueProps, UrlVariable, UrlVariableProps, copyTemplates, divCard, escapeCard, escapeExpression, expression, fixed, getTemplateHash, matchParent, reference, rewriteNames, rewriteRefs, rewriteTemplateVersions, runResolveDeps, template, templateHelper, templatesDepsMap, thelperVersion, thelperWithMemo, treeWalkDFS, weighted, wrapContent };
|