@divkitframework/jsonbuilder 1.2.0 → 1.3.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/jsonbuilder.d.ts +503 -503
- package/package.json +1 -1
package/dist/jsonbuilder.d.ts
CHANGED
|
@@ -146,27 +146,27 @@ interface IDivAccessibility {
|
|
|
146
146
|
/**
|
|
147
147
|
* Element description. It is used as the main description for screen reading applications.
|
|
148
148
|
*/
|
|
149
|
-
description?: Type<string
|
|
149
|
+
description?: Type<string | DivExpression>;
|
|
150
150
|
/**
|
|
151
151
|
* A tooltip of what will happen during interaction. If Speak Hints is enabled in the VoiceOver
|
|
152
152
|
* settings on iOS, a tooltip is played after `description`.
|
|
153
153
|
*/
|
|
154
|
-
hint?: Type<string
|
|
154
|
+
hint?: Type<string | DivExpression>;
|
|
155
155
|
/**
|
|
156
156
|
* The way the accessibility tree is organized. In the `merge` mode the accessibility service
|
|
157
157
|
* perceives an element together with a subtree as a whole. In the `exclude` mode an element
|
|
158
158
|
* together with a subtree isn't available for accessibility.
|
|
159
159
|
*/
|
|
160
|
-
mode?: Type<DivAccessibilityMode
|
|
160
|
+
mode?: Type<DivAccessibilityMode | DivExpression>;
|
|
161
161
|
/**
|
|
162
162
|
* Mutes the sound of the screen reader after interacting with the element.
|
|
163
163
|
*/
|
|
164
|
-
mute_after_action?: Type<IntBoolean
|
|
164
|
+
mute_after_action?: Type<IntBoolean | DivExpression>;
|
|
165
165
|
/**
|
|
166
166
|
* Description of the current state of an element. For example, in the description you can
|
|
167
167
|
* specify a selected date for a date selection element and an on/off state for a switch.
|
|
168
168
|
*/
|
|
169
|
-
state_description?: Type<string
|
|
169
|
+
state_description?: Type<string | DivExpression>;
|
|
170
170
|
/**
|
|
171
171
|
* Element role. It is used for correct identification of an element by an accessibility service.
|
|
172
172
|
*/
|
|
@@ -190,7 +190,7 @@ interface IDivAction {
|
|
|
190
190
|
/**
|
|
191
191
|
* URL for logging.
|
|
192
192
|
*/
|
|
193
|
-
log_url?: Type<string
|
|
193
|
+
log_url?: Type<string | DivExpression>;
|
|
194
194
|
/**
|
|
195
195
|
* Context menu.
|
|
196
196
|
*/
|
|
@@ -202,16 +202,16 @@ interface IDivAction {
|
|
|
202
202
|
/**
|
|
203
203
|
* Referer URL for logging.
|
|
204
204
|
*/
|
|
205
|
-
referer?: Type<string
|
|
205
|
+
referer?: Type<string | DivExpression>;
|
|
206
206
|
/**
|
|
207
207
|
* The tab in which the URL must be opened.
|
|
208
208
|
*/
|
|
209
|
-
target?: Type<DivActionTarget
|
|
209
|
+
target?: Type<DivActionTarget | DivExpression>;
|
|
210
210
|
/**
|
|
211
211
|
* URL. Possible values: `url` or `div-action://`. To learn more, see [Interaction with
|
|
212
212
|
* elements](../../interaction.dita).
|
|
213
213
|
*/
|
|
214
|
-
url?: Type<string
|
|
214
|
+
url?: Type<string | DivExpression>;
|
|
215
215
|
}
|
|
216
216
|
declare type DivActionTarget = '_self' | '_blank';
|
|
217
217
|
interface IDivActionMenuItem {
|
|
@@ -226,7 +226,7 @@ interface IDivActionMenuItem {
|
|
|
226
226
|
/**
|
|
227
227
|
* Menu item title.
|
|
228
228
|
*/
|
|
229
|
-
text: Type<string
|
|
229
|
+
text: Type<string | DivExpression>;
|
|
230
230
|
}
|
|
231
231
|
|
|
232
232
|
declare type DivAlignmentHorizontal = 'left' | 'center' | 'right';
|
|
@@ -240,11 +240,11 @@ interface IDivAnimation {
|
|
|
240
240
|
/**
|
|
241
241
|
* Animation duration in milliseconds.
|
|
242
242
|
*/
|
|
243
|
-
duration?: Type<number
|
|
243
|
+
duration?: Type<number | DivExpression>;
|
|
244
244
|
/**
|
|
245
245
|
* Final value of an animation.
|
|
246
246
|
*/
|
|
247
|
-
end_value?: Type<number
|
|
247
|
+
end_value?: Type<number | DivExpression>;
|
|
248
248
|
/**
|
|
249
249
|
* Animation speed nature. When the value is set to `spring` — animation of damping fluctuations
|
|
250
250
|
* cut to 0.7 with the `damping=1` parameter. Other options correspond to the Bezier
|
|
@@ -252,7 +252,7 @@ interface IDivAnimation {
|
|
|
252
252
|
* — cubic-bezier(0.42, 0, 1, 1);`ease_out` — cubic-bezier(0, 0, 0.58, 1);`ease_in_out` —
|
|
253
253
|
* cubic-bezier(0.42, 0, 0.58, 1).
|
|
254
254
|
*/
|
|
255
|
-
interpolator?: Type<DivAnimationInterpolator
|
|
255
|
+
interpolator?: Type<DivAnimationInterpolator | DivExpression>;
|
|
256
256
|
/**
|
|
257
257
|
* Animation elements.
|
|
258
258
|
*/
|
|
@@ -260,7 +260,7 @@ interface IDivAnimation {
|
|
|
260
260
|
/**
|
|
261
261
|
* Animation type.
|
|
262
262
|
*/
|
|
263
|
-
name: Type<DivAnimationName
|
|
263
|
+
name: Type<DivAnimationName | DivExpression>;
|
|
264
264
|
/**
|
|
265
265
|
* Number of animation repetitions.
|
|
266
266
|
*/
|
|
@@ -268,11 +268,11 @@ interface IDivAnimation {
|
|
|
268
268
|
/**
|
|
269
269
|
* Delay in milliseconds before animation starts.
|
|
270
270
|
*/
|
|
271
|
-
start_delay?: Type<number
|
|
271
|
+
start_delay?: Type<number | DivExpression>;
|
|
272
272
|
/**
|
|
273
273
|
* Starting value of an animation.
|
|
274
274
|
*/
|
|
275
|
-
start_value?: Type<number
|
|
275
|
+
start_value?: Type<number | DivExpression>;
|
|
276
276
|
}
|
|
277
277
|
declare type DivAnimationName = 'fade' | 'translate' | 'scale' | 'native' | 'set' | 'no_animation';
|
|
278
278
|
|
|
@@ -307,7 +307,7 @@ interface IDivAspect {
|
|
|
307
307
|
/**
|
|
308
308
|
* `ratio = width / height`.
|
|
309
309
|
*/
|
|
310
|
-
ratio: Type<number
|
|
310
|
+
ratio: Type<number | DivExpression>;
|
|
311
311
|
}
|
|
312
312
|
|
|
313
313
|
declare type DivBackground = DivLinearGradient | DivRadialGradient | DivImageBackground | DivSolidBackground;
|
|
@@ -320,15 +320,15 @@ interface IDivBase {
|
|
|
320
320
|
/**
|
|
321
321
|
* Horizontal alignment of an element inside the parent element.
|
|
322
322
|
*/
|
|
323
|
-
alignment_horizontal?: Type<DivAlignmentHorizontal
|
|
323
|
+
alignment_horizontal?: Type<DivAlignmentHorizontal | DivExpression>;
|
|
324
324
|
/**
|
|
325
325
|
* Vertical alignment of an element inside the parent element.
|
|
326
326
|
*/
|
|
327
|
-
alignment_vertical?: Type<DivAlignmentVertical
|
|
327
|
+
alignment_vertical?: Type<DivAlignmentVertical | DivExpression>;
|
|
328
328
|
/**
|
|
329
329
|
* Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
|
|
330
330
|
*/
|
|
331
|
-
alpha?: Type<number
|
|
331
|
+
alpha?: Type<number | DivExpression>;
|
|
332
332
|
/**
|
|
333
333
|
* Element background. It can contain multiple layers.
|
|
334
334
|
*/
|
|
@@ -340,7 +340,7 @@ interface IDivBase {
|
|
|
340
340
|
/**
|
|
341
341
|
* Merges cells in a column of the [grid](div-grid.md) element.
|
|
342
342
|
*/
|
|
343
|
-
column_span?: Type<number
|
|
343
|
+
column_span?: Type<number | DivExpression>;
|
|
344
344
|
/**
|
|
345
345
|
* Extensions for additional processing of an element. The list of extensions is given in
|
|
346
346
|
* [DivExtension](../../extensions.dita).
|
|
@@ -372,7 +372,7 @@ interface IDivBase {
|
|
|
372
372
|
/**
|
|
373
373
|
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
374
374
|
*/
|
|
375
|
-
row_span?: Type<number
|
|
375
|
+
row_span?: Type<number | DivExpression>;
|
|
376
376
|
/**
|
|
377
377
|
* List of [actions](div-action.md) to be executed when selecting an element in
|
|
378
378
|
* [pager](div-pager.md).
|
|
@@ -410,7 +410,7 @@ interface IDivBase {
|
|
|
410
410
|
/**
|
|
411
411
|
* Element visibility.
|
|
412
412
|
*/
|
|
413
|
-
visibility?: Type<DivVisibility
|
|
413
|
+
visibility?: Type<DivVisibility | DivExpression>;
|
|
414
414
|
/**
|
|
415
415
|
* Tracking visibility of a single element. Not used if the `visibility_actions` parameter is
|
|
416
416
|
* set.
|
|
@@ -433,7 +433,7 @@ interface IDivBorder {
|
|
|
433
433
|
/**
|
|
434
434
|
* One radius of element and stroke corner rounding. Has a lower priority than `corners_radius`.
|
|
435
435
|
*/
|
|
436
|
-
corner_radius?: Type<number
|
|
436
|
+
corner_radius?: Type<number | DivExpression>;
|
|
437
437
|
/**
|
|
438
438
|
* Multiple radii of element and stroke corner rounding.
|
|
439
439
|
*/
|
|
@@ -441,7 +441,7 @@ interface IDivBorder {
|
|
|
441
441
|
/**
|
|
442
442
|
* Adding shadow.
|
|
443
443
|
*/
|
|
444
|
-
has_shadow?: Type<IntBoolean
|
|
444
|
+
has_shadow?: Type<IntBoolean | DivExpression>;
|
|
445
445
|
/**
|
|
446
446
|
* Shadow parameters.
|
|
447
447
|
*/
|
|
@@ -461,30 +461,30 @@ declare class DivChangeBoundsTransition<T extends DivChangeBoundsTransitionProps
|
|
|
461
461
|
/**
|
|
462
462
|
* Animation duration in milliseconds.
|
|
463
463
|
*/
|
|
464
|
-
duration?: Type<number
|
|
464
|
+
duration?: Type<number | DivExpression>;
|
|
465
465
|
/**
|
|
466
466
|
* Transition speed nature.
|
|
467
467
|
*/
|
|
468
|
-
interpolator?: Type<DivAnimationInterpolator
|
|
468
|
+
interpolator?: Type<DivAnimationInterpolator | DivExpression>;
|
|
469
469
|
/**
|
|
470
470
|
* Delay in milliseconds before animation starts.
|
|
471
471
|
*/
|
|
472
|
-
start_delay?: Type<number
|
|
472
|
+
start_delay?: Type<number | DivExpression>;
|
|
473
473
|
constructor(props?: Exact<DivChangeBoundsTransitionProps, T>);
|
|
474
474
|
}
|
|
475
475
|
interface DivChangeBoundsTransitionProps {
|
|
476
476
|
/**
|
|
477
477
|
* Animation duration in milliseconds.
|
|
478
478
|
*/
|
|
479
|
-
duration?: Type<number
|
|
479
|
+
duration?: Type<number | DivExpression>;
|
|
480
480
|
/**
|
|
481
481
|
* Transition speed nature.
|
|
482
482
|
*/
|
|
483
|
-
interpolator?: Type<DivAnimationInterpolator
|
|
483
|
+
interpolator?: Type<DivAnimationInterpolator | DivExpression>;
|
|
484
484
|
/**
|
|
485
485
|
* Delay in milliseconds before animation starts.
|
|
486
486
|
*/
|
|
487
|
-
start_delay?: Type<number
|
|
487
|
+
start_delay?: Type<number | DivExpression>;
|
|
488
488
|
}
|
|
489
489
|
|
|
490
490
|
/**
|
|
@@ -535,15 +535,15 @@ declare class DivContainer<T extends DivContainerProps = DivContainerProps> {
|
|
|
535
535
|
/**
|
|
536
536
|
* Horizontal alignment of an element inside the parent element.
|
|
537
537
|
*/
|
|
538
|
-
alignment_horizontal?: Type<DivAlignmentHorizontal
|
|
538
|
+
alignment_horizontal?: Type<DivAlignmentHorizontal | DivExpression>;
|
|
539
539
|
/**
|
|
540
540
|
* Vertical alignment of an element inside the parent element.
|
|
541
541
|
*/
|
|
542
|
-
alignment_vertical?: Type<DivAlignmentVertical
|
|
542
|
+
alignment_vertical?: Type<DivAlignmentVertical | DivExpression>;
|
|
543
543
|
/**
|
|
544
544
|
* Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
|
|
545
545
|
*/
|
|
546
|
-
alpha?: Type<number
|
|
546
|
+
alpha?: Type<number | DivExpression>;
|
|
547
547
|
/**
|
|
548
548
|
* Element background. It can contain multiple layers.
|
|
549
549
|
*/
|
|
@@ -555,17 +555,17 @@ declare class DivContainer<T extends DivContainerProps = DivContainerProps> {
|
|
|
555
555
|
/**
|
|
556
556
|
* Merges cells in a column of the [grid](div-grid.md) element.
|
|
557
557
|
*/
|
|
558
|
-
column_span?: Type<number
|
|
558
|
+
column_span?: Type<number | DivExpression>;
|
|
559
559
|
/**
|
|
560
560
|
* Default alignment of elements. Not used if the `alignment_horizontal` parameter is set from
|
|
561
561
|
* the element field.
|
|
562
562
|
*/
|
|
563
|
-
content_alignment_horizontal?: Type<DivAlignmentHorizontal
|
|
563
|
+
content_alignment_horizontal?: Type<DivAlignmentHorizontal | DivExpression>;
|
|
564
564
|
/**
|
|
565
565
|
* Default alignment of elements. Not used if the `alignment_vertical` parameter is set from the
|
|
566
566
|
* element field.
|
|
567
567
|
*/
|
|
568
|
-
content_alignment_vertical?: Type<DivAlignmentVertical
|
|
568
|
+
content_alignment_vertical?: Type<DivAlignmentVertical | DivExpression>;
|
|
569
569
|
/**
|
|
570
570
|
* Action when double-clicking on an element.
|
|
571
571
|
*/
|
|
@@ -599,7 +599,7 @@ declare class DivContainer<T extends DivContainerProps = DivContainerProps> {
|
|
|
599
599
|
* they did not fit in the previous one. If the value is set to `wrap`, then a separate line will
|
|
600
600
|
* be allocated for all elements with a size value of match_parent along the main axis.
|
|
601
601
|
*/
|
|
602
|
-
layout_mode?: Type<DivContainerLayoutMode
|
|
602
|
+
layout_mode?: Type<DivContainerLayoutMode | DivExpression>;
|
|
603
603
|
/**
|
|
604
604
|
* Action when long-clicking on an element.
|
|
605
605
|
*/
|
|
@@ -612,7 +612,7 @@ declare class DivContainer<T extends DivContainerProps = DivContainerProps> {
|
|
|
612
612
|
* Location of elements. `overlap` value overlays elements on top of each other in the order of
|
|
613
613
|
* enumeration. The lowest is the zero element of an array.
|
|
614
614
|
*/
|
|
615
|
-
orientation?: Type<DivContainerOrientation
|
|
615
|
+
orientation?: Type<DivContainerOrientation | DivExpression>;
|
|
616
616
|
/**
|
|
617
617
|
* Internal margins from the element stroke.
|
|
618
618
|
*/
|
|
@@ -620,7 +620,7 @@ declare class DivContainer<T extends DivContainerProps = DivContainerProps> {
|
|
|
620
620
|
/**
|
|
621
621
|
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
622
622
|
*/
|
|
623
|
-
row_span?: Type<number
|
|
623
|
+
row_span?: Type<number | DivExpression>;
|
|
624
624
|
/**
|
|
625
625
|
* List of [actions](div-action.md) to be executed when selecting an element in
|
|
626
626
|
* [pager](div-pager.md).
|
|
@@ -658,7 +658,7 @@ declare class DivContainer<T extends DivContainerProps = DivContainerProps> {
|
|
|
658
658
|
/**
|
|
659
659
|
* Element visibility.
|
|
660
660
|
*/
|
|
661
|
-
visibility?: Type<DivVisibility
|
|
661
|
+
visibility?: Type<DivVisibility | DivExpression>;
|
|
662
662
|
/**
|
|
663
663
|
* Tracking visibility of a single element. Not used if the `visibility_actions` parameter is
|
|
664
664
|
* set.
|
|
@@ -694,15 +694,15 @@ interface DivContainerProps {
|
|
|
694
694
|
/**
|
|
695
695
|
* Horizontal alignment of an element inside the parent element.
|
|
696
696
|
*/
|
|
697
|
-
alignment_horizontal?: Type<DivAlignmentHorizontal
|
|
697
|
+
alignment_horizontal?: Type<DivAlignmentHorizontal | DivExpression>;
|
|
698
698
|
/**
|
|
699
699
|
* Vertical alignment of an element inside the parent element.
|
|
700
700
|
*/
|
|
701
|
-
alignment_vertical?: Type<DivAlignmentVertical
|
|
701
|
+
alignment_vertical?: Type<DivAlignmentVertical | DivExpression>;
|
|
702
702
|
/**
|
|
703
703
|
* Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
|
|
704
704
|
*/
|
|
705
|
-
alpha?: Type<number
|
|
705
|
+
alpha?: Type<number | DivExpression>;
|
|
706
706
|
/**
|
|
707
707
|
* Element background. It can contain multiple layers.
|
|
708
708
|
*/
|
|
@@ -714,17 +714,17 @@ interface DivContainerProps {
|
|
|
714
714
|
/**
|
|
715
715
|
* Merges cells in a column of the [grid](div-grid.md) element.
|
|
716
716
|
*/
|
|
717
|
-
column_span?: Type<number
|
|
717
|
+
column_span?: Type<number | DivExpression>;
|
|
718
718
|
/**
|
|
719
719
|
* Default alignment of elements. Not used if the `alignment_horizontal` parameter is set from
|
|
720
720
|
* the element field.
|
|
721
721
|
*/
|
|
722
|
-
content_alignment_horizontal?: Type<DivAlignmentHorizontal
|
|
722
|
+
content_alignment_horizontal?: Type<DivAlignmentHorizontal | DivExpression>;
|
|
723
723
|
/**
|
|
724
724
|
* Default alignment of elements. Not used if the `alignment_vertical` parameter is set from the
|
|
725
725
|
* element field.
|
|
726
726
|
*/
|
|
727
|
-
content_alignment_vertical?: Type<DivAlignmentVertical
|
|
727
|
+
content_alignment_vertical?: Type<DivAlignmentVertical | DivExpression>;
|
|
728
728
|
/**
|
|
729
729
|
* Action when double-clicking on an element.
|
|
730
730
|
*/
|
|
@@ -758,7 +758,7 @@ interface DivContainerProps {
|
|
|
758
758
|
* they did not fit in the previous one. If the value is set to `wrap`, then a separate line will
|
|
759
759
|
* be allocated for all elements with a size value of match_parent along the main axis.
|
|
760
760
|
*/
|
|
761
|
-
layout_mode?: Type<DivContainerLayoutMode
|
|
761
|
+
layout_mode?: Type<DivContainerLayoutMode | DivExpression>;
|
|
762
762
|
/**
|
|
763
763
|
* Action when long-clicking on an element.
|
|
764
764
|
*/
|
|
@@ -771,7 +771,7 @@ interface DivContainerProps {
|
|
|
771
771
|
* Location of elements. `overlap` value overlays elements on top of each other in the order of
|
|
772
772
|
* enumeration. The lowest is the zero element of an array.
|
|
773
773
|
*/
|
|
774
|
-
orientation?: Type<DivContainerOrientation
|
|
774
|
+
orientation?: Type<DivContainerOrientation | DivExpression>;
|
|
775
775
|
/**
|
|
776
776
|
* Internal margins from the element stroke.
|
|
777
777
|
*/
|
|
@@ -779,7 +779,7 @@ interface DivContainerProps {
|
|
|
779
779
|
/**
|
|
780
780
|
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
781
781
|
*/
|
|
782
|
-
row_span?: Type<number
|
|
782
|
+
row_span?: Type<number | DivExpression>;
|
|
783
783
|
/**
|
|
784
784
|
* List of [actions](div-action.md) to be executed when selecting an element in
|
|
785
785
|
* [pager](div-pager.md).
|
|
@@ -817,7 +817,7 @@ interface DivContainerProps {
|
|
|
817
817
|
/**
|
|
818
818
|
* Element visibility.
|
|
819
819
|
*/
|
|
820
|
-
visibility?: Type<DivVisibility
|
|
820
|
+
visibility?: Type<DivVisibility | DivExpression>;
|
|
821
821
|
/**
|
|
822
822
|
* Tracking visibility of a single element. Not used if the `visibility_actions` parameter is
|
|
823
823
|
* set.
|
|
@@ -842,19 +842,19 @@ interface IDivCornersRadius {
|
|
|
842
842
|
/**
|
|
843
843
|
* Rounding radius of a lower left corner. If not specified, then `corner_radius` is used.
|
|
844
844
|
*/
|
|
845
|
-
'bottom-left'?: Type<number
|
|
845
|
+
'bottom-left'?: Type<number | DivExpression>;
|
|
846
846
|
/**
|
|
847
847
|
* Rounding radius of a lower right corner. If not specified, then `corner_radius` is used.
|
|
848
848
|
*/
|
|
849
|
-
'bottom-right'?: Type<number
|
|
849
|
+
'bottom-right'?: Type<number | DivExpression>;
|
|
850
850
|
/**
|
|
851
851
|
* Rounding radius of an upper left corner. If not specified, then `corner_radius` is used.
|
|
852
852
|
*/
|
|
853
|
-
'top-left'?: Type<number
|
|
853
|
+
'top-left'?: Type<number | DivExpression>;
|
|
854
854
|
/**
|
|
855
855
|
* Rounding radius of an upper right corner. If not specified, then `corner_radius` is used.
|
|
856
856
|
*/
|
|
857
|
-
'top-right'?: Type<number
|
|
857
|
+
'top-right'?: Type<number | DivExpression>;
|
|
858
858
|
}
|
|
859
859
|
|
|
860
860
|
declare type DivCount = DivInfinityCount | DivFixedCount;
|
|
@@ -873,15 +873,15 @@ declare class DivCustom<T extends DivCustomProps = DivCustomProps> {
|
|
|
873
873
|
/**
|
|
874
874
|
* Horizontal alignment of an element inside the parent element.
|
|
875
875
|
*/
|
|
876
|
-
alignment_horizontal?: Type<DivAlignmentHorizontal
|
|
876
|
+
alignment_horizontal?: Type<DivAlignmentHorizontal | DivExpression>;
|
|
877
877
|
/**
|
|
878
878
|
* Vertical alignment of an element inside the parent element.
|
|
879
879
|
*/
|
|
880
|
-
alignment_vertical?: Type<DivAlignmentVertical
|
|
880
|
+
alignment_vertical?: Type<DivAlignmentVertical | DivExpression>;
|
|
881
881
|
/**
|
|
882
882
|
* Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
|
|
883
883
|
*/
|
|
884
|
-
alpha?: Type<number
|
|
884
|
+
alpha?: Type<number | DivExpression>;
|
|
885
885
|
/**
|
|
886
886
|
* Element background. It can contain multiple layers.
|
|
887
887
|
*/
|
|
@@ -893,7 +893,7 @@ declare class DivCustom<T extends DivCustomProps = DivCustomProps> {
|
|
|
893
893
|
/**
|
|
894
894
|
* Merges cells in a column of the [grid](div-grid.md) element.
|
|
895
895
|
*/
|
|
896
|
-
column_span?: Type<number
|
|
896
|
+
column_span?: Type<number | DivExpression>;
|
|
897
897
|
/**
|
|
898
898
|
* Element data for a host application.
|
|
899
899
|
*/
|
|
@@ -937,7 +937,7 @@ declare class DivCustom<T extends DivCustomProps = DivCustomProps> {
|
|
|
937
937
|
/**
|
|
938
938
|
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
939
939
|
*/
|
|
940
|
-
row_span?: Type<number
|
|
940
|
+
row_span?: Type<number | DivExpression>;
|
|
941
941
|
/**
|
|
942
942
|
* List of [actions](div-action.md) to be executed when selecting an element in
|
|
943
943
|
* [pager](div-pager.md).
|
|
@@ -975,7 +975,7 @@ declare class DivCustom<T extends DivCustomProps = DivCustomProps> {
|
|
|
975
975
|
/**
|
|
976
976
|
* Element visibility.
|
|
977
977
|
*/
|
|
978
|
-
visibility?: Type<DivVisibility
|
|
978
|
+
visibility?: Type<DivVisibility | DivExpression>;
|
|
979
979
|
/**
|
|
980
980
|
* Tracking visibility of a single element. Not used if the `visibility_actions` parameter is
|
|
981
981
|
* set.
|
|
@@ -999,15 +999,15 @@ interface DivCustomProps {
|
|
|
999
999
|
/**
|
|
1000
1000
|
* Horizontal alignment of an element inside the parent element.
|
|
1001
1001
|
*/
|
|
1002
|
-
alignment_horizontal?: Type<DivAlignmentHorizontal
|
|
1002
|
+
alignment_horizontal?: Type<DivAlignmentHorizontal | DivExpression>;
|
|
1003
1003
|
/**
|
|
1004
1004
|
* Vertical alignment of an element inside the parent element.
|
|
1005
1005
|
*/
|
|
1006
|
-
alignment_vertical?: Type<DivAlignmentVertical
|
|
1006
|
+
alignment_vertical?: Type<DivAlignmentVertical | DivExpression>;
|
|
1007
1007
|
/**
|
|
1008
1008
|
* Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
|
|
1009
1009
|
*/
|
|
1010
|
-
alpha?: Type<number
|
|
1010
|
+
alpha?: Type<number | DivExpression>;
|
|
1011
1011
|
/**
|
|
1012
1012
|
* Element background. It can contain multiple layers.
|
|
1013
1013
|
*/
|
|
@@ -1019,7 +1019,7 @@ interface DivCustomProps {
|
|
|
1019
1019
|
/**
|
|
1020
1020
|
* Merges cells in a column of the [grid](div-grid.md) element.
|
|
1021
1021
|
*/
|
|
1022
|
-
column_span?: Type<number
|
|
1022
|
+
column_span?: Type<number | DivExpression>;
|
|
1023
1023
|
/**
|
|
1024
1024
|
* Element data for a host application.
|
|
1025
1025
|
*/
|
|
@@ -1063,7 +1063,7 @@ interface DivCustomProps {
|
|
|
1063
1063
|
/**
|
|
1064
1064
|
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
1065
1065
|
*/
|
|
1066
|
-
row_span?: Type<number
|
|
1066
|
+
row_span?: Type<number | DivExpression>;
|
|
1067
1067
|
/**
|
|
1068
1068
|
* List of [actions](div-action.md) to be executed when selecting an element in
|
|
1069
1069
|
* [pager](div-pager.md).
|
|
@@ -1101,7 +1101,7 @@ interface DivCustomProps {
|
|
|
1101
1101
|
/**
|
|
1102
1102
|
* Element visibility.
|
|
1103
1103
|
*/
|
|
1104
|
-
visibility?: Type<DivVisibility
|
|
1104
|
+
visibility?: Type<DivVisibility | DivExpression>;
|
|
1105
1105
|
/**
|
|
1106
1106
|
* Tracking visibility of a single element. Not used if the `visibility_actions` parameter is
|
|
1107
1107
|
* set.
|
|
@@ -1121,11 +1121,11 @@ interface DivCustomProps {
|
|
|
1121
1121
|
* Element dimension value.
|
|
1122
1122
|
*/
|
|
1123
1123
|
interface IDivDimension {
|
|
1124
|
-
unit?: Type<DivSizeUnit
|
|
1124
|
+
unit?: Type<DivSizeUnit | DivExpression>;
|
|
1125
1125
|
/**
|
|
1126
1126
|
* Value.
|
|
1127
1127
|
*/
|
|
1128
|
-
value: Type<number
|
|
1128
|
+
value: Type<number | DivExpression>;
|
|
1129
1129
|
}
|
|
1130
1130
|
|
|
1131
1131
|
/**
|
|
@@ -1151,20 +1151,20 @@ interface IDivEdgeInsets {
|
|
|
1151
1151
|
/**
|
|
1152
1152
|
* Bottom margin.
|
|
1153
1153
|
*/
|
|
1154
|
-
bottom?: Type<number
|
|
1154
|
+
bottom?: Type<number | DivExpression>;
|
|
1155
1155
|
/**
|
|
1156
1156
|
* Left margin.
|
|
1157
1157
|
*/
|
|
1158
|
-
left?: Type<number
|
|
1158
|
+
left?: Type<number | DivExpression>;
|
|
1159
1159
|
/**
|
|
1160
1160
|
* Right margin.
|
|
1161
1161
|
*/
|
|
1162
|
-
right?: Type<number
|
|
1162
|
+
right?: Type<number | DivExpression>;
|
|
1163
1163
|
/**
|
|
1164
1164
|
* Top margin.
|
|
1165
1165
|
*/
|
|
1166
|
-
top?: Type<number
|
|
1167
|
-
unit?: Type<DivSizeUnit
|
|
1166
|
+
top?: Type<number | DivExpression>;
|
|
1167
|
+
unit?: Type<DivSizeUnit | DivExpression>;
|
|
1168
1168
|
}
|
|
1169
1169
|
|
|
1170
1170
|
/**
|
|
@@ -1191,19 +1191,19 @@ declare class DivFadeTransition<T extends DivFadeTransitionProps = DivFadeTransi
|
|
|
1191
1191
|
* Value of the alpha channel which the element starts appearing from or at which it finishes
|
|
1192
1192
|
* disappearing.
|
|
1193
1193
|
*/
|
|
1194
|
-
alpha?: Type<number
|
|
1194
|
+
alpha?: Type<number | DivExpression>;
|
|
1195
1195
|
/**
|
|
1196
1196
|
* Animation duration in milliseconds.
|
|
1197
1197
|
*/
|
|
1198
|
-
duration?: Type<number
|
|
1198
|
+
duration?: Type<number | DivExpression>;
|
|
1199
1199
|
/**
|
|
1200
1200
|
* Transition speed nature.
|
|
1201
1201
|
*/
|
|
1202
|
-
interpolator?: Type<DivAnimationInterpolator
|
|
1202
|
+
interpolator?: Type<DivAnimationInterpolator | DivExpression>;
|
|
1203
1203
|
/**
|
|
1204
1204
|
* Delay in milliseconds before animation starts.
|
|
1205
1205
|
*/
|
|
1206
|
-
start_delay?: Type<number
|
|
1206
|
+
start_delay?: Type<number | DivExpression>;
|
|
1207
1207
|
constructor(props?: Exact<DivFadeTransitionProps, T>);
|
|
1208
1208
|
}
|
|
1209
1209
|
interface DivFadeTransitionProps {
|
|
@@ -1211,19 +1211,19 @@ interface DivFadeTransitionProps {
|
|
|
1211
1211
|
* Value of the alpha channel which the element starts appearing from or at which it finishes
|
|
1212
1212
|
* disappearing.
|
|
1213
1213
|
*/
|
|
1214
|
-
alpha?: Type<number
|
|
1214
|
+
alpha?: Type<number | DivExpression>;
|
|
1215
1215
|
/**
|
|
1216
1216
|
* Animation duration in milliseconds.
|
|
1217
1217
|
*/
|
|
1218
|
-
duration?: Type<number
|
|
1218
|
+
duration?: Type<number | DivExpression>;
|
|
1219
1219
|
/**
|
|
1220
1220
|
* Transition speed nature.
|
|
1221
1221
|
*/
|
|
1222
|
-
interpolator?: Type<DivAnimationInterpolator
|
|
1222
|
+
interpolator?: Type<DivAnimationInterpolator | DivExpression>;
|
|
1223
1223
|
/**
|
|
1224
1224
|
* Delay in milliseconds before animation starts.
|
|
1225
1225
|
*/
|
|
1226
|
-
start_delay?: Type<number
|
|
1226
|
+
start_delay?: Type<number | DivExpression>;
|
|
1227
1227
|
}
|
|
1228
1228
|
|
|
1229
1229
|
/**
|
|
@@ -1235,14 +1235,14 @@ declare class DivFixedCount<T extends DivFixedCountProps = DivFixedCountProps> {
|
|
|
1235
1235
|
/**
|
|
1236
1236
|
* Number of repetitions.
|
|
1237
1237
|
*/
|
|
1238
|
-
value: Type<number
|
|
1238
|
+
value: Type<number | DivExpression>;
|
|
1239
1239
|
constructor(props: Exact<DivFixedCountProps, T>);
|
|
1240
1240
|
}
|
|
1241
1241
|
interface DivFixedCountProps {
|
|
1242
1242
|
/**
|
|
1243
1243
|
* Number of repetitions.
|
|
1244
1244
|
*/
|
|
1245
|
-
value: Type<number
|
|
1245
|
+
value: Type<number | DivExpression>;
|
|
1246
1246
|
}
|
|
1247
1247
|
|
|
1248
1248
|
/**
|
|
@@ -1255,11 +1255,11 @@ declare class DivFixedSize<T extends DivFixedSizeProps = DivFixedSizeProps> {
|
|
|
1255
1255
|
* Unit of measurement. To learn more about units of size measurement, see [Layout inside the
|
|
1256
1256
|
* card](../../layout.dita).
|
|
1257
1257
|
*/
|
|
1258
|
-
unit?: Type<DivSizeUnit
|
|
1258
|
+
unit?: Type<DivSizeUnit | DivExpression>;
|
|
1259
1259
|
/**
|
|
1260
1260
|
* Element size.
|
|
1261
1261
|
*/
|
|
1262
|
-
value: Type<number
|
|
1262
|
+
value: Type<number | DivExpression>;
|
|
1263
1263
|
constructor(props: Exact<DivFixedSizeProps, T>);
|
|
1264
1264
|
}
|
|
1265
1265
|
interface DivFixedSizeProps {
|
|
@@ -1267,11 +1267,11 @@ interface DivFixedSizeProps {
|
|
|
1267
1267
|
* Unit of measurement. To learn more about units of size measurement, see [Layout inside the
|
|
1268
1268
|
* card](../../layout.dita).
|
|
1269
1269
|
*/
|
|
1270
|
-
unit?: Type<DivSizeUnit
|
|
1270
|
+
unit?: Type<DivSizeUnit | DivExpression>;
|
|
1271
1271
|
/**
|
|
1272
1272
|
* Element size.
|
|
1273
1273
|
*/
|
|
1274
|
-
value: Type<number
|
|
1274
|
+
value: Type<number | DivExpression>;
|
|
1275
1275
|
}
|
|
1276
1276
|
|
|
1277
1277
|
/**
|
|
@@ -1303,11 +1303,11 @@ interface IDivFocus {
|
|
|
1303
1303
|
* IDs of elements that will be next to get focus.
|
|
1304
1304
|
*/
|
|
1305
1305
|
interface IDivFocusNextFocusIds {
|
|
1306
|
-
down?: Type<string
|
|
1307
|
-
forward?: Type<string
|
|
1308
|
-
left?: Type<string
|
|
1309
|
-
right?: Type<string
|
|
1310
|
-
up?: Type<string
|
|
1306
|
+
down?: Type<string | DivExpression>;
|
|
1307
|
+
forward?: Type<string | DivExpression>;
|
|
1308
|
+
left?: Type<string | DivExpression>;
|
|
1309
|
+
right?: Type<string | DivExpression>;
|
|
1310
|
+
up?: Type<string | DivExpression>;
|
|
1311
1311
|
}
|
|
1312
1312
|
|
|
1313
1313
|
declare type DivFontFamily = 'text' | 'display';
|
|
@@ -1327,15 +1327,15 @@ declare class DivGallery<T extends DivGalleryProps = DivGalleryProps> {
|
|
|
1327
1327
|
/**
|
|
1328
1328
|
* Horizontal alignment of an element inside the parent element.
|
|
1329
1329
|
*/
|
|
1330
|
-
alignment_horizontal?: Type<DivAlignmentHorizontal
|
|
1330
|
+
alignment_horizontal?: Type<DivAlignmentHorizontal | DivExpression>;
|
|
1331
1331
|
/**
|
|
1332
1332
|
* Vertical alignment of an element inside the parent element.
|
|
1333
1333
|
*/
|
|
1334
|
-
alignment_vertical?: Type<DivAlignmentVertical
|
|
1334
|
+
alignment_vertical?: Type<DivAlignmentVertical | DivExpression>;
|
|
1335
1335
|
/**
|
|
1336
1336
|
* Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
|
|
1337
1337
|
*/
|
|
1338
|
-
alpha?: Type<number
|
|
1338
|
+
alpha?: Type<number | DivExpression>;
|
|
1339
1339
|
/**
|
|
1340
1340
|
* Element background. It can contain multiple layers.
|
|
1341
1341
|
*/
|
|
@@ -1347,25 +1347,25 @@ declare class DivGallery<T extends DivGalleryProps = DivGalleryProps> {
|
|
|
1347
1347
|
/**
|
|
1348
1348
|
* Number of columns for block layout.
|
|
1349
1349
|
*/
|
|
1350
|
-
column_count?: Type<number
|
|
1350
|
+
column_count?: Type<number | DivExpression>;
|
|
1351
1351
|
/**
|
|
1352
1352
|
* Merges cells in a column of the [grid](div-grid.md) element.
|
|
1353
1353
|
*/
|
|
1354
|
-
column_span?: Type<number
|
|
1354
|
+
column_span?: Type<number | DivExpression>;
|
|
1355
1355
|
/**
|
|
1356
1356
|
* Aligning elements in the direction perpendicular to the scroll direction. In horizontal
|
|
1357
1357
|
* galleries:`start` — alignment to the top of the card;`center` — to the center;`end` — to the
|
|
1358
1358
|
* bottom.</p><p>In vertical galleries:`start` — alignment to the left of the card;`center` — to
|
|
1359
1359
|
* the center;`end` — to the right.
|
|
1360
1360
|
*/
|
|
1361
|
-
cross_content_alignment?: Type<DivGalleryCrossContentAlignment
|
|
1361
|
+
cross_content_alignment?: Type<DivGalleryCrossContentAlignment | DivExpression>;
|
|
1362
1362
|
/**
|
|
1363
1363
|
* Ordinal number of the gallery element to be scrolled to by default. For
|
|
1364
1364
|
* `scroll_mode`:`default` — the scroll position is set to the beginning of the element, without
|
|
1365
1365
|
* taking into account `item_spacing`;`paging` — the scroll position is set to the center of the
|
|
1366
1366
|
* element.
|
|
1367
1367
|
*/
|
|
1368
|
-
default_item?: Type<number
|
|
1368
|
+
default_item?: Type<number | DivExpression>;
|
|
1369
1369
|
/**
|
|
1370
1370
|
* Extensions for additional processing of an element. The list of extensions is given in
|
|
1371
1371
|
* [DivExtension](../../extensions.dita).
|
|
@@ -1389,7 +1389,7 @@ declare class DivGallery<T extends DivGalleryProps = DivGalleryProps> {
|
|
|
1389
1389
|
/**
|
|
1390
1390
|
* Spacing between elements.
|
|
1391
1391
|
*/
|
|
1392
|
-
item_spacing?: Type<number
|
|
1392
|
+
item_spacing?: Type<number | DivExpression>;
|
|
1393
1393
|
/**
|
|
1394
1394
|
* Gallery elements. Scrolling to elements can be implemented
|
|
1395
1395
|
* using:`div-action://set_current_item?id=&item=` — scrolling to the element with an ordinal
|
|
@@ -1410,7 +1410,7 @@ declare class DivGallery<T extends DivGalleryProps = DivGalleryProps> {
|
|
|
1410
1410
|
/**
|
|
1411
1411
|
* Gallery orientation.
|
|
1412
1412
|
*/
|
|
1413
|
-
orientation?: Type<DivGalleryOrientation
|
|
1413
|
+
orientation?: Type<DivGalleryOrientation | DivExpression>;
|
|
1414
1414
|
/**
|
|
1415
1415
|
* Internal margins from the element stroke.
|
|
1416
1416
|
*/
|
|
@@ -1419,15 +1419,15 @@ declare class DivGallery<T extends DivGalleryProps = DivGalleryProps> {
|
|
|
1419
1419
|
* If the parameter is enabled, the gallery won't transmit the scroll gesture to the parent
|
|
1420
1420
|
* element.
|
|
1421
1421
|
*/
|
|
1422
|
-
restrict_parent_scroll?: Type<IntBoolean
|
|
1422
|
+
restrict_parent_scroll?: Type<IntBoolean | DivExpression>;
|
|
1423
1423
|
/**
|
|
1424
1424
|
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
1425
1425
|
*/
|
|
1426
|
-
row_span?: Type<number
|
|
1426
|
+
row_span?: Type<number | DivExpression>;
|
|
1427
1427
|
/**
|
|
1428
1428
|
* Scroll type: `default` — continuous, `paging` — page-by-page.
|
|
1429
1429
|
*/
|
|
1430
|
-
scroll_mode?: Type<DivGalleryScrollMode
|
|
1430
|
+
scroll_mode?: Type<DivGalleryScrollMode | DivExpression>;
|
|
1431
1431
|
/**
|
|
1432
1432
|
* List of [actions](div-action.md) to be executed when selecting an element in
|
|
1433
1433
|
* [pager](div-pager.md).
|
|
@@ -1465,7 +1465,7 @@ declare class DivGallery<T extends DivGalleryProps = DivGalleryProps> {
|
|
|
1465
1465
|
/**
|
|
1466
1466
|
* Element visibility.
|
|
1467
1467
|
*/
|
|
1468
|
-
visibility?: Type<DivVisibility
|
|
1468
|
+
visibility?: Type<DivVisibility | DivExpression>;
|
|
1469
1469
|
/**
|
|
1470
1470
|
* Tracking visibility of a single element. Not used if the `visibility_actions` parameter is
|
|
1471
1471
|
* set.
|
|
@@ -1489,15 +1489,15 @@ interface DivGalleryProps {
|
|
|
1489
1489
|
/**
|
|
1490
1490
|
* Horizontal alignment of an element inside the parent element.
|
|
1491
1491
|
*/
|
|
1492
|
-
alignment_horizontal?: Type<DivAlignmentHorizontal
|
|
1492
|
+
alignment_horizontal?: Type<DivAlignmentHorizontal | DivExpression>;
|
|
1493
1493
|
/**
|
|
1494
1494
|
* Vertical alignment of an element inside the parent element.
|
|
1495
1495
|
*/
|
|
1496
|
-
alignment_vertical?: Type<DivAlignmentVertical
|
|
1496
|
+
alignment_vertical?: Type<DivAlignmentVertical | DivExpression>;
|
|
1497
1497
|
/**
|
|
1498
1498
|
* Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
|
|
1499
1499
|
*/
|
|
1500
|
-
alpha?: Type<number
|
|
1500
|
+
alpha?: Type<number | DivExpression>;
|
|
1501
1501
|
/**
|
|
1502
1502
|
* Element background. It can contain multiple layers.
|
|
1503
1503
|
*/
|
|
@@ -1509,25 +1509,25 @@ interface DivGalleryProps {
|
|
|
1509
1509
|
/**
|
|
1510
1510
|
* Number of columns for block layout.
|
|
1511
1511
|
*/
|
|
1512
|
-
column_count?: Type<number
|
|
1512
|
+
column_count?: Type<number | DivExpression>;
|
|
1513
1513
|
/**
|
|
1514
1514
|
* Merges cells in a column of the [grid](div-grid.md) element.
|
|
1515
1515
|
*/
|
|
1516
|
-
column_span?: Type<number
|
|
1516
|
+
column_span?: Type<number | DivExpression>;
|
|
1517
1517
|
/**
|
|
1518
1518
|
* Aligning elements in the direction perpendicular to the scroll direction. In horizontal
|
|
1519
1519
|
* galleries:`start` — alignment to the top of the card;`center` — to the center;`end` — to the
|
|
1520
1520
|
* bottom.</p><p>In vertical galleries:`start` — alignment to the left of the card;`center` — to
|
|
1521
1521
|
* the center;`end` — to the right.
|
|
1522
1522
|
*/
|
|
1523
|
-
cross_content_alignment?: Type<DivGalleryCrossContentAlignment
|
|
1523
|
+
cross_content_alignment?: Type<DivGalleryCrossContentAlignment | DivExpression>;
|
|
1524
1524
|
/**
|
|
1525
1525
|
* Ordinal number of the gallery element to be scrolled to by default. For
|
|
1526
1526
|
* `scroll_mode`:`default` — the scroll position is set to the beginning of the element, without
|
|
1527
1527
|
* taking into account `item_spacing`;`paging` — the scroll position is set to the center of the
|
|
1528
1528
|
* element.
|
|
1529
1529
|
*/
|
|
1530
|
-
default_item?: Type<number
|
|
1530
|
+
default_item?: Type<number | DivExpression>;
|
|
1531
1531
|
/**
|
|
1532
1532
|
* Extensions for additional processing of an element. The list of extensions is given in
|
|
1533
1533
|
* [DivExtension](../../extensions.dita).
|
|
@@ -1551,7 +1551,7 @@ interface DivGalleryProps {
|
|
|
1551
1551
|
/**
|
|
1552
1552
|
* Spacing between elements.
|
|
1553
1553
|
*/
|
|
1554
|
-
item_spacing?: Type<number
|
|
1554
|
+
item_spacing?: Type<number | DivExpression>;
|
|
1555
1555
|
/**
|
|
1556
1556
|
* Gallery elements. Scrolling to elements can be implemented
|
|
1557
1557
|
* using:`div-action://set_current_item?id=&item=` — scrolling to the element with an ordinal
|
|
@@ -1572,7 +1572,7 @@ interface DivGalleryProps {
|
|
|
1572
1572
|
/**
|
|
1573
1573
|
* Gallery orientation.
|
|
1574
1574
|
*/
|
|
1575
|
-
orientation?: Type<DivGalleryOrientation
|
|
1575
|
+
orientation?: Type<DivGalleryOrientation | DivExpression>;
|
|
1576
1576
|
/**
|
|
1577
1577
|
* Internal margins from the element stroke.
|
|
1578
1578
|
*/
|
|
@@ -1581,15 +1581,15 @@ interface DivGalleryProps {
|
|
|
1581
1581
|
* If the parameter is enabled, the gallery won't transmit the scroll gesture to the parent
|
|
1582
1582
|
* element.
|
|
1583
1583
|
*/
|
|
1584
|
-
restrict_parent_scroll?: Type<IntBoolean
|
|
1584
|
+
restrict_parent_scroll?: Type<IntBoolean | DivExpression>;
|
|
1585
1585
|
/**
|
|
1586
1586
|
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
1587
1587
|
*/
|
|
1588
|
-
row_span?: Type<number
|
|
1588
|
+
row_span?: Type<number | DivExpression>;
|
|
1589
1589
|
/**
|
|
1590
1590
|
* Scroll type: `default` — continuous, `paging` — page-by-page.
|
|
1591
1591
|
*/
|
|
1592
|
-
scroll_mode?: Type<DivGalleryScrollMode
|
|
1592
|
+
scroll_mode?: Type<DivGalleryScrollMode | DivExpression>;
|
|
1593
1593
|
/**
|
|
1594
1594
|
* List of [actions](div-action.md) to be executed when selecting an element in
|
|
1595
1595
|
* [pager](div-pager.md).
|
|
@@ -1627,7 +1627,7 @@ interface DivGalleryProps {
|
|
|
1627
1627
|
/**
|
|
1628
1628
|
* Element visibility.
|
|
1629
1629
|
*/
|
|
1630
|
-
visibility?: Type<DivVisibility
|
|
1630
|
+
visibility?: Type<DivVisibility | DivExpression>;
|
|
1631
1631
|
/**
|
|
1632
1632
|
* Tracking visibility of a single element. Not used if the `visibility_actions` parameter is
|
|
1633
1633
|
* set.
|
|
@@ -1671,15 +1671,15 @@ declare class DivGifImage<T extends DivGifImageProps = DivGifImageProps> {
|
|
|
1671
1671
|
/**
|
|
1672
1672
|
* Horizontal alignment of an element inside the parent element.
|
|
1673
1673
|
*/
|
|
1674
|
-
alignment_horizontal?: Type<DivAlignmentHorizontal
|
|
1674
|
+
alignment_horizontal?: Type<DivAlignmentHorizontal | DivExpression>;
|
|
1675
1675
|
/**
|
|
1676
1676
|
* Vertical alignment of an element inside the parent element.
|
|
1677
1677
|
*/
|
|
1678
|
-
alignment_vertical?: Type<DivAlignmentVertical
|
|
1678
|
+
alignment_vertical?: Type<DivAlignmentVertical | DivExpression>;
|
|
1679
1679
|
/**
|
|
1680
1680
|
* Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
|
|
1681
1681
|
*/
|
|
1682
|
-
alpha?: Type<number
|
|
1682
|
+
alpha?: Type<number | DivExpression>;
|
|
1683
1683
|
aspect?: Type<IDivAspect>;
|
|
1684
1684
|
/**
|
|
1685
1685
|
* Element background. It can contain multiple layers.
|
|
@@ -1692,15 +1692,15 @@ declare class DivGifImage<T extends DivGifImageProps = DivGifImageProps> {
|
|
|
1692
1692
|
/**
|
|
1693
1693
|
* Merges cells in a column of the [grid](div-grid.md) element.
|
|
1694
1694
|
*/
|
|
1695
|
-
column_span?: Type<number
|
|
1695
|
+
column_span?: Type<number | DivExpression>;
|
|
1696
1696
|
/**
|
|
1697
1697
|
* Horizontal image alignment.
|
|
1698
1698
|
*/
|
|
1699
|
-
content_alignment_horizontal?: Type<DivAlignmentHorizontal
|
|
1699
|
+
content_alignment_horizontal?: Type<DivAlignmentHorizontal | DivExpression>;
|
|
1700
1700
|
/**
|
|
1701
1701
|
* Vertical image alignment.
|
|
1702
1702
|
*/
|
|
1703
|
-
content_alignment_vertical?: Type<DivAlignmentVertical
|
|
1703
|
+
content_alignment_vertical?: Type<DivAlignmentVertical | DivExpression>;
|
|
1704
1704
|
/**
|
|
1705
1705
|
* Action when double-clicking on an element.
|
|
1706
1706
|
*/
|
|
@@ -1717,7 +1717,7 @@ declare class DivGifImage<T extends DivGifImageProps = DivGifImageProps> {
|
|
|
1717
1717
|
/**
|
|
1718
1718
|
* Direct URL to a GIF image.
|
|
1719
1719
|
*/
|
|
1720
|
-
gif_url: Type<string
|
|
1720
|
+
gif_url: Type<string | DivExpression>;
|
|
1721
1721
|
/**
|
|
1722
1722
|
* Element height. For Android: if there is text in this or in a child element, specify height in
|
|
1723
1723
|
* `sp` to scale the element together with the text. To learn more about units of size
|
|
@@ -1744,25 +1744,25 @@ declare class DivGifImage<T extends DivGifImageProps = DivGifImageProps> {
|
|
|
1744
1744
|
/**
|
|
1745
1745
|
* Placeholder background before the image is loaded.
|
|
1746
1746
|
*/
|
|
1747
|
-
placeholder_color?: Type<string
|
|
1747
|
+
placeholder_color?: Type<string | DivExpression>;
|
|
1748
1748
|
/**
|
|
1749
1749
|
* Background image must be loaded before the display.
|
|
1750
1750
|
*/
|
|
1751
|
-
preload_required?: Type<IntBoolean
|
|
1751
|
+
preload_required?: Type<IntBoolean | DivExpression>;
|
|
1752
1752
|
/**
|
|
1753
1753
|
* Image preview encoded in `base64`. It will be shown instead of `placeholder_color` before the
|
|
1754
1754
|
* image is loaded. Format `data url`: `data:[;base64],<data>`
|
|
1755
1755
|
*/
|
|
1756
|
-
preview?: Type<string
|
|
1756
|
+
preview?: Type<string | DivExpression>;
|
|
1757
1757
|
/**
|
|
1758
1758
|
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
1759
1759
|
*/
|
|
1760
|
-
row_span?: Type<number
|
|
1760
|
+
row_span?: Type<number | DivExpression>;
|
|
1761
1761
|
/**
|
|
1762
1762
|
* Image scaling:`fit` places the entire image into the element (free space is filled with
|
|
1763
1763
|
* background);`fill` scales the image to the element size and cuts off the excess.
|
|
1764
1764
|
*/
|
|
1765
|
-
scale?: Type<DivImageScale
|
|
1765
|
+
scale?: Type<DivImageScale | DivExpression>;
|
|
1766
1766
|
/**
|
|
1767
1767
|
* List of [actions](div-action.md) to be executed when selecting an element in
|
|
1768
1768
|
* [pager](div-pager.md).
|
|
@@ -1800,7 +1800,7 @@ declare class DivGifImage<T extends DivGifImageProps = DivGifImageProps> {
|
|
|
1800
1800
|
/**
|
|
1801
1801
|
* Element visibility.
|
|
1802
1802
|
*/
|
|
1803
|
-
visibility?: Type<DivVisibility
|
|
1803
|
+
visibility?: Type<DivVisibility | DivExpression>;
|
|
1804
1804
|
/**
|
|
1805
1805
|
* Tracking visibility of a single element. Not used if the `visibility_actions` parameter is
|
|
1806
1806
|
* set.
|
|
@@ -1836,15 +1836,15 @@ interface DivGifImageProps {
|
|
|
1836
1836
|
/**
|
|
1837
1837
|
* Horizontal alignment of an element inside the parent element.
|
|
1838
1838
|
*/
|
|
1839
|
-
alignment_horizontal?: Type<DivAlignmentHorizontal
|
|
1839
|
+
alignment_horizontal?: Type<DivAlignmentHorizontal | DivExpression>;
|
|
1840
1840
|
/**
|
|
1841
1841
|
* Vertical alignment of an element inside the parent element.
|
|
1842
1842
|
*/
|
|
1843
|
-
alignment_vertical?: Type<DivAlignmentVertical
|
|
1843
|
+
alignment_vertical?: Type<DivAlignmentVertical | DivExpression>;
|
|
1844
1844
|
/**
|
|
1845
1845
|
* Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
|
|
1846
1846
|
*/
|
|
1847
|
-
alpha?: Type<number
|
|
1847
|
+
alpha?: Type<number | DivExpression>;
|
|
1848
1848
|
aspect?: Type<IDivAspect>;
|
|
1849
1849
|
/**
|
|
1850
1850
|
* Element background. It can contain multiple layers.
|
|
@@ -1857,15 +1857,15 @@ interface DivGifImageProps {
|
|
|
1857
1857
|
/**
|
|
1858
1858
|
* Merges cells in a column of the [grid](div-grid.md) element.
|
|
1859
1859
|
*/
|
|
1860
|
-
column_span?: Type<number
|
|
1860
|
+
column_span?: Type<number | DivExpression>;
|
|
1861
1861
|
/**
|
|
1862
1862
|
* Horizontal image alignment.
|
|
1863
1863
|
*/
|
|
1864
|
-
content_alignment_horizontal?: Type<DivAlignmentHorizontal
|
|
1864
|
+
content_alignment_horizontal?: Type<DivAlignmentHorizontal | DivExpression>;
|
|
1865
1865
|
/**
|
|
1866
1866
|
* Vertical image alignment.
|
|
1867
1867
|
*/
|
|
1868
|
-
content_alignment_vertical?: Type<DivAlignmentVertical
|
|
1868
|
+
content_alignment_vertical?: Type<DivAlignmentVertical | DivExpression>;
|
|
1869
1869
|
/**
|
|
1870
1870
|
* Action when double-clicking on an element.
|
|
1871
1871
|
*/
|
|
@@ -1882,7 +1882,7 @@ interface DivGifImageProps {
|
|
|
1882
1882
|
/**
|
|
1883
1883
|
* Direct URL to a GIF image.
|
|
1884
1884
|
*/
|
|
1885
|
-
gif_url: Type<string
|
|
1885
|
+
gif_url: Type<string | DivExpression>;
|
|
1886
1886
|
/**
|
|
1887
1887
|
* Element height. For Android: if there is text in this or in a child element, specify height in
|
|
1888
1888
|
* `sp` to scale the element together with the text. To learn more about units of size
|
|
@@ -1909,25 +1909,25 @@ interface DivGifImageProps {
|
|
|
1909
1909
|
/**
|
|
1910
1910
|
* Placeholder background before the image is loaded.
|
|
1911
1911
|
*/
|
|
1912
|
-
placeholder_color?: Type<string
|
|
1912
|
+
placeholder_color?: Type<string | DivExpression>;
|
|
1913
1913
|
/**
|
|
1914
1914
|
* Background image must be loaded before the display.
|
|
1915
1915
|
*/
|
|
1916
|
-
preload_required?: Type<IntBoolean
|
|
1916
|
+
preload_required?: Type<IntBoolean | DivExpression>;
|
|
1917
1917
|
/**
|
|
1918
1918
|
* Image preview encoded in `base64`. It will be shown instead of `placeholder_color` before the
|
|
1919
1919
|
* image is loaded. Format `data url`: `data:[;base64],<data>`
|
|
1920
1920
|
*/
|
|
1921
|
-
preview?: Type<string
|
|
1921
|
+
preview?: Type<string | DivExpression>;
|
|
1922
1922
|
/**
|
|
1923
1923
|
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
1924
1924
|
*/
|
|
1925
|
-
row_span?: Type<number
|
|
1925
|
+
row_span?: Type<number | DivExpression>;
|
|
1926
1926
|
/**
|
|
1927
1927
|
* Image scaling:`fit` places the entire image into the element (free space is filled with
|
|
1928
1928
|
* background);`fill` scales the image to the element size and cuts off the excess.
|
|
1929
1929
|
*/
|
|
1930
|
-
scale?: Type<DivImageScale
|
|
1930
|
+
scale?: Type<DivImageScale | DivExpression>;
|
|
1931
1931
|
/**
|
|
1932
1932
|
* List of [actions](div-action.md) to be executed when selecting an element in
|
|
1933
1933
|
* [pager](div-pager.md).
|
|
@@ -1965,7 +1965,7 @@ interface DivGifImageProps {
|
|
|
1965
1965
|
/**
|
|
1966
1966
|
* Element visibility.
|
|
1967
1967
|
*/
|
|
1968
|
-
visibility?: Type<DivVisibility
|
|
1968
|
+
visibility?: Type<DivVisibility | DivExpression>;
|
|
1969
1969
|
/**
|
|
1970
1970
|
* Tracking visibility of a single element. Not used if the `visibility_actions` parameter is
|
|
1971
1971
|
* set.
|
|
@@ -2006,15 +2006,15 @@ declare class DivGrid<T extends DivGridProps = DivGridProps> {
|
|
|
2006
2006
|
/**
|
|
2007
2007
|
* Horizontal alignment of an element inside the parent element.
|
|
2008
2008
|
*/
|
|
2009
|
-
alignment_horizontal?: Type<DivAlignmentHorizontal
|
|
2009
|
+
alignment_horizontal?: Type<DivAlignmentHorizontal | DivExpression>;
|
|
2010
2010
|
/**
|
|
2011
2011
|
* Vertical alignment of an element inside the parent element.
|
|
2012
2012
|
*/
|
|
2013
|
-
alignment_vertical?: Type<DivAlignmentVertical
|
|
2013
|
+
alignment_vertical?: Type<DivAlignmentVertical | DivExpression>;
|
|
2014
2014
|
/**
|
|
2015
2015
|
* Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
|
|
2016
2016
|
*/
|
|
2017
|
-
alpha?: Type<number
|
|
2017
|
+
alpha?: Type<number | DivExpression>;
|
|
2018
2018
|
/**
|
|
2019
2019
|
* Element background. It can contain multiple layers.
|
|
2020
2020
|
*/
|
|
@@ -2026,19 +2026,19 @@ declare class DivGrid<T extends DivGridProps = DivGridProps> {
|
|
|
2026
2026
|
/**
|
|
2027
2027
|
* Number of columns.
|
|
2028
2028
|
*/
|
|
2029
|
-
column_count: Type<number
|
|
2029
|
+
column_count: Type<number | DivExpression>;
|
|
2030
2030
|
/**
|
|
2031
2031
|
* Merges cells in a column of the [grid](div-grid.md) element.
|
|
2032
2032
|
*/
|
|
2033
|
-
column_span?: Type<number
|
|
2033
|
+
column_span?: Type<number | DivExpression>;
|
|
2034
2034
|
/**
|
|
2035
2035
|
* Horizontal alignment of grid contents.
|
|
2036
2036
|
*/
|
|
2037
|
-
content_alignment_horizontal?: Type<DivAlignmentHorizontal
|
|
2037
|
+
content_alignment_horizontal?: Type<DivAlignmentHorizontal | DivExpression>;
|
|
2038
2038
|
/**
|
|
2039
2039
|
* Vertical alignment of grid contents.
|
|
2040
2040
|
*/
|
|
2041
|
-
content_alignment_vertical?: Type<DivAlignmentVertical
|
|
2041
|
+
content_alignment_vertical?: Type<DivAlignmentVertical | DivExpression>;
|
|
2042
2042
|
/**
|
|
2043
2043
|
* Action when double-clicking on an element.
|
|
2044
2044
|
*/
|
|
@@ -2082,7 +2082,7 @@ declare class DivGrid<T extends DivGridProps = DivGridProps> {
|
|
|
2082
2082
|
/**
|
|
2083
2083
|
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
2084
2084
|
*/
|
|
2085
|
-
row_span?: Type<number
|
|
2085
|
+
row_span?: Type<number | DivExpression>;
|
|
2086
2086
|
/**
|
|
2087
2087
|
* List of [actions](div-action.md) to be executed when selecting an element in
|
|
2088
2088
|
* [pager](div-pager.md).
|
|
@@ -2120,7 +2120,7 @@ declare class DivGrid<T extends DivGridProps = DivGridProps> {
|
|
|
2120
2120
|
/**
|
|
2121
2121
|
* Element visibility.
|
|
2122
2122
|
*/
|
|
2123
|
-
visibility?: Type<DivVisibility
|
|
2123
|
+
visibility?: Type<DivVisibility | DivExpression>;
|
|
2124
2124
|
/**
|
|
2125
2125
|
* Tracking visibility of a single element. Not used if the `visibility_actions` parameter is
|
|
2126
2126
|
* set.
|
|
@@ -2156,15 +2156,15 @@ interface DivGridProps {
|
|
|
2156
2156
|
/**
|
|
2157
2157
|
* Horizontal alignment of an element inside the parent element.
|
|
2158
2158
|
*/
|
|
2159
|
-
alignment_horizontal?: Type<DivAlignmentHorizontal
|
|
2159
|
+
alignment_horizontal?: Type<DivAlignmentHorizontal | DivExpression>;
|
|
2160
2160
|
/**
|
|
2161
2161
|
* Vertical alignment of an element inside the parent element.
|
|
2162
2162
|
*/
|
|
2163
|
-
alignment_vertical?: Type<DivAlignmentVertical
|
|
2163
|
+
alignment_vertical?: Type<DivAlignmentVertical | DivExpression>;
|
|
2164
2164
|
/**
|
|
2165
2165
|
* Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
|
|
2166
2166
|
*/
|
|
2167
|
-
alpha?: Type<number
|
|
2167
|
+
alpha?: Type<number | DivExpression>;
|
|
2168
2168
|
/**
|
|
2169
2169
|
* Element background. It can contain multiple layers.
|
|
2170
2170
|
*/
|
|
@@ -2176,19 +2176,19 @@ interface DivGridProps {
|
|
|
2176
2176
|
/**
|
|
2177
2177
|
* Number of columns.
|
|
2178
2178
|
*/
|
|
2179
|
-
column_count: Type<number
|
|
2179
|
+
column_count: Type<number | DivExpression>;
|
|
2180
2180
|
/**
|
|
2181
2181
|
* Merges cells in a column of the [grid](div-grid.md) element.
|
|
2182
2182
|
*/
|
|
2183
|
-
column_span?: Type<number
|
|
2183
|
+
column_span?: Type<number | DivExpression>;
|
|
2184
2184
|
/**
|
|
2185
2185
|
* Horizontal alignment of grid contents.
|
|
2186
2186
|
*/
|
|
2187
|
-
content_alignment_horizontal?: Type<DivAlignmentHorizontal
|
|
2187
|
+
content_alignment_horizontal?: Type<DivAlignmentHorizontal | DivExpression>;
|
|
2188
2188
|
/**
|
|
2189
2189
|
* Vertical alignment of grid contents.
|
|
2190
2190
|
*/
|
|
2191
|
-
content_alignment_vertical?: Type<DivAlignmentVertical
|
|
2191
|
+
content_alignment_vertical?: Type<DivAlignmentVertical | DivExpression>;
|
|
2192
2192
|
/**
|
|
2193
2193
|
* Action when double-clicking on an element.
|
|
2194
2194
|
*/
|
|
@@ -2232,7 +2232,7 @@ interface DivGridProps {
|
|
|
2232
2232
|
/**
|
|
2233
2233
|
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
2234
2234
|
*/
|
|
2235
|
-
row_span?: Type<number
|
|
2235
|
+
row_span?: Type<number | DivExpression>;
|
|
2236
2236
|
/**
|
|
2237
2237
|
* List of [actions](div-action.md) to be executed when selecting an element in
|
|
2238
2238
|
* [pager](div-pager.md).
|
|
@@ -2270,7 +2270,7 @@ interface DivGridProps {
|
|
|
2270
2270
|
/**
|
|
2271
2271
|
* Element visibility.
|
|
2272
2272
|
*/
|
|
2273
|
-
visibility?: Type<DivVisibility
|
|
2273
|
+
visibility?: Type<DivVisibility | DivExpression>;
|
|
2274
2274
|
/**
|
|
2275
2275
|
* Tracking visibility of a single element. Not used if the `visibility_actions` parameter is
|
|
2276
2276
|
* set.
|
|
@@ -2311,15 +2311,15 @@ declare class DivImage<T extends DivImageProps = DivImageProps> {
|
|
|
2311
2311
|
/**
|
|
2312
2312
|
* Horizontal alignment of an element inside the parent element.
|
|
2313
2313
|
*/
|
|
2314
|
-
alignment_horizontal?: Type<DivAlignmentHorizontal
|
|
2314
|
+
alignment_horizontal?: Type<DivAlignmentHorizontal | DivExpression>;
|
|
2315
2315
|
/**
|
|
2316
2316
|
* Vertical alignment of an element inside the parent element.
|
|
2317
2317
|
*/
|
|
2318
|
-
alignment_vertical?: Type<DivAlignmentVertical
|
|
2318
|
+
alignment_vertical?: Type<DivAlignmentVertical | DivExpression>;
|
|
2319
2319
|
/**
|
|
2320
2320
|
* Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
|
|
2321
2321
|
*/
|
|
2322
|
-
alpha?: Type<number
|
|
2322
|
+
alpha?: Type<number | DivExpression>;
|
|
2323
2323
|
/**
|
|
2324
2324
|
* Transparency animation when loading an image.
|
|
2325
2325
|
*/
|
|
@@ -2336,15 +2336,15 @@ declare class DivImage<T extends DivImageProps = DivImageProps> {
|
|
|
2336
2336
|
/**
|
|
2337
2337
|
* Merges cells in a column of the [grid](div-grid.md) element.
|
|
2338
2338
|
*/
|
|
2339
|
-
column_span?: Type<number
|
|
2339
|
+
column_span?: Type<number | DivExpression>;
|
|
2340
2340
|
/**
|
|
2341
2341
|
* Horizontal image alignment.
|
|
2342
2342
|
*/
|
|
2343
|
-
content_alignment_horizontal?: Type<DivAlignmentHorizontal
|
|
2343
|
+
content_alignment_horizontal?: Type<DivAlignmentHorizontal | DivExpression>;
|
|
2344
2344
|
/**
|
|
2345
2345
|
* Vertical image alignment.
|
|
2346
2346
|
*/
|
|
2347
|
-
content_alignment_vertical?: Type<DivAlignmentVertical
|
|
2347
|
+
content_alignment_vertical?: Type<DivAlignmentVertical | DivExpression>;
|
|
2348
2348
|
/**
|
|
2349
2349
|
* Action when double-clicking on an element.
|
|
2350
2350
|
*/
|
|
@@ -2369,7 +2369,7 @@ declare class DivImage<T extends DivImageProps = DivImageProps> {
|
|
|
2369
2369
|
* displayed as the first frame. Use the parameter carefully — it will worsen the preview display
|
|
2370
2370
|
* time and can worsen the application launch time.
|
|
2371
2371
|
*/
|
|
2372
|
-
high_priority_preview_show?: Type<IntBoolean
|
|
2372
|
+
high_priority_preview_show?: Type<IntBoolean | DivExpression>;
|
|
2373
2373
|
/**
|
|
2374
2374
|
* Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier`
|
|
2375
2375
|
* on iOS.
|
|
@@ -2378,7 +2378,7 @@ declare class DivImage<T extends DivImageProps = DivImageProps> {
|
|
|
2378
2378
|
/**
|
|
2379
2379
|
* Direct URL to an image.
|
|
2380
2380
|
*/
|
|
2381
|
-
image_url: Type<string
|
|
2381
|
+
image_url: Type<string | DivExpression>;
|
|
2382
2382
|
/**
|
|
2383
2383
|
* Action when long-clicking on an element.
|
|
2384
2384
|
*/
|
|
@@ -2394,25 +2394,25 @@ declare class DivImage<T extends DivImageProps = DivImageProps> {
|
|
|
2394
2394
|
/**
|
|
2395
2395
|
* Placeholder background before the image is loaded.
|
|
2396
2396
|
*/
|
|
2397
|
-
placeholder_color?: Type<string
|
|
2397
|
+
placeholder_color?: Type<string | DivExpression>;
|
|
2398
2398
|
/**
|
|
2399
2399
|
* Background image must be loaded before the display.
|
|
2400
2400
|
*/
|
|
2401
|
-
preload_required?: Type<IntBoolean
|
|
2401
|
+
preload_required?: Type<IntBoolean | DivExpression>;
|
|
2402
2402
|
/**
|
|
2403
2403
|
* Image preview encoded in `base64`. It will be shown instead of `placeholder_color` before the
|
|
2404
2404
|
* image is loaded. Format `data url`: `data:[;base64],<data>`
|
|
2405
2405
|
*/
|
|
2406
|
-
preview?: Type<string
|
|
2406
|
+
preview?: Type<string | DivExpression>;
|
|
2407
2407
|
/**
|
|
2408
2408
|
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
2409
2409
|
*/
|
|
2410
|
-
row_span?: Type<number
|
|
2410
|
+
row_span?: Type<number | DivExpression>;
|
|
2411
2411
|
/**
|
|
2412
2412
|
* Image scaling:`fit` places the entire image into the element (free space is filled with
|
|
2413
2413
|
* background);`fill` scales the image to the element size and cuts off the excess.
|
|
2414
2414
|
*/
|
|
2415
|
-
scale?: Type<DivImageScale
|
|
2415
|
+
scale?: Type<DivImageScale | DivExpression>;
|
|
2416
2416
|
/**
|
|
2417
2417
|
* List of [actions](div-action.md) to be executed when selecting an element in
|
|
2418
2418
|
* [pager](div-pager.md).
|
|
@@ -2421,7 +2421,7 @@ declare class DivImage<T extends DivImageProps = DivImageProps> {
|
|
|
2421
2421
|
/**
|
|
2422
2422
|
* New color of a contour image.
|
|
2423
2423
|
*/
|
|
2424
|
-
tint_color?: Type<string
|
|
2424
|
+
tint_color?: Type<string | DivExpression>;
|
|
2425
2425
|
/**
|
|
2426
2426
|
* Tooltips linked to an element. A tooltip can be shown by `div-action://show_tooltip?id=`,
|
|
2427
2427
|
* hidden by `div-action://hide_tooltip?id=` where `id` — tooltip id.
|
|
@@ -2454,7 +2454,7 @@ declare class DivImage<T extends DivImageProps = DivImageProps> {
|
|
|
2454
2454
|
/**
|
|
2455
2455
|
* Element visibility.
|
|
2456
2456
|
*/
|
|
2457
|
-
visibility?: Type<DivVisibility
|
|
2457
|
+
visibility?: Type<DivVisibility | DivExpression>;
|
|
2458
2458
|
/**
|
|
2459
2459
|
* Tracking visibility of a single element. Not used if the `visibility_actions` parameter is
|
|
2460
2460
|
* set.
|
|
@@ -2490,15 +2490,15 @@ interface DivImageProps {
|
|
|
2490
2490
|
/**
|
|
2491
2491
|
* Horizontal alignment of an element inside the parent element.
|
|
2492
2492
|
*/
|
|
2493
|
-
alignment_horizontal?: Type<DivAlignmentHorizontal
|
|
2493
|
+
alignment_horizontal?: Type<DivAlignmentHorizontal | DivExpression>;
|
|
2494
2494
|
/**
|
|
2495
2495
|
* Vertical alignment of an element inside the parent element.
|
|
2496
2496
|
*/
|
|
2497
|
-
alignment_vertical?: Type<DivAlignmentVertical
|
|
2497
|
+
alignment_vertical?: Type<DivAlignmentVertical | DivExpression>;
|
|
2498
2498
|
/**
|
|
2499
2499
|
* Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
|
|
2500
2500
|
*/
|
|
2501
|
-
alpha?: Type<number
|
|
2501
|
+
alpha?: Type<number | DivExpression>;
|
|
2502
2502
|
/**
|
|
2503
2503
|
* Transparency animation when loading an image.
|
|
2504
2504
|
*/
|
|
@@ -2515,15 +2515,15 @@ interface DivImageProps {
|
|
|
2515
2515
|
/**
|
|
2516
2516
|
* Merges cells in a column of the [grid](div-grid.md) element.
|
|
2517
2517
|
*/
|
|
2518
|
-
column_span?: Type<number
|
|
2518
|
+
column_span?: Type<number | DivExpression>;
|
|
2519
2519
|
/**
|
|
2520
2520
|
* Horizontal image alignment.
|
|
2521
2521
|
*/
|
|
2522
|
-
content_alignment_horizontal?: Type<DivAlignmentHorizontal
|
|
2522
|
+
content_alignment_horizontal?: Type<DivAlignmentHorizontal | DivExpression>;
|
|
2523
2523
|
/**
|
|
2524
2524
|
* Vertical image alignment.
|
|
2525
2525
|
*/
|
|
2526
|
-
content_alignment_vertical?: Type<DivAlignmentVertical
|
|
2526
|
+
content_alignment_vertical?: Type<DivAlignmentVertical | DivExpression>;
|
|
2527
2527
|
/**
|
|
2528
2528
|
* Action when double-clicking on an element.
|
|
2529
2529
|
*/
|
|
@@ -2548,7 +2548,7 @@ interface DivImageProps {
|
|
|
2548
2548
|
* displayed as the first frame. Use the parameter carefully — it will worsen the preview display
|
|
2549
2549
|
* time and can worsen the application launch time.
|
|
2550
2550
|
*/
|
|
2551
|
-
high_priority_preview_show?: Type<IntBoolean
|
|
2551
|
+
high_priority_preview_show?: Type<IntBoolean | DivExpression>;
|
|
2552
2552
|
/**
|
|
2553
2553
|
* Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier`
|
|
2554
2554
|
* on iOS.
|
|
@@ -2557,7 +2557,7 @@ interface DivImageProps {
|
|
|
2557
2557
|
/**
|
|
2558
2558
|
* Direct URL to an image.
|
|
2559
2559
|
*/
|
|
2560
|
-
image_url: Type<string
|
|
2560
|
+
image_url: Type<string | DivExpression>;
|
|
2561
2561
|
/**
|
|
2562
2562
|
* Action when long-clicking on an element.
|
|
2563
2563
|
*/
|
|
@@ -2573,25 +2573,25 @@ interface DivImageProps {
|
|
|
2573
2573
|
/**
|
|
2574
2574
|
* Placeholder background before the image is loaded.
|
|
2575
2575
|
*/
|
|
2576
|
-
placeholder_color?: Type<string
|
|
2576
|
+
placeholder_color?: Type<string | DivExpression>;
|
|
2577
2577
|
/**
|
|
2578
2578
|
* Background image must be loaded before the display.
|
|
2579
2579
|
*/
|
|
2580
|
-
preload_required?: Type<IntBoolean
|
|
2580
|
+
preload_required?: Type<IntBoolean | DivExpression>;
|
|
2581
2581
|
/**
|
|
2582
2582
|
* Image preview encoded in `base64`. It will be shown instead of `placeholder_color` before the
|
|
2583
2583
|
* image is loaded. Format `data url`: `data:[;base64],<data>`
|
|
2584
2584
|
*/
|
|
2585
|
-
preview?: Type<string
|
|
2585
|
+
preview?: Type<string | DivExpression>;
|
|
2586
2586
|
/**
|
|
2587
2587
|
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
2588
2588
|
*/
|
|
2589
|
-
row_span?: Type<number
|
|
2589
|
+
row_span?: Type<number | DivExpression>;
|
|
2590
2590
|
/**
|
|
2591
2591
|
* Image scaling:`fit` places the entire image into the element (free space is filled with
|
|
2592
2592
|
* background);`fill` scales the image to the element size and cuts off the excess.
|
|
2593
2593
|
*/
|
|
2594
|
-
scale?: Type<DivImageScale
|
|
2594
|
+
scale?: Type<DivImageScale | DivExpression>;
|
|
2595
2595
|
/**
|
|
2596
2596
|
* List of [actions](div-action.md) to be executed when selecting an element in
|
|
2597
2597
|
* [pager](div-pager.md).
|
|
@@ -2600,7 +2600,7 @@ interface DivImageProps {
|
|
|
2600
2600
|
/**
|
|
2601
2601
|
* New color of a contour image.
|
|
2602
2602
|
*/
|
|
2603
|
-
tint_color?: Type<string
|
|
2603
|
+
tint_color?: Type<string | DivExpression>;
|
|
2604
2604
|
/**
|
|
2605
2605
|
* Tooltips linked to an element. A tooltip can be shown by `div-action://show_tooltip?id=`,
|
|
2606
2606
|
* hidden by `div-action://hide_tooltip?id=` where `id` — tooltip id.
|
|
@@ -2633,7 +2633,7 @@ interface DivImageProps {
|
|
|
2633
2633
|
/**
|
|
2634
2634
|
* Element visibility.
|
|
2635
2635
|
*/
|
|
2636
|
-
visibility?: Type<DivVisibility
|
|
2636
|
+
visibility?: Type<DivVisibility | DivExpression>;
|
|
2637
2637
|
/**
|
|
2638
2638
|
* Tracking visibility of a single element. Not used if the `visibility_actions` parameter is
|
|
2639
2639
|
* set.
|
|
@@ -2658,54 +2658,54 @@ declare class DivImageBackground<T extends DivImageBackgroundProps = DivImageBac
|
|
|
2658
2658
|
/**
|
|
2659
2659
|
* Image transparency.
|
|
2660
2660
|
*/
|
|
2661
|
-
alpha?: Type<number
|
|
2661
|
+
alpha?: Type<number | DivExpression>;
|
|
2662
2662
|
/**
|
|
2663
2663
|
* Horizontal image alignment.
|
|
2664
2664
|
*/
|
|
2665
|
-
content_alignment_horizontal?: Type<DivAlignmentHorizontal
|
|
2665
|
+
content_alignment_horizontal?: Type<DivAlignmentHorizontal | DivExpression>;
|
|
2666
2666
|
/**
|
|
2667
2667
|
* Vertical image alignment.
|
|
2668
2668
|
*/
|
|
2669
|
-
content_alignment_vertical?: Type<DivAlignmentVertical
|
|
2669
|
+
content_alignment_vertical?: Type<DivAlignmentVertical | DivExpression>;
|
|
2670
2670
|
/**
|
|
2671
2671
|
* Image URL.
|
|
2672
2672
|
*/
|
|
2673
|
-
image_url: Type<string
|
|
2673
|
+
image_url: Type<string | DivExpression>;
|
|
2674
2674
|
/**
|
|
2675
2675
|
* Background image must be loaded before the display.
|
|
2676
2676
|
*/
|
|
2677
|
-
preload_required?: Type<IntBoolean
|
|
2677
|
+
preload_required?: Type<IntBoolean | DivExpression>;
|
|
2678
2678
|
/**
|
|
2679
2679
|
* Image scaling.
|
|
2680
2680
|
*/
|
|
2681
|
-
scale?: Type<DivImageScale
|
|
2681
|
+
scale?: Type<DivImageScale | DivExpression>;
|
|
2682
2682
|
constructor(props: Exact<DivImageBackgroundProps, T>);
|
|
2683
2683
|
}
|
|
2684
2684
|
interface DivImageBackgroundProps {
|
|
2685
2685
|
/**
|
|
2686
2686
|
* Image transparency.
|
|
2687
2687
|
*/
|
|
2688
|
-
alpha?: Type<number
|
|
2688
|
+
alpha?: Type<number | DivExpression>;
|
|
2689
2689
|
/**
|
|
2690
2690
|
* Horizontal image alignment.
|
|
2691
2691
|
*/
|
|
2692
|
-
content_alignment_horizontal?: Type<DivAlignmentHorizontal
|
|
2692
|
+
content_alignment_horizontal?: Type<DivAlignmentHorizontal | DivExpression>;
|
|
2693
2693
|
/**
|
|
2694
2694
|
* Vertical image alignment.
|
|
2695
2695
|
*/
|
|
2696
|
-
content_alignment_vertical?: Type<DivAlignmentVertical
|
|
2696
|
+
content_alignment_vertical?: Type<DivAlignmentVertical | DivExpression>;
|
|
2697
2697
|
/**
|
|
2698
2698
|
* Image URL.
|
|
2699
2699
|
*/
|
|
2700
|
-
image_url: Type<string
|
|
2700
|
+
image_url: Type<string | DivExpression>;
|
|
2701
2701
|
/**
|
|
2702
2702
|
* Background image must be loaded before the display.
|
|
2703
2703
|
*/
|
|
2704
|
-
preload_required?: Type<IntBoolean
|
|
2704
|
+
preload_required?: Type<IntBoolean | DivExpression>;
|
|
2705
2705
|
/**
|
|
2706
2706
|
* Image scaling.
|
|
2707
2707
|
*/
|
|
2708
|
-
scale?: Type<DivImageScale
|
|
2708
|
+
scale?: Type<DivImageScale | DivExpression>;
|
|
2709
2709
|
}
|
|
2710
2710
|
|
|
2711
2711
|
declare type DivImageScale = 'fill' | 'no_scale' | 'fit';
|
|
@@ -2723,27 +2723,27 @@ declare class DivIndicator<T extends DivIndicatorProps = DivIndicatorProps> {
|
|
|
2723
2723
|
/**
|
|
2724
2724
|
* Active indicator color.
|
|
2725
2725
|
*/
|
|
2726
|
-
active_item_color?: Type<string
|
|
2726
|
+
active_item_color?: Type<string | DivExpression>;
|
|
2727
2727
|
/**
|
|
2728
2728
|
* A size multiplier for an active indicator.
|
|
2729
2729
|
*/
|
|
2730
|
-
active_item_size?: Type<number
|
|
2730
|
+
active_item_size?: Type<number | DivExpression>;
|
|
2731
2731
|
/**
|
|
2732
2732
|
* Horizontal alignment of an element inside the parent element.
|
|
2733
2733
|
*/
|
|
2734
|
-
alignment_horizontal?: Type<DivAlignmentHorizontal
|
|
2734
|
+
alignment_horizontal?: Type<DivAlignmentHorizontal | DivExpression>;
|
|
2735
2735
|
/**
|
|
2736
2736
|
* Vertical alignment of an element inside the parent element.
|
|
2737
2737
|
*/
|
|
2738
|
-
alignment_vertical?: Type<DivAlignmentVertical
|
|
2738
|
+
alignment_vertical?: Type<DivAlignmentVertical | DivExpression>;
|
|
2739
2739
|
/**
|
|
2740
2740
|
* Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
|
|
2741
2741
|
*/
|
|
2742
|
-
alpha?: Type<number
|
|
2742
|
+
alpha?: Type<number | DivExpression>;
|
|
2743
2743
|
/**
|
|
2744
2744
|
* Animation of switching between indicators.
|
|
2745
2745
|
*/
|
|
2746
|
-
animation?: Type<DivIndicatorAnimation
|
|
2746
|
+
animation?: Type<DivIndicatorAnimation | DivExpression>;
|
|
2747
2747
|
/**
|
|
2748
2748
|
* Element background. It can contain multiple layers.
|
|
2749
2749
|
*/
|
|
@@ -2755,7 +2755,7 @@ declare class DivIndicator<T extends DivIndicatorProps = DivIndicatorProps> {
|
|
|
2755
2755
|
/**
|
|
2756
2756
|
* Merges cells in a column of the [grid](div-grid.md) element.
|
|
2757
2757
|
*/
|
|
2758
|
-
column_span?: Type<number
|
|
2758
|
+
column_span?: Type<number | DivExpression>;
|
|
2759
2759
|
/**
|
|
2760
2760
|
* Extensions for additional processing of an element. The list of extensions is given in
|
|
2761
2761
|
* [DivExtension](../../extensions.dita).
|
|
@@ -2779,7 +2779,7 @@ declare class DivIndicator<T extends DivIndicatorProps = DivIndicatorProps> {
|
|
|
2779
2779
|
/**
|
|
2780
2780
|
* Indicator color.
|
|
2781
2781
|
*/
|
|
2782
|
-
inactive_item_color?: Type<string
|
|
2782
|
+
inactive_item_color?: Type<string | DivExpression>;
|
|
2783
2783
|
/**
|
|
2784
2784
|
* External margins from the element stroke.
|
|
2785
2785
|
*/
|
|
@@ -2788,7 +2788,7 @@ declare class DivIndicator<T extends DivIndicatorProps = DivIndicatorProps> {
|
|
|
2788
2788
|
* A size multiplier for a minimal indicator. It is used when the required number of indicators
|
|
2789
2789
|
* don't fit on the screen.
|
|
2790
2790
|
*/
|
|
2791
|
-
minimum_item_size?: Type<number
|
|
2791
|
+
minimum_item_size?: Type<number | DivExpression>;
|
|
2792
2792
|
/**
|
|
2793
2793
|
* Internal margins from the element stroke.
|
|
2794
2794
|
*/
|
|
@@ -2800,7 +2800,7 @@ declare class DivIndicator<T extends DivIndicatorProps = DivIndicatorProps> {
|
|
|
2800
2800
|
/**
|
|
2801
2801
|
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
2802
2802
|
*/
|
|
2803
|
-
row_span?: Type<number
|
|
2803
|
+
row_span?: Type<number | DivExpression>;
|
|
2804
2804
|
/**
|
|
2805
2805
|
* List of [actions](div-action.md) to be executed when selecting an element in
|
|
2806
2806
|
* [pager](div-pager.md).
|
|
@@ -2846,7 +2846,7 @@ declare class DivIndicator<T extends DivIndicatorProps = DivIndicatorProps> {
|
|
|
2846
2846
|
/**
|
|
2847
2847
|
* Element visibility.
|
|
2848
2848
|
*/
|
|
2849
|
-
visibility?: Type<DivVisibility
|
|
2849
|
+
visibility?: Type<DivVisibility | DivExpression>;
|
|
2850
2850
|
/**
|
|
2851
2851
|
* Tracking visibility of a single element. Not used if the `visibility_actions` parameter is
|
|
2852
2852
|
* set.
|
|
@@ -2870,27 +2870,27 @@ interface DivIndicatorProps {
|
|
|
2870
2870
|
/**
|
|
2871
2871
|
* Active indicator color.
|
|
2872
2872
|
*/
|
|
2873
|
-
active_item_color?: Type<string
|
|
2873
|
+
active_item_color?: Type<string | DivExpression>;
|
|
2874
2874
|
/**
|
|
2875
2875
|
* A size multiplier for an active indicator.
|
|
2876
2876
|
*/
|
|
2877
|
-
active_item_size?: Type<number
|
|
2877
|
+
active_item_size?: Type<number | DivExpression>;
|
|
2878
2878
|
/**
|
|
2879
2879
|
* Horizontal alignment of an element inside the parent element.
|
|
2880
2880
|
*/
|
|
2881
|
-
alignment_horizontal?: Type<DivAlignmentHorizontal
|
|
2881
|
+
alignment_horizontal?: Type<DivAlignmentHorizontal | DivExpression>;
|
|
2882
2882
|
/**
|
|
2883
2883
|
* Vertical alignment of an element inside the parent element.
|
|
2884
2884
|
*/
|
|
2885
|
-
alignment_vertical?: Type<DivAlignmentVertical
|
|
2885
|
+
alignment_vertical?: Type<DivAlignmentVertical | DivExpression>;
|
|
2886
2886
|
/**
|
|
2887
2887
|
* Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
|
|
2888
2888
|
*/
|
|
2889
|
-
alpha?: Type<number
|
|
2889
|
+
alpha?: Type<number | DivExpression>;
|
|
2890
2890
|
/**
|
|
2891
2891
|
* Animation of switching between indicators.
|
|
2892
2892
|
*/
|
|
2893
|
-
animation?: Type<DivIndicatorAnimation
|
|
2893
|
+
animation?: Type<DivIndicatorAnimation | DivExpression>;
|
|
2894
2894
|
/**
|
|
2895
2895
|
* Element background. It can contain multiple layers.
|
|
2896
2896
|
*/
|
|
@@ -2902,7 +2902,7 @@ interface DivIndicatorProps {
|
|
|
2902
2902
|
/**
|
|
2903
2903
|
* Merges cells in a column of the [grid](div-grid.md) element.
|
|
2904
2904
|
*/
|
|
2905
|
-
column_span?: Type<number
|
|
2905
|
+
column_span?: Type<number | DivExpression>;
|
|
2906
2906
|
/**
|
|
2907
2907
|
* Extensions for additional processing of an element. The list of extensions is given in
|
|
2908
2908
|
* [DivExtension](../../extensions.dita).
|
|
@@ -2926,7 +2926,7 @@ interface DivIndicatorProps {
|
|
|
2926
2926
|
/**
|
|
2927
2927
|
* Indicator color.
|
|
2928
2928
|
*/
|
|
2929
|
-
inactive_item_color?: Type<string
|
|
2929
|
+
inactive_item_color?: Type<string | DivExpression>;
|
|
2930
2930
|
/**
|
|
2931
2931
|
* External margins from the element stroke.
|
|
2932
2932
|
*/
|
|
@@ -2935,7 +2935,7 @@ interface DivIndicatorProps {
|
|
|
2935
2935
|
* A size multiplier for a minimal indicator. It is used when the required number of indicators
|
|
2936
2936
|
* don't fit on the screen.
|
|
2937
2937
|
*/
|
|
2938
|
-
minimum_item_size?: Type<number
|
|
2938
|
+
minimum_item_size?: Type<number | DivExpression>;
|
|
2939
2939
|
/**
|
|
2940
2940
|
* Internal margins from the element stroke.
|
|
2941
2941
|
*/
|
|
@@ -2947,7 +2947,7 @@ interface DivIndicatorProps {
|
|
|
2947
2947
|
/**
|
|
2948
2948
|
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
2949
2949
|
*/
|
|
2950
|
-
row_span?: Type<number
|
|
2950
|
+
row_span?: Type<number | DivExpression>;
|
|
2951
2951
|
/**
|
|
2952
2952
|
* List of [actions](div-action.md) to be executed when selecting an element in
|
|
2953
2953
|
* [pager](div-pager.md).
|
|
@@ -2993,7 +2993,7 @@ interface DivIndicatorProps {
|
|
|
2993
2993
|
/**
|
|
2994
2994
|
* Element visibility.
|
|
2995
2995
|
*/
|
|
2996
|
-
visibility?: Type<DivVisibility
|
|
2996
|
+
visibility?: Type<DivVisibility | DivExpression>;
|
|
2997
2997
|
/**
|
|
2998
2998
|
* Tracking visibility of a single element. Not used if the `visibility_actions` parameter is
|
|
2999
2999
|
* set.
|
|
@@ -3034,15 +3034,15 @@ declare class DivInput<T extends DivInputProps = DivInputProps> {
|
|
|
3034
3034
|
/**
|
|
3035
3035
|
* Horizontal alignment of an element inside the parent element.
|
|
3036
3036
|
*/
|
|
3037
|
-
alignment_horizontal?: Type<DivAlignmentHorizontal
|
|
3037
|
+
alignment_horizontal?: Type<DivAlignmentHorizontal | DivExpression>;
|
|
3038
3038
|
/**
|
|
3039
3039
|
* Vertical alignment of an element inside the parent element.
|
|
3040
3040
|
*/
|
|
3041
|
-
alignment_vertical?: Type<DivAlignmentVertical
|
|
3041
|
+
alignment_vertical?: Type<DivAlignmentVertical | DivExpression>;
|
|
3042
3042
|
/**
|
|
3043
3043
|
* Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
|
|
3044
3044
|
*/
|
|
3045
|
-
alpha?: Type<number
|
|
3045
|
+
alpha?: Type<number | DivExpression>;
|
|
3046
3046
|
/**
|
|
3047
3047
|
* Element background. It can contain multiple layers.
|
|
3048
3048
|
*/
|
|
@@ -3054,7 +3054,7 @@ declare class DivInput<T extends DivInputProps = DivInputProps> {
|
|
|
3054
3054
|
/**
|
|
3055
3055
|
* Merges cells in a column of the [grid](div-grid.md) element.
|
|
3056
3056
|
*/
|
|
3057
|
-
column_span?: Type<number
|
|
3057
|
+
column_span?: Type<number | DivExpression>;
|
|
3058
3058
|
/**
|
|
3059
3059
|
* Extensions for additional processing of an element. The list of extensions is given in
|
|
3060
3060
|
* [DivExtension](../../extensions.dita).
|
|
@@ -3068,21 +3068,21 @@ declare class DivInput<T extends DivInputProps = DivInputProps> {
|
|
|
3068
3068
|
* Font family:`text` — a standard text font;`display` — a family of fonts with a large font
|
|
3069
3069
|
* size.
|
|
3070
3070
|
*/
|
|
3071
|
-
font_family?: Type<DivFontFamily
|
|
3071
|
+
font_family?: Type<DivFontFamily | DivExpression>;
|
|
3072
3072
|
/**
|
|
3073
3073
|
* Font size.
|
|
3074
3074
|
*/
|
|
3075
|
-
font_size?: Type<number
|
|
3075
|
+
font_size?: Type<number | DivExpression>;
|
|
3076
3076
|
/**
|
|
3077
3077
|
* Unit of measurement:`px` — a physical pixel.`dp` — a logical pixel that doesn't depend on
|
|
3078
3078
|
* screen density.`sp` — a logical pixel that depends on the font size on a device. Specify
|
|
3079
3079
|
* height in `sp`. Only available on Android.
|
|
3080
3080
|
*/
|
|
3081
|
-
font_size_unit?: Type<DivSizeUnit
|
|
3081
|
+
font_size_unit?: Type<DivSizeUnit | DivExpression>;
|
|
3082
3082
|
/**
|
|
3083
3083
|
* Style.
|
|
3084
3084
|
*/
|
|
3085
|
-
font_weight?: Type<DivFontWeight
|
|
3085
|
+
font_weight?: Type<DivFontWeight | DivExpression>;
|
|
3086
3086
|
/**
|
|
3087
3087
|
* Element height. For Android: if there is text in this or in a child element, specify height in
|
|
3088
3088
|
* `sp` to scale the element together with the text. To learn more about units of size
|
|
@@ -3093,15 +3093,15 @@ declare class DivInput<T extends DivInputProps = DivInputProps> {
|
|
|
3093
3093
|
* Text highlight color. If the value isn't set, the color set in the client will be used
|
|
3094
3094
|
* instead.
|
|
3095
3095
|
*/
|
|
3096
|
-
highlight_color?: Type<string
|
|
3096
|
+
highlight_color?: Type<string | DivExpression>;
|
|
3097
3097
|
/**
|
|
3098
3098
|
* Text color.
|
|
3099
3099
|
*/
|
|
3100
|
-
hint_color?: Type<string
|
|
3100
|
+
hint_color?: Type<string | DivExpression>;
|
|
3101
3101
|
/**
|
|
3102
3102
|
* Tooltip text.
|
|
3103
3103
|
*/
|
|
3104
|
-
hint_text?: Type<string
|
|
3104
|
+
hint_text?: Type<string | DivExpression>;
|
|
3105
3105
|
/**
|
|
3106
3106
|
* Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier`
|
|
3107
3107
|
* on iOS.
|
|
@@ -3110,16 +3110,16 @@ declare class DivInput<T extends DivInputProps = DivInputProps> {
|
|
|
3110
3110
|
/**
|
|
3111
3111
|
* Keyboard type.
|
|
3112
3112
|
*/
|
|
3113
|
-
keyboard_type?: Type<DivInputKeyboardType
|
|
3113
|
+
keyboard_type?: Type<DivInputKeyboardType | DivExpression>;
|
|
3114
3114
|
/**
|
|
3115
3115
|
* Spacing between characters.
|
|
3116
3116
|
*/
|
|
3117
|
-
letter_spacing?: Type<number
|
|
3117
|
+
letter_spacing?: Type<number | DivExpression>;
|
|
3118
3118
|
/**
|
|
3119
3119
|
* Line spacing of the text range. The count is taken from the font baseline. Measured in units
|
|
3120
3120
|
* specified in `font_size_unit`.
|
|
3121
3121
|
*/
|
|
3122
|
-
line_height?: Type<number
|
|
3122
|
+
line_height?: Type<number | DivExpression>;
|
|
3123
3123
|
/**
|
|
3124
3124
|
* External margins from the element stroke.
|
|
3125
3125
|
*/
|
|
@@ -3127,7 +3127,7 @@ declare class DivInput<T extends DivInputProps = DivInputProps> {
|
|
|
3127
3127
|
/**
|
|
3128
3128
|
* Maximum number of lines that will be visible in the input view.
|
|
3129
3129
|
*/
|
|
3130
|
-
max_visible_lines?: Type<number
|
|
3130
|
+
max_visible_lines?: Type<number | DivExpression>;
|
|
3131
3131
|
/**
|
|
3132
3132
|
* Text input line used in the native interface.
|
|
3133
3133
|
*/
|
|
@@ -3139,11 +3139,11 @@ declare class DivInput<T extends DivInputProps = DivInputProps> {
|
|
|
3139
3139
|
/**
|
|
3140
3140
|
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
3141
3141
|
*/
|
|
3142
|
-
row_span?: Type<number
|
|
3142
|
+
row_span?: Type<number | DivExpression>;
|
|
3143
3143
|
/**
|
|
3144
3144
|
* Highlighting input text when focused.
|
|
3145
3145
|
*/
|
|
3146
|
-
select_all_on_focus?: Type<IntBoolean
|
|
3146
|
+
select_all_on_focus?: Type<IntBoolean | DivExpression>;
|
|
3147
3147
|
/**
|
|
3148
3148
|
* List of [actions](div-action.md) to be executed when selecting an element in
|
|
3149
3149
|
* [pager](div-pager.md).
|
|
@@ -3152,7 +3152,7 @@ declare class DivInput<T extends DivInputProps = DivInputProps> {
|
|
|
3152
3152
|
/**
|
|
3153
3153
|
* Text color.
|
|
3154
3154
|
*/
|
|
3155
|
-
text_color?: Type<string
|
|
3155
|
+
text_color?: Type<string | DivExpression>;
|
|
3156
3156
|
/**
|
|
3157
3157
|
* Name of text storage variable.
|
|
3158
3158
|
*/
|
|
@@ -3189,7 +3189,7 @@ declare class DivInput<T extends DivInputProps = DivInputProps> {
|
|
|
3189
3189
|
/**
|
|
3190
3190
|
* Element visibility.
|
|
3191
3191
|
*/
|
|
3192
|
-
visibility?: Type<DivVisibility
|
|
3192
|
+
visibility?: Type<DivVisibility | DivExpression>;
|
|
3193
3193
|
/**
|
|
3194
3194
|
* Tracking visibility of a single element. Not used if the `visibility_actions` parameter is
|
|
3195
3195
|
* set.
|
|
@@ -3213,15 +3213,15 @@ interface DivInputProps {
|
|
|
3213
3213
|
/**
|
|
3214
3214
|
* Horizontal alignment of an element inside the parent element.
|
|
3215
3215
|
*/
|
|
3216
|
-
alignment_horizontal?: Type<DivAlignmentHorizontal
|
|
3216
|
+
alignment_horizontal?: Type<DivAlignmentHorizontal | DivExpression>;
|
|
3217
3217
|
/**
|
|
3218
3218
|
* Vertical alignment of an element inside the parent element.
|
|
3219
3219
|
*/
|
|
3220
|
-
alignment_vertical?: Type<DivAlignmentVertical
|
|
3220
|
+
alignment_vertical?: Type<DivAlignmentVertical | DivExpression>;
|
|
3221
3221
|
/**
|
|
3222
3222
|
* Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
|
|
3223
3223
|
*/
|
|
3224
|
-
alpha?: Type<number
|
|
3224
|
+
alpha?: Type<number | DivExpression>;
|
|
3225
3225
|
/**
|
|
3226
3226
|
* Element background. It can contain multiple layers.
|
|
3227
3227
|
*/
|
|
@@ -3233,7 +3233,7 @@ interface DivInputProps {
|
|
|
3233
3233
|
/**
|
|
3234
3234
|
* Merges cells in a column of the [grid](div-grid.md) element.
|
|
3235
3235
|
*/
|
|
3236
|
-
column_span?: Type<number
|
|
3236
|
+
column_span?: Type<number | DivExpression>;
|
|
3237
3237
|
/**
|
|
3238
3238
|
* Extensions for additional processing of an element. The list of extensions is given in
|
|
3239
3239
|
* [DivExtension](../../extensions.dita).
|
|
@@ -3247,21 +3247,21 @@ interface DivInputProps {
|
|
|
3247
3247
|
* Font family:`text` — a standard text font;`display` — a family of fonts with a large font
|
|
3248
3248
|
* size.
|
|
3249
3249
|
*/
|
|
3250
|
-
font_family?: Type<DivFontFamily
|
|
3250
|
+
font_family?: Type<DivFontFamily | DivExpression>;
|
|
3251
3251
|
/**
|
|
3252
3252
|
* Font size.
|
|
3253
3253
|
*/
|
|
3254
|
-
font_size?: Type<number
|
|
3254
|
+
font_size?: Type<number | DivExpression>;
|
|
3255
3255
|
/**
|
|
3256
3256
|
* Unit of measurement:`px` — a physical pixel.`dp` — a logical pixel that doesn't depend on
|
|
3257
3257
|
* screen density.`sp` — a logical pixel that depends on the font size on a device. Specify
|
|
3258
3258
|
* height in `sp`. Only available on Android.
|
|
3259
3259
|
*/
|
|
3260
|
-
font_size_unit?: Type<DivSizeUnit
|
|
3260
|
+
font_size_unit?: Type<DivSizeUnit | DivExpression>;
|
|
3261
3261
|
/**
|
|
3262
3262
|
* Style.
|
|
3263
3263
|
*/
|
|
3264
|
-
font_weight?: Type<DivFontWeight
|
|
3264
|
+
font_weight?: Type<DivFontWeight | DivExpression>;
|
|
3265
3265
|
/**
|
|
3266
3266
|
* Element height. For Android: if there is text in this or in a child element, specify height in
|
|
3267
3267
|
* `sp` to scale the element together with the text. To learn more about units of size
|
|
@@ -3272,15 +3272,15 @@ interface DivInputProps {
|
|
|
3272
3272
|
* Text highlight color. If the value isn't set, the color set in the client will be used
|
|
3273
3273
|
* instead.
|
|
3274
3274
|
*/
|
|
3275
|
-
highlight_color?: Type<string
|
|
3275
|
+
highlight_color?: Type<string | DivExpression>;
|
|
3276
3276
|
/**
|
|
3277
3277
|
* Text color.
|
|
3278
3278
|
*/
|
|
3279
|
-
hint_color?: Type<string
|
|
3279
|
+
hint_color?: Type<string | DivExpression>;
|
|
3280
3280
|
/**
|
|
3281
3281
|
* Tooltip text.
|
|
3282
3282
|
*/
|
|
3283
|
-
hint_text?: Type<string
|
|
3283
|
+
hint_text?: Type<string | DivExpression>;
|
|
3284
3284
|
/**
|
|
3285
3285
|
* Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier`
|
|
3286
3286
|
* on iOS.
|
|
@@ -3289,16 +3289,16 @@ interface DivInputProps {
|
|
|
3289
3289
|
/**
|
|
3290
3290
|
* Keyboard type.
|
|
3291
3291
|
*/
|
|
3292
|
-
keyboard_type?: Type<DivInputKeyboardType
|
|
3292
|
+
keyboard_type?: Type<DivInputKeyboardType | DivExpression>;
|
|
3293
3293
|
/**
|
|
3294
3294
|
* Spacing between characters.
|
|
3295
3295
|
*/
|
|
3296
|
-
letter_spacing?: Type<number
|
|
3296
|
+
letter_spacing?: Type<number | DivExpression>;
|
|
3297
3297
|
/**
|
|
3298
3298
|
* Line spacing of the text range. The count is taken from the font baseline. Measured in units
|
|
3299
3299
|
* specified in `font_size_unit`.
|
|
3300
3300
|
*/
|
|
3301
|
-
line_height?: Type<number
|
|
3301
|
+
line_height?: Type<number | DivExpression>;
|
|
3302
3302
|
/**
|
|
3303
3303
|
* External margins from the element stroke.
|
|
3304
3304
|
*/
|
|
@@ -3306,7 +3306,7 @@ interface DivInputProps {
|
|
|
3306
3306
|
/**
|
|
3307
3307
|
* Maximum number of lines that will be visible in the input view.
|
|
3308
3308
|
*/
|
|
3309
|
-
max_visible_lines?: Type<number
|
|
3309
|
+
max_visible_lines?: Type<number | DivExpression>;
|
|
3310
3310
|
/**
|
|
3311
3311
|
* Text input line used in the native interface.
|
|
3312
3312
|
*/
|
|
@@ -3318,11 +3318,11 @@ interface DivInputProps {
|
|
|
3318
3318
|
/**
|
|
3319
3319
|
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
3320
3320
|
*/
|
|
3321
|
-
row_span?: Type<number
|
|
3321
|
+
row_span?: Type<number | DivExpression>;
|
|
3322
3322
|
/**
|
|
3323
3323
|
* Highlighting input text when focused.
|
|
3324
3324
|
*/
|
|
3325
|
-
select_all_on_focus?: Type<IntBoolean
|
|
3325
|
+
select_all_on_focus?: Type<IntBoolean | DivExpression>;
|
|
3326
3326
|
/**
|
|
3327
3327
|
* List of [actions](div-action.md) to be executed when selecting an element in
|
|
3328
3328
|
* [pager](div-pager.md).
|
|
@@ -3331,7 +3331,7 @@ interface DivInputProps {
|
|
|
3331
3331
|
/**
|
|
3332
3332
|
* Text color.
|
|
3333
3333
|
*/
|
|
3334
|
-
text_color?: Type<string
|
|
3334
|
+
text_color?: Type<string | DivExpression>;
|
|
3335
3335
|
/**
|
|
3336
3336
|
* Name of text storage variable.
|
|
3337
3337
|
*/
|
|
@@ -3368,7 +3368,7 @@ interface DivInputProps {
|
|
|
3368
3368
|
/**
|
|
3369
3369
|
* Element visibility.
|
|
3370
3370
|
*/
|
|
3371
|
-
visibility?: Type<DivVisibility
|
|
3371
|
+
visibility?: Type<DivVisibility | DivExpression>;
|
|
3372
3372
|
/**
|
|
3373
3373
|
* Tracking visibility of a single element. Not used if the `visibility_actions` parameter is
|
|
3374
3374
|
* set.
|
|
@@ -3391,7 +3391,7 @@ interface IDivInputNativeInterface {
|
|
|
3391
3391
|
/**
|
|
3392
3392
|
* Text input line color.
|
|
3393
3393
|
*/
|
|
3394
|
-
color: Type<string
|
|
3394
|
+
color: Type<string | DivExpression>;
|
|
3395
3395
|
}
|
|
3396
3396
|
|
|
3397
3397
|
declare type DivLineStyle = 'none' | 'single';
|
|
@@ -3405,7 +3405,7 @@ declare class DivLinearGradient<T extends DivLinearGradientProps = DivLinearGrad
|
|
|
3405
3405
|
/**
|
|
3406
3406
|
* Angle of gradient direction.
|
|
3407
3407
|
*/
|
|
3408
|
-
angle?: Type<number
|
|
3408
|
+
angle?: Type<number | DivExpression>;
|
|
3409
3409
|
/**
|
|
3410
3410
|
* Colors. Gradient points will be located at an equal distance from each other.
|
|
3411
3411
|
*/
|
|
@@ -3416,7 +3416,7 @@ interface DivLinearGradientProps {
|
|
|
3416
3416
|
/**
|
|
3417
3417
|
* Angle of gradient direction.
|
|
3418
3418
|
*/
|
|
3419
|
-
angle?: Type<number
|
|
3419
|
+
angle?: Type<number | DivExpression>;
|
|
3420
3420
|
/**
|
|
3421
3421
|
* Colors. Gradient points will be located at an equal distance from each other.
|
|
3422
3422
|
*/
|
|
@@ -3433,7 +3433,7 @@ declare class DivMatchParentSize<T extends DivMatchParentSizeProps = DivMatchPar
|
|
|
3433
3433
|
* Weight when distributing free space between elements with the size type `match_parent` inside
|
|
3434
3434
|
* an element. If the weight isn't specified, the elements will divide the place equally.
|
|
3435
3435
|
*/
|
|
3436
|
-
weight?: Type<number
|
|
3436
|
+
weight?: Type<number | DivExpression>;
|
|
3437
3437
|
constructor(props?: Exact<DivMatchParentSizeProps, T>);
|
|
3438
3438
|
}
|
|
3439
3439
|
interface DivMatchParentSizeProps {
|
|
@@ -3441,7 +3441,7 @@ interface DivMatchParentSizeProps {
|
|
|
3441
3441
|
* Weight when distributing free space between elements with the size type `match_parent` inside
|
|
3442
3442
|
* an element. If the weight isn't specified, the elements will divide the place equally.
|
|
3443
3443
|
*/
|
|
3444
|
-
weight?: Type<number
|
|
3444
|
+
weight?: Type<number | DivExpression>;
|
|
3445
3445
|
}
|
|
3446
3446
|
|
|
3447
3447
|
/**
|
|
@@ -3496,15 +3496,15 @@ declare class DivPager<T extends DivPagerProps = DivPagerProps> {
|
|
|
3496
3496
|
/**
|
|
3497
3497
|
* Horizontal alignment of an element inside the parent element.
|
|
3498
3498
|
*/
|
|
3499
|
-
alignment_horizontal?: Type<DivAlignmentHorizontal
|
|
3499
|
+
alignment_horizontal?: Type<DivAlignmentHorizontal | DivExpression>;
|
|
3500
3500
|
/**
|
|
3501
3501
|
* Vertical alignment of an element inside the parent element.
|
|
3502
3502
|
*/
|
|
3503
|
-
alignment_vertical?: Type<DivAlignmentVertical
|
|
3503
|
+
alignment_vertical?: Type<DivAlignmentVertical | DivExpression>;
|
|
3504
3504
|
/**
|
|
3505
3505
|
* Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
|
|
3506
3506
|
*/
|
|
3507
|
-
alpha?: Type<number
|
|
3507
|
+
alpha?: Type<number | DivExpression>;
|
|
3508
3508
|
/**
|
|
3509
3509
|
* Element background. It can contain multiple layers.
|
|
3510
3510
|
*/
|
|
@@ -3516,11 +3516,11 @@ declare class DivPager<T extends DivPagerProps = DivPagerProps> {
|
|
|
3516
3516
|
/**
|
|
3517
3517
|
* Merges cells in a column of the [grid](div-grid.md) element.
|
|
3518
3518
|
*/
|
|
3519
|
-
column_span?: Type<number
|
|
3519
|
+
column_span?: Type<number | DivExpression>;
|
|
3520
3520
|
/**
|
|
3521
3521
|
* Ordinal number of the pager element that will be opened by default.
|
|
3522
3522
|
*/
|
|
3523
|
-
default_item?: Type<number
|
|
3523
|
+
default_item?: Type<number | DivExpression>;
|
|
3524
3524
|
/**
|
|
3525
3525
|
* Extensions for additional processing of an element. The list of extensions is given in
|
|
3526
3526
|
* [DivExtension](../../extensions.dita).
|
|
@@ -3569,7 +3569,7 @@ declare class DivPager<T extends DivPagerProps = DivPagerProps> {
|
|
|
3569
3569
|
/**
|
|
3570
3570
|
* Pager orientation.
|
|
3571
3571
|
*/
|
|
3572
|
-
orientation?: Type<DivPagerOrientation
|
|
3572
|
+
orientation?: Type<DivPagerOrientation | DivExpression>;
|
|
3573
3573
|
/**
|
|
3574
3574
|
* Internal margins from the element stroke.
|
|
3575
3575
|
*/
|
|
@@ -3578,11 +3578,11 @@ declare class DivPager<T extends DivPagerProps = DivPagerProps> {
|
|
|
3578
3578
|
* If the parameter is enabled, the pager won't transmit the scroll gesture to the parent
|
|
3579
3579
|
* element.
|
|
3580
3580
|
*/
|
|
3581
|
-
restrict_parent_scroll?: Type<IntBoolean
|
|
3581
|
+
restrict_parent_scroll?: Type<IntBoolean | DivExpression>;
|
|
3582
3582
|
/**
|
|
3583
3583
|
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
3584
3584
|
*/
|
|
3585
|
-
row_span?: Type<number
|
|
3585
|
+
row_span?: Type<number | DivExpression>;
|
|
3586
3586
|
/**
|
|
3587
3587
|
* List of [actions](div-action.md) to be executed when selecting an element in
|
|
3588
3588
|
* [pager](div-pager.md).
|
|
@@ -3620,7 +3620,7 @@ declare class DivPager<T extends DivPagerProps = DivPagerProps> {
|
|
|
3620
3620
|
/**
|
|
3621
3621
|
* Element visibility.
|
|
3622
3622
|
*/
|
|
3623
|
-
visibility?: Type<DivVisibility
|
|
3623
|
+
visibility?: Type<DivVisibility | DivExpression>;
|
|
3624
3624
|
/**
|
|
3625
3625
|
* Tracking visibility of a single element. Not used if the `visibility_actions` parameter is
|
|
3626
3626
|
* set.
|
|
@@ -3644,15 +3644,15 @@ interface DivPagerProps {
|
|
|
3644
3644
|
/**
|
|
3645
3645
|
* Horizontal alignment of an element inside the parent element.
|
|
3646
3646
|
*/
|
|
3647
|
-
alignment_horizontal?: Type<DivAlignmentHorizontal
|
|
3647
|
+
alignment_horizontal?: Type<DivAlignmentHorizontal | DivExpression>;
|
|
3648
3648
|
/**
|
|
3649
3649
|
* Vertical alignment of an element inside the parent element.
|
|
3650
3650
|
*/
|
|
3651
|
-
alignment_vertical?: Type<DivAlignmentVertical
|
|
3651
|
+
alignment_vertical?: Type<DivAlignmentVertical | DivExpression>;
|
|
3652
3652
|
/**
|
|
3653
3653
|
* Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
|
|
3654
3654
|
*/
|
|
3655
|
-
alpha?: Type<number
|
|
3655
|
+
alpha?: Type<number | DivExpression>;
|
|
3656
3656
|
/**
|
|
3657
3657
|
* Element background. It can contain multiple layers.
|
|
3658
3658
|
*/
|
|
@@ -3664,11 +3664,11 @@ interface DivPagerProps {
|
|
|
3664
3664
|
/**
|
|
3665
3665
|
* Merges cells in a column of the [grid](div-grid.md) element.
|
|
3666
3666
|
*/
|
|
3667
|
-
column_span?: Type<number
|
|
3667
|
+
column_span?: Type<number | DivExpression>;
|
|
3668
3668
|
/**
|
|
3669
3669
|
* Ordinal number of the pager element that will be opened by default.
|
|
3670
3670
|
*/
|
|
3671
|
-
default_item?: Type<number
|
|
3671
|
+
default_item?: Type<number | DivExpression>;
|
|
3672
3672
|
/**
|
|
3673
3673
|
* Extensions for additional processing of an element. The list of extensions is given in
|
|
3674
3674
|
* [DivExtension](../../extensions.dita).
|
|
@@ -3717,7 +3717,7 @@ interface DivPagerProps {
|
|
|
3717
3717
|
/**
|
|
3718
3718
|
* Pager orientation.
|
|
3719
3719
|
*/
|
|
3720
|
-
orientation?: Type<DivPagerOrientation
|
|
3720
|
+
orientation?: Type<DivPagerOrientation | DivExpression>;
|
|
3721
3721
|
/**
|
|
3722
3722
|
* Internal margins from the element stroke.
|
|
3723
3723
|
*/
|
|
@@ -3726,11 +3726,11 @@ interface DivPagerProps {
|
|
|
3726
3726
|
* If the parameter is enabled, the pager won't transmit the scroll gesture to the parent
|
|
3727
3727
|
* element.
|
|
3728
3728
|
*/
|
|
3729
|
-
restrict_parent_scroll?: Type<IntBoolean
|
|
3729
|
+
restrict_parent_scroll?: Type<IntBoolean | DivExpression>;
|
|
3730
3730
|
/**
|
|
3731
3731
|
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
3732
3732
|
*/
|
|
3733
|
-
row_span?: Type<number
|
|
3733
|
+
row_span?: Type<number | DivExpression>;
|
|
3734
3734
|
/**
|
|
3735
3735
|
* List of [actions](div-action.md) to be executed when selecting an element in
|
|
3736
3736
|
* [pager](div-pager.md).
|
|
@@ -3768,7 +3768,7 @@ interface DivPagerProps {
|
|
|
3768
3768
|
/**
|
|
3769
3769
|
* Element visibility.
|
|
3770
3770
|
*/
|
|
3771
|
-
visibility?: Type<DivVisibility
|
|
3771
|
+
visibility?: Type<DivVisibility | DivExpression>;
|
|
3772
3772
|
/**
|
|
3773
3773
|
* Tracking visibility of a single element. Not used if the `visibility_actions` parameter is
|
|
3774
3774
|
* set.
|
|
@@ -3800,7 +3800,7 @@ interface IDivPatch {
|
|
|
3800
3800
|
* least one element, the changes aren't applied.`partial` — all possible changes are applied. If
|
|
3801
3801
|
* there are errors, they are reported.
|
|
3802
3802
|
*/
|
|
3803
|
-
mode?: Type<DivPatchMode
|
|
3803
|
+
mode?: Type<DivPatchMode | DivExpression>;
|
|
3804
3804
|
}
|
|
3805
3805
|
declare type DivPatchMode = 'transactional' | 'partial';
|
|
3806
3806
|
interface IDivPatchChange {
|
|
@@ -3823,14 +3823,14 @@ declare class DivPercentageSize<T extends DivPercentageSizeProps = DivPercentage
|
|
|
3823
3823
|
/**
|
|
3824
3824
|
* Element size value.
|
|
3825
3825
|
*/
|
|
3826
|
-
value: Type<number
|
|
3826
|
+
value: Type<number | DivExpression>;
|
|
3827
3827
|
constructor(props: Exact<DivPercentageSizeProps, T>);
|
|
3828
3828
|
}
|
|
3829
3829
|
interface DivPercentageSizeProps {
|
|
3830
3830
|
/**
|
|
3831
3831
|
* Element size value.
|
|
3832
3832
|
*/
|
|
3833
|
-
value: Type<number
|
|
3833
|
+
value: Type<number | DivExpression>;
|
|
3834
3834
|
}
|
|
3835
3835
|
|
|
3836
3836
|
declare type DivPivot = DivPivotFixed | DivPivotPercentage;
|
|
@@ -3845,11 +3845,11 @@ declare class DivPivotFixed<T extends DivPivotFixedProps = DivPivotFixedProps> {
|
|
|
3845
3845
|
* Unit of size measurement. To learn more about units of size measurement, see [Layout inside
|
|
3846
3846
|
* the card](../../layout.dita).
|
|
3847
3847
|
*/
|
|
3848
|
-
unit?: Type<DivSizeUnit
|
|
3848
|
+
unit?: Type<DivSizeUnit | DivExpression>;
|
|
3849
3849
|
/**
|
|
3850
3850
|
* Offset.
|
|
3851
3851
|
*/
|
|
3852
|
-
value?: Type<number
|
|
3852
|
+
value?: Type<number | DivExpression>;
|
|
3853
3853
|
constructor(props?: Exact<DivPivotFixedProps, T>);
|
|
3854
3854
|
}
|
|
3855
3855
|
interface DivPivotFixedProps {
|
|
@@ -3857,11 +3857,11 @@ interface DivPivotFixedProps {
|
|
|
3857
3857
|
* Unit of size measurement. To learn more about units of size measurement, see [Layout inside
|
|
3858
3858
|
* the card](../../layout.dita).
|
|
3859
3859
|
*/
|
|
3860
|
-
unit?: Type<DivSizeUnit
|
|
3860
|
+
unit?: Type<DivSizeUnit | DivExpression>;
|
|
3861
3861
|
/**
|
|
3862
3862
|
* Offset.
|
|
3863
3863
|
*/
|
|
3864
|
-
value?: Type<number
|
|
3864
|
+
value?: Type<number | DivExpression>;
|
|
3865
3865
|
}
|
|
3866
3866
|
|
|
3867
3867
|
/**
|
|
@@ -3873,14 +3873,14 @@ declare class DivPivotPercentage<T extends DivPivotPercentageProps = DivPivotPer
|
|
|
3873
3873
|
/**
|
|
3874
3874
|
* Location of the element.
|
|
3875
3875
|
*/
|
|
3876
|
-
value: Type<number
|
|
3876
|
+
value: Type<number | DivExpression>;
|
|
3877
3877
|
constructor(props: Exact<DivPivotPercentageProps, T>);
|
|
3878
3878
|
}
|
|
3879
3879
|
interface DivPivotPercentageProps {
|
|
3880
3880
|
/**
|
|
3881
3881
|
* Location of the element.
|
|
3882
3882
|
*/
|
|
3883
|
-
value: Type<number
|
|
3883
|
+
value: Type<number | DivExpression>;
|
|
3884
3884
|
}
|
|
3885
3885
|
|
|
3886
3886
|
/**
|
|
@@ -3907,12 +3907,12 @@ declare class DivRadialGradient<T extends DivRadialGradientProps = DivRadialGrad
|
|
|
3907
3907
|
* Shift of the central point of the gradient relative to the left edge along the X axis in the
|
|
3908
3908
|
* range `0..1`.
|
|
3909
3909
|
*/
|
|
3910
|
-
center_x?: Type<number
|
|
3910
|
+
center_x?: Type<number | DivExpression>;
|
|
3911
3911
|
/**
|
|
3912
3912
|
* Shift of the central point of the gradient relative to the upper edge along the Y axis in the
|
|
3913
3913
|
* range `0..1`.
|
|
3914
3914
|
*/
|
|
3915
|
-
center_y?: Type<number
|
|
3915
|
+
center_y?: Type<number | DivExpression>;
|
|
3916
3916
|
/**
|
|
3917
3917
|
* Colors. Gradient points will be located at an equal distance from each other.
|
|
3918
3918
|
*/
|
|
@@ -3920,7 +3920,7 @@ declare class DivRadialGradient<T extends DivRadialGradientProps = DivRadialGrad
|
|
|
3920
3920
|
/**
|
|
3921
3921
|
* Radius of the gradient transition in `dp`.
|
|
3922
3922
|
*/
|
|
3923
|
-
radius: Type<number
|
|
3923
|
+
radius: Type<number | DivExpression>;
|
|
3924
3924
|
constructor(props: Exact<DivRadialGradientProps, T>);
|
|
3925
3925
|
}
|
|
3926
3926
|
interface DivRadialGradientProps {
|
|
@@ -3928,12 +3928,12 @@ interface DivRadialGradientProps {
|
|
|
3928
3928
|
* Shift of the central point of the gradient relative to the left edge along the X axis in the
|
|
3929
3929
|
* range `0..1`.
|
|
3930
3930
|
*/
|
|
3931
|
-
center_x?: Type<number
|
|
3931
|
+
center_x?: Type<number | DivExpression>;
|
|
3932
3932
|
/**
|
|
3933
3933
|
* Shift of the central point of the gradient relative to the upper edge along the Y axis in the
|
|
3934
3934
|
* range `0..1`.
|
|
3935
3935
|
*/
|
|
3936
|
-
center_y?: Type<number
|
|
3936
|
+
center_y?: Type<number | DivExpression>;
|
|
3937
3937
|
/**
|
|
3938
3938
|
* Colors. Gradient points will be located at an equal distance from each other.
|
|
3939
3939
|
*/
|
|
@@ -3941,7 +3941,7 @@ interface DivRadialGradientProps {
|
|
|
3941
3941
|
/**
|
|
3942
3942
|
* Radius of the gradient transition in `dp`.
|
|
3943
3943
|
*/
|
|
3944
|
-
radius: Type<number
|
|
3944
|
+
radius: Type<number | DivExpression>;
|
|
3945
3945
|
}
|
|
3946
3946
|
|
|
3947
3947
|
/**
|
|
@@ -3988,56 +3988,56 @@ declare class DivScaleTransition<T extends DivScaleTransitionProps = DivScaleTra
|
|
|
3988
3988
|
/**
|
|
3989
3989
|
* Animation duration in milliseconds.
|
|
3990
3990
|
*/
|
|
3991
|
-
duration?: Type<number
|
|
3991
|
+
duration?: Type<number | DivExpression>;
|
|
3992
3992
|
/**
|
|
3993
3993
|
* Transition speed nature.
|
|
3994
3994
|
*/
|
|
3995
|
-
interpolator?: Type<DivAnimationInterpolator
|
|
3995
|
+
interpolator?: Type<DivAnimationInterpolator | DivExpression>;
|
|
3996
3996
|
/**
|
|
3997
3997
|
* Relative coordinate `X` of the point that won't change its position in case of scaling.
|
|
3998
3998
|
*/
|
|
3999
|
-
pivot_x?: Type<number
|
|
3999
|
+
pivot_x?: Type<number | DivExpression>;
|
|
4000
4000
|
/**
|
|
4001
4001
|
* Relative coordinate `Y` of the point that won't change its position in case of scaling.
|
|
4002
4002
|
*/
|
|
4003
|
-
pivot_y?: Type<number
|
|
4003
|
+
pivot_y?: Type<number | DivExpression>;
|
|
4004
4004
|
/**
|
|
4005
4005
|
* Value of the scale from which the element starts appearing or at which it finishes
|
|
4006
4006
|
* disappearing.
|
|
4007
4007
|
*/
|
|
4008
|
-
scale?: Type<number
|
|
4008
|
+
scale?: Type<number | DivExpression>;
|
|
4009
4009
|
/**
|
|
4010
4010
|
* Delay in milliseconds before animation starts.
|
|
4011
4011
|
*/
|
|
4012
|
-
start_delay?: Type<number
|
|
4012
|
+
start_delay?: Type<number | DivExpression>;
|
|
4013
4013
|
constructor(props?: Exact<DivScaleTransitionProps, T>);
|
|
4014
4014
|
}
|
|
4015
4015
|
interface DivScaleTransitionProps {
|
|
4016
4016
|
/**
|
|
4017
4017
|
* Animation duration in milliseconds.
|
|
4018
4018
|
*/
|
|
4019
|
-
duration?: Type<number
|
|
4019
|
+
duration?: Type<number | DivExpression>;
|
|
4020
4020
|
/**
|
|
4021
4021
|
* Transition speed nature.
|
|
4022
4022
|
*/
|
|
4023
|
-
interpolator?: Type<DivAnimationInterpolator
|
|
4023
|
+
interpolator?: Type<DivAnimationInterpolator | DivExpression>;
|
|
4024
4024
|
/**
|
|
4025
4025
|
* Relative coordinate `X` of the point that won't change its position in case of scaling.
|
|
4026
4026
|
*/
|
|
4027
|
-
pivot_x?: Type<number
|
|
4027
|
+
pivot_x?: Type<number | DivExpression>;
|
|
4028
4028
|
/**
|
|
4029
4029
|
* Relative coordinate `Y` of the point that won't change its position in case of scaling.
|
|
4030
4030
|
*/
|
|
4031
|
-
pivot_y?: Type<number
|
|
4031
|
+
pivot_y?: Type<number | DivExpression>;
|
|
4032
4032
|
/**
|
|
4033
4033
|
* Value of the scale from which the element starts appearing or at which it finishes
|
|
4034
4034
|
* disappearing.
|
|
4035
4035
|
*/
|
|
4036
|
-
scale?: Type<number
|
|
4036
|
+
scale?: Type<number | DivExpression>;
|
|
4037
4037
|
/**
|
|
4038
4038
|
* Delay in milliseconds before animation starts.
|
|
4039
4039
|
*/
|
|
4040
|
-
start_delay?: Type<number
|
|
4040
|
+
start_delay?: Type<number | DivExpression>;
|
|
4041
4041
|
}
|
|
4042
4042
|
|
|
4043
4043
|
/**
|
|
@@ -4065,15 +4065,15 @@ declare class DivSeparator<T extends DivSeparatorProps = DivSeparatorProps> {
|
|
|
4065
4065
|
/**
|
|
4066
4066
|
* Horizontal alignment of an element inside the parent element.
|
|
4067
4067
|
*/
|
|
4068
|
-
alignment_horizontal?: Type<DivAlignmentHorizontal
|
|
4068
|
+
alignment_horizontal?: Type<DivAlignmentHorizontal | DivExpression>;
|
|
4069
4069
|
/**
|
|
4070
4070
|
* Vertical alignment of an element inside the parent element.
|
|
4071
4071
|
*/
|
|
4072
|
-
alignment_vertical?: Type<DivAlignmentVertical
|
|
4072
|
+
alignment_vertical?: Type<DivAlignmentVertical | DivExpression>;
|
|
4073
4073
|
/**
|
|
4074
4074
|
* Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
|
|
4075
4075
|
*/
|
|
4076
|
-
alpha?: Type<number
|
|
4076
|
+
alpha?: Type<number | DivExpression>;
|
|
4077
4077
|
/**
|
|
4078
4078
|
* Element background. It can contain multiple layers.
|
|
4079
4079
|
*/
|
|
@@ -4085,7 +4085,7 @@ declare class DivSeparator<T extends DivSeparatorProps = DivSeparatorProps> {
|
|
|
4085
4085
|
/**
|
|
4086
4086
|
* Merges cells in a column of the [grid](div-grid.md) element.
|
|
4087
4087
|
*/
|
|
4088
|
-
column_span?: Type<number
|
|
4088
|
+
column_span?: Type<number | DivExpression>;
|
|
4089
4089
|
/**
|
|
4090
4090
|
* Separator display settings.
|
|
4091
4091
|
*/
|
|
@@ -4129,7 +4129,7 @@ declare class DivSeparator<T extends DivSeparatorProps = DivSeparatorProps> {
|
|
|
4129
4129
|
/**
|
|
4130
4130
|
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
4131
4131
|
*/
|
|
4132
|
-
row_span?: Type<number
|
|
4132
|
+
row_span?: Type<number | DivExpression>;
|
|
4133
4133
|
/**
|
|
4134
4134
|
* List of [actions](div-action.md) to be executed when selecting an element in
|
|
4135
4135
|
* [pager](div-pager.md).
|
|
@@ -4167,7 +4167,7 @@ declare class DivSeparator<T extends DivSeparatorProps = DivSeparatorProps> {
|
|
|
4167
4167
|
/**
|
|
4168
4168
|
* Element visibility.
|
|
4169
4169
|
*/
|
|
4170
|
-
visibility?: Type<DivVisibility
|
|
4170
|
+
visibility?: Type<DivVisibility | DivExpression>;
|
|
4171
4171
|
/**
|
|
4172
4172
|
* Tracking visibility of a single element. Not used if the `visibility_actions` parameter is
|
|
4173
4173
|
* set.
|
|
@@ -4203,15 +4203,15 @@ interface DivSeparatorProps {
|
|
|
4203
4203
|
/**
|
|
4204
4204
|
* Horizontal alignment of an element inside the parent element.
|
|
4205
4205
|
*/
|
|
4206
|
-
alignment_horizontal?: Type<DivAlignmentHorizontal
|
|
4206
|
+
alignment_horizontal?: Type<DivAlignmentHorizontal | DivExpression>;
|
|
4207
4207
|
/**
|
|
4208
4208
|
* Vertical alignment of an element inside the parent element.
|
|
4209
4209
|
*/
|
|
4210
|
-
alignment_vertical?: Type<DivAlignmentVertical
|
|
4210
|
+
alignment_vertical?: Type<DivAlignmentVertical | DivExpression>;
|
|
4211
4211
|
/**
|
|
4212
4212
|
* Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
|
|
4213
4213
|
*/
|
|
4214
|
-
alpha?: Type<number
|
|
4214
|
+
alpha?: Type<number | DivExpression>;
|
|
4215
4215
|
/**
|
|
4216
4216
|
* Element background. It can contain multiple layers.
|
|
4217
4217
|
*/
|
|
@@ -4223,7 +4223,7 @@ interface DivSeparatorProps {
|
|
|
4223
4223
|
/**
|
|
4224
4224
|
* Merges cells in a column of the [grid](div-grid.md) element.
|
|
4225
4225
|
*/
|
|
4226
|
-
column_span?: Type<number
|
|
4226
|
+
column_span?: Type<number | DivExpression>;
|
|
4227
4227
|
/**
|
|
4228
4228
|
* Separator display settings.
|
|
4229
4229
|
*/
|
|
@@ -4267,7 +4267,7 @@ interface DivSeparatorProps {
|
|
|
4267
4267
|
/**
|
|
4268
4268
|
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
4269
4269
|
*/
|
|
4270
|
-
row_span?: Type<number
|
|
4270
|
+
row_span?: Type<number | DivExpression>;
|
|
4271
4271
|
/**
|
|
4272
4272
|
* List of [actions](div-action.md) to be executed when selecting an element in
|
|
4273
4273
|
* [pager](div-pager.md).
|
|
@@ -4305,7 +4305,7 @@ interface DivSeparatorProps {
|
|
|
4305
4305
|
/**
|
|
4306
4306
|
* Element visibility.
|
|
4307
4307
|
*/
|
|
4308
|
-
visibility?: Type<DivVisibility
|
|
4308
|
+
visibility?: Type<DivVisibility | DivExpression>;
|
|
4309
4309
|
/**
|
|
4310
4310
|
* Tracking visibility of a single element. Not used if the `visibility_actions` parameter is
|
|
4311
4311
|
* set.
|
|
@@ -4328,11 +4328,11 @@ interface IDivSeparatorDelimiterStyle {
|
|
|
4328
4328
|
* Separator color. To prevent the separator from being displayed, set transparency in the alpha
|
|
4329
4329
|
* channel. For example, `#00FFFFFF`.
|
|
4330
4330
|
*/
|
|
4331
|
-
color?: Type<string
|
|
4331
|
+
color?: Type<string | DivExpression>;
|
|
4332
4332
|
/**
|
|
4333
4333
|
* Separator orientation:`vertical` — vertical;`horizontal` — horizontal.<
|
|
4334
4334
|
*/
|
|
4335
|
-
orientation?: Type<DelimiterStyleOrientation
|
|
4335
|
+
orientation?: Type<DelimiterStyleOrientation | DivExpression>;
|
|
4336
4336
|
}
|
|
4337
4337
|
declare type DelimiterStyleOrientation = 'vertical' | 'horizontal';
|
|
4338
4338
|
|
|
@@ -4343,15 +4343,15 @@ interface IDivShadow {
|
|
|
4343
4343
|
/**
|
|
4344
4344
|
* Shadow transparency.
|
|
4345
4345
|
*/
|
|
4346
|
-
alpha?: Type<number
|
|
4346
|
+
alpha?: Type<number | DivExpression>;
|
|
4347
4347
|
/**
|
|
4348
4348
|
* Blur intensity.
|
|
4349
4349
|
*/
|
|
4350
|
-
blur?: Type<number
|
|
4350
|
+
blur?: Type<number | DivExpression>;
|
|
4351
4351
|
/**
|
|
4352
4352
|
* Shadow color.
|
|
4353
4353
|
*/
|
|
4354
|
-
color?: Type<string
|
|
4354
|
+
color?: Type<string | DivExpression>;
|
|
4355
4355
|
/**
|
|
4356
4356
|
* Shadow offset.
|
|
4357
4357
|
*/
|
|
@@ -4369,7 +4369,7 @@ declare class DivShapeDrawable<T extends DivShapeDrawableProps = DivShapeDrawabl
|
|
|
4369
4369
|
/**
|
|
4370
4370
|
* Fill color.
|
|
4371
4371
|
*/
|
|
4372
|
-
color: Type<string
|
|
4372
|
+
color: Type<string | DivExpression>;
|
|
4373
4373
|
/**
|
|
4374
4374
|
* Shape.
|
|
4375
4375
|
*/
|
|
@@ -4384,7 +4384,7 @@ interface DivShapeDrawableProps {
|
|
|
4384
4384
|
/**
|
|
4385
4385
|
* Fill color.
|
|
4386
4386
|
*/
|
|
4387
|
-
color: Type<string
|
|
4387
|
+
color: Type<string | DivExpression>;
|
|
4388
4388
|
/**
|
|
4389
4389
|
* Shape.
|
|
4390
4390
|
*/
|
|
@@ -4414,20 +4414,20 @@ declare class DivSlideTransition<T extends DivSlideTransitionProps = DivSlideTra
|
|
|
4414
4414
|
/**
|
|
4415
4415
|
* Animation duration in milliseconds.
|
|
4416
4416
|
*/
|
|
4417
|
-
duration?: Type<number
|
|
4417
|
+
duration?: Type<number | DivExpression>;
|
|
4418
4418
|
/**
|
|
4419
4419
|
* Edge of a parent element for one of the action types:where the element will move from when
|
|
4420
4420
|
* appearing;where the element will move to when disappearing.
|
|
4421
4421
|
*/
|
|
4422
|
-
edge?: Type<DivSlideTransitionEdge
|
|
4422
|
+
edge?: Type<DivSlideTransitionEdge | DivExpression>;
|
|
4423
4423
|
/**
|
|
4424
4424
|
* Transition speed nature.
|
|
4425
4425
|
*/
|
|
4426
|
-
interpolator?: Type<DivAnimationInterpolator
|
|
4426
|
+
interpolator?: Type<DivAnimationInterpolator | DivExpression>;
|
|
4427
4427
|
/**
|
|
4428
4428
|
* Delay in milliseconds before animation starts.
|
|
4429
4429
|
*/
|
|
4430
|
-
start_delay?: Type<number
|
|
4430
|
+
start_delay?: Type<number | DivExpression>;
|
|
4431
4431
|
constructor(props?: Exact<DivSlideTransitionProps, T>);
|
|
4432
4432
|
}
|
|
4433
4433
|
interface DivSlideTransitionProps {
|
|
@@ -4440,20 +4440,20 @@ interface DivSlideTransitionProps {
|
|
|
4440
4440
|
/**
|
|
4441
4441
|
* Animation duration in milliseconds.
|
|
4442
4442
|
*/
|
|
4443
|
-
duration?: Type<number
|
|
4443
|
+
duration?: Type<number | DivExpression>;
|
|
4444
4444
|
/**
|
|
4445
4445
|
* Edge of a parent element for one of the action types:where the element will move from when
|
|
4446
4446
|
* appearing;where the element will move to when disappearing.
|
|
4447
4447
|
*/
|
|
4448
|
-
edge?: Type<DivSlideTransitionEdge
|
|
4448
|
+
edge?: Type<DivSlideTransitionEdge | DivExpression>;
|
|
4449
4449
|
/**
|
|
4450
4450
|
* Transition speed nature.
|
|
4451
4451
|
*/
|
|
4452
|
-
interpolator?: Type<DivAnimationInterpolator
|
|
4452
|
+
interpolator?: Type<DivAnimationInterpolator | DivExpression>;
|
|
4453
4453
|
/**
|
|
4454
4454
|
* Delay in milliseconds before animation starts.
|
|
4455
4455
|
*/
|
|
4456
|
-
start_delay?: Type<number
|
|
4456
|
+
start_delay?: Type<number | DivExpression>;
|
|
4457
4457
|
}
|
|
4458
4458
|
declare type DivSlideTransitionEdge = 'left' | 'top' | 'right' | 'bottom';
|
|
4459
4459
|
|
|
@@ -4470,15 +4470,15 @@ declare class DivSlider<T extends DivSliderProps = DivSliderProps> {
|
|
|
4470
4470
|
/**
|
|
4471
4471
|
* Horizontal alignment of an element inside the parent element.
|
|
4472
4472
|
*/
|
|
4473
|
-
alignment_horizontal?: Type<DivAlignmentHorizontal
|
|
4473
|
+
alignment_horizontal?: Type<DivAlignmentHorizontal | DivExpression>;
|
|
4474
4474
|
/**
|
|
4475
4475
|
* Vertical alignment of an element inside the parent element.
|
|
4476
4476
|
*/
|
|
4477
|
-
alignment_vertical?: Type<DivAlignmentVertical
|
|
4477
|
+
alignment_vertical?: Type<DivAlignmentVertical | DivExpression>;
|
|
4478
4478
|
/**
|
|
4479
4479
|
* Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
|
|
4480
4480
|
*/
|
|
4481
|
-
alpha?: Type<number
|
|
4481
|
+
alpha?: Type<number | DivExpression>;
|
|
4482
4482
|
/**
|
|
4483
4483
|
* Element background. It can contain multiple layers.
|
|
4484
4484
|
*/
|
|
@@ -4490,7 +4490,7 @@ declare class DivSlider<T extends DivSliderProps = DivSliderProps> {
|
|
|
4490
4490
|
/**
|
|
4491
4491
|
* Merges cells in a column of the [grid](div-grid.md) element.
|
|
4492
4492
|
*/
|
|
4493
|
-
column_span?: Type<number
|
|
4493
|
+
column_span?: Type<number | DivExpression>;
|
|
4494
4494
|
/**
|
|
4495
4495
|
* Extensions for additional processing of an element. The list of extensions is given in
|
|
4496
4496
|
* [DivExtension](../../extensions.dita).
|
|
@@ -4518,11 +4518,11 @@ declare class DivSlider<T extends DivSliderProps = DivSliderProps> {
|
|
|
4518
4518
|
/**
|
|
4519
4519
|
* Maximum value. It must be greater than the minimum value.
|
|
4520
4520
|
*/
|
|
4521
|
-
max_value?: Type<number
|
|
4521
|
+
max_value?: Type<number | DivExpression>;
|
|
4522
4522
|
/**
|
|
4523
4523
|
* Minimum value.
|
|
4524
4524
|
*/
|
|
4525
|
-
min_value?: Type<number
|
|
4525
|
+
min_value?: Type<number | DivExpression>;
|
|
4526
4526
|
/**
|
|
4527
4527
|
* Internal margins from the element stroke.
|
|
4528
4528
|
*/
|
|
@@ -4530,7 +4530,7 @@ declare class DivSlider<T extends DivSliderProps = DivSliderProps> {
|
|
|
4530
4530
|
/**
|
|
4531
4531
|
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
4532
4532
|
*/
|
|
4533
|
-
row_span?: Type<number
|
|
4533
|
+
row_span?: Type<number | DivExpression>;
|
|
4534
4534
|
/**
|
|
4535
4535
|
* Accessibility for the secondary thumb.
|
|
4536
4536
|
*/
|
|
@@ -4612,7 +4612,7 @@ declare class DivSlider<T extends DivSliderProps = DivSliderProps> {
|
|
|
4612
4612
|
/**
|
|
4613
4613
|
* Element visibility.
|
|
4614
4614
|
*/
|
|
4615
|
-
visibility?: Type<DivVisibility
|
|
4615
|
+
visibility?: Type<DivVisibility | DivExpression>;
|
|
4616
4616
|
/**
|
|
4617
4617
|
* Tracking visibility of a single element. Not used if the `visibility_actions` parameter is
|
|
4618
4618
|
* set.
|
|
@@ -4636,15 +4636,15 @@ interface DivSliderProps {
|
|
|
4636
4636
|
/**
|
|
4637
4637
|
* Horizontal alignment of an element inside the parent element.
|
|
4638
4638
|
*/
|
|
4639
|
-
alignment_horizontal?: Type<DivAlignmentHorizontal
|
|
4639
|
+
alignment_horizontal?: Type<DivAlignmentHorizontal | DivExpression>;
|
|
4640
4640
|
/**
|
|
4641
4641
|
* Vertical alignment of an element inside the parent element.
|
|
4642
4642
|
*/
|
|
4643
|
-
alignment_vertical?: Type<DivAlignmentVertical
|
|
4643
|
+
alignment_vertical?: Type<DivAlignmentVertical | DivExpression>;
|
|
4644
4644
|
/**
|
|
4645
4645
|
* Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
|
|
4646
4646
|
*/
|
|
4647
|
-
alpha?: Type<number
|
|
4647
|
+
alpha?: Type<number | DivExpression>;
|
|
4648
4648
|
/**
|
|
4649
4649
|
* Element background. It can contain multiple layers.
|
|
4650
4650
|
*/
|
|
@@ -4656,7 +4656,7 @@ interface DivSliderProps {
|
|
|
4656
4656
|
/**
|
|
4657
4657
|
* Merges cells in a column of the [grid](div-grid.md) element.
|
|
4658
4658
|
*/
|
|
4659
|
-
column_span?: Type<number
|
|
4659
|
+
column_span?: Type<number | DivExpression>;
|
|
4660
4660
|
/**
|
|
4661
4661
|
* Extensions for additional processing of an element. The list of extensions is given in
|
|
4662
4662
|
* [DivExtension](../../extensions.dita).
|
|
@@ -4684,11 +4684,11 @@ interface DivSliderProps {
|
|
|
4684
4684
|
/**
|
|
4685
4685
|
* Maximum value. It must be greater than the minimum value.
|
|
4686
4686
|
*/
|
|
4687
|
-
max_value?: Type<number
|
|
4687
|
+
max_value?: Type<number | DivExpression>;
|
|
4688
4688
|
/**
|
|
4689
4689
|
* Minimum value.
|
|
4690
4690
|
*/
|
|
4691
|
-
min_value?: Type<number
|
|
4691
|
+
min_value?: Type<number | DivExpression>;
|
|
4692
4692
|
/**
|
|
4693
4693
|
* Internal margins from the element stroke.
|
|
4694
4694
|
*/
|
|
@@ -4696,7 +4696,7 @@ interface DivSliderProps {
|
|
|
4696
4696
|
/**
|
|
4697
4697
|
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
4698
4698
|
*/
|
|
4699
|
-
row_span?: Type<number
|
|
4699
|
+
row_span?: Type<number | DivExpression>;
|
|
4700
4700
|
/**
|
|
4701
4701
|
* Accessibility for the secondary thumb.
|
|
4702
4702
|
*/
|
|
@@ -4778,7 +4778,7 @@ interface DivSliderProps {
|
|
|
4778
4778
|
/**
|
|
4779
4779
|
* Element visibility.
|
|
4780
4780
|
*/
|
|
4781
|
-
visibility?: Type<DivVisibility
|
|
4781
|
+
visibility?: Type<DivVisibility | DivExpression>;
|
|
4782
4782
|
/**
|
|
4783
4783
|
* Tracking visibility of a single element. Not used if the `visibility_actions` parameter is
|
|
4784
4784
|
* set.
|
|
@@ -4797,12 +4797,12 @@ interface IDivSliderTextStyle {
|
|
|
4797
4797
|
/**
|
|
4798
4798
|
* Font size.
|
|
4799
4799
|
*/
|
|
4800
|
-
font_size: Type<number
|
|
4801
|
-
font_size_unit?: Type<DivSizeUnit
|
|
4800
|
+
font_size: Type<number | DivExpression>;
|
|
4801
|
+
font_size_unit?: Type<DivSizeUnit | DivExpression>;
|
|
4802
4802
|
/**
|
|
4803
4803
|
* Style.
|
|
4804
4804
|
*/
|
|
4805
|
-
font_weight?: Type<DivFontWeight
|
|
4805
|
+
font_weight?: Type<DivFontWeight | DivExpression>;
|
|
4806
4806
|
/**
|
|
4807
4807
|
* Shift relative to the center.
|
|
4808
4808
|
*/
|
|
@@ -4810,7 +4810,7 @@ interface IDivSliderTextStyle {
|
|
|
4810
4810
|
/**
|
|
4811
4811
|
* Text color.
|
|
4812
4812
|
*/
|
|
4813
|
-
text_color?: Type<string
|
|
4813
|
+
text_color?: Type<string | DivExpression>;
|
|
4814
4814
|
}
|
|
4815
4815
|
|
|
4816
4816
|
/**
|
|
@@ -4822,14 +4822,14 @@ declare class DivSolidBackground<T extends DivSolidBackgroundProps = DivSolidBac
|
|
|
4822
4822
|
/**
|
|
4823
4823
|
* Color.
|
|
4824
4824
|
*/
|
|
4825
|
-
color: Type<string
|
|
4825
|
+
color: Type<string | DivExpression>;
|
|
4826
4826
|
constructor(props: Exact<DivSolidBackgroundProps, T>);
|
|
4827
4827
|
}
|
|
4828
4828
|
interface DivSolidBackgroundProps {
|
|
4829
4829
|
/**
|
|
4830
4830
|
* Color.
|
|
4831
4831
|
*/
|
|
4832
|
-
color: Type<string
|
|
4832
|
+
color: Type<string | DivExpression>;
|
|
4833
4833
|
}
|
|
4834
4834
|
|
|
4835
4835
|
/**
|
|
@@ -4845,15 +4845,15 @@ declare class DivState<T extends DivStateProps = DivStateProps> {
|
|
|
4845
4845
|
/**
|
|
4846
4846
|
* Horizontal alignment of an element inside the parent element.
|
|
4847
4847
|
*/
|
|
4848
|
-
alignment_horizontal?: Type<DivAlignmentHorizontal
|
|
4848
|
+
alignment_horizontal?: Type<DivAlignmentHorizontal | DivExpression>;
|
|
4849
4849
|
/**
|
|
4850
4850
|
* Vertical alignment of an element inside the parent element.
|
|
4851
4851
|
*/
|
|
4852
|
-
alignment_vertical?: Type<DivAlignmentVertical
|
|
4852
|
+
alignment_vertical?: Type<DivAlignmentVertical | DivExpression>;
|
|
4853
4853
|
/**
|
|
4854
4854
|
* Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
|
|
4855
4855
|
*/
|
|
4856
|
-
alpha?: Type<number
|
|
4856
|
+
alpha?: Type<number | DivExpression>;
|
|
4857
4857
|
/**
|
|
4858
4858
|
* Element background. It can contain multiple layers.
|
|
4859
4859
|
*/
|
|
@@ -4865,12 +4865,12 @@ declare class DivState<T extends DivStateProps = DivStateProps> {
|
|
|
4865
4865
|
/**
|
|
4866
4866
|
* Merges cells in a column of the [grid](div-grid.md) element.
|
|
4867
4867
|
*/
|
|
4868
|
-
column_span?: Type<number
|
|
4868
|
+
column_span?: Type<number | DivExpression>;
|
|
4869
4869
|
/**
|
|
4870
4870
|
* ID of the status that will be set by default. If the parameter isnt set, the first state of
|
|
4871
4871
|
* the `states` will be set.
|
|
4872
4872
|
*/
|
|
4873
|
-
default_state_id?: Type<string
|
|
4873
|
+
default_state_id?: Type<string | DivExpression>;
|
|
4874
4874
|
/**
|
|
4875
4875
|
* ID of an element to search in the hierarchy. The ID must be unique at one hierarchy level.
|
|
4876
4876
|
*
|
|
@@ -4908,7 +4908,7 @@ declare class DivState<T extends DivStateProps = DivStateProps> {
|
|
|
4908
4908
|
/**
|
|
4909
4909
|
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
4910
4910
|
*/
|
|
4911
|
-
row_span?: Type<number
|
|
4911
|
+
row_span?: Type<number | DivExpression>;
|
|
4912
4912
|
/**
|
|
4913
4913
|
* List of [actions](div-action.md) to be executed when selecting an element in
|
|
4914
4914
|
* [pager](div-pager.md).
|
|
@@ -4935,7 +4935,7 @@ declare class DivState<T extends DivStateProps = DivStateProps> {
|
|
|
4935
4935
|
*
|
|
4936
4936
|
* @deprecated
|
|
4937
4937
|
*/
|
|
4938
|
-
transition_animation_selector?: Type<DivTransitionSelector
|
|
4938
|
+
transition_animation_selector?: Type<DivTransitionSelector | DivExpression>;
|
|
4939
4939
|
/**
|
|
4940
4940
|
* Change animation. It is played when the position or size of an element changes in the new
|
|
4941
4941
|
* layout.
|
|
@@ -4958,7 +4958,7 @@ declare class DivState<T extends DivStateProps = DivStateProps> {
|
|
|
4958
4958
|
/**
|
|
4959
4959
|
* Element visibility.
|
|
4960
4960
|
*/
|
|
4961
|
-
visibility?: Type<DivVisibility
|
|
4961
|
+
visibility?: Type<DivVisibility | DivExpression>;
|
|
4962
4962
|
/**
|
|
4963
4963
|
* Tracking visibility of a single element. Not used if the `visibility_actions` parameter is
|
|
4964
4964
|
* set.
|
|
@@ -4982,15 +4982,15 @@ interface DivStateProps {
|
|
|
4982
4982
|
/**
|
|
4983
4983
|
* Horizontal alignment of an element inside the parent element.
|
|
4984
4984
|
*/
|
|
4985
|
-
alignment_horizontal?: Type<DivAlignmentHorizontal
|
|
4985
|
+
alignment_horizontal?: Type<DivAlignmentHorizontal | DivExpression>;
|
|
4986
4986
|
/**
|
|
4987
4987
|
* Vertical alignment of an element inside the parent element.
|
|
4988
4988
|
*/
|
|
4989
|
-
alignment_vertical?: Type<DivAlignmentVertical
|
|
4989
|
+
alignment_vertical?: Type<DivAlignmentVertical | DivExpression>;
|
|
4990
4990
|
/**
|
|
4991
4991
|
* Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
|
|
4992
4992
|
*/
|
|
4993
|
-
alpha?: Type<number
|
|
4993
|
+
alpha?: Type<number | DivExpression>;
|
|
4994
4994
|
/**
|
|
4995
4995
|
* Element background. It can contain multiple layers.
|
|
4996
4996
|
*/
|
|
@@ -5002,12 +5002,12 @@ interface DivStateProps {
|
|
|
5002
5002
|
/**
|
|
5003
5003
|
* Merges cells in a column of the [grid](div-grid.md) element.
|
|
5004
5004
|
*/
|
|
5005
|
-
column_span?: Type<number
|
|
5005
|
+
column_span?: Type<number | DivExpression>;
|
|
5006
5006
|
/**
|
|
5007
5007
|
* ID of the status that will be set by default. If the parameter isnt set, the first state of
|
|
5008
5008
|
* the `states` will be set.
|
|
5009
5009
|
*/
|
|
5010
|
-
default_state_id?: Type<string
|
|
5010
|
+
default_state_id?: Type<string | DivExpression>;
|
|
5011
5011
|
/**
|
|
5012
5012
|
* ID of an element to search in the hierarchy. The ID must be unique at one hierarchy level.
|
|
5013
5013
|
*
|
|
@@ -5045,7 +5045,7 @@ interface DivStateProps {
|
|
|
5045
5045
|
/**
|
|
5046
5046
|
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
5047
5047
|
*/
|
|
5048
|
-
row_span?: Type<number
|
|
5048
|
+
row_span?: Type<number | DivExpression>;
|
|
5049
5049
|
/**
|
|
5050
5050
|
* List of [actions](div-action.md) to be executed when selecting an element in
|
|
5051
5051
|
* [pager](div-pager.md).
|
|
@@ -5072,7 +5072,7 @@ interface DivStateProps {
|
|
|
5072
5072
|
*
|
|
5073
5073
|
* @deprecated
|
|
5074
5074
|
*/
|
|
5075
|
-
transition_animation_selector?: Type<DivTransitionSelector
|
|
5075
|
+
transition_animation_selector?: Type<DivTransitionSelector | DivExpression>;
|
|
5076
5076
|
/**
|
|
5077
5077
|
* Change animation. It is played when the position or size of an element changes in the new
|
|
5078
5078
|
* layout.
|
|
@@ -5095,7 +5095,7 @@ interface DivStateProps {
|
|
|
5095
5095
|
/**
|
|
5096
5096
|
* Element visibility.
|
|
5097
5097
|
*/
|
|
5098
|
-
visibility?: Type<DivVisibility
|
|
5098
|
+
visibility?: Type<DivVisibility | DivExpression>;
|
|
5099
5099
|
/**
|
|
5100
5100
|
* Tracking visibility of a single element. Not used if the `visibility_actions` parameter is
|
|
5101
5101
|
* set.
|
|
@@ -5146,12 +5146,12 @@ interface IDivStroke {
|
|
|
5146
5146
|
/**
|
|
5147
5147
|
* Stroke color.
|
|
5148
5148
|
*/
|
|
5149
|
-
color: Type<string
|
|
5150
|
-
unit?: Type<DivSizeUnit
|
|
5149
|
+
color: Type<string | DivExpression>;
|
|
5150
|
+
unit?: Type<DivSizeUnit | DivExpression>;
|
|
5151
5151
|
/**
|
|
5152
5152
|
* Stroke width.
|
|
5153
5153
|
*/
|
|
5154
|
-
width?: Type<number
|
|
5154
|
+
width?: Type<number | DivExpression>;
|
|
5155
5155
|
}
|
|
5156
5156
|
|
|
5157
5157
|
/**
|
|
@@ -5168,15 +5168,15 @@ declare class DivTabs<T extends DivTabsProps = DivTabsProps> {
|
|
|
5168
5168
|
/**
|
|
5169
5169
|
* Horizontal alignment of an element inside the parent element.
|
|
5170
5170
|
*/
|
|
5171
|
-
alignment_horizontal?: Type<DivAlignmentHorizontal
|
|
5171
|
+
alignment_horizontal?: Type<DivAlignmentHorizontal | DivExpression>;
|
|
5172
5172
|
/**
|
|
5173
5173
|
* Vertical alignment of an element inside the parent element.
|
|
5174
5174
|
*/
|
|
5175
|
-
alignment_vertical?: Type<DivAlignmentVertical
|
|
5175
|
+
alignment_vertical?: Type<DivAlignmentVertical | DivExpression>;
|
|
5176
5176
|
/**
|
|
5177
5177
|
* Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
|
|
5178
5178
|
*/
|
|
5179
|
-
alpha?: Type<number
|
|
5179
|
+
alpha?: Type<number | DivExpression>;
|
|
5180
5180
|
/**
|
|
5181
5181
|
* Element background. It can contain multiple layers.
|
|
5182
5182
|
*/
|
|
@@ -5188,11 +5188,11 @@ declare class DivTabs<T extends DivTabsProps = DivTabsProps> {
|
|
|
5188
5188
|
/**
|
|
5189
5189
|
* Merges cells in a column of the [grid](div-grid.md) element.
|
|
5190
5190
|
*/
|
|
5191
|
-
column_span?: Type<number
|
|
5191
|
+
column_span?: Type<number | DivExpression>;
|
|
5192
5192
|
/**
|
|
5193
5193
|
* Updating height when changing the active element. In the browser, the value is always `true`.
|
|
5194
5194
|
*/
|
|
5195
|
-
dynamic_height?: Type<IntBoolean
|
|
5195
|
+
dynamic_height?: Type<IntBoolean | DivExpression>;
|
|
5196
5196
|
/**
|
|
5197
5197
|
* Extensions for additional processing of an element. The list of extensions is given in
|
|
5198
5198
|
* [DivExtension](../../extensions.dita).
|
|
@@ -5205,7 +5205,7 @@ declare class DivTabs<T extends DivTabsProps = DivTabsProps> {
|
|
|
5205
5205
|
/**
|
|
5206
5206
|
* A separating line between tabs and contents.
|
|
5207
5207
|
*/
|
|
5208
|
-
has_separator?: Type<IntBoolean
|
|
5208
|
+
has_separator?: Type<IntBoolean | DivExpression>;
|
|
5209
5209
|
/**
|
|
5210
5210
|
* Element height. For Android: if there is text in this or in a child element, specify height in
|
|
5211
5211
|
* `sp` to scale the element together with the text. To learn more about units of size
|
|
@@ -5240,11 +5240,11 @@ declare class DivTabs<T extends DivTabsProps = DivTabsProps> {
|
|
|
5240
5240
|
/**
|
|
5241
5241
|
* If the parameter is enabled, tabs won't transmit the scroll gesture to the parent element.
|
|
5242
5242
|
*/
|
|
5243
|
-
restrict_parent_scroll?: Type<IntBoolean
|
|
5243
|
+
restrict_parent_scroll?: Type<IntBoolean | DivExpression>;
|
|
5244
5244
|
/**
|
|
5245
5245
|
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
5246
5246
|
*/
|
|
5247
|
-
row_span?: Type<number
|
|
5247
|
+
row_span?: Type<number | DivExpression>;
|
|
5248
5248
|
/**
|
|
5249
5249
|
* List of [actions](div-action.md) to be executed when selecting an element in
|
|
5250
5250
|
* [pager](div-pager.md).
|
|
@@ -5253,11 +5253,11 @@ declare class DivTabs<T extends DivTabsProps = DivTabsProps> {
|
|
|
5253
5253
|
/**
|
|
5254
5254
|
* Ordinal number of the tab that will be opened by default.
|
|
5255
5255
|
*/
|
|
5256
|
-
selected_tab?: Type<number
|
|
5256
|
+
selected_tab?: Type<number | DivExpression>;
|
|
5257
5257
|
/**
|
|
5258
5258
|
* Separator color.
|
|
5259
5259
|
*/
|
|
5260
|
-
separator_color?: Type<string
|
|
5260
|
+
separator_color?: Type<string | DivExpression>;
|
|
5261
5261
|
/**
|
|
5262
5262
|
* Indents from the separating line. Not used if `has_separator = false`.
|
|
5263
5263
|
*/
|
|
@@ -5265,7 +5265,7 @@ declare class DivTabs<T extends DivTabsProps = DivTabsProps> {
|
|
|
5265
5265
|
/**
|
|
5266
5266
|
* Switching tabs by scrolling through the contents.
|
|
5267
5267
|
*/
|
|
5268
|
-
switch_tabs_by_content_swipe_enabled?: Type<IntBoolean
|
|
5268
|
+
switch_tabs_by_content_swipe_enabled?: Type<IntBoolean | DivExpression>;
|
|
5269
5269
|
/**
|
|
5270
5270
|
* Design style of tab titles.
|
|
5271
5271
|
*/
|
|
@@ -5306,7 +5306,7 @@ declare class DivTabs<T extends DivTabsProps = DivTabsProps> {
|
|
|
5306
5306
|
/**
|
|
5307
5307
|
* Element visibility.
|
|
5308
5308
|
*/
|
|
5309
|
-
visibility?: Type<DivVisibility
|
|
5309
|
+
visibility?: Type<DivVisibility | DivExpression>;
|
|
5310
5310
|
/**
|
|
5311
5311
|
* Tracking visibility of a single element. Not used if the `visibility_actions` parameter is
|
|
5312
5312
|
* set.
|
|
@@ -5330,15 +5330,15 @@ interface DivTabsProps {
|
|
|
5330
5330
|
/**
|
|
5331
5331
|
* Horizontal alignment of an element inside the parent element.
|
|
5332
5332
|
*/
|
|
5333
|
-
alignment_horizontal?: Type<DivAlignmentHorizontal
|
|
5333
|
+
alignment_horizontal?: Type<DivAlignmentHorizontal | DivExpression>;
|
|
5334
5334
|
/**
|
|
5335
5335
|
* Vertical alignment of an element inside the parent element.
|
|
5336
5336
|
*/
|
|
5337
|
-
alignment_vertical?: Type<DivAlignmentVertical
|
|
5337
|
+
alignment_vertical?: Type<DivAlignmentVertical | DivExpression>;
|
|
5338
5338
|
/**
|
|
5339
5339
|
* Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
|
|
5340
5340
|
*/
|
|
5341
|
-
alpha?: Type<number
|
|
5341
|
+
alpha?: Type<number | DivExpression>;
|
|
5342
5342
|
/**
|
|
5343
5343
|
* Element background. It can contain multiple layers.
|
|
5344
5344
|
*/
|
|
@@ -5350,11 +5350,11 @@ interface DivTabsProps {
|
|
|
5350
5350
|
/**
|
|
5351
5351
|
* Merges cells in a column of the [grid](div-grid.md) element.
|
|
5352
5352
|
*/
|
|
5353
|
-
column_span?: Type<number
|
|
5353
|
+
column_span?: Type<number | DivExpression>;
|
|
5354
5354
|
/**
|
|
5355
5355
|
* Updating height when changing the active element. In the browser, the value is always `true`.
|
|
5356
5356
|
*/
|
|
5357
|
-
dynamic_height?: Type<IntBoolean
|
|
5357
|
+
dynamic_height?: Type<IntBoolean | DivExpression>;
|
|
5358
5358
|
/**
|
|
5359
5359
|
* Extensions for additional processing of an element. The list of extensions is given in
|
|
5360
5360
|
* [DivExtension](../../extensions.dita).
|
|
@@ -5367,7 +5367,7 @@ interface DivTabsProps {
|
|
|
5367
5367
|
/**
|
|
5368
5368
|
* A separating line between tabs and contents.
|
|
5369
5369
|
*/
|
|
5370
|
-
has_separator?: Type<IntBoolean
|
|
5370
|
+
has_separator?: Type<IntBoolean | DivExpression>;
|
|
5371
5371
|
/**
|
|
5372
5372
|
* Element height. For Android: if there is text in this or in a child element, specify height in
|
|
5373
5373
|
* `sp` to scale the element together with the text. To learn more about units of size
|
|
@@ -5402,11 +5402,11 @@ interface DivTabsProps {
|
|
|
5402
5402
|
/**
|
|
5403
5403
|
* If the parameter is enabled, tabs won't transmit the scroll gesture to the parent element.
|
|
5404
5404
|
*/
|
|
5405
|
-
restrict_parent_scroll?: Type<IntBoolean
|
|
5405
|
+
restrict_parent_scroll?: Type<IntBoolean | DivExpression>;
|
|
5406
5406
|
/**
|
|
5407
5407
|
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
5408
5408
|
*/
|
|
5409
|
-
row_span?: Type<number
|
|
5409
|
+
row_span?: Type<number | DivExpression>;
|
|
5410
5410
|
/**
|
|
5411
5411
|
* List of [actions](div-action.md) to be executed when selecting an element in
|
|
5412
5412
|
* [pager](div-pager.md).
|
|
@@ -5415,11 +5415,11 @@ interface DivTabsProps {
|
|
|
5415
5415
|
/**
|
|
5416
5416
|
* Ordinal number of the tab that will be opened by default.
|
|
5417
5417
|
*/
|
|
5418
|
-
selected_tab?: Type<number
|
|
5418
|
+
selected_tab?: Type<number | DivExpression>;
|
|
5419
5419
|
/**
|
|
5420
5420
|
* Separator color.
|
|
5421
5421
|
*/
|
|
5422
|
-
separator_color?: Type<string
|
|
5422
|
+
separator_color?: Type<string | DivExpression>;
|
|
5423
5423
|
/**
|
|
5424
5424
|
* Indents from the separating line. Not used if `has_separator = false`.
|
|
5425
5425
|
*/
|
|
@@ -5427,7 +5427,7 @@ interface DivTabsProps {
|
|
|
5427
5427
|
/**
|
|
5428
5428
|
* Switching tabs by scrolling through the contents.
|
|
5429
5429
|
*/
|
|
5430
|
-
switch_tabs_by_content_swipe_enabled?: Type<IntBoolean
|
|
5430
|
+
switch_tabs_by_content_swipe_enabled?: Type<IntBoolean | DivExpression>;
|
|
5431
5431
|
/**
|
|
5432
5432
|
* Design style of tab titles.
|
|
5433
5433
|
*/
|
|
@@ -5468,7 +5468,7 @@ interface DivTabsProps {
|
|
|
5468
5468
|
/**
|
|
5469
5469
|
* Element visibility.
|
|
5470
5470
|
*/
|
|
5471
|
-
visibility?: Type<DivVisibility
|
|
5471
|
+
visibility?: Type<DivVisibility | DivExpression>;
|
|
5472
5472
|
/**
|
|
5473
5473
|
* Tracking visibility of a single element. Not used if the `visibility_actions` parameter is
|
|
5474
5474
|
* set.
|
|
@@ -5494,7 +5494,7 @@ interface IDivTabsItem {
|
|
|
5494
5494
|
/**
|
|
5495
5495
|
* Tab title.
|
|
5496
5496
|
*/
|
|
5497
|
-
title: Type<string
|
|
5497
|
+
title: Type<string | DivExpression>;
|
|
5498
5498
|
/**
|
|
5499
5499
|
* Action when clicking on the active tab title.
|
|
5500
5500
|
*/
|
|
@@ -5507,28 +5507,28 @@ interface IDivTabsTabTitleStyle {
|
|
|
5507
5507
|
/**
|
|
5508
5508
|
* Background color of the active tab title.
|
|
5509
5509
|
*/
|
|
5510
|
-
active_background_color?: Type<string
|
|
5510
|
+
active_background_color?: Type<string | DivExpression>;
|
|
5511
5511
|
/**
|
|
5512
5512
|
* Active tab title style.
|
|
5513
5513
|
*/
|
|
5514
|
-
active_font_weight?: Type<DivFontWeight
|
|
5514
|
+
active_font_weight?: Type<DivFontWeight | DivExpression>;
|
|
5515
5515
|
/**
|
|
5516
5516
|
* Color of the active tab title text.
|
|
5517
5517
|
*/
|
|
5518
|
-
active_text_color?: Type<string
|
|
5518
|
+
active_text_color?: Type<string | DivExpression>;
|
|
5519
5519
|
/**
|
|
5520
5520
|
* Duration of active title change animation.
|
|
5521
5521
|
*/
|
|
5522
|
-
animation_duration?: Type<number
|
|
5522
|
+
animation_duration?: Type<number | DivExpression>;
|
|
5523
5523
|
/**
|
|
5524
5524
|
* Active title change animation.
|
|
5525
5525
|
*/
|
|
5526
|
-
animation_type?: Type<TabTitleStyleAnimationType
|
|
5526
|
+
animation_type?: Type<TabTitleStyleAnimationType | DivExpression>;
|
|
5527
5527
|
/**
|
|
5528
5528
|
* Title corner rounding radius. If the parameter isn't specified, the rounding is maximum (half
|
|
5529
5529
|
* of the smallest size). Not used if the `corners_radius` parameter is set.
|
|
5530
5530
|
*/
|
|
5531
|
-
corner_radius?: Type<number
|
|
5531
|
+
corner_radius?: Type<number | DivExpression>;
|
|
5532
5532
|
/**
|
|
5533
5533
|
* Rounding radii of corners of multiple titles. Empty values are replaced by `corner_radius`.
|
|
5534
5534
|
*/
|
|
@@ -5537,45 +5537,45 @@ interface IDivTabsTabTitleStyle {
|
|
|
5537
5537
|
* Font family:`text` — a standard text font;`display` — a family of fonts with a large font
|
|
5538
5538
|
* size.
|
|
5539
5539
|
*/
|
|
5540
|
-
font_family?: Type<DivFontFamily
|
|
5540
|
+
font_family?: Type<DivFontFamily | DivExpression>;
|
|
5541
5541
|
/**
|
|
5542
5542
|
* Title font size.
|
|
5543
5543
|
*/
|
|
5544
|
-
font_size?: Type<number
|
|
5544
|
+
font_size?: Type<number | DivExpression>;
|
|
5545
5545
|
/**
|
|
5546
5546
|
* Units of title font size measurement.
|
|
5547
5547
|
*/
|
|
5548
|
-
font_size_unit?: Type<DivSizeUnit
|
|
5548
|
+
font_size_unit?: Type<DivSizeUnit | DivExpression>;
|
|
5549
5549
|
/**
|
|
5550
5550
|
* Style. Use `active_font_weight` and `inactive_font_weight` instead.
|
|
5551
5551
|
*
|
|
5552
5552
|
* @deprecated
|
|
5553
5553
|
*/
|
|
5554
|
-
font_weight?: Type<DivFontWeight
|
|
5554
|
+
font_weight?: Type<DivFontWeight | DivExpression>;
|
|
5555
5555
|
/**
|
|
5556
5556
|
* Background color of the inactive tab title.
|
|
5557
5557
|
*/
|
|
5558
|
-
inactive_background_color?: Type<string
|
|
5558
|
+
inactive_background_color?: Type<string | DivExpression>;
|
|
5559
5559
|
/**
|
|
5560
5560
|
* Inactive tab title style.
|
|
5561
5561
|
*/
|
|
5562
|
-
inactive_font_weight?: Type<DivFontWeight
|
|
5562
|
+
inactive_font_weight?: Type<DivFontWeight | DivExpression>;
|
|
5563
5563
|
/**
|
|
5564
5564
|
* Color of the inactive tab title text.
|
|
5565
5565
|
*/
|
|
5566
|
-
inactive_text_color?: Type<string
|
|
5566
|
+
inactive_text_color?: Type<string | DivExpression>;
|
|
5567
5567
|
/**
|
|
5568
5568
|
* Spacing between neighbouring tab titles.
|
|
5569
5569
|
*/
|
|
5570
|
-
item_spacing?: Type<number
|
|
5570
|
+
item_spacing?: Type<number | DivExpression>;
|
|
5571
5571
|
/**
|
|
5572
5572
|
* Spacing between title characters.
|
|
5573
5573
|
*/
|
|
5574
|
-
letter_spacing?: Type<number
|
|
5574
|
+
letter_spacing?: Type<number | DivExpression>;
|
|
5575
5575
|
/**
|
|
5576
5576
|
* Line spacing of the text range. The count is taken from the font baseline.
|
|
5577
5577
|
*/
|
|
5578
|
-
line_height?: Type<number
|
|
5578
|
+
line_height?: Type<number | DivExpression>;
|
|
5579
5579
|
/**
|
|
5580
5580
|
* Indents around the tab title.
|
|
5581
5581
|
*/
|
|
@@ -5608,19 +5608,19 @@ declare class DivText<T extends DivTextProps = DivTextProps> {
|
|
|
5608
5608
|
/**
|
|
5609
5609
|
* Horizontal alignment of an element inside the parent element.
|
|
5610
5610
|
*/
|
|
5611
|
-
alignment_horizontal?: Type<DivAlignmentHorizontal
|
|
5611
|
+
alignment_horizontal?: Type<DivAlignmentHorizontal | DivExpression>;
|
|
5612
5612
|
/**
|
|
5613
5613
|
* Vertical alignment of an element inside the parent element.
|
|
5614
5614
|
*/
|
|
5615
|
-
alignment_vertical?: Type<DivAlignmentVertical
|
|
5615
|
+
alignment_vertical?: Type<DivAlignmentVertical | DivExpression>;
|
|
5616
5616
|
/**
|
|
5617
5617
|
* Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
|
|
5618
5618
|
*/
|
|
5619
|
-
alpha?: Type<number
|
|
5619
|
+
alpha?: Type<number | DivExpression>;
|
|
5620
5620
|
/**
|
|
5621
5621
|
* Automatic text cropping to fit the container size.
|
|
5622
5622
|
*/
|
|
5623
|
-
auto_ellipsize?: Type<IntBoolean
|
|
5623
|
+
auto_ellipsize?: Type<IntBoolean | DivExpression>;
|
|
5624
5624
|
/**
|
|
5625
5625
|
* Element background. It can contain multiple layers.
|
|
5626
5626
|
*/
|
|
@@ -5632,7 +5632,7 @@ declare class DivText<T extends DivTextProps = DivTextProps> {
|
|
|
5632
5632
|
/**
|
|
5633
5633
|
* Merges cells in a column of the [grid](div-grid.md) element.
|
|
5634
5634
|
*/
|
|
5635
|
-
column_span?: Type<number
|
|
5635
|
+
column_span?: Type<number | DivExpression>;
|
|
5636
5636
|
/**
|
|
5637
5637
|
* Action when double-clicking on an element.
|
|
5638
5638
|
*/
|
|
@@ -5653,21 +5653,21 @@ declare class DivText<T extends DivTextProps = DivTextProps> {
|
|
|
5653
5653
|
/**
|
|
5654
5654
|
* Text color when focusing on the element.
|
|
5655
5655
|
*/
|
|
5656
|
-
focused_text_color?: Type<string
|
|
5656
|
+
focused_text_color?: Type<string | DivExpression>;
|
|
5657
5657
|
/**
|
|
5658
5658
|
* Font family:`text` — a standard text font;`display` — a family of fonts with a large font
|
|
5659
5659
|
* size.
|
|
5660
5660
|
*/
|
|
5661
|
-
font_family?: Type<DivFontFamily
|
|
5661
|
+
font_family?: Type<DivFontFamily | DivExpression>;
|
|
5662
5662
|
/**
|
|
5663
5663
|
* Font size.
|
|
5664
5664
|
*/
|
|
5665
|
-
font_size?: Type<number
|
|
5666
|
-
font_size_unit?: Type<DivSizeUnit
|
|
5665
|
+
font_size?: Type<number | DivExpression>;
|
|
5666
|
+
font_size_unit?: Type<DivSizeUnit | DivExpression>;
|
|
5667
5667
|
/**
|
|
5668
5668
|
* Style.
|
|
5669
5669
|
*/
|
|
5670
|
-
font_weight?: Type<DivFontWeight
|
|
5670
|
+
font_weight?: Type<DivFontWeight | DivExpression>;
|
|
5671
5671
|
/**
|
|
5672
5672
|
* Element height. For Android: if there is text in this or in a child element, specify height in
|
|
5673
5673
|
* `sp` to scale the element together with the text. To learn more about units of size
|
|
@@ -5686,11 +5686,11 @@ declare class DivText<T extends DivTextProps = DivTextProps> {
|
|
|
5686
5686
|
/**
|
|
5687
5687
|
* Spacing between characters.
|
|
5688
5688
|
*/
|
|
5689
|
-
letter_spacing?: Type<number
|
|
5689
|
+
letter_spacing?: Type<number | DivExpression>;
|
|
5690
5690
|
/**
|
|
5691
5691
|
* Line spacing of the text range. The count is taken from the font baseline.
|
|
5692
5692
|
*/
|
|
5693
|
-
line_height?: Type<number
|
|
5693
|
+
line_height?: Type<number | DivExpression>;
|
|
5694
5694
|
/**
|
|
5695
5695
|
* Action when long-clicking on an element.
|
|
5696
5696
|
*/
|
|
@@ -5702,11 +5702,11 @@ declare class DivText<T extends DivTextProps = DivTextProps> {
|
|
|
5702
5702
|
/**
|
|
5703
5703
|
* Maximum number of lines not to be cropped when breaking the limits.
|
|
5704
5704
|
*/
|
|
5705
|
-
max_lines?: Type<number
|
|
5705
|
+
max_lines?: Type<number | DivExpression>;
|
|
5706
5706
|
/**
|
|
5707
5707
|
* Minimum number of cropped lines when breaking the limits.
|
|
5708
5708
|
*/
|
|
5709
|
-
min_hidden_lines?: Type<number
|
|
5709
|
+
min_hidden_lines?: Type<number | DivExpression>;
|
|
5710
5710
|
/**
|
|
5711
5711
|
* Internal margins from the element stroke.
|
|
5712
5712
|
*/
|
|
@@ -5719,11 +5719,11 @@ declare class DivText<T extends DivTextProps = DivTextProps> {
|
|
|
5719
5719
|
/**
|
|
5720
5720
|
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
5721
5721
|
*/
|
|
5722
|
-
row_span?: Type<number
|
|
5722
|
+
row_span?: Type<number | DivExpression>;
|
|
5723
5723
|
/**
|
|
5724
5724
|
* Selecting and copying text.
|
|
5725
5725
|
*/
|
|
5726
|
-
selectable?: Type<IntBoolean
|
|
5726
|
+
selectable?: Type<IntBoolean | DivExpression>;
|
|
5727
5727
|
/**
|
|
5728
5728
|
* List of [actions](div-action.md) to be executed when selecting an element in
|
|
5729
5729
|
* [pager](div-pager.md).
|
|
@@ -5732,23 +5732,23 @@ declare class DivText<T extends DivTextProps = DivTextProps> {
|
|
|
5732
5732
|
/**
|
|
5733
5733
|
* Strikethrough.
|
|
5734
5734
|
*/
|
|
5735
|
-
strike?: Type<DivLineStyle
|
|
5735
|
+
strike?: Type<DivLineStyle | DivExpression>;
|
|
5736
5736
|
/**
|
|
5737
5737
|
* Text.
|
|
5738
5738
|
*/
|
|
5739
|
-
text: Type<string
|
|
5739
|
+
text: Type<string | DivExpression>;
|
|
5740
5740
|
/**
|
|
5741
5741
|
* Horizontal text alignment.
|
|
5742
5742
|
*/
|
|
5743
|
-
text_alignment_horizontal?: Type<DivAlignmentHorizontal
|
|
5743
|
+
text_alignment_horizontal?: Type<DivAlignmentHorizontal | DivExpression>;
|
|
5744
5744
|
/**
|
|
5745
5745
|
* Vertical text alignment.
|
|
5746
5746
|
*/
|
|
5747
|
-
text_alignment_vertical?: Type<DivAlignmentVertical
|
|
5747
|
+
text_alignment_vertical?: Type<DivAlignmentVertical | DivExpression>;
|
|
5748
5748
|
/**
|
|
5749
5749
|
* Text color. Not used if the `text_gradient` parameter is set.
|
|
5750
5750
|
*/
|
|
5751
|
-
text_color?: Type<string
|
|
5751
|
+
text_color?: Type<string | DivExpression>;
|
|
5752
5752
|
/**
|
|
5753
5753
|
* Gradient text color.
|
|
5754
5754
|
*/
|
|
@@ -5787,15 +5787,15 @@ declare class DivText<T extends DivTextProps = DivTextProps> {
|
|
|
5787
5787
|
*
|
|
5788
5788
|
* @deprecated
|
|
5789
5789
|
*/
|
|
5790
|
-
truncate?: Type<DivTextTruncate
|
|
5790
|
+
truncate?: Type<DivTextTruncate | DivExpression>;
|
|
5791
5791
|
/**
|
|
5792
5792
|
* Underline.
|
|
5793
5793
|
*/
|
|
5794
|
-
underline?: Type<DivLineStyle
|
|
5794
|
+
underline?: Type<DivLineStyle | DivExpression>;
|
|
5795
5795
|
/**
|
|
5796
5796
|
* Element visibility.
|
|
5797
5797
|
*/
|
|
5798
|
-
visibility?: Type<DivVisibility
|
|
5798
|
+
visibility?: Type<DivVisibility | DivExpression>;
|
|
5799
5799
|
/**
|
|
5800
5800
|
* Tracking visibility of a single element. Not used if the `visibility_actions` parameter is
|
|
5801
5801
|
* set.
|
|
@@ -5831,19 +5831,19 @@ interface DivTextProps {
|
|
|
5831
5831
|
/**
|
|
5832
5832
|
* Horizontal alignment of an element inside the parent element.
|
|
5833
5833
|
*/
|
|
5834
|
-
alignment_horizontal?: Type<DivAlignmentHorizontal
|
|
5834
|
+
alignment_horizontal?: Type<DivAlignmentHorizontal | DivExpression>;
|
|
5835
5835
|
/**
|
|
5836
5836
|
* Vertical alignment of an element inside the parent element.
|
|
5837
5837
|
*/
|
|
5838
|
-
alignment_vertical?: Type<DivAlignmentVertical
|
|
5838
|
+
alignment_vertical?: Type<DivAlignmentVertical | DivExpression>;
|
|
5839
5839
|
/**
|
|
5840
5840
|
* Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
|
|
5841
5841
|
*/
|
|
5842
|
-
alpha?: Type<number
|
|
5842
|
+
alpha?: Type<number | DivExpression>;
|
|
5843
5843
|
/**
|
|
5844
5844
|
* Automatic text cropping to fit the container size.
|
|
5845
5845
|
*/
|
|
5846
|
-
auto_ellipsize?: Type<IntBoolean
|
|
5846
|
+
auto_ellipsize?: Type<IntBoolean | DivExpression>;
|
|
5847
5847
|
/**
|
|
5848
5848
|
* Element background. It can contain multiple layers.
|
|
5849
5849
|
*/
|
|
@@ -5855,7 +5855,7 @@ interface DivTextProps {
|
|
|
5855
5855
|
/**
|
|
5856
5856
|
* Merges cells in a column of the [grid](div-grid.md) element.
|
|
5857
5857
|
*/
|
|
5858
|
-
column_span?: Type<number
|
|
5858
|
+
column_span?: Type<number | DivExpression>;
|
|
5859
5859
|
/**
|
|
5860
5860
|
* Action when double-clicking on an element.
|
|
5861
5861
|
*/
|
|
@@ -5876,21 +5876,21 @@ interface DivTextProps {
|
|
|
5876
5876
|
/**
|
|
5877
5877
|
* Text color when focusing on the element.
|
|
5878
5878
|
*/
|
|
5879
|
-
focused_text_color?: Type<string
|
|
5879
|
+
focused_text_color?: Type<string | DivExpression>;
|
|
5880
5880
|
/**
|
|
5881
5881
|
* Font family:`text` — a standard text font;`display` — a family of fonts with a large font
|
|
5882
5882
|
* size.
|
|
5883
5883
|
*/
|
|
5884
|
-
font_family?: Type<DivFontFamily
|
|
5884
|
+
font_family?: Type<DivFontFamily | DivExpression>;
|
|
5885
5885
|
/**
|
|
5886
5886
|
* Font size.
|
|
5887
5887
|
*/
|
|
5888
|
-
font_size?: Type<number
|
|
5889
|
-
font_size_unit?: Type<DivSizeUnit
|
|
5888
|
+
font_size?: Type<number | DivExpression>;
|
|
5889
|
+
font_size_unit?: Type<DivSizeUnit | DivExpression>;
|
|
5890
5890
|
/**
|
|
5891
5891
|
* Style.
|
|
5892
5892
|
*/
|
|
5893
|
-
font_weight?: Type<DivFontWeight
|
|
5893
|
+
font_weight?: Type<DivFontWeight | DivExpression>;
|
|
5894
5894
|
/**
|
|
5895
5895
|
* Element height. For Android: if there is text in this or in a child element, specify height in
|
|
5896
5896
|
* `sp` to scale the element together with the text. To learn more about units of size
|
|
@@ -5909,11 +5909,11 @@ interface DivTextProps {
|
|
|
5909
5909
|
/**
|
|
5910
5910
|
* Spacing between characters.
|
|
5911
5911
|
*/
|
|
5912
|
-
letter_spacing?: Type<number
|
|
5912
|
+
letter_spacing?: Type<number | DivExpression>;
|
|
5913
5913
|
/**
|
|
5914
5914
|
* Line spacing of the text range. The count is taken from the font baseline.
|
|
5915
5915
|
*/
|
|
5916
|
-
line_height?: Type<number
|
|
5916
|
+
line_height?: Type<number | DivExpression>;
|
|
5917
5917
|
/**
|
|
5918
5918
|
* Action when long-clicking on an element.
|
|
5919
5919
|
*/
|
|
@@ -5925,11 +5925,11 @@ interface DivTextProps {
|
|
|
5925
5925
|
/**
|
|
5926
5926
|
* Maximum number of lines not to be cropped when breaking the limits.
|
|
5927
5927
|
*/
|
|
5928
|
-
max_lines?: Type<number
|
|
5928
|
+
max_lines?: Type<number | DivExpression>;
|
|
5929
5929
|
/**
|
|
5930
5930
|
* Minimum number of cropped lines when breaking the limits.
|
|
5931
5931
|
*/
|
|
5932
|
-
min_hidden_lines?: Type<number
|
|
5932
|
+
min_hidden_lines?: Type<number | DivExpression>;
|
|
5933
5933
|
/**
|
|
5934
5934
|
* Internal margins from the element stroke.
|
|
5935
5935
|
*/
|
|
@@ -5942,11 +5942,11 @@ interface DivTextProps {
|
|
|
5942
5942
|
/**
|
|
5943
5943
|
* Merges cells in a string of the [grid](div-grid.md) element.
|
|
5944
5944
|
*/
|
|
5945
|
-
row_span?: Type<number
|
|
5945
|
+
row_span?: Type<number | DivExpression>;
|
|
5946
5946
|
/**
|
|
5947
5947
|
* Selecting and copying text.
|
|
5948
5948
|
*/
|
|
5949
|
-
selectable?: Type<IntBoolean
|
|
5949
|
+
selectable?: Type<IntBoolean | DivExpression>;
|
|
5950
5950
|
/**
|
|
5951
5951
|
* List of [actions](div-action.md) to be executed when selecting an element in
|
|
5952
5952
|
* [pager](div-pager.md).
|
|
@@ -5955,23 +5955,23 @@ interface DivTextProps {
|
|
|
5955
5955
|
/**
|
|
5956
5956
|
* Strikethrough.
|
|
5957
5957
|
*/
|
|
5958
|
-
strike?: Type<DivLineStyle
|
|
5958
|
+
strike?: Type<DivLineStyle | DivExpression>;
|
|
5959
5959
|
/**
|
|
5960
5960
|
* Text.
|
|
5961
5961
|
*/
|
|
5962
|
-
text: Type<string
|
|
5962
|
+
text: Type<string | DivExpression>;
|
|
5963
5963
|
/**
|
|
5964
5964
|
* Horizontal text alignment.
|
|
5965
5965
|
*/
|
|
5966
|
-
text_alignment_horizontal?: Type<DivAlignmentHorizontal
|
|
5966
|
+
text_alignment_horizontal?: Type<DivAlignmentHorizontal | DivExpression>;
|
|
5967
5967
|
/**
|
|
5968
5968
|
* Vertical text alignment.
|
|
5969
5969
|
*/
|
|
5970
|
-
text_alignment_vertical?: Type<DivAlignmentVertical
|
|
5970
|
+
text_alignment_vertical?: Type<DivAlignmentVertical | DivExpression>;
|
|
5971
5971
|
/**
|
|
5972
5972
|
* Text color. Not used if the `text_gradient` parameter is set.
|
|
5973
5973
|
*/
|
|
5974
|
-
text_color?: Type<string
|
|
5974
|
+
text_color?: Type<string | DivExpression>;
|
|
5975
5975
|
/**
|
|
5976
5976
|
* Gradient text color.
|
|
5977
5977
|
*/
|
|
@@ -6010,15 +6010,15 @@ interface DivTextProps {
|
|
|
6010
6010
|
*
|
|
6011
6011
|
* @deprecated
|
|
6012
6012
|
*/
|
|
6013
|
-
truncate?: Type<DivTextTruncate
|
|
6013
|
+
truncate?: Type<DivTextTruncate | DivExpression>;
|
|
6014
6014
|
/**
|
|
6015
6015
|
* Underline.
|
|
6016
6016
|
*/
|
|
6017
|
-
underline?: Type<DivLineStyle
|
|
6017
|
+
underline?: Type<DivLineStyle | DivExpression>;
|
|
6018
6018
|
/**
|
|
6019
6019
|
* Element visibility.
|
|
6020
6020
|
*/
|
|
6021
|
-
visibility?: Type<DivVisibility
|
|
6021
|
+
visibility?: Type<DivVisibility | DivExpression>;
|
|
6022
6022
|
/**
|
|
6023
6023
|
* Tracking visibility of a single element. Not used if the `visibility_actions` parameter is
|
|
6024
6024
|
* set.
|
|
@@ -6053,7 +6053,7 @@ interface IDivTextEllipsis {
|
|
|
6053
6053
|
/**
|
|
6054
6054
|
* Marker text.
|
|
6055
6055
|
*/
|
|
6056
|
-
text: Type<string
|
|
6056
|
+
text: Type<string | DivExpression>;
|
|
6057
6057
|
}
|
|
6058
6058
|
/**
|
|
6059
6059
|
* Image.
|
|
@@ -6067,15 +6067,15 @@ interface IDivTextImage {
|
|
|
6067
6067
|
* A symbol to insert prior to an image. To insert an image at the end of the text, specify the
|
|
6068
6068
|
* number of the last character plus one.
|
|
6069
6069
|
*/
|
|
6070
|
-
start: Type<number
|
|
6070
|
+
start: Type<number | DivExpression>;
|
|
6071
6071
|
/**
|
|
6072
6072
|
* New color of a contour image.
|
|
6073
6073
|
*/
|
|
6074
|
-
tint_color?: Type<string
|
|
6074
|
+
tint_color?: Type<string | DivExpression>;
|
|
6075
6075
|
/**
|
|
6076
6076
|
* Image URL.
|
|
6077
6077
|
*/
|
|
6078
|
-
url: Type<string
|
|
6078
|
+
url: Type<string | DivExpression>;
|
|
6079
6079
|
/**
|
|
6080
6080
|
* Image width.
|
|
6081
6081
|
*/
|
|
@@ -6092,56 +6092,56 @@ interface IDivTextRange {
|
|
|
6092
6092
|
/**
|
|
6093
6093
|
* Ordinal number of the last character to be included in the range.
|
|
6094
6094
|
*/
|
|
6095
|
-
end: Type<number
|
|
6095
|
+
end: Type<number | DivExpression>;
|
|
6096
6096
|
/**
|
|
6097
6097
|
* Font family:`text` — a standard text font;`display` — a family of fonts with a large font
|
|
6098
6098
|
* size.
|
|
6099
6099
|
*/
|
|
6100
|
-
font_family?: Type<DivFontFamily
|
|
6100
|
+
font_family?: Type<DivFontFamily | DivExpression>;
|
|
6101
6101
|
/**
|
|
6102
6102
|
* Font size.
|
|
6103
6103
|
*/
|
|
6104
|
-
font_size?: Type<number
|
|
6104
|
+
font_size?: Type<number | DivExpression>;
|
|
6105
6105
|
/**
|
|
6106
6106
|
* Unit of measurement:`px` — a physical pixel.`dp` — a logical pixel that doesn't depend on
|
|
6107
6107
|
* screen density.`sp` — a logical pixel that depends on the font size on a device. Specify
|
|
6108
6108
|
* height in `sp`. Only available on Android.
|
|
6109
6109
|
*/
|
|
6110
|
-
font_size_unit?: Type<DivSizeUnit
|
|
6110
|
+
font_size_unit?: Type<DivSizeUnit | DivExpression>;
|
|
6111
6111
|
/**
|
|
6112
6112
|
* Style.
|
|
6113
6113
|
*/
|
|
6114
|
-
font_weight?: Type<DivFontWeight
|
|
6114
|
+
font_weight?: Type<DivFontWeight | DivExpression>;
|
|
6115
6115
|
/**
|
|
6116
6116
|
* Spacing between characters.
|
|
6117
6117
|
*/
|
|
6118
|
-
letter_spacing?: Type<number
|
|
6118
|
+
letter_spacing?: Type<number | DivExpression>;
|
|
6119
6119
|
/**
|
|
6120
6120
|
* Line spacing of the text range. The count is taken from the font baseline. Measured in units
|
|
6121
6121
|
* specified in `font_size_unit`.
|
|
6122
6122
|
*/
|
|
6123
|
-
line_height?: Type<number
|
|
6123
|
+
line_height?: Type<number | DivExpression>;
|
|
6124
6124
|
/**
|
|
6125
6125
|
* Ordinal number of a character which the range begins from. The first character has a number
|
|
6126
6126
|
* `0`.
|
|
6127
6127
|
*/
|
|
6128
|
-
start: Type<number
|
|
6128
|
+
start: Type<number | DivExpression>;
|
|
6129
6129
|
/**
|
|
6130
6130
|
* Strikethrough.
|
|
6131
6131
|
*/
|
|
6132
|
-
strike?: Type<DivLineStyle
|
|
6132
|
+
strike?: Type<DivLineStyle | DivExpression>;
|
|
6133
6133
|
/**
|
|
6134
6134
|
* Text color.
|
|
6135
6135
|
*/
|
|
6136
|
-
text_color?: Type<string
|
|
6136
|
+
text_color?: Type<string | DivExpression>;
|
|
6137
6137
|
/**
|
|
6138
6138
|
* The top margin of the text range. Measured in units specified in `font_size_unit`.
|
|
6139
6139
|
*/
|
|
6140
|
-
top_offset?: Type<number
|
|
6140
|
+
top_offset?: Type<number | DivExpression>;
|
|
6141
6141
|
/**
|
|
6142
6142
|
* Underline.
|
|
6143
6143
|
*/
|
|
6144
|
-
underline?: Type<DivLineStyle
|
|
6144
|
+
underline?: Type<DivLineStyle | DivExpression>;
|
|
6145
6145
|
}
|
|
6146
6146
|
|
|
6147
6147
|
declare type DivTextGradient = DivLinearGradient | DivRadialGradient;
|
|
@@ -6169,7 +6169,7 @@ interface IDivTooltip {
|
|
|
6169
6169
|
* Duration of the tooltip visibility in milliseconds. When the value is set to `0`, the tooltip
|
|
6170
6170
|
* will be visible until the user hides it.
|
|
6171
6171
|
*/
|
|
6172
|
-
duration?: Type<number
|
|
6172
|
+
duration?: Type<number | DivExpression>;
|
|
6173
6173
|
/**
|
|
6174
6174
|
* Tooltip ID. It is used to avoid re-showing. It must be unique for all element tooltips.
|
|
6175
6175
|
*/
|
|
@@ -6181,7 +6181,7 @@ interface IDivTooltip {
|
|
|
6181
6181
|
/**
|
|
6182
6182
|
* The position of a tooltip relative to an element it belongs to.
|
|
6183
6183
|
*/
|
|
6184
|
-
position: Type<DivTooltipPosition
|
|
6184
|
+
position: Type<DivTooltipPosition | DivExpression>;
|
|
6185
6185
|
}
|
|
6186
6186
|
declare type DivTooltipPosition = 'left' | 'top-left' | 'top' | 'top-right' | 'right' | 'bottom-right' | 'bottom' | 'bottom-left';
|
|
6187
6187
|
|
|
@@ -6201,22 +6201,22 @@ interface IDivTransform {
|
|
|
6201
6201
|
* The number of degrees by which the element must be rotated. A positive value describes a
|
|
6202
6202
|
* clockwise rotation.
|
|
6203
6203
|
*/
|
|
6204
|
-
rotation?: Type<number
|
|
6204
|
+
rotation?: Type<number | DivExpression>;
|
|
6205
6205
|
}
|
|
6206
6206
|
|
|
6207
6207
|
interface IDivTransitionBase {
|
|
6208
6208
|
/**
|
|
6209
6209
|
* Animation duration in milliseconds.
|
|
6210
6210
|
*/
|
|
6211
|
-
duration?: Type<number
|
|
6211
|
+
duration?: Type<number | DivExpression>;
|
|
6212
6212
|
/**
|
|
6213
6213
|
* Transition speed nature.
|
|
6214
6214
|
*/
|
|
6215
|
-
interpolator?: Type<DivAnimationInterpolator
|
|
6215
|
+
interpolator?: Type<DivAnimationInterpolator | DivExpression>;
|
|
6216
6216
|
/**
|
|
6217
6217
|
* Delay in milliseconds before animation starts.
|
|
6218
6218
|
*/
|
|
6219
|
-
start_delay?: Type<number
|
|
6219
|
+
start_delay?: Type<number | DivExpression>;
|
|
6220
6220
|
}
|
|
6221
6221
|
|
|
6222
6222
|
declare type DivTransitionSelector = 'none' | 'data_change' | 'state_change' | 'any_change';
|
|
@@ -6234,13 +6234,13 @@ interface IDivTrigger {
|
|
|
6234
6234
|
/**
|
|
6235
6235
|
* Condition for activating a trigger. For example, `liked && subscribed`.
|
|
6236
6236
|
*/
|
|
6237
|
-
condition: Type<IntBoolean
|
|
6237
|
+
condition: Type<IntBoolean | DivExpression>;
|
|
6238
6238
|
/**
|
|
6239
6239
|
* Trigger activation mode:`on_condition` — a trigger is activated when the condition changes
|
|
6240
6240
|
* from `false` to `true`;`on_variable` — a trigger is activated when the condition is met and
|
|
6241
6241
|
* the variable value changes.
|
|
6242
6242
|
*/
|
|
6243
|
-
mode?: Type<DivTriggerMode
|
|
6243
|
+
mode?: Type<DivTriggerMode | DivExpression>;
|
|
6244
6244
|
}
|
|
6245
6245
|
declare type DivTriggerMode = 'on_condition' | 'on_variable';
|
|
6246
6246
|
|
|
@@ -6263,7 +6263,7 @@ interface IDivVisibilityAction {
|
|
|
6263
6263
|
/**
|
|
6264
6264
|
* Limit on the number of loggings. If `0`, the limit is removed.
|
|
6265
6265
|
*/
|
|
6266
|
-
log_limit?: Type<number
|
|
6266
|
+
log_limit?: Type<number | DivExpression>;
|
|
6267
6267
|
/**
|
|
6268
6268
|
* Additional parameters, passed to the host application.
|
|
6269
6269
|
*/
|
|
@@ -6271,20 +6271,20 @@ interface IDivVisibilityAction {
|
|
|
6271
6271
|
/**
|
|
6272
6272
|
* Referer URL for logging.
|
|
6273
6273
|
*/
|
|
6274
|
-
referer?: Type<string
|
|
6274
|
+
referer?: Type<string | DivExpression>;
|
|
6275
6275
|
/**
|
|
6276
6276
|
* URL. Possible values: `url` or `div-action://`. To learn more, see [Interaction with
|
|
6277
6277
|
* elements](../../interaction.dita).
|
|
6278
6278
|
*/
|
|
6279
|
-
url?: Type<string
|
|
6279
|
+
url?: Type<string | DivExpression>;
|
|
6280
6280
|
/**
|
|
6281
6281
|
* Time in milliseconds during which an element must be visible to trigger `visibility-action`.
|
|
6282
6282
|
*/
|
|
6283
|
-
visibility_duration?: Type<number
|
|
6283
|
+
visibility_duration?: Type<number | DivExpression>;
|
|
6284
6284
|
/**
|
|
6285
6285
|
* Percentage of the visible part of an element that triggers `visibility-action`.
|
|
6286
6286
|
*/
|
|
6287
|
-
visibility_percentage?: Type<number
|
|
6287
|
+
visibility_percentage?: Type<number | DivExpression>;
|
|
6288
6288
|
}
|
|
6289
6289
|
|
|
6290
6290
|
/**
|
|
@@ -6297,7 +6297,7 @@ declare class DivWrapContentSize<T extends DivWrapContentSizeProps = DivWrapCont
|
|
|
6297
6297
|
* The final size mustn't exceed the parent one. On iOS and in a default browser `false`. On
|
|
6298
6298
|
* Android always `true`.
|
|
6299
6299
|
*/
|
|
6300
|
-
constrained?: Type<IntBoolean
|
|
6300
|
+
constrained?: Type<IntBoolean | DivExpression>;
|
|
6301
6301
|
constructor(props?: Exact<DivWrapContentSizeProps, T>);
|
|
6302
6302
|
}
|
|
6303
6303
|
interface DivWrapContentSizeProps {
|
|
@@ -6305,7 +6305,7 @@ interface DivWrapContentSizeProps {
|
|
|
6305
6305
|
* The final size mustn't exceed the parent one. On iOS and in a default browser `false`. On
|
|
6306
6306
|
* Android always `true`.
|
|
6307
6307
|
*/
|
|
6308
|
-
constrained?: Type<IntBoolean
|
|
6308
|
+
constrained?: Type<IntBoolean | DivExpression>;
|
|
6309
6309
|
}
|
|
6310
6310
|
|
|
6311
6311
|
/**
|