@divkitframework/jsonbuilder 24.1.0 → 24.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- declare type Div = DivImage | DivGifImage | DivText | DivSeparator | DivContainer | DivGrid | DivGallery | DivPager | DivTabs | DivState | DivCustom | DivIndicator | DivSlider | DivInput | TemplateBlock;
1
+ declare type Div = DivImage | DivGifImage | DivText | DivSeparator | DivContainer | DivGrid | DivGallery | DivPager | DivTabs | DivState | DivCustom | DivIndicator | DivSlider | DivInput | DivSelect | TemplateBlock;
2
2
 
3
3
  declare const expr: unique symbol;
4
4
  interface DivExpression {
@@ -631,8 +631,10 @@ declare class DivContainer<T extends DivContainerProps = DivContainerProps> {
631
631
  */
632
632
  alpha?: Type<number | DivExpression>;
633
633
  /**
634
- * Size with a fixed aspect ratio. It counts height from width and ignores `height` value. The
635
- * web requires the `aspect-ratio` css property for work.
634
+ * Fixed aspect ratio of the container. The element's height is calculated based on the width,
635
+ * ignoring the `height` parameter's value.
636
+ On the web, support for the `aspect-ratio` CSS
637
+ * property is required to use this parameter.
636
638
  */
637
639
  aspect?: Type<IDivAspect>;
638
640
  /**
@@ -812,8 +814,10 @@ interface DivContainerProps {
812
814
  */
813
815
  alpha?: Type<number | DivExpression>;
814
816
  /**
815
- * Size with a fixed aspect ratio. It counts height from width and ignores `height` value. The
816
- * web requires the `aspect-ratio` css property for work.
817
+ * Fixed aspect ratio of the container. The element's height is calculated based on the width,
818
+ * ignoring the `height` parameter's value.
819
+ On the web, support for the `aspect-ratio` CSS
820
+ * property is required to use this parameter.
817
821
  */
818
822
  aspect?: Type<IDivAspect>;
819
823
  /**
@@ -1006,6 +1010,37 @@ interface IDivCornersRadius {
1006
1010
 
1007
1011
  declare type DivCount = DivInfinityCount | DivFixedCount;
1008
1012
 
1013
+ /**
1014
+ * Mask for currency with language format.
1015
+ */
1016
+ declare class DivCurrencyInputMask<T extends DivCurrencyInputMaskProps = DivCurrencyInputMaskProps> {
1017
+ readonly _props?: Exact<DivCurrencyInputMaskProps, T>;
1018
+ readonly type = "currency";
1019
+ /**
1020
+ * IETF BCP 47 language tag for currency mask. Look
1021
+ * https://en.wikipedia.org/wiki/IETF_language_tag for more. If not specified, it will be
1022
+ * determined automatically.
1023
+ */
1024
+ locale?: Type<string | DivExpression>;
1025
+ /**
1026
+ * Name of raw value storage variable.
1027
+ */
1028
+ raw_text_variable: Type<string>;
1029
+ constructor(props: Exact<DivCurrencyInputMaskProps, T>);
1030
+ }
1031
+ interface DivCurrencyInputMaskProps {
1032
+ /**
1033
+ * IETF BCP 47 language tag for currency mask. Look
1034
+ * https://en.wikipedia.org/wiki/IETF_language_tag for more. If not specified, it will be
1035
+ * determined automatically.
1036
+ */
1037
+ locale?: Type<string | DivExpression>;
1038
+ /**
1039
+ * Name of raw value storage variable.
1040
+ */
1041
+ raw_text_variable: Type<string>;
1042
+ }
1043
+
1009
1044
  /**
1010
1045
  * Custom element. It is delegated to a host application to create native elements depending on
1011
1046
  * the platform.
@@ -1414,54 +1449,64 @@ interface DivFixedCountProps {
1414
1449
  }
1415
1450
 
1416
1451
  /**
1417
- * Text input mask with a fixed amount of characters.
1452
+ * Mask for entering text with a fixed number of characters.
1418
1453
  */
1419
1454
  declare class DivFixedLengthInputMask<T extends DivFixedLengthInputMaskProps = DivFixedLengthInputMaskProps> {
1420
1455
  readonly _props?: Exact<DivFixedLengthInputMaskProps, T>;
1421
1456
  readonly type = "fixed_length";
1422
1457
  /**
1423
- * Option to show mask before completion.
1458
+ * If this option is enabled, the text field contains the mask before being filled in.
1424
1459
  */
1425
1460
  always_visible?: Type<IntBoolean | DivExpression>;
1426
1461
  /**
1427
- * Text input mask's format.
1462
+ * String that sets the text input template. For example, the `+7 (###) ###-##-## ` template for
1463
+ * a phone number.
1428
1464
  */
1429
1465
  pattern: Type<string | DivExpression>;
1430
1466
  /**
1431
- * Decoding of characters from pattern that are replaceable with user input.
1467
+ * Template decoding is a description of the characters that will be replaced with user input.
1432
1468
  */
1433
1469
  pattern_elements: Type<NonEmptyArray<IDivFixedLengthInputMaskPatternElement>>;
1470
+ /**
1471
+ * Name of raw value storage variable.
1472
+ */
1473
+ raw_text_variable: Type<string>;
1434
1474
  constructor(props: Exact<DivFixedLengthInputMaskProps, T>);
1435
1475
  }
1436
1476
  interface DivFixedLengthInputMaskProps {
1437
1477
  /**
1438
- * Option to show mask before completion.
1478
+ * If this option is enabled, the text field contains the mask before being filled in.
1439
1479
  */
1440
1480
  always_visible?: Type<IntBoolean | DivExpression>;
1441
1481
  /**
1442
- * Text input mask's format.
1482
+ * String that sets the text input template. For example, the `+7 (###) ###-##-## ` template for
1483
+ * a phone number.
1443
1484
  */
1444
1485
  pattern: Type<string | DivExpression>;
1445
1486
  /**
1446
- * Decoding of characters from pattern that are replaceable with user input.
1487
+ * Template decoding is a description of the characters that will be replaced with user input.
1447
1488
  */
1448
1489
  pattern_elements: Type<NonEmptyArray<IDivFixedLengthInputMaskPatternElement>>;
1490
+ /**
1491
+ * Name of raw value storage variable.
1492
+ */
1493
+ raw_text_variable: Type<string>;
1449
1494
  }
1450
1495
  /**
1451
- * Decoding of characters from pattern that are replaceable with user input.
1496
+ * Template decoding is a description of the characters that will be replaced with user input.
1452
1497
  */
1453
1498
  interface IDivFixedLengthInputMaskPatternElement {
1454
1499
  /**
1455
- * Special character replaceable with user input.
1500
+ * A character in the template that will be replaced with a user-defined character.
1456
1501
  */
1457
1502
  key: Type<string | DivExpression>;
1458
1503
  /**
1459
- * Character that is shown in the place of the special character if mask should be always
1460
- * visible.
1504
+ * The character that's displayed in the input field where the user is expected to enter text.
1505
+ * This is used if mask display is enabled.
1461
1506
  */
1462
1507
  placeholder?: Type<string | DivExpression>;
1463
1508
  /**
1464
- * Regular expression with which the character will be validated.
1509
+ * Regular expression for validating character inputs. For example, when a mask is digit-only.
1465
1510
  */
1466
1511
  regex?: Type<string | DivExpression>;
1467
1512
  }
@@ -2989,7 +3034,7 @@ interface DivImageBackgroundProps {
2989
3034
  scale?: Type<DivImageScale | DivExpression>;
2990
3035
  }
2991
3036
 
2992
- declare type DivImageScale = 'fill' | 'no_scale' | 'fit';
3037
+ declare type DivImageScale = 'fill' | 'no_scale' | 'fit' | 'stretch';
2993
3038
 
2994
3039
  /**
2995
3040
  * Progress indicator for [pager](div-pager.md).
@@ -3465,7 +3510,7 @@ declare class DivInput<T extends DivInputProps = DivInputProps> {
3465
3510
  */
3466
3511
  margins?: Type<IDivEdgeInsets>;
3467
3512
  /**
3468
- * Text input mask.
3513
+ * Mask for entering text based on the specified template.
3469
3514
  */
3470
3515
  mask?: Type<DivInputMask>;
3471
3516
  /**
@@ -3480,10 +3525,6 @@ declare class DivInput<T extends DivInputProps = DivInputProps> {
3480
3525
  * Internal margins from the element stroke.
3481
3526
  */
3482
3527
  paddings?: Type<IDivEdgeInsets>;
3483
- /**
3484
- * Name of raw value storage variable.
3485
- */
3486
- raw_text_variable?: Type<string>;
3487
3528
  /**
3488
3529
  * Merges cells in a string of the [grid](div-grid.md) element.
3489
3530
  */
@@ -3651,7 +3692,7 @@ interface DivInputProps {
3651
3692
  */
3652
3693
  margins?: Type<IDivEdgeInsets>;
3653
3694
  /**
3654
- * Text input mask.
3695
+ * Mask for entering text based on the specified template.
3655
3696
  */
3656
3697
  mask?: Type<DivInputMask>;
3657
3698
  /**
@@ -3666,10 +3707,6 @@ interface DivInputProps {
3666
3707
  * Internal margins from the element stroke.
3667
3708
  */
3668
3709
  paddings?: Type<IDivEdgeInsets>;
3669
- /**
3670
- * Name of raw value storage variable.
3671
- */
3672
- raw_text_variable?: Type<string>;
3673
3710
  /**
3674
3711
  * Merges cells in a string of the [grid](div-grid.md) element.
3675
3712
  */
@@ -3749,7 +3786,14 @@ interface IDivInputNativeInterface {
3749
3786
  color: Type<string | DivExpression>;
3750
3787
  }
3751
3788
 
3752
- declare type DivInputMask = DivFixedLengthInputMask;
3789
+ declare type DivInputMask = DivFixedLengthInputMask | DivCurrencyInputMask;
3790
+
3791
+ interface IDivInputMaskBase {
3792
+ /**
3793
+ * Name of raw value storage variable.
3794
+ */
3795
+ raw_text_variable?: Type<string>;
3796
+ }
3753
3797
 
3754
3798
  declare type DivLineStyle = 'none' | 'single';
3755
3799
 
@@ -4510,6 +4554,341 @@ interface DivScaleTransitionProps {
4510
4554
  start_delay?: Type<number | DivExpression>;
4511
4555
  }
4512
4556
 
4557
+ /**
4558
+ * Option list selection element.
4559
+ */
4560
+ declare class DivSelect<T extends DivSelectProps = DivSelectProps> {
4561
+ readonly _props?: Exact<DivSelectProps, T>;
4562
+ readonly type = "select";
4563
+ /**
4564
+ * Accessibility settings.
4565
+ */
4566
+ accessibility?: Type<IDivAccessibility>;
4567
+ /**
4568
+ * Horizontal alignment of an element inside the parent element.
4569
+ */
4570
+ alignment_horizontal?: Type<DivAlignmentHorizontal | DivExpression>;
4571
+ /**
4572
+ * Vertical alignment of an element inside the parent element.
4573
+ */
4574
+ alignment_vertical?: Type<DivAlignmentVertical | DivExpression>;
4575
+ /**
4576
+ * Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
4577
+ */
4578
+ alpha?: Type<number | DivExpression>;
4579
+ /**
4580
+ * Element background. It can contain multiple layers.
4581
+ */
4582
+ background?: Type<NonEmptyArray<DivBackground>>;
4583
+ /**
4584
+ * Element stroke.
4585
+ */
4586
+ border?: Type<IDivBorder>;
4587
+ /**
4588
+ * Merges cells in a column of the [grid](div-grid.md) element.
4589
+ */
4590
+ column_span?: Type<number | DivExpression>;
4591
+ /**
4592
+ * Extensions for additional processing of an element. The list of extensions is given in
4593
+ * [DivExtension](../../extensions.dita).
4594
+ */
4595
+ extensions?: Type<NonEmptyArray<IDivExtension>>;
4596
+ /**
4597
+ * Parameters when focusing on an element or losing focus.
4598
+ */
4599
+ focus?: Type<IDivFocus>;
4600
+ /**
4601
+ * Font family:`text` — a standard text font;`display` — a family of fonts with a large font
4602
+ * size.
4603
+ */
4604
+ font_family?: Type<DivFontFamily | DivExpression>;
4605
+ /**
4606
+ * Font size.
4607
+ */
4608
+ font_size?: Type<number | DivExpression>;
4609
+ /**
4610
+ * Unit of measurement:`px` — a physical pixel.`dp` — a logical pixel that doesn't depend on
4611
+ * screen density.`sp` — a logical pixel that depends on the font size on a device. Specify
4612
+ * height in `sp`. Only available on Android.
4613
+ */
4614
+ font_size_unit?: Type<DivSizeUnit | DivExpression>;
4615
+ /**
4616
+ * Style.
4617
+ */
4618
+ font_weight?: Type<DivFontWeight | DivExpression>;
4619
+ /**
4620
+ * Element height. For Android: if there is text in this or in a child element, specify height in
4621
+ * `sp` to scale the element together with the text. To learn more about units of size
4622
+ * measurement, see [Layout inside the card](../../layout.dita).
4623
+ */
4624
+ height?: Type<DivSize>;
4625
+ /**
4626
+ * Hint color.
4627
+ */
4628
+ hint_color?: Type<string | DivExpression>;
4629
+ /**
4630
+ * Hint text.
4631
+ */
4632
+ hint_text?: Type<string | DivExpression>;
4633
+ /**
4634
+ * Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier`
4635
+ * on iOS.
4636
+ */
4637
+ id?: Type<string>;
4638
+ /**
4639
+ * Spacing between characters.
4640
+ */
4641
+ letter_spacing?: Type<number | DivExpression>;
4642
+ /**
4643
+ * Line spacing of the text. Units specified in `font_size_unit`.
4644
+ */
4645
+ line_height?: Type<number | DivExpression>;
4646
+ /**
4647
+ * External margins from the element stroke.
4648
+ */
4649
+ margins?: Type<IDivEdgeInsets>;
4650
+ options: Type<NonEmptyArray<IDivSelectOption>>;
4651
+ /**
4652
+ * Internal margins from the element stroke.
4653
+ */
4654
+ paddings?: Type<IDivEdgeInsets>;
4655
+ /**
4656
+ * Merges cells in a string of the [grid](div-grid.md) element.
4657
+ */
4658
+ row_span?: Type<number | DivExpression>;
4659
+ /**
4660
+ * List of [actions](div-action.md) to be executed when selecting an element in
4661
+ * [pager](div-pager.md).
4662
+ */
4663
+ selected_actions?: Type<NonEmptyArray<IDivAction>>;
4664
+ /**
4665
+ * Text color.
4666
+ */
4667
+ text_color?: Type<string | DivExpression>;
4668
+ /**
4669
+ * Tooltips linked to an element. A tooltip can be shown by `div-action://show_tooltip?id=`,
4670
+ * hidden by `div-action://hide_tooltip?id=` where `id` — tooltip id.
4671
+ */
4672
+ tooltips?: Type<NonEmptyArray<IDivTooltip>>;
4673
+ /**
4674
+ * Applies the passed transformation to the element. Content that doesn't fit into the original
4675
+ * view area is cut off.
4676
+ */
4677
+ transform?: Type<IDivTransform>;
4678
+ /**
4679
+ * Change animation. It is played when the position or size of an element changes in the new
4680
+ * layout.
4681
+ */
4682
+ transition_change?: Type<DivChangeTransition>;
4683
+ /**
4684
+ * Appearance animation. It is played when an element with a new ID appears. To learn more about
4685
+ * the concept of transitions, see [Animated
4686
+ * transitions](../../interaction.dita#animation/transition-animation).
4687
+ */
4688
+ transition_in?: Type<DivAppearanceTransition>;
4689
+ /**
4690
+ * Disappearance animation. It is played when an element disappears in the new layout.
4691
+ */
4692
+ transition_out?: Type<DivAppearanceTransition>;
4693
+ /**
4694
+ * Animation starting triggers. Default value: `[state_change, visibility_change]`.
4695
+ */
4696
+ transition_triggers?: Type<NonEmptyArray<DivTransitionTrigger>>;
4697
+ /**
4698
+ * Variable name to store selected from list option `value`.
4699
+ */
4700
+ value_variable: Type<string>;
4701
+ /**
4702
+ * Element visibility.
4703
+ */
4704
+ visibility?: Type<DivVisibility | DivExpression>;
4705
+ /**
4706
+ * Tracking visibility of a single element. Not used if the `visibility_actions` parameter is
4707
+ * set.
4708
+ */
4709
+ visibility_action?: Type<IDivVisibilityAction>;
4710
+ /**
4711
+ * Actions when an element appears on the screen.
4712
+ */
4713
+ visibility_actions?: Type<NonEmptyArray<IDivVisibilityAction>>;
4714
+ /**
4715
+ * Element width.
4716
+ */
4717
+ width?: Type<DivSize>;
4718
+ constructor(props: Exact<DivSelectProps, T>);
4719
+ }
4720
+ interface DivSelectProps {
4721
+ /**
4722
+ * Accessibility settings.
4723
+ */
4724
+ accessibility?: Type<IDivAccessibility>;
4725
+ /**
4726
+ * Horizontal alignment of an element inside the parent element.
4727
+ */
4728
+ alignment_horizontal?: Type<DivAlignmentHorizontal | DivExpression>;
4729
+ /**
4730
+ * Vertical alignment of an element inside the parent element.
4731
+ */
4732
+ alignment_vertical?: Type<DivAlignmentVertical | DivExpression>;
4733
+ /**
4734
+ * Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
4735
+ */
4736
+ alpha?: Type<number | DivExpression>;
4737
+ /**
4738
+ * Element background. It can contain multiple layers.
4739
+ */
4740
+ background?: Type<NonEmptyArray<DivBackground>>;
4741
+ /**
4742
+ * Element stroke.
4743
+ */
4744
+ border?: Type<IDivBorder>;
4745
+ /**
4746
+ * Merges cells in a column of the [grid](div-grid.md) element.
4747
+ */
4748
+ column_span?: Type<number | DivExpression>;
4749
+ /**
4750
+ * Extensions for additional processing of an element. The list of extensions is given in
4751
+ * [DivExtension](../../extensions.dita).
4752
+ */
4753
+ extensions?: Type<NonEmptyArray<IDivExtension>>;
4754
+ /**
4755
+ * Parameters when focusing on an element or losing focus.
4756
+ */
4757
+ focus?: Type<IDivFocus>;
4758
+ /**
4759
+ * Font family:`text` — a standard text font;`display` — a family of fonts with a large font
4760
+ * size.
4761
+ */
4762
+ font_family?: Type<DivFontFamily | DivExpression>;
4763
+ /**
4764
+ * Font size.
4765
+ */
4766
+ font_size?: Type<number | DivExpression>;
4767
+ /**
4768
+ * Unit of measurement:`px` — a physical pixel.`dp` — a logical pixel that doesn't depend on
4769
+ * screen density.`sp` — a logical pixel that depends on the font size on a device. Specify
4770
+ * height in `sp`. Only available on Android.
4771
+ */
4772
+ font_size_unit?: Type<DivSizeUnit | DivExpression>;
4773
+ /**
4774
+ * Style.
4775
+ */
4776
+ font_weight?: Type<DivFontWeight | DivExpression>;
4777
+ /**
4778
+ * Element height. For Android: if there is text in this or in a child element, specify height in
4779
+ * `sp` to scale the element together with the text. To learn more about units of size
4780
+ * measurement, see [Layout inside the card](../../layout.dita).
4781
+ */
4782
+ height?: Type<DivSize>;
4783
+ /**
4784
+ * Hint color.
4785
+ */
4786
+ hint_color?: Type<string | DivExpression>;
4787
+ /**
4788
+ * Hint text.
4789
+ */
4790
+ hint_text?: Type<string | DivExpression>;
4791
+ /**
4792
+ * Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier`
4793
+ * on iOS.
4794
+ */
4795
+ id?: Type<string>;
4796
+ /**
4797
+ * Spacing between characters.
4798
+ */
4799
+ letter_spacing?: Type<number | DivExpression>;
4800
+ /**
4801
+ * Line spacing of the text. Units specified in `font_size_unit`.
4802
+ */
4803
+ line_height?: Type<number | DivExpression>;
4804
+ /**
4805
+ * External margins from the element stroke.
4806
+ */
4807
+ margins?: Type<IDivEdgeInsets>;
4808
+ options: Type<NonEmptyArray<IDivSelectOption>>;
4809
+ /**
4810
+ * Internal margins from the element stroke.
4811
+ */
4812
+ paddings?: Type<IDivEdgeInsets>;
4813
+ /**
4814
+ * Merges cells in a string of the [grid](div-grid.md) element.
4815
+ */
4816
+ row_span?: Type<number | DivExpression>;
4817
+ /**
4818
+ * List of [actions](div-action.md) to be executed when selecting an element in
4819
+ * [pager](div-pager.md).
4820
+ */
4821
+ selected_actions?: Type<NonEmptyArray<IDivAction>>;
4822
+ /**
4823
+ * Text color.
4824
+ */
4825
+ text_color?: Type<string | DivExpression>;
4826
+ /**
4827
+ * Tooltips linked to an element. A tooltip can be shown by `div-action://show_tooltip?id=`,
4828
+ * hidden by `div-action://hide_tooltip?id=` where `id` — tooltip id.
4829
+ */
4830
+ tooltips?: Type<NonEmptyArray<IDivTooltip>>;
4831
+ /**
4832
+ * Applies the passed transformation to the element. Content that doesn't fit into the original
4833
+ * view area is cut off.
4834
+ */
4835
+ transform?: Type<IDivTransform>;
4836
+ /**
4837
+ * Change animation. It is played when the position or size of an element changes in the new
4838
+ * layout.
4839
+ */
4840
+ transition_change?: Type<DivChangeTransition>;
4841
+ /**
4842
+ * Appearance animation. It is played when an element with a new ID appears. To learn more about
4843
+ * the concept of transitions, see [Animated
4844
+ * transitions](../../interaction.dita#animation/transition-animation).
4845
+ */
4846
+ transition_in?: Type<DivAppearanceTransition>;
4847
+ /**
4848
+ * Disappearance animation. It is played when an element disappears in the new layout.
4849
+ */
4850
+ transition_out?: Type<DivAppearanceTransition>;
4851
+ /**
4852
+ * Animation starting triggers. Default value: `[state_change, visibility_change]`.
4853
+ */
4854
+ transition_triggers?: Type<NonEmptyArray<DivTransitionTrigger>>;
4855
+ /**
4856
+ * Variable name to store selected from list option `value`.
4857
+ */
4858
+ value_variable: Type<string>;
4859
+ /**
4860
+ * Element visibility.
4861
+ */
4862
+ visibility?: Type<DivVisibility | DivExpression>;
4863
+ /**
4864
+ * Tracking visibility of a single element. Not used if the `visibility_actions` parameter is
4865
+ * set.
4866
+ */
4867
+ visibility_action?: Type<IDivVisibilityAction>;
4868
+ /**
4869
+ * Actions when an element appears on the screen.
4870
+ */
4871
+ visibility_actions?: Type<NonEmptyArray<IDivVisibilityAction>>;
4872
+ /**
4873
+ * Element width.
4874
+ */
4875
+ width?: Type<DivSize>;
4876
+ }
4877
+ /**
4878
+ * Option to choose from list.
4879
+ */
4880
+ interface IDivSelectOption {
4881
+ /**
4882
+ * Option text from list to be shown in UI. If not specified, option `value` will be used
4883
+ * instead.
4884
+ */
4885
+ text?: Type<string | DivExpression>;
4886
+ /**
4887
+ * Option value from list.
4888
+ */
4889
+ value: Type<string | DivExpression>;
4890
+ }
4891
+
4513
4892
  /**
4514
4893
  * A separating line between elements.
4515
4894
  */
@@ -7170,4 +7549,4 @@ declare function rewriteTemplateVersions<T extends ITemplates>(templates: T, res
7170
7549
  };
7171
7550
  };
7172
7551
 
7173
- export { BooleanVariable, BooleanVariableProps, ColorVariable, ColorVariableProps, DelimiterStyleOrientation, Div, DivAccessibilityMode, DivAccessibilityType, DivActionTarget, DivAlignmentHorizontal, DivAlignmentVertical, DivAnimationInterpolator, DivAnimationName, DivAppearanceSetTransition, DivAppearanceSetTransitionProps, DivAppearanceTransition, DivBackground, DivBlendMode, DivBlur, DivBlurProps, DivChangeBoundsTransition, DivChangeBoundsTransitionProps, DivChangeSetTransition, DivChangeSetTransitionProps, DivChangeTransition, DivCircleShape, DivCircleShapeProps, DivContainer, DivContainerLayoutMode, DivContainerOrientation, DivContainerProps, DivCount, DivCustom, DivCustomProps, DivDefaultIndicatorItemPlacement, DivDefaultIndicatorItemPlacementProps, DivDrawable, DivExpression, DivFadeTransition, DivFadeTransitionProps, DivFilter, DivFixedCount, DivFixedCountProps, DivFixedLengthInputMask, DivFixedLengthInputMaskProps, DivFixedSize, DivFixedSizeProps, DivFontFamily, DivFontWeight, DivGallery, DivGalleryCrossContentAlignment, DivGalleryOrientation, DivGalleryProps, DivGalleryScrollMode, DivGifImage, DivGifImageProps, DivGradientBackground, DivGrid, DivGridProps, DivImage, DivImageBackground, DivImageBackgroundProps, DivImageProps, DivImageScale, DivIndicator, DivIndicatorAnimation, DivIndicatorItemPlacement, DivIndicatorProps, DivInfinityCount, DivInfinityCountProps, DivInput, DivInputKeyboardType, DivInputMask, DivInputProps, DivLineStyle, DivLinearGradient, DivLinearGradientProps, DivMatchParentSize, DivMatchParentSizeProps, DivNeighbourPageSize, DivNeighbourPageSizeProps, DivNinePatchBackground, DivNinePatchBackgroundProps, DivPageSize, DivPageSizeProps, DivPager, DivPagerLayoutMode, DivPagerOrientation, DivPagerProps, DivPatchMode, DivPercentageSize, DivPercentageSizeProps, DivPivot, DivPivotFixed, DivPivotFixedProps, DivPivotPercentage, DivPivotPercentageProps, DivRadialGradient, DivRadialGradientCenter, DivRadialGradientFixedCenter, DivRadialGradientFixedCenterProps, DivRadialGradientProps, DivRadialGradientRadius, DivRadialGradientRelativeCenter, DivRadialGradientRelativeCenterProps, DivRadialGradientRelativeRadius, DivRadialGradientRelativeRadiusProps, DivRadialGradientRelativeRadiusValue, DivRoundedRectangleShape, DivRoundedRectangleShapeProps, DivScaleTransition, DivScaleTransitionProps, DivSeparator, DivSeparatorProps, DivShape, DivShapeDrawable, DivShapeDrawableProps, DivSize, DivSizeUnit, DivSlideTransition, DivSlideTransitionEdge, DivSlideTransitionProps, DivSlider, DivSliderProps, DivSolidBackground, DivSolidBackgroundProps, DivState, DivStateProps, DivStretchIndicatorItemPlacement, DivStretchIndicatorItemPlacementProps, DivTabs, DivTabsProps, DivText, DivTextGradient, DivTextProps, DivTextRangeBackground, DivTextTruncate, DivTooltipPosition, DivTransitionSelector, DivTransitionTrigger, DivTriggerMode, DivVariable, DivVisibility, DivWrapContentSize, DivWrapContentSizeProps, Exact, IDivAbsoluteEdgeInsets, IDivAccessibility, IDivAction, IDivActionMenuItem, IDivAnimation, IDivAspect, IDivBase, IDivBorder, IDivContainerSeparator, IDivCornersRadius, IDivData, IDivDataState, IDivDimension, IDivDownloadCallbacks, IDivEdgeInsets, IDivExtension, IDivFixedLengthInputMaskPatternElement, IDivFocus, IDivFocusNextFocusIds, IDivInputNativeInterface, IDivPatch, IDivPatchChange, IDivPoint, IDivSeparatorDelimiterStyle, IDivShadow, IDivSliderTextStyle, IDivStateState, IDivStroke, IDivTabsItem, IDivTabsTabTitleStyle, IDivTextEllipsis, IDivTextImage, IDivTextRange, IDivTextRangeBorder, IDivTimer, IDivTooltip, IDivTransform, IDivTransitionBase, IDivTrigger, IDivVisibilityAction, IDivWrapContentSizeConstraintSize, ITemplates, IntBoolean, IntegerVariable, IntegerVariableProps, NonEmptyArray, NumberVariable, NumberVariableProps, SafeDivExpression, StringVariable, StringVariableProps, TabTitleStyleAnimationType, TemplateBlock, TemplateHelper, TemplatePropertyReference, TemplateResolvedAction, ThelperWithMemo, Type, UrlVariable, UrlVariableProps, copyTemplates, divCard, escapeCard, escapeExpression, expression, fixed, getTemplateHash, matchParent, reference, rewriteNames, rewriteRefs, rewriteTemplateVersions, runResolveDeps, template, templateHelper, templatesDepsMap, thelperVersion, thelperWithMemo, treeWalkDFS, weighted, wrapContent };
7552
+ export { BooleanVariable, BooleanVariableProps, ColorVariable, ColorVariableProps, DelimiterStyleOrientation, Div, DivAccessibilityMode, DivAccessibilityType, DivActionTarget, DivAlignmentHorizontal, DivAlignmentVertical, DivAnimationInterpolator, DivAnimationName, DivAppearanceSetTransition, DivAppearanceSetTransitionProps, DivAppearanceTransition, DivBackground, DivBlendMode, DivBlur, DivBlurProps, DivChangeBoundsTransition, DivChangeBoundsTransitionProps, DivChangeSetTransition, DivChangeSetTransitionProps, DivChangeTransition, DivCircleShape, DivCircleShapeProps, DivContainer, DivContainerLayoutMode, DivContainerOrientation, DivContainerProps, DivCount, DivCurrencyInputMask, DivCurrencyInputMaskProps, DivCustom, DivCustomProps, DivDefaultIndicatorItemPlacement, DivDefaultIndicatorItemPlacementProps, DivDrawable, DivExpression, DivFadeTransition, DivFadeTransitionProps, DivFilter, DivFixedCount, DivFixedCountProps, DivFixedLengthInputMask, DivFixedLengthInputMaskProps, DivFixedSize, DivFixedSizeProps, DivFontFamily, DivFontWeight, DivGallery, DivGalleryCrossContentAlignment, DivGalleryOrientation, DivGalleryProps, DivGalleryScrollMode, DivGifImage, DivGifImageProps, DivGradientBackground, DivGrid, DivGridProps, DivImage, DivImageBackground, DivImageBackgroundProps, DivImageProps, DivImageScale, DivIndicator, DivIndicatorAnimation, DivIndicatorItemPlacement, DivIndicatorProps, DivInfinityCount, DivInfinityCountProps, DivInput, DivInputKeyboardType, DivInputMask, DivInputProps, DivLineStyle, DivLinearGradient, DivLinearGradientProps, DivMatchParentSize, DivMatchParentSizeProps, DivNeighbourPageSize, DivNeighbourPageSizeProps, DivNinePatchBackground, DivNinePatchBackgroundProps, DivPageSize, DivPageSizeProps, DivPager, DivPagerLayoutMode, DivPagerOrientation, DivPagerProps, DivPatchMode, DivPercentageSize, DivPercentageSizeProps, DivPivot, DivPivotFixed, DivPivotFixedProps, DivPivotPercentage, DivPivotPercentageProps, DivRadialGradient, DivRadialGradientCenter, DivRadialGradientFixedCenter, DivRadialGradientFixedCenterProps, DivRadialGradientProps, DivRadialGradientRadius, DivRadialGradientRelativeCenter, DivRadialGradientRelativeCenterProps, DivRadialGradientRelativeRadius, DivRadialGradientRelativeRadiusProps, DivRadialGradientRelativeRadiusValue, DivRoundedRectangleShape, DivRoundedRectangleShapeProps, DivScaleTransition, DivScaleTransitionProps, DivSelect, DivSelectProps, DivSeparator, DivSeparatorProps, DivShape, DivShapeDrawable, DivShapeDrawableProps, DivSize, DivSizeUnit, DivSlideTransition, DivSlideTransitionEdge, DivSlideTransitionProps, DivSlider, DivSliderProps, DivSolidBackground, DivSolidBackgroundProps, DivState, DivStateProps, DivStretchIndicatorItemPlacement, DivStretchIndicatorItemPlacementProps, DivTabs, DivTabsProps, DivText, DivTextGradient, DivTextProps, DivTextRangeBackground, DivTextTruncate, DivTooltipPosition, DivTransitionSelector, DivTransitionTrigger, DivTriggerMode, DivVariable, DivVisibility, DivWrapContentSize, DivWrapContentSizeProps, Exact, IDivAbsoluteEdgeInsets, IDivAccessibility, IDivAction, IDivActionMenuItem, IDivAnimation, IDivAspect, IDivBase, IDivBorder, IDivContainerSeparator, IDivCornersRadius, IDivData, IDivDataState, IDivDimension, IDivDownloadCallbacks, IDivEdgeInsets, IDivExtension, IDivFixedLengthInputMaskPatternElement, IDivFocus, IDivFocusNextFocusIds, IDivInputMaskBase, IDivInputNativeInterface, IDivPatch, IDivPatchChange, IDivPoint, IDivSelectOption, IDivSeparatorDelimiterStyle, IDivShadow, IDivSliderTextStyle, IDivStateState, IDivStroke, IDivTabsItem, IDivTabsTabTitleStyle, IDivTextEllipsis, IDivTextImage, IDivTextRange, IDivTextRangeBorder, IDivTimer, IDivTooltip, IDivTransform, IDivTransitionBase, IDivTrigger, IDivVisibilityAction, IDivWrapContentSizeConstraintSize, ITemplates, IntBoolean, IntegerVariable, IntegerVariableProps, NonEmptyArray, NumberVariable, NumberVariableProps, SafeDivExpression, StringVariable, StringVariableProps, TabTitleStyleAnimationType, TemplateBlock, TemplateHelper, TemplatePropertyReference, TemplateResolvedAction, ThelperWithMemo, Type, UrlVariable, UrlVariableProps, copyTemplates, divCard, escapeCard, escapeExpression, expression, fixed, getTemplateHash, matchParent, reference, rewriteNames, rewriteRefs, rewriteTemplateVersions, runResolveDeps, template, templateHelper, templatesDepsMap, thelperVersion, thelperWithMemo, treeWalkDFS, weighted, wrapContent };
@@ -137,6 +137,18 @@ class DivContainer {
137
137
  }
138
138
  }
139
139
 
140
+ // Generated code. Do not modify.
141
+ /**
142
+ * Mask for currency with language format.
143
+ */
144
+ class DivCurrencyInputMask {
145
+ constructor(props) {
146
+ this.type = 'currency';
147
+ this.locale = props.locale;
148
+ this.raw_text_variable = props.raw_text_variable;
149
+ }
150
+ }
151
+
140
152
  // Generated code. Do not modify.
141
153
  /**
142
154
  * Custom element. It is delegated to a host application to create native elements depending on
@@ -214,7 +226,7 @@ class DivFixedCount {
214
226
 
215
227
  // Generated code. Do not modify.
216
228
  /**
217
- * Text input mask with a fixed amount of characters.
229
+ * Mask for entering text with a fixed number of characters.
218
230
  */
219
231
  class DivFixedLengthInputMask {
220
232
  constructor(props) {
@@ -222,6 +234,7 @@ class DivFixedLengthInputMask {
222
234
  this.always_visible = props.always_visible;
223
235
  this.pattern = props.pattern;
224
236
  this.pattern_elements = props.pattern_elements;
237
+ this.raw_text_variable = props.raw_text_variable;
225
238
  }
226
239
  }
227
240
 
@@ -533,7 +546,6 @@ class DivInput {
533
546
  this.max_visible_lines = props.max_visible_lines;
534
547
  this.native_interface = props.native_interface;
535
548
  this.paddings = props.paddings;
536
- this.raw_text_variable = props.raw_text_variable;
537
549
  this.row_span = props.row_span;
538
550
  this.select_all_on_focus = props.select_all_on_focus;
539
551
  this.selected_actions = props.selected_actions;
@@ -764,6 +776,52 @@ class DivScaleTransition {
764
776
  }
765
777
  }
766
778
 
779
+ // Generated code. Do not modify.
780
+ /**
781
+ * Option list selection element.
782
+ */
783
+ class DivSelect {
784
+ constructor(props) {
785
+ this.type = 'select';
786
+ this.accessibility = props.accessibility;
787
+ this.alignment_horizontal = props.alignment_horizontal;
788
+ this.alignment_vertical = props.alignment_vertical;
789
+ this.alpha = props.alpha;
790
+ this.background = props.background;
791
+ this.border = props.border;
792
+ this.column_span = props.column_span;
793
+ this.extensions = props.extensions;
794
+ this.focus = props.focus;
795
+ this.font_family = props.font_family;
796
+ this.font_size = props.font_size;
797
+ this.font_size_unit = props.font_size_unit;
798
+ this.font_weight = props.font_weight;
799
+ this.height = props.height;
800
+ this.hint_color = props.hint_color;
801
+ this.hint_text = props.hint_text;
802
+ this.id = props.id;
803
+ this.letter_spacing = props.letter_spacing;
804
+ this.line_height = props.line_height;
805
+ this.margins = props.margins;
806
+ this.options = props.options;
807
+ this.paddings = props.paddings;
808
+ this.row_span = props.row_span;
809
+ this.selected_actions = props.selected_actions;
810
+ this.text_color = props.text_color;
811
+ this.tooltips = props.tooltips;
812
+ this.transform = props.transform;
813
+ this.transition_change = props.transition_change;
814
+ this.transition_in = props.transition_in;
815
+ this.transition_out = props.transition_out;
816
+ this.transition_triggers = props.transition_triggers;
817
+ this.value_variable = props.value_variable;
818
+ this.visibility = props.visibility;
819
+ this.visibility_action = props.visibility_action;
820
+ this.visibility_actions = props.visibility_actions;
821
+ this.width = props.width;
822
+ }
823
+ }
824
+
767
825
  // Generated code. Do not modify.
768
826
  /**
769
827
  * A separating line between elements.
@@ -1493,6 +1551,7 @@ exports.DivChangeBoundsTransition = DivChangeBoundsTransition;
1493
1551
  exports.DivChangeSetTransition = DivChangeSetTransition;
1494
1552
  exports.DivCircleShape = DivCircleShape;
1495
1553
  exports.DivContainer = DivContainer;
1554
+ exports.DivCurrencyInputMask = DivCurrencyInputMask;
1496
1555
  exports.DivCustom = DivCustom;
1497
1556
  exports.DivDefaultIndicatorItemPlacement = DivDefaultIndicatorItemPlacement;
1498
1557
  exports.DivFadeTransition = DivFadeTransition;
@@ -1523,6 +1582,7 @@ exports.DivRadialGradientRelativeCenter = DivRadialGradientRelativeCenter;
1523
1582
  exports.DivRadialGradientRelativeRadius = DivRadialGradientRelativeRadius;
1524
1583
  exports.DivRoundedRectangleShape = DivRoundedRectangleShape;
1525
1584
  exports.DivScaleTransition = DivScaleTransition;
1585
+ exports.DivSelect = DivSelect;
1526
1586
  exports.DivSeparator = DivSeparator;
1527
1587
  exports.DivShapeDrawable = DivShapeDrawable;
1528
1588
  exports.DivSlideTransition = DivSlideTransition;