@divkitframework/jsonbuilder 25.0.0 → 25.2.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 +40 -32
- package/dist/es/jsonbuilder.js.map +1 -1
- package/dist/jsonbuilder.d.ts +304 -111
- package/dist/jsonbuilder.js +42 -35
- package/dist/jsonbuilder.js.map +1 -1
- package/package.json +1 -1
package/dist/jsonbuilder.d.ts
CHANGED
|
@@ -370,6 +370,10 @@ interface IDivBase {
|
|
|
370
370
|
* Merges cells in a column of the [grid](div-grid.md) element.
|
|
371
371
|
*/
|
|
372
372
|
column_span?: Type<number | DivExpression>;
|
|
373
|
+
/**
|
|
374
|
+
* Actions when an element disappears from the screen.
|
|
375
|
+
*/
|
|
376
|
+
disappear_actions?: Type<NonEmptyArray<IDivDisappearAction>>;
|
|
373
377
|
/**
|
|
374
378
|
* Extensions for additional processing of an element. The list of extensions is given in
|
|
375
379
|
* [DivExtension](../../extensions.dita).
|
|
@@ -653,14 +657,18 @@ declare class DivContainer<T extends DivContainerProps = DivContainerProps> {
|
|
|
653
657
|
* Horizontal element alignment. For child elements, it can be redefined using the
|
|
654
658
|
* `alignment_horizontal` property.
|
|
655
659
|
*/
|
|
656
|
-
content_alignment_horizontal?: Type<
|
|
660
|
+
content_alignment_horizontal?: Type<DivContentAlignmentHorizontal | DivExpression>;
|
|
657
661
|
/**
|
|
658
662
|
* Vertical element alignment. The `baseline` value aligns elements along their own specified
|
|
659
663
|
* baseline (for text and other elements that have a baseline). Elements that don't have their
|
|
660
664
|
* baseline value specified are aligned along the top edge. For child elements, it can be
|
|
661
665
|
* redefined using the `alignment_vertical` property.
|
|
662
666
|
*/
|
|
663
|
-
content_alignment_vertical?: Type<
|
|
667
|
+
content_alignment_vertical?: Type<DivContentAlignmentVertical | DivExpression>;
|
|
668
|
+
/**
|
|
669
|
+
* Actions when an element disappears from the screen.
|
|
670
|
+
*/
|
|
671
|
+
disappear_actions?: Type<NonEmptyArray<IDivDisappearAction>>;
|
|
664
672
|
/**
|
|
665
673
|
* Action when double-clicking on an element.
|
|
666
674
|
*/
|
|
@@ -836,14 +844,18 @@ interface DivContainerProps {
|
|
|
836
844
|
* Horizontal element alignment. For child elements, it can be redefined using the
|
|
837
845
|
* `alignment_horizontal` property.
|
|
838
846
|
*/
|
|
839
|
-
content_alignment_horizontal?: Type<
|
|
847
|
+
content_alignment_horizontal?: Type<DivContentAlignmentHorizontal | DivExpression>;
|
|
840
848
|
/**
|
|
841
849
|
* Vertical element alignment. The `baseline` value aligns elements along their own specified
|
|
842
850
|
* baseline (for text and other elements that have a baseline). Elements that don't have their
|
|
843
851
|
* baseline value specified are aligned along the top edge. For child elements, it can be
|
|
844
852
|
* redefined using the `alignment_vertical` property.
|
|
845
853
|
*/
|
|
846
|
-
content_alignment_vertical?: Type<
|
|
854
|
+
content_alignment_vertical?: Type<DivContentAlignmentVertical | DivExpression>;
|
|
855
|
+
/**
|
|
856
|
+
* Actions when an element disappears from the screen.
|
|
857
|
+
*/
|
|
858
|
+
disappear_actions?: Type<NonEmptyArray<IDivDisappearAction>>;
|
|
847
859
|
/**
|
|
848
860
|
* Action when double-clicking on an element.
|
|
849
861
|
*/
|
|
@@ -968,6 +980,10 @@ interface DivContainerProps {
|
|
|
968
980
|
declare type DivContainerLayoutMode = 'no_wrap' | 'wrap';
|
|
969
981
|
declare type DivContainerOrientation = 'vertical' | 'horizontal' | 'overlap';
|
|
970
982
|
interface IDivContainerSeparator {
|
|
983
|
+
/**
|
|
984
|
+
* External margins from the element stroke.
|
|
985
|
+
*/
|
|
986
|
+
margins?: Type<IDivEdgeInsets>;
|
|
971
987
|
/**
|
|
972
988
|
* Enables displaying the separator after the last item.
|
|
973
989
|
*/
|
|
@@ -986,6 +1002,10 @@ interface IDivContainerSeparator {
|
|
|
986
1002
|
style: Type<DivDrawable>;
|
|
987
1003
|
}
|
|
988
1004
|
|
|
1005
|
+
declare type DivContentAlignmentHorizontal = 'left' | 'center' | 'right' | 'space-between' | 'space-around' | 'space-evenly';
|
|
1006
|
+
|
|
1007
|
+
declare type DivContentAlignmentVertical = 'top' | 'center' | 'bottom' | 'baseline' | 'space-between' | 'space-around' | 'space-evenly';
|
|
1008
|
+
|
|
989
1009
|
/**
|
|
990
1010
|
* Sets corner rounding.
|
|
991
1011
|
*/
|
|
@@ -1011,32 +1031,32 @@ interface IDivCornersRadius {
|
|
|
1011
1031
|
declare type DivCount = DivInfinityCount | DivFixedCount;
|
|
1012
1032
|
|
|
1013
1033
|
/**
|
|
1014
|
-
* Mask for currency
|
|
1034
|
+
* Mask for entering currency in the specified regional format.
|
|
1015
1035
|
*/
|
|
1016
1036
|
declare class DivCurrencyInputMask<T extends DivCurrencyInputMaskProps = DivCurrencyInputMaskProps> {
|
|
1017
1037
|
readonly _props?: Exact<DivCurrencyInputMaskProps, T>;
|
|
1018
1038
|
readonly type = "currency";
|
|
1019
1039
|
/**
|
|
1020
|
-
*
|
|
1021
|
-
* https://en.wikipedia.org/wiki/IETF_language_tag
|
|
1022
|
-
*
|
|
1040
|
+
* Language tag that the currency format should match, as per [IETF BCP
|
|
1041
|
+
* 47](https://en.wikipedia.org/wiki/IETF_language_tag). If the language is not set, it is
|
|
1042
|
+
* defined automatically.
|
|
1023
1043
|
*/
|
|
1024
1044
|
locale?: Type<string | DivExpression>;
|
|
1025
1045
|
/**
|
|
1026
|
-
* Name of
|
|
1046
|
+
* Name of the variable to store the unprocessed value.
|
|
1027
1047
|
*/
|
|
1028
1048
|
raw_text_variable: Type<string>;
|
|
1029
1049
|
constructor(props: Exact<DivCurrencyInputMaskProps, T>);
|
|
1030
1050
|
}
|
|
1031
1051
|
interface DivCurrencyInputMaskProps {
|
|
1032
1052
|
/**
|
|
1033
|
-
*
|
|
1034
|
-
* https://en.wikipedia.org/wiki/IETF_language_tag
|
|
1035
|
-
*
|
|
1053
|
+
* Language tag that the currency format should match, as per [IETF BCP
|
|
1054
|
+
* 47](https://en.wikipedia.org/wiki/IETF_language_tag). If the language is not set, it is
|
|
1055
|
+
* defined automatically.
|
|
1036
1056
|
*/
|
|
1037
1057
|
locale?: Type<string | DivExpression>;
|
|
1038
1058
|
/**
|
|
1039
|
-
* Name of
|
|
1059
|
+
* Name of the variable to store the unprocessed value.
|
|
1040
1060
|
*/
|
|
1041
1061
|
raw_text_variable: Type<string>;
|
|
1042
1062
|
}
|
|
@@ -1084,6 +1104,10 @@ declare class DivCustom<T extends DivCustomProps = DivCustomProps> {
|
|
|
1084
1104
|
* Subtype of an element for a host application.
|
|
1085
1105
|
*/
|
|
1086
1106
|
custom_type: Type<string>;
|
|
1107
|
+
/**
|
|
1108
|
+
* Actions when an element disappears from the screen.
|
|
1109
|
+
*/
|
|
1110
|
+
disappear_actions?: Type<NonEmptyArray<IDivDisappearAction>>;
|
|
1087
1111
|
/**
|
|
1088
1112
|
* Extensions for additional processing of an element. The list of extensions is given in
|
|
1089
1113
|
* [DivExtension](../../extensions.dita).
|
|
@@ -1210,6 +1234,10 @@ interface DivCustomProps {
|
|
|
1210
1234
|
* Subtype of an element for a host application.
|
|
1211
1235
|
*/
|
|
1212
1236
|
custom_type: Type<string>;
|
|
1237
|
+
/**
|
|
1238
|
+
* Actions when an element disappears from the screen.
|
|
1239
|
+
*/
|
|
1240
|
+
disappear_actions?: Type<NonEmptyArray<IDivDisappearAction>>;
|
|
1213
1241
|
/**
|
|
1214
1242
|
* Extensions for additional processing of an element. The list of extensions is given in
|
|
1215
1243
|
* [DivExtension](../../extensions.dita).
|
|
@@ -1329,6 +1357,45 @@ interface IDivDimension {
|
|
|
1329
1357
|
value: Type<number | DivExpression>;
|
|
1330
1358
|
}
|
|
1331
1359
|
|
|
1360
|
+
/**
|
|
1361
|
+
* Actions performed when an element becomes invisible.
|
|
1362
|
+
*/
|
|
1363
|
+
interface IDivDisappearAction {
|
|
1364
|
+
/**
|
|
1365
|
+
* Time in milliseconds during which an element must be invisible to trigger `disappear-action`.
|
|
1366
|
+
*/
|
|
1367
|
+
disappear_duration?: Type<number | DivExpression>;
|
|
1368
|
+
/**
|
|
1369
|
+
* Callbacks that are called after [data loading](../../interaction.dita#loading-data).
|
|
1370
|
+
*/
|
|
1371
|
+
download_callbacks?: Type<IDivDownloadCallbacks>;
|
|
1372
|
+
/**
|
|
1373
|
+
* Logging ID.
|
|
1374
|
+
*/
|
|
1375
|
+
log_id: Type<string>;
|
|
1376
|
+
/**
|
|
1377
|
+
* Limit on the number of loggings. If `0`, the limit is removed.
|
|
1378
|
+
*/
|
|
1379
|
+
log_limit?: Type<number | DivExpression>;
|
|
1380
|
+
/**
|
|
1381
|
+
* Additional parameters, passed to the host application.
|
|
1382
|
+
*/
|
|
1383
|
+
payload?: Type<{}>;
|
|
1384
|
+
/**
|
|
1385
|
+
* Referer URL for logging.
|
|
1386
|
+
*/
|
|
1387
|
+
referer?: Type<string | DivExpression>;
|
|
1388
|
+
/**
|
|
1389
|
+
* URL. Possible values: `url` or `div-action://`. To learn more, see [Interaction with
|
|
1390
|
+
* elements](../../interaction.dita).
|
|
1391
|
+
*/
|
|
1392
|
+
url?: Type<string | DivExpression>;
|
|
1393
|
+
/**
|
|
1394
|
+
* Percentage of the visible part of an element that triggers `disappear-action`.
|
|
1395
|
+
*/
|
|
1396
|
+
visibility_percentage?: Type<number | DivExpression>;
|
|
1397
|
+
}
|
|
1398
|
+
|
|
1332
1399
|
/**
|
|
1333
1400
|
* Callbacks that are called after [data loading](../../interaction.dita#loading-data).
|
|
1334
1401
|
*/
|
|
@@ -1468,7 +1535,7 @@ declare class DivFixedLengthInputMask<T extends DivFixedLengthInputMaskProps = D
|
|
|
1468
1535
|
*/
|
|
1469
1536
|
pattern_elements: Type<NonEmptyArray<IDivFixedLengthInputMaskPatternElement>>;
|
|
1470
1537
|
/**
|
|
1471
|
-
* Name of
|
|
1538
|
+
* Name of the variable to store the unprocessed value.
|
|
1472
1539
|
*/
|
|
1473
1540
|
raw_text_variable: Type<string>;
|
|
1474
1541
|
constructor(props: Exact<DivFixedLengthInputMaskProps, T>);
|
|
@@ -1488,7 +1555,7 @@ interface DivFixedLengthInputMaskProps {
|
|
|
1488
1555
|
*/
|
|
1489
1556
|
pattern_elements: Type<NonEmptyArray<IDivFixedLengthInputMaskPatternElement>>;
|
|
1490
1557
|
/**
|
|
1491
|
-
* Name of
|
|
1558
|
+
* Name of the variable to store the unprocessed value.
|
|
1492
1559
|
*/
|
|
1493
1560
|
raw_text_variable: Type<string>;
|
|
1494
1561
|
}
|
|
@@ -1636,6 +1703,10 @@ declare class DivGallery<T extends DivGalleryProps = DivGalleryProps> {
|
|
|
1636
1703
|
* element.
|
|
1637
1704
|
*/
|
|
1638
1705
|
default_item?: Type<number | DivExpression>;
|
|
1706
|
+
/**
|
|
1707
|
+
* Actions when an element disappears from the screen.
|
|
1708
|
+
*/
|
|
1709
|
+
disappear_actions?: Type<NonEmptyArray<IDivDisappearAction>>;
|
|
1639
1710
|
/**
|
|
1640
1711
|
* Extensions for additional processing of an element. The list of extensions is given in
|
|
1641
1712
|
* [DivExtension](../../extensions.dita).
|
|
@@ -1802,6 +1873,10 @@ interface DivGalleryProps {
|
|
|
1802
1873
|
* element.
|
|
1803
1874
|
*/
|
|
1804
1875
|
default_item?: Type<number | DivExpression>;
|
|
1876
|
+
/**
|
|
1877
|
+
* Actions when an element disappears from the screen.
|
|
1878
|
+
*/
|
|
1879
|
+
disappear_actions?: Type<NonEmptyArray<IDivDisappearAction>>;
|
|
1805
1880
|
/**
|
|
1806
1881
|
* Extensions for additional processing of an element. The list of extensions is given in
|
|
1807
1882
|
* [DivExtension](../../extensions.dita).
|
|
@@ -1980,6 +2055,10 @@ declare class DivGifImage<T extends DivGifImageProps = DivGifImageProps> {
|
|
|
1980
2055
|
* Vertical image alignment.
|
|
1981
2056
|
*/
|
|
1982
2057
|
content_alignment_vertical?: Type<DivAlignmentVertical | DivExpression>;
|
|
2058
|
+
/**
|
|
2059
|
+
* Actions when an element disappears from the screen.
|
|
2060
|
+
*/
|
|
2061
|
+
disappear_actions?: Type<NonEmptyArray<IDivDisappearAction>>;
|
|
1983
2062
|
/**
|
|
1984
2063
|
* Action when double-clicking on an element.
|
|
1985
2064
|
*/
|
|
@@ -2151,6 +2230,10 @@ interface DivGifImageProps {
|
|
|
2151
2230
|
* Vertical image alignment.
|
|
2152
2231
|
*/
|
|
2153
2232
|
content_alignment_vertical?: Type<DivAlignmentVertical | DivExpression>;
|
|
2233
|
+
/**
|
|
2234
|
+
* Actions when an element disappears from the screen.
|
|
2235
|
+
*/
|
|
2236
|
+
disappear_actions?: Type<NonEmptyArray<IDivDisappearAction>>;
|
|
2154
2237
|
/**
|
|
2155
2238
|
* Action when double-clicking on an element.
|
|
2156
2239
|
*/
|
|
@@ -2326,6 +2409,10 @@ declare class DivGrid<T extends DivGridProps = DivGridProps> {
|
|
|
2326
2409
|
* Vertical alignment of grid contents.
|
|
2327
2410
|
*/
|
|
2328
2411
|
content_alignment_vertical?: Type<DivAlignmentVertical | DivExpression>;
|
|
2412
|
+
/**
|
|
2413
|
+
* Actions when an element disappears from the screen.
|
|
2414
|
+
*/
|
|
2415
|
+
disappear_actions?: Type<NonEmptyArray<IDivDisappearAction>>;
|
|
2329
2416
|
/**
|
|
2330
2417
|
* Action when double-clicking on an element.
|
|
2331
2418
|
*/
|
|
@@ -2478,6 +2565,10 @@ interface DivGridProps {
|
|
|
2478
2565
|
* Vertical alignment of grid contents.
|
|
2479
2566
|
*/
|
|
2480
2567
|
content_alignment_vertical?: Type<DivAlignmentVertical | DivExpression>;
|
|
2568
|
+
/**
|
|
2569
|
+
* Actions when an element disappears from the screen.
|
|
2570
|
+
*/
|
|
2571
|
+
disappear_actions?: Type<NonEmptyArray<IDivDisappearAction>>;
|
|
2481
2572
|
/**
|
|
2482
2573
|
* Action when double-clicking on an element.
|
|
2483
2574
|
*/
|
|
@@ -2640,6 +2731,10 @@ declare class DivImage<T extends DivImageProps = DivImageProps> {
|
|
|
2640
2731
|
* Vertical image alignment.
|
|
2641
2732
|
*/
|
|
2642
2733
|
content_alignment_vertical?: Type<DivAlignmentVertical | DivExpression>;
|
|
2734
|
+
/**
|
|
2735
|
+
* Actions when an element disappears from the screen.
|
|
2736
|
+
*/
|
|
2737
|
+
disappear_actions?: Type<NonEmptyArray<IDivDisappearAction>>;
|
|
2643
2738
|
/**
|
|
2644
2739
|
* Action when double-clicking on an element.
|
|
2645
2740
|
*/
|
|
@@ -2833,6 +2928,10 @@ interface DivImageProps {
|
|
|
2833
2928
|
* Vertical image alignment.
|
|
2834
2929
|
*/
|
|
2835
2930
|
content_alignment_vertical?: Type<DivAlignmentVertical | DivExpression>;
|
|
2931
|
+
/**
|
|
2932
|
+
* Actions when an element disappears from the screen.
|
|
2933
|
+
*/
|
|
2934
|
+
disappear_actions?: Type<NonEmptyArray<IDivDisappearAction>>;
|
|
2836
2935
|
/**
|
|
2837
2936
|
* Action when double-clicking on an element.
|
|
2838
2937
|
*/
|
|
@@ -3090,6 +3189,10 @@ declare class DivIndicator<T extends DivIndicatorProps = DivIndicatorProps> {
|
|
|
3090
3189
|
* Merges cells in a column of the [grid](div-grid.md) element.
|
|
3091
3190
|
*/
|
|
3092
3191
|
column_span?: Type<number | DivExpression>;
|
|
3192
|
+
/**
|
|
3193
|
+
* Actions when an element disappears from the screen.
|
|
3194
|
+
*/
|
|
3195
|
+
disappear_actions?: Type<NonEmptyArray<IDivDisappearAction>>;
|
|
3093
3196
|
/**
|
|
3094
3197
|
* Extensions for additional processing of an element. The list of extensions is given in
|
|
3095
3198
|
* [DivExtension](../../extensions.dita).
|
|
@@ -3266,6 +3369,10 @@ interface DivIndicatorProps {
|
|
|
3266
3369
|
* Merges cells in a column of the [grid](div-grid.md) element.
|
|
3267
3370
|
*/
|
|
3268
3371
|
column_span?: Type<number | DivExpression>;
|
|
3372
|
+
/**
|
|
3373
|
+
* Actions when an element disappears from the screen.
|
|
3374
|
+
*/
|
|
3375
|
+
disappear_actions?: Type<NonEmptyArray<IDivDisappearAction>>;
|
|
3269
3376
|
/**
|
|
3270
3377
|
* Extensions for additional processing of an element. The list of extensions is given in
|
|
3271
3378
|
* [DivExtension](../../extensions.dita).
|
|
@@ -3441,6 +3548,10 @@ declare class DivInput<T extends DivInputProps = DivInputProps> {
|
|
|
3441
3548
|
* Merges cells in a column of the [grid](div-grid.md) element.
|
|
3442
3549
|
*/
|
|
3443
3550
|
column_span?: Type<number | DivExpression>;
|
|
3551
|
+
/**
|
|
3552
|
+
* Actions when an element disappears from the screen.
|
|
3553
|
+
*/
|
|
3554
|
+
disappear_actions?: Type<NonEmptyArray<IDivDisappearAction>>;
|
|
3444
3555
|
/**
|
|
3445
3556
|
* Extensions for additional processing of an element. The list of extensions is given in
|
|
3446
3557
|
* [DivExtension](../../extensions.dita).
|
|
@@ -3627,6 +3738,10 @@ interface DivInputProps {
|
|
|
3627
3738
|
* Merges cells in a column of the [grid](div-grid.md) element.
|
|
3628
3739
|
*/
|
|
3629
3740
|
column_span?: Type<number | DivExpression>;
|
|
3741
|
+
/**
|
|
3742
|
+
* Actions when an element disappears from the screen.
|
|
3743
|
+
*/
|
|
3744
|
+
disappear_actions?: Type<NonEmptyArray<IDivDisappearAction>>;
|
|
3630
3745
|
/**
|
|
3631
3746
|
* Extensions for additional processing of an element. The list of extensions is given in
|
|
3632
3747
|
* [DivExtension](../../extensions.dita).
|
|
@@ -3798,7 +3913,7 @@ declare type DivInputMask = DivFixedLengthInputMask | DivCurrencyInputMask;
|
|
|
3798
3913
|
|
|
3799
3914
|
interface IDivInputMaskBase {
|
|
3800
3915
|
/**
|
|
3801
|
-
* Name of
|
|
3916
|
+
* Name of the variable to store the unprocessed value.
|
|
3802
3917
|
*/
|
|
3803
3918
|
raw_text_variable: Type<string>;
|
|
3804
3919
|
}
|
|
@@ -4062,6 +4177,10 @@ declare class DivPager<T extends DivPagerProps = DivPagerProps> {
|
|
|
4062
4177
|
* Ordinal number of the pager element that will be opened by default.
|
|
4063
4178
|
*/
|
|
4064
4179
|
default_item?: Type<number | DivExpression>;
|
|
4180
|
+
/**
|
|
4181
|
+
* Actions when an element disappears from the screen.
|
|
4182
|
+
*/
|
|
4183
|
+
disappear_actions?: Type<NonEmptyArray<IDivDisappearAction>>;
|
|
4065
4184
|
/**
|
|
4066
4185
|
* Extensions for additional processing of an element. The list of extensions is given in
|
|
4067
4186
|
* [DivExtension](../../extensions.dita).
|
|
@@ -4210,6 +4329,10 @@ interface DivPagerProps {
|
|
|
4210
4329
|
* Ordinal number of the pager element that will be opened by default.
|
|
4211
4330
|
*/
|
|
4212
4331
|
default_item?: Type<number | DivExpression>;
|
|
4332
|
+
/**
|
|
4333
|
+
* Actions when an element disappears from the screen.
|
|
4334
|
+
*/
|
|
4335
|
+
disappear_actions?: Type<NonEmptyArray<IDivDisappearAction>>;
|
|
4213
4336
|
/**
|
|
4214
4337
|
* Extensions for additional processing of an element. The list of extensions is given in
|
|
4215
4338
|
* [DivExtension](../../extensions.dita).
|
|
@@ -4666,7 +4789,7 @@ interface DivScaleTransitionProps {
|
|
|
4666
4789
|
}
|
|
4667
4790
|
|
|
4668
4791
|
/**
|
|
4669
|
-
*
|
|
4792
|
+
* List of options with only one to be selected.
|
|
4670
4793
|
*/
|
|
4671
4794
|
declare class DivSelect<T extends DivSelectProps = DivSelectProps> {
|
|
4672
4795
|
readonly _props?: Exact<DivSelectProps, T>;
|
|
@@ -4699,6 +4822,10 @@ declare class DivSelect<T extends DivSelectProps = DivSelectProps> {
|
|
|
4699
4822
|
* Merges cells in a column of the [grid](div-grid.md) element.
|
|
4700
4823
|
*/
|
|
4701
4824
|
column_span?: Type<number | DivExpression>;
|
|
4825
|
+
/**
|
|
4826
|
+
* Actions when an element disappears from the screen.
|
|
4827
|
+
*/
|
|
4828
|
+
disappear_actions?: Type<NonEmptyArray<IDivDisappearAction>>;
|
|
4702
4829
|
/**
|
|
4703
4830
|
* Extensions for additional processing of an element. The list of extensions is given in
|
|
4704
4831
|
* [DivExtension](../../extensions.dita).
|
|
@@ -4751,7 +4878,7 @@ declare class DivSelect<T extends DivSelectProps = DivSelectProps> {
|
|
|
4751
4878
|
*/
|
|
4752
4879
|
letter_spacing?: Type<number | DivExpression>;
|
|
4753
4880
|
/**
|
|
4754
|
-
* Line spacing of the text.
|
|
4881
|
+
* Line spacing of the text. Measured in units set in `font_size_unit`.
|
|
4755
4882
|
*/
|
|
4756
4883
|
line_height?: Type<number | DivExpression>;
|
|
4757
4884
|
/**
|
|
@@ -4806,7 +4933,7 @@ declare class DivSelect<T extends DivSelectProps = DivSelectProps> {
|
|
|
4806
4933
|
*/
|
|
4807
4934
|
transition_triggers?: Type<NonEmptyArray<DivTransitionTrigger>>;
|
|
4808
4935
|
/**
|
|
4809
|
-
*
|
|
4936
|
+
* Name of the variable that stores the selected option value (`value`).
|
|
4810
4937
|
*/
|
|
4811
4938
|
value_variable: Type<string>;
|
|
4812
4939
|
/**
|
|
@@ -4857,6 +4984,10 @@ interface DivSelectProps {
|
|
|
4857
4984
|
* Merges cells in a column of the [grid](div-grid.md) element.
|
|
4858
4985
|
*/
|
|
4859
4986
|
column_span?: Type<number | DivExpression>;
|
|
4987
|
+
/**
|
|
4988
|
+
* Actions when an element disappears from the screen.
|
|
4989
|
+
*/
|
|
4990
|
+
disappear_actions?: Type<NonEmptyArray<IDivDisappearAction>>;
|
|
4860
4991
|
/**
|
|
4861
4992
|
* Extensions for additional processing of an element. The list of extensions is given in
|
|
4862
4993
|
* [DivExtension](../../extensions.dita).
|
|
@@ -4909,7 +5040,7 @@ interface DivSelectProps {
|
|
|
4909
5040
|
*/
|
|
4910
5041
|
letter_spacing?: Type<number | DivExpression>;
|
|
4911
5042
|
/**
|
|
4912
|
-
* Line spacing of the text.
|
|
5043
|
+
* Line spacing of the text. Measured in units set in `font_size_unit`.
|
|
4913
5044
|
*/
|
|
4914
5045
|
line_height?: Type<number | DivExpression>;
|
|
4915
5046
|
/**
|
|
@@ -4964,7 +5095,7 @@ interface DivSelectProps {
|
|
|
4964
5095
|
*/
|
|
4965
5096
|
transition_triggers?: Type<NonEmptyArray<DivTransitionTrigger>>;
|
|
4966
5097
|
/**
|
|
4967
|
-
*
|
|
5098
|
+
* Name of the variable that stores the selected option value (`value`).
|
|
4968
5099
|
*/
|
|
4969
5100
|
value_variable: Type<string>;
|
|
4970
5101
|
/**
|
|
@@ -4986,16 +5117,15 @@ interface DivSelectProps {
|
|
|
4986
5117
|
width?: Type<DivSize>;
|
|
4987
5118
|
}
|
|
4988
5119
|
/**
|
|
4989
|
-
*
|
|
5120
|
+
* List option.
|
|
4990
5121
|
*/
|
|
4991
5122
|
interface IDivSelectOption {
|
|
4992
5123
|
/**
|
|
4993
|
-
*
|
|
4994
|
-
* instead.
|
|
5124
|
+
* Text description of the option displayed in the list. If not set, `value` is used instead.
|
|
4995
5125
|
*/
|
|
4996
5126
|
text?: Type<string | DivExpression>;
|
|
4997
5127
|
/**
|
|
4998
|
-
*
|
|
5128
|
+
* Value matching the option.
|
|
4999
5129
|
*/
|
|
5000
5130
|
value: Type<string | DivExpression>;
|
|
5001
5131
|
}
|
|
@@ -5051,6 +5181,10 @@ declare class DivSeparator<T extends DivSeparatorProps = DivSeparatorProps> {
|
|
|
5051
5181
|
* Separator display settings.
|
|
5052
5182
|
*/
|
|
5053
5183
|
delimiter_style?: Type<IDivSeparatorDelimiterStyle>;
|
|
5184
|
+
/**
|
|
5185
|
+
* Actions when an element disappears from the screen.
|
|
5186
|
+
*/
|
|
5187
|
+
disappear_actions?: Type<NonEmptyArray<IDivDisappearAction>>;
|
|
5054
5188
|
/**
|
|
5055
5189
|
* Action when double-clicking on an element.
|
|
5056
5190
|
*/
|
|
@@ -5191,6 +5325,10 @@ interface DivSeparatorProps {
|
|
|
5191
5325
|
* Separator display settings.
|
|
5192
5326
|
*/
|
|
5193
5327
|
delimiter_style?: Type<IDivSeparatorDelimiterStyle>;
|
|
5328
|
+
/**
|
|
5329
|
+
* Actions when an element disappears from the screen.
|
|
5330
|
+
*/
|
|
5331
|
+
disappear_actions?: Type<NonEmptyArray<IDivDisappearAction>>;
|
|
5194
5332
|
/**
|
|
5195
5333
|
* Action when double-clicking on an element.
|
|
5196
5334
|
*/
|
|
@@ -5463,6 +5601,10 @@ declare class DivSlider<T extends DivSliderProps = DivSliderProps> {
|
|
|
5463
5601
|
* Merges cells in a column of the [grid](div-grid.md) element.
|
|
5464
5602
|
*/
|
|
5465
5603
|
column_span?: Type<number | DivExpression>;
|
|
5604
|
+
/**
|
|
5605
|
+
* Actions when an element disappears from the screen.
|
|
5606
|
+
*/
|
|
5607
|
+
disappear_actions?: Type<NonEmptyArray<IDivDisappearAction>>;
|
|
5466
5608
|
/**
|
|
5467
5609
|
* Extensions for additional processing of an element. The list of extensions is given in
|
|
5468
5610
|
* [DivExtension](../../extensions.dita).
|
|
@@ -5629,6 +5771,10 @@ interface DivSliderProps {
|
|
|
5629
5771
|
* Merges cells in a column of the [grid](div-grid.md) element.
|
|
5630
5772
|
*/
|
|
5631
5773
|
column_span?: Type<number | DivExpression>;
|
|
5774
|
+
/**
|
|
5775
|
+
* Actions when an element disappears from the screen.
|
|
5776
|
+
*/
|
|
5777
|
+
disappear_actions?: Type<NonEmptyArray<IDivDisappearAction>>;
|
|
5632
5778
|
/**
|
|
5633
5779
|
* Extensions for additional processing of an element. The list of extensions is given in
|
|
5634
5780
|
* [DivExtension](../../extensions.dita).
|
|
@@ -5843,6 +5989,10 @@ declare class DivState<T extends DivStateProps = DivStateProps> {
|
|
|
5843
5989
|
* the `states` will be set.
|
|
5844
5990
|
*/
|
|
5845
5991
|
default_state_id?: Type<string | DivExpression>;
|
|
5992
|
+
/**
|
|
5993
|
+
* Actions when an element disappears from the screen.
|
|
5994
|
+
*/
|
|
5995
|
+
disappear_actions?: Type<NonEmptyArray<IDivDisappearAction>>;
|
|
5846
5996
|
/**
|
|
5847
5997
|
* ID of an element to search in the hierarchy. The ID must be unique at one hierarchy level.
|
|
5848
5998
|
*
|
|
@@ -5980,6 +6130,10 @@ interface DivStateProps {
|
|
|
5980
6130
|
* the `states` will be set.
|
|
5981
6131
|
*/
|
|
5982
6132
|
default_state_id?: Type<string | DivExpression>;
|
|
6133
|
+
/**
|
|
6134
|
+
* Actions when an element disappears from the screen.
|
|
6135
|
+
*/
|
|
6136
|
+
disappear_actions?: Type<NonEmptyArray<IDivDisappearAction>>;
|
|
5983
6137
|
/**
|
|
5984
6138
|
* ID of an element to search in the hierarchy. The ID must be unique at one hierarchy level.
|
|
5985
6139
|
*
|
|
@@ -6188,6 +6342,10 @@ declare class DivTabs<T extends DivTabsProps = DivTabsProps> {
|
|
|
6188
6342
|
* Merges cells in a column of the [grid](div-grid.md) element.
|
|
6189
6343
|
*/
|
|
6190
6344
|
column_span?: Type<number | DivExpression>;
|
|
6345
|
+
/**
|
|
6346
|
+
* Actions when an element disappears from the screen.
|
|
6347
|
+
*/
|
|
6348
|
+
disappear_actions?: Type<NonEmptyArray<IDivDisappearAction>>;
|
|
6191
6349
|
/**
|
|
6192
6350
|
* Updating height when changing the active element. In the browser, the value is always `true`.
|
|
6193
6351
|
*/
|
|
@@ -6350,6 +6508,10 @@ interface DivTabsProps {
|
|
|
6350
6508
|
* Merges cells in a column of the [grid](div-grid.md) element.
|
|
6351
6509
|
*/
|
|
6352
6510
|
column_span?: Type<number | DivExpression>;
|
|
6511
|
+
/**
|
|
6512
|
+
* Actions when an element disappears from the screen.
|
|
6513
|
+
*/
|
|
6514
|
+
disappear_actions?: Type<NonEmptyArray<IDivDisappearAction>>;
|
|
6353
6515
|
/**
|
|
6354
6516
|
* Updating height when changing the active element. In the browser, the value is always `true`.
|
|
6355
6517
|
*/
|
|
@@ -6633,6 +6795,10 @@ declare class DivText<T extends DivTextProps = DivTextProps> {
|
|
|
6633
6795
|
* Merges cells in a column of the [grid](div-grid.md) element.
|
|
6634
6796
|
*/
|
|
6635
6797
|
column_span?: Type<number | DivExpression>;
|
|
6798
|
+
/**
|
|
6799
|
+
* Actions when an element disappears from the screen.
|
|
6800
|
+
*/
|
|
6801
|
+
disappear_actions?: Type<NonEmptyArray<IDivDisappearAction>>;
|
|
6636
6802
|
/**
|
|
6637
6803
|
* Action when double-clicking on an element.
|
|
6638
6804
|
*/
|
|
@@ -6858,6 +7024,10 @@ interface DivTextProps {
|
|
|
6858
7024
|
* Merges cells in a column of the [grid](div-grid.md) element.
|
|
6859
7025
|
*/
|
|
6860
7026
|
column_span?: Type<number | DivExpression>;
|
|
7027
|
+
/**
|
|
7028
|
+
* Actions when an element disappears from the screen.
|
|
7029
|
+
*/
|
|
7030
|
+
disappear_actions?: Type<NonEmptyArray<IDivDisappearAction>>;
|
|
6861
7031
|
/**
|
|
6862
7032
|
* Action when double-clicking on an element.
|
|
6863
7033
|
*/
|
|
@@ -7308,10 +7478,10 @@ interface IDivTrigger {
|
|
|
7308
7478
|
}
|
|
7309
7479
|
declare type DivTriggerMode = 'on_condition' | 'on_variable';
|
|
7310
7480
|
|
|
7311
|
-
declare type DivVariable = StringVariable | NumberVariable | IntegerVariable | BooleanVariable | ColorVariable | UrlVariable;
|
|
7481
|
+
declare type DivVariable = StringVariable | NumberVariable | IntegerVariable | BooleanVariable | ColorVariable | UrlVariable | JsonVariable;
|
|
7312
7482
|
|
|
7313
7483
|
/**
|
|
7314
|
-
* Video
|
|
7484
|
+
* Video.
|
|
7315
7485
|
*/
|
|
7316
7486
|
declare class DivVideo<T extends DivVideoProps = DivVideoProps> {
|
|
7317
7487
|
readonly _props?: Exact<DivVideoProps, T>;
|
|
@@ -7333,8 +7503,8 @@ declare class DivVideo<T extends DivVideoProps = DivVideoProps> {
|
|
|
7333
7503
|
*/
|
|
7334
7504
|
alpha?: Type<number | DivExpression>;
|
|
7335
7505
|
/**
|
|
7336
|
-
*
|
|
7337
|
-
*
|
|
7506
|
+
* This option turns on automatic video playback. On the web, the video starts if muted playback
|
|
7507
|
+
* is turned on.
|
|
7338
7508
|
*/
|
|
7339
7509
|
autostart?: Type<IntBoolean | DivExpression>;
|
|
7340
7510
|
/**
|
|
@@ -7346,7 +7516,7 @@ declare class DivVideo<T extends DivVideoProps = DivVideoProps> {
|
|
|
7346
7516
|
*/
|
|
7347
7517
|
border?: Type<IDivBorder>;
|
|
7348
7518
|
/**
|
|
7349
|
-
* Actions
|
|
7519
|
+
* Actions performed during video loading.
|
|
7350
7520
|
*/
|
|
7351
7521
|
buffering_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
7352
7522
|
/**
|
|
@@ -7354,11 +7524,15 @@ declare class DivVideo<T extends DivVideoProps = DivVideoProps> {
|
|
|
7354
7524
|
*/
|
|
7355
7525
|
column_span?: Type<number | DivExpression>;
|
|
7356
7526
|
/**
|
|
7357
|
-
*
|
|
7527
|
+
* Actions when an element disappears from the screen.
|
|
7528
|
+
*/
|
|
7529
|
+
disappear_actions?: Type<NonEmptyArray<IDivDisappearAction>>;
|
|
7530
|
+
/**
|
|
7531
|
+
* Time interval from the video beginning to the current position in milliseconds.
|
|
7358
7532
|
*/
|
|
7359
7533
|
elapsed_time_variable?: Type<string>;
|
|
7360
7534
|
/**
|
|
7361
|
-
* Actions
|
|
7535
|
+
* Actions performed after the video ends.
|
|
7362
7536
|
*/
|
|
7363
7537
|
end_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
7364
7538
|
/**
|
|
@@ -7366,6 +7540,11 @@ declare class DivVideo<T extends DivVideoProps = DivVideoProps> {
|
|
|
7366
7540
|
* [DivExtension](../../extensions.dita).
|
|
7367
7541
|
*/
|
|
7368
7542
|
extensions?: Type<NonEmptyArray<IDivExtension>>;
|
|
7543
|
+
/**
|
|
7544
|
+
* Actions that are performed when it is impossible to continue playback due to an error in the
|
|
7545
|
+
* player.
|
|
7546
|
+
*/
|
|
7547
|
+
fatal_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
7369
7548
|
/**
|
|
7370
7549
|
* Parameters when focusing on an element or losing focus.
|
|
7371
7550
|
*/
|
|
@@ -7386,7 +7565,7 @@ declare class DivVideo<T extends DivVideoProps = DivVideoProps> {
|
|
|
7386
7565
|
*/
|
|
7387
7566
|
margins?: Type<IDivEdgeInsets>;
|
|
7388
7567
|
/**
|
|
7389
|
-
*
|
|
7568
|
+
* This option mutes video.
|
|
7390
7569
|
*/
|
|
7391
7570
|
muted?: Type<IntBoolean | DivExpression>;
|
|
7392
7571
|
/**
|
|
@@ -7394,20 +7573,24 @@ declare class DivVideo<T extends DivVideoProps = DivVideoProps> {
|
|
|
7394
7573
|
*/
|
|
7395
7574
|
paddings?: Type<IDivEdgeInsets>;
|
|
7396
7575
|
/**
|
|
7397
|
-
*
|
|
7576
|
+
* Actions that are performed when a playback is paused.
|
|
7577
|
+
*/
|
|
7578
|
+
pause_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
7579
|
+
/**
|
|
7580
|
+
* Additional information that can be used in the player.
|
|
7398
7581
|
*/
|
|
7399
7582
|
player_settings_payload?: Type<{}>;
|
|
7400
7583
|
/**
|
|
7401
|
-
*
|
|
7402
|
-
*
|
|
7584
|
+
* Video preview encoded in `base64`. Will be shown until the video is ready to play. `Data url`
|
|
7585
|
+
* format: `data:[;base64],<data>`
|
|
7403
7586
|
*/
|
|
7404
7587
|
preview?: Type<string | DivExpression>;
|
|
7405
7588
|
/**
|
|
7406
|
-
*
|
|
7589
|
+
* This option turns on video repeat.
|
|
7407
7590
|
*/
|
|
7408
7591
|
repeatable?: Type<IntBoolean | DivExpression>;
|
|
7409
7592
|
/**
|
|
7410
|
-
* Actions
|
|
7593
|
+
* Actions performed when video playback resumes.
|
|
7411
7594
|
*/
|
|
7412
7595
|
resume_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
7413
7596
|
/**
|
|
@@ -7448,7 +7631,7 @@ declare class DivVideo<T extends DivVideoProps = DivVideoProps> {
|
|
|
7448
7631
|
* Animation starting triggers. Default value: `[state_change, visibility_change]`.
|
|
7449
7632
|
*/
|
|
7450
7633
|
transition_triggers?: Type<NonEmptyArray<DivTransitionTrigger>>;
|
|
7451
|
-
|
|
7634
|
+
video_sources: Type<NonEmptyArray<DivVideoSource>>;
|
|
7452
7635
|
/**
|
|
7453
7636
|
* Element visibility.
|
|
7454
7637
|
*/
|
|
@@ -7486,8 +7669,8 @@ interface DivVideoProps {
|
|
|
7486
7669
|
*/
|
|
7487
7670
|
alpha?: Type<number | DivExpression>;
|
|
7488
7671
|
/**
|
|
7489
|
-
*
|
|
7490
|
-
*
|
|
7672
|
+
* This option turns on automatic video playback. On the web, the video starts if muted playback
|
|
7673
|
+
* is turned on.
|
|
7491
7674
|
*/
|
|
7492
7675
|
autostart?: Type<IntBoolean | DivExpression>;
|
|
7493
7676
|
/**
|
|
@@ -7499,7 +7682,7 @@ interface DivVideoProps {
|
|
|
7499
7682
|
*/
|
|
7500
7683
|
border?: Type<IDivBorder>;
|
|
7501
7684
|
/**
|
|
7502
|
-
* Actions
|
|
7685
|
+
* Actions performed during video loading.
|
|
7503
7686
|
*/
|
|
7504
7687
|
buffering_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
7505
7688
|
/**
|
|
@@ -7507,11 +7690,15 @@ interface DivVideoProps {
|
|
|
7507
7690
|
*/
|
|
7508
7691
|
column_span?: Type<number | DivExpression>;
|
|
7509
7692
|
/**
|
|
7510
|
-
*
|
|
7693
|
+
* Actions when an element disappears from the screen.
|
|
7694
|
+
*/
|
|
7695
|
+
disappear_actions?: Type<NonEmptyArray<IDivDisappearAction>>;
|
|
7696
|
+
/**
|
|
7697
|
+
* Time interval from the video beginning to the current position in milliseconds.
|
|
7511
7698
|
*/
|
|
7512
7699
|
elapsed_time_variable?: Type<string>;
|
|
7513
7700
|
/**
|
|
7514
|
-
* Actions
|
|
7701
|
+
* Actions performed after the video ends.
|
|
7515
7702
|
*/
|
|
7516
7703
|
end_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
7517
7704
|
/**
|
|
@@ -7519,6 +7706,11 @@ interface DivVideoProps {
|
|
|
7519
7706
|
* [DivExtension](../../extensions.dita).
|
|
7520
7707
|
*/
|
|
7521
7708
|
extensions?: Type<NonEmptyArray<IDivExtension>>;
|
|
7709
|
+
/**
|
|
7710
|
+
* Actions that are performed when it is impossible to continue playback due to an error in the
|
|
7711
|
+
* player.
|
|
7712
|
+
*/
|
|
7713
|
+
fatal_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
7522
7714
|
/**
|
|
7523
7715
|
* Parameters when focusing on an element or losing focus.
|
|
7524
7716
|
*/
|
|
@@ -7539,7 +7731,7 @@ interface DivVideoProps {
|
|
|
7539
7731
|
*/
|
|
7540
7732
|
margins?: Type<IDivEdgeInsets>;
|
|
7541
7733
|
/**
|
|
7542
|
-
*
|
|
7734
|
+
* This option mutes video.
|
|
7543
7735
|
*/
|
|
7544
7736
|
muted?: Type<IntBoolean | DivExpression>;
|
|
7545
7737
|
/**
|
|
@@ -7547,20 +7739,24 @@ interface DivVideoProps {
|
|
|
7547
7739
|
*/
|
|
7548
7740
|
paddings?: Type<IDivEdgeInsets>;
|
|
7549
7741
|
/**
|
|
7550
|
-
*
|
|
7742
|
+
* Actions that are performed when a playback is paused.
|
|
7743
|
+
*/
|
|
7744
|
+
pause_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
7745
|
+
/**
|
|
7746
|
+
* Additional information that can be used in the player.
|
|
7551
7747
|
*/
|
|
7552
7748
|
player_settings_payload?: Type<{}>;
|
|
7553
7749
|
/**
|
|
7554
|
-
*
|
|
7555
|
-
*
|
|
7750
|
+
* Video preview encoded in `base64`. Will be shown until the video is ready to play. `Data url`
|
|
7751
|
+
* format: `data:[;base64],<data>`
|
|
7556
7752
|
*/
|
|
7557
7753
|
preview?: Type<string | DivExpression>;
|
|
7558
7754
|
/**
|
|
7559
|
-
*
|
|
7755
|
+
* This option turns on video repeat.
|
|
7560
7756
|
*/
|
|
7561
7757
|
repeatable?: Type<IntBoolean | DivExpression>;
|
|
7562
7758
|
/**
|
|
7563
|
-
* Actions
|
|
7759
|
+
* Actions performed when video playback resumes.
|
|
7564
7760
|
*/
|
|
7565
7761
|
resume_actions?: Type<NonEmptyArray<IDivAction>>;
|
|
7566
7762
|
/**
|
|
@@ -7601,7 +7797,7 @@ interface DivVideoProps {
|
|
|
7601
7797
|
* Animation starting triggers. Default value: `[state_change, visibility_change]`.
|
|
7602
7798
|
*/
|
|
7603
7799
|
transition_triggers?: Type<NonEmptyArray<DivTransitionTrigger>>;
|
|
7604
|
-
|
|
7800
|
+
video_sources: Type<NonEmptyArray<DivVideoSource>>;
|
|
7605
7801
|
/**
|
|
7606
7802
|
* Element visibility.
|
|
7607
7803
|
*/
|
|
@@ -7621,102 +7817,72 @@ interface DivVideoProps {
|
|
|
7621
7817
|
width?: Type<DivSize>;
|
|
7622
7818
|
}
|
|
7623
7819
|
|
|
7624
|
-
declare
|
|
7625
|
-
|
|
7626
|
-
/**
|
|
7627
|
-
* Data for stream display.
|
|
7628
|
-
*/
|
|
7629
|
-
declare class DivVideoDataStream<T extends DivVideoDataStreamProps = DivVideoDataStreamProps> {
|
|
7630
|
-
readonly _props?: Exact<DivVideoDataStreamProps, T>;
|
|
7631
|
-
readonly type = "stream";
|
|
7632
|
-
/**
|
|
7633
|
-
* Contains a link to the stream.
|
|
7634
|
-
*/
|
|
7635
|
-
url: Type<string | DivExpression>;
|
|
7636
|
-
constructor(props: Exact<DivVideoDataStreamProps, T>);
|
|
7637
|
-
}
|
|
7638
|
-
interface DivVideoDataStreamProps {
|
|
7639
|
-
/**
|
|
7640
|
-
* Contains a link to the stream.
|
|
7641
|
-
*/
|
|
7642
|
-
url: Type<string | DivExpression>;
|
|
7643
|
-
}
|
|
7644
|
-
|
|
7645
|
-
/**
|
|
7646
|
-
* Data for video display.
|
|
7647
|
-
*/
|
|
7648
|
-
declare class DivVideoDataVideo<T extends DivVideoDataVideoProps = DivVideoDataVideoProps> {
|
|
7649
|
-
readonly _props?: Exact<DivVideoDataVideoProps, T>;
|
|
7650
|
-
readonly type = "video";
|
|
7651
|
-
video_sources: Type<NonEmptyArray<DivVideoDataVideoSource>>;
|
|
7652
|
-
constructor(props: Exact<DivVideoDataVideoProps, T>);
|
|
7653
|
-
}
|
|
7654
|
-
interface DivVideoDataVideoProps {
|
|
7655
|
-
video_sources: Type<NonEmptyArray<DivVideoDataVideoSource>>;
|
|
7656
|
-
}
|
|
7657
|
-
|
|
7658
|
-
declare class DivVideoDataVideoSource<T extends DivVideoDataVideoSourceProps = DivVideoDataVideoSourceProps> {
|
|
7659
|
-
readonly _props?: Exact<DivVideoDataVideoSourceProps, T>;
|
|
7820
|
+
declare class DivVideoSource<T extends DivVideoSourceProps = DivVideoSourceProps> {
|
|
7821
|
+
readonly _props?: Exact<DivVideoSourceProps, T>;
|
|
7660
7822
|
readonly type = "video_source";
|
|
7661
7823
|
/**
|
|
7662
|
-
*
|
|
7824
|
+
* Properties of the media file that determines the data transfer rate in the video stream.
|
|
7825
|
+
* Bitrate is measured in kilobits per second (kbps) and indicates how much data is transmitted
|
|
7826
|
+
* per unit of time.
|
|
7663
7827
|
*/
|
|
7664
|
-
|
|
7828
|
+
bitrate?: Type<number | DivExpression>;
|
|
7665
7829
|
/**
|
|
7666
|
-
* The property defines the MIME type (Multipurpose Internet Mail Extensions) for the
|
|
7830
|
+
* The property defines the MIME type (Multipurpose Internet Mail Extensions) for the media file.
|
|
7667
7831
|
* A MIME type is a string that indicates the type of file content and is used to determine the
|
|
7668
7832
|
* type of file and its correct processing.
|
|
7669
7833
|
*/
|
|
7670
|
-
mime_type
|
|
7834
|
+
mime_type: Type<string | DivExpression>;
|
|
7671
7835
|
/**
|
|
7672
|
-
*
|
|
7836
|
+
* Media file Resolution.
|
|
7673
7837
|
*/
|
|
7674
|
-
resolution?: Type<
|
|
7838
|
+
resolution?: Type<DivVideoSourceResolution>;
|
|
7675
7839
|
/**
|
|
7676
|
-
* The property contains a link to a
|
|
7840
|
+
* The property contains a link to a media file available for playback or download.
|
|
7677
7841
|
*/
|
|
7678
7842
|
url: Type<string | DivExpression>;
|
|
7679
|
-
constructor(props: Exact<
|
|
7843
|
+
constructor(props: Exact<DivVideoSourceProps, T>);
|
|
7680
7844
|
}
|
|
7681
|
-
interface
|
|
7845
|
+
interface DivVideoSourceProps {
|
|
7682
7846
|
/**
|
|
7683
|
-
*
|
|
7847
|
+
* Properties of the media file that determines the data transfer rate in the video stream.
|
|
7848
|
+
* Bitrate is measured in kilobits per second (kbps) and indicates how much data is transmitted
|
|
7849
|
+
* per unit of time.
|
|
7684
7850
|
*/
|
|
7685
|
-
|
|
7851
|
+
bitrate?: Type<number | DivExpression>;
|
|
7686
7852
|
/**
|
|
7687
|
-
* The property defines the MIME type (Multipurpose Internet Mail Extensions) for the
|
|
7853
|
+
* The property defines the MIME type (Multipurpose Internet Mail Extensions) for the media file.
|
|
7688
7854
|
* A MIME type is a string that indicates the type of file content and is used to determine the
|
|
7689
7855
|
* type of file and its correct processing.
|
|
7690
7856
|
*/
|
|
7691
|
-
mime_type
|
|
7857
|
+
mime_type: Type<string | DivExpression>;
|
|
7692
7858
|
/**
|
|
7693
|
-
*
|
|
7859
|
+
* Media file Resolution.
|
|
7694
7860
|
*/
|
|
7695
|
-
resolution?: Type<
|
|
7861
|
+
resolution?: Type<DivVideoSourceResolution>;
|
|
7696
7862
|
/**
|
|
7697
|
-
* The property contains a link to a
|
|
7863
|
+
* The property contains a link to a media file available for playback or download.
|
|
7698
7864
|
*/
|
|
7699
7865
|
url: Type<string | DivExpression>;
|
|
7700
7866
|
}
|
|
7701
7867
|
/**
|
|
7702
|
-
*
|
|
7868
|
+
* Media file Resolution.
|
|
7703
7869
|
*/
|
|
7704
|
-
declare class
|
|
7705
|
-
readonly _props?: Exact<
|
|
7870
|
+
declare class DivVideoSourceResolution<T extends DivVideoSourceResolutionProps = DivVideoSourceResolutionProps> {
|
|
7871
|
+
readonly _props?: Exact<DivVideoSourceResolutionProps, T>;
|
|
7706
7872
|
readonly type = "resolution";
|
|
7707
7873
|
/**
|
|
7708
|
-
* Contains information about the resolution height of the
|
|
7874
|
+
* Contains information about the resolution height of the Media file.
|
|
7709
7875
|
*/
|
|
7710
7876
|
height: Type<number | DivExpression>;
|
|
7711
7877
|
/**
|
|
7712
7878
|
* Contains information about the resolution width of the video file.
|
|
7713
7879
|
*/
|
|
7714
7880
|
width: Type<number | DivExpression>;
|
|
7715
|
-
constructor(props: Exact<
|
|
7881
|
+
constructor(props: Exact<DivVideoSourceResolutionProps, T>);
|
|
7716
7882
|
}
|
|
7717
|
-
interface
|
|
7883
|
+
interface DivVideoSourceResolutionProps {
|
|
7718
7884
|
/**
|
|
7719
|
-
* Contains information about the resolution height of the
|
|
7885
|
+
* Contains information about the resolution height of the Media file.
|
|
7720
7886
|
*/
|
|
7721
7887
|
height: Type<number | DivExpression>;
|
|
7722
7888
|
/**
|
|
@@ -7839,6 +8005,33 @@ interface IntegerVariableProps {
|
|
|
7839
8005
|
value: Type<number>;
|
|
7840
8006
|
}
|
|
7841
8007
|
|
|
8008
|
+
/**
|
|
8009
|
+
* Variable — any json object.
|
|
8010
|
+
*/
|
|
8011
|
+
declare class JsonVariable<T extends JsonVariableProps = JsonVariableProps> {
|
|
8012
|
+
readonly _props?: Exact<JsonVariableProps, T>;
|
|
8013
|
+
readonly type = "json";
|
|
8014
|
+
/**
|
|
8015
|
+
* Variable name.
|
|
8016
|
+
*/
|
|
8017
|
+
name: Type<string>;
|
|
8018
|
+
/**
|
|
8019
|
+
* Value.
|
|
8020
|
+
*/
|
|
8021
|
+
value: Type<{}>;
|
|
8022
|
+
constructor(props: Exact<JsonVariableProps, T>);
|
|
8023
|
+
}
|
|
8024
|
+
interface JsonVariableProps {
|
|
8025
|
+
/**
|
|
8026
|
+
* Variable name.
|
|
8027
|
+
*/
|
|
8028
|
+
name: Type<string>;
|
|
8029
|
+
/**
|
|
8030
|
+
* Value.
|
|
8031
|
+
*/
|
|
8032
|
+
value: Type<{}>;
|
|
8033
|
+
}
|
|
8034
|
+
|
|
7842
8035
|
/**
|
|
7843
8036
|
* A floating-point variable.
|
|
7844
8037
|
*/
|
|
@@ -8075,4 +8268,4 @@ declare function rewriteTemplateVersions<T extends ITemplates>(templates: T, res
|
|
|
8075
8268
|
};
|
|
8076
8269
|
};
|
|
8077
8270
|
|
|
8078
|
-
export { BooleanVariable, BooleanVariableProps, ColorVariable, ColorVariableProps, DelimiterStyleOrientation, Div, DivAccessibilityMode, DivAccessibilityType, DivActionTarget, DivAlignmentHorizontal, DivAlignmentVertical, DivAnimationInterpolator, DivAnimationName, DivAppearanceSetTransition, DivAppearanceSetTransitionProps, DivAppearanceTransition, DivBackground, DivBlendMode, DivBlur, DivBlurProps, DivChangeBoundsTransition, DivChangeBoundsTransitionProps, DivChangeSetTransition, DivChangeSetTransitionProps, DivChangeTransition, DivCircleShape, DivCircleShapeProps, DivContainer, DivContainerLayoutMode, DivContainerOrientation, DivContainerProps, DivCount, DivCurrencyInputMask, DivCurrencyInputMaskProps, DivCustom, DivCustomProps, DivDefaultIndicatorItemPlacement, DivDefaultIndicatorItemPlacementProps, DivDrawable, DivExpression, DivFadeTransition, DivFadeTransitionProps, DivFilter, DivFixedCount, DivFixedCountProps, DivFixedLengthInputMask, DivFixedLengthInputMaskProps, DivFixedSize, DivFixedSizeProps, DivFontFamily, DivFontWeight, DivGallery, DivGalleryCrossContentAlignment, DivGalleryOrientation, DivGalleryProps, DivGalleryScrollMode, 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, DivPager, DivPagerLayoutMode, DivPagerOrientation, DivPagerProps, DivPatchMode, DivPercentageSize, DivPercentageSizeProps, 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, DivTextGradient, DivTextProps, DivTextRangeBackground, DivTextTruncate, DivTooltipPosition, DivTransitionSelector, DivTransitionTrigger, DivTriggerMode, DivVariable, DivVideo,
|
|
8271
|
+
export { BooleanVariable, BooleanVariableProps, ColorVariable, ColorVariableProps, DelimiterStyleOrientation, Div, DivAccessibilityMode, DivAccessibilityType, DivActionTarget, DivAlignmentHorizontal, DivAlignmentVertical, DivAnimationInterpolator, DivAnimationName, DivAppearanceSetTransition, DivAppearanceSetTransitionProps, DivAppearanceTransition, DivBackground, DivBlendMode, DivBlur, DivBlurProps, DivChangeBoundsTransition, DivChangeBoundsTransitionProps, DivChangeSetTransition, DivChangeSetTransitionProps, DivChangeTransition, DivCircleShape, DivCircleShapeProps, DivContainer, DivContainerLayoutMode, DivContainerOrientation, DivContainerProps, DivContentAlignmentHorizontal, DivContentAlignmentVertical, DivCount, DivCurrencyInputMask, DivCurrencyInputMaskProps, DivCustom, DivCustomProps, DivDefaultIndicatorItemPlacement, DivDefaultIndicatorItemPlacementProps, DivDrawable, DivExpression, DivFadeTransition, DivFadeTransitionProps, DivFilter, DivFixedCount, DivFixedCountProps, DivFixedLengthInputMask, DivFixedLengthInputMaskProps, DivFixedSize, DivFixedSizeProps, DivFontFamily, DivFontWeight, DivGallery, DivGalleryCrossContentAlignment, DivGalleryOrientation, DivGalleryProps, DivGalleryScrollMode, 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, DivPager, DivPagerLayoutMode, DivPagerOrientation, DivPagerProps, DivPatchMode, DivPercentageSize, DivPercentageSizeProps, 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, DivTextGradient, DivTextProps, DivTextRangeBackground, DivTextTruncate, DivTooltipPosition, DivTransitionSelector, DivTransitionTrigger, DivTriggerMode, DivVariable, DivVideo, DivVideoProps, DivVideoSource, DivVideoSourceProps, DivVideoSourceResolution, DivVideoSourceResolutionProps, DivVisibility, DivWrapContentSize, DivWrapContentSizeProps, Exact, IDivAbsoluteEdgeInsets, IDivAccessibility, IDivAction, IDivActionMenuItem, IDivAnimation, IDivAspect, IDivBase, IDivBorder, IDivContainerSeparator, IDivCornersRadius, IDivData, IDivDataState, IDivDimension, IDivDisappearAction, IDivDownloadCallbacks, IDivEdgeInsets, IDivExtension, IDivFixedLengthInputMaskPatternElement, IDivFocus, IDivFocusNextFocusIds, IDivInputMaskBase, IDivInputNativeInterface, IDivInputValidatorBase, IDivPatch, IDivPatchChange, IDivPoint, IDivSelectOption, IDivSeparatorDelimiterStyle, IDivShadow, IDivSliderTextStyle, IDivStateState, IDivStroke, IDivTabsItem, IDivTabsTabTitleStyle, IDivTextEllipsis, IDivTextImage, IDivTextRange, IDivTextRangeBorder, IDivTimer, IDivTooltip, IDivTransform, IDivTransitionBase, IDivTrigger, IDivVisibilityAction, IDivWrapContentSizeConstraintSize, ITemplates, IntBoolean, IntegerVariable, IntegerVariableProps, JsonVariable, JsonVariableProps, NonEmptyArray, NumberVariable, NumberVariableProps, SafeDivExpression, StringVariable, StringVariableProps, TabTitleStyleAnimationType, TemplateBlock, TemplateHelper, TemplatePropertyReference, TemplateResolvedAction, ThelperWithMemo, Type, UrlVariable, UrlVariableProps, copyTemplates, divCard, escapeCard, escapeExpression, expression, fixed, getTemplateHash, matchParent, reference, rewriteNames, rewriteRefs, rewriteTemplateVersions, runResolveDeps, template, templateHelper, templatesDepsMap, thelperVersion, thelperWithMemo, treeWalkDFS, weighted, wrapContent };
|