@divkitframework/jsonbuilder 32.17.0 → 32.19.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.
@@ -515,6 +515,7 @@ class DivContainer {
515
515
  this.separator = props === null || props === void 0 ? void 0 : props.separator;
516
516
  this.tooltips = props === null || props === void 0 ? void 0 : props.tooltips;
517
517
  this.transform = props === null || props === void 0 ? void 0 : props.transform;
518
+ this.transformations = props === null || props === void 0 ? void 0 : props.transformations;
518
519
  this.transition_change = props === null || props === void 0 ? void 0 : props.transition_change;
519
520
  this.transition_in = props === null || props === void 0 ? void 0 : props.transition_in;
520
521
  this.transition_out = props === null || props === void 0 ? void 0 : props.transition_out;
@@ -573,6 +574,7 @@ class DivCustom {
573
574
  this.selected_actions = props.selected_actions;
574
575
  this.tooltips = props.tooltips;
575
576
  this.transform = props.transform;
577
+ this.transformations = props.transformations;
576
578
  this.transition_change = props.transition_change;
577
579
  this.transition_in = props.transition_in;
578
580
  this.transition_out = props.transition_out;
@@ -658,6 +660,18 @@ class DivFixedSize {
658
660
  }
659
661
  }
660
662
 
663
+ // Generated code. Do not modify.
664
+ /**
665
+ * Fixed coordinates of the translation.
666
+ */
667
+ class DivFixedTranslation {
668
+ constructor(props) {
669
+ this.type = 'translation-fixed';
670
+ this.unit = props.unit;
671
+ this.value = props.value;
672
+ }
673
+ }
674
+
661
675
  // Generated code. Do not modify.
662
676
  /**
663
677
  * Gallery. It contains a horizontal or vertical set of cards that can be scrolled.
@@ -698,6 +712,7 @@ class DivGallery {
698
712
  this.selected_actions = props === null || props === void 0 ? void 0 : props.selected_actions;
699
713
  this.tooltips = props === null || props === void 0 ? void 0 : props.tooltips;
700
714
  this.transform = props === null || props === void 0 ? void 0 : props.transform;
715
+ this.transformations = props === null || props === void 0 ? void 0 : props.transformations;
701
716
  this.transition_change = props === null || props === void 0 ? void 0 : props.transition_change;
702
717
  this.transition_in = props === null || props === void 0 ? void 0 : props.transition_in;
703
718
  this.transition_out = props === null || props === void 0 ? void 0 : props.transition_out;
@@ -758,6 +773,7 @@ class DivGifImage {
758
773
  this.selected_actions = props.selected_actions;
759
774
  this.tooltips = props.tooltips;
760
775
  this.transform = props.transform;
776
+ this.transformations = props.transformations;
761
777
  this.transition_change = props.transition_change;
762
778
  this.transition_in = props.transition_in;
763
779
  this.transition_out = props.transition_out;
@@ -814,6 +830,7 @@ class DivGrid {
814
830
  this.selected_actions = props.selected_actions;
815
831
  this.tooltips = props.tooltips;
816
832
  this.transform = props.transform;
833
+ this.transformations = props.transformations;
817
834
  this.transition_change = props.transition_change;
818
835
  this.transition_in = props.transition_in;
819
836
  this.transition_out = props.transition_out;
@@ -879,6 +896,7 @@ class DivImage {
879
896
  this.tint_mode = props.tint_mode;
880
897
  this.tooltips = props.tooltips;
881
898
  this.transform = props.transform;
899
+ this.transformations = props.transformations;
882
900
  this.transition_change = props.transition_change;
883
901
  this.transition_in = props.transition_in;
884
902
  this.transition_out = props.transition_out;
@@ -950,6 +968,7 @@ class DivIndicator {
950
968
  this.space_between_centers = props === null || props === void 0 ? void 0 : props.space_between_centers;
951
969
  this.tooltips = props === null || props === void 0 ? void 0 : props.tooltips;
952
970
  this.transform = props === null || props === void 0 ? void 0 : props.transform;
971
+ this.transformations = props === null || props === void 0 ? void 0 : props.transformations;
953
972
  this.transition_change = props === null || props === void 0 ? void 0 : props.transition_change;
954
973
  this.transition_in = props === null || props === void 0 ? void 0 : props.transition_in;
955
974
  this.transition_out = props === null || props === void 0 ? void 0 : props.transition_out;
@@ -1028,6 +1047,7 @@ class DivInput {
1028
1047
  this.text_variable = props.text_variable;
1029
1048
  this.tooltips = props.tooltips;
1030
1049
  this.transform = props.transform;
1050
+ this.transformations = props.transformations;
1031
1051
  this.transition_change = props.transition_change;
1032
1052
  this.transition_in = props.transition_in;
1033
1053
  this.transition_out = props.transition_out;
@@ -1255,6 +1275,7 @@ class DivPager {
1255
1275
  this.selected_actions = props.selected_actions;
1256
1276
  this.tooltips = props.tooltips;
1257
1277
  this.transform = props.transform;
1278
+ this.transformations = props.transformations;
1258
1279
  this.transition_change = props.transition_change;
1259
1280
  this.transition_in = props.transition_in;
1260
1281
  this.transition_out = props.transition_out;
@@ -1279,6 +1300,17 @@ class DivPercentageSize {
1279
1300
  }
1280
1301
  }
1281
1302
 
1303
+ // Generated code. Do not modify.
1304
+ /**
1305
+ * Location of the translation coordinates as a percentage relative to the element size.
1306
+ */
1307
+ class DivPercentageTranslation {
1308
+ constructor(props) {
1309
+ this.type = 'translation-percentage';
1310
+ this.value = props.value;
1311
+ }
1312
+ }
1313
+
1282
1314
  // Generated code. Do not modify.
1283
1315
  /**
1284
1316
  * Mask for entering phone numbers with dynamic regional format identification.
@@ -1362,6 +1394,19 @@ class DivRadialGradientRelativeRadius {
1362
1394
  }
1363
1395
  }
1364
1396
 
1397
+ // Generated code. Do not modify.
1398
+ /**
1399
+ * Rotation transformation.
1400
+ */
1401
+ class DivRotationTransformation {
1402
+ constructor(props) {
1403
+ this.type = 'rotation';
1404
+ this.angle = props.angle;
1405
+ this.pivot_x = props.pivot_x;
1406
+ this.pivot_y = props.pivot_y;
1407
+ }
1408
+ }
1409
+
1365
1410
  // Generated code. Do not modify.
1366
1411
  /**
1367
1412
  * A rectangle with rounded corners.
@@ -1434,6 +1479,7 @@ class DivSelect {
1434
1479
  this.text_color = props.text_color;
1435
1480
  this.tooltips = props.tooltips;
1436
1481
  this.transform = props.transform;
1482
+ this.transformations = props.transformations;
1437
1483
  this.transition_change = props.transition_change;
1438
1484
  this.transition_in = props.transition_in;
1439
1485
  this.transition_out = props.transition_out;
@@ -1488,6 +1534,7 @@ class DivSeparator {
1488
1534
  this.selected_actions = props === null || props === void 0 ? void 0 : props.selected_actions;
1489
1535
  this.tooltips = props === null || props === void 0 ? void 0 : props.tooltips;
1490
1536
  this.transform = props === null || props === void 0 ? void 0 : props.transform;
1537
+ this.transformations = props === null || props === void 0 ? void 0 : props.transformations;
1491
1538
  this.transition_change = props === null || props === void 0 ? void 0 : props.transition_change;
1492
1539
  this.transition_in = props === null || props === void 0 ? void 0 : props.transition_in;
1493
1540
  this.transition_out = props === null || props === void 0 ? void 0 : props.transition_out;
@@ -1573,6 +1620,7 @@ class DivSlider {
1573
1620
  this.track_active_style = props.track_active_style;
1574
1621
  this.track_inactive_style = props.track_inactive_style;
1575
1622
  this.transform = props.transform;
1623
+ this.transformations = props.transformations;
1576
1624
  this.transition_change = props.transition_change;
1577
1625
  this.transition_in = props.transition_in;
1578
1626
  this.transition_out = props.transition_out;
@@ -1641,6 +1689,7 @@ class DivState {
1641
1689
  this.states = props.states;
1642
1690
  this.tooltips = props.tooltips;
1643
1691
  this.transform = props.transform;
1692
+ this.transformations = props.transformations;
1644
1693
  this.transition_animation_selector = props.transition_animation_selector;
1645
1694
  this.transition_change = props.transition_change;
1646
1695
  this.transition_in = props.transition_in;
@@ -1720,6 +1769,7 @@ class DivSwitch {
1720
1769
  this.selected_actions = props.selected_actions;
1721
1770
  this.tooltips = props.tooltips;
1722
1771
  this.transform = props.transform;
1772
+ this.transformations = props.transformations;
1723
1773
  this.transition_change = props.transition_change;
1724
1774
  this.transition_in = props.transition_in;
1725
1775
  this.transition_out = props.transition_out;
@@ -1774,6 +1824,7 @@ class DivTabs {
1774
1824
  this.title_paddings = props.title_paddings;
1775
1825
  this.tooltips = props.tooltips;
1776
1826
  this.transform = props.transform;
1827
+ this.transformations = props.transformations;
1777
1828
  this.transition_change = props.transition_change;
1778
1829
  this.transition_in = props.transition_in;
1779
1830
  this.transition_out = props.transition_out;
@@ -1851,6 +1902,7 @@ class DivText {
1851
1902
  this.tighten_width = props.tighten_width;
1852
1903
  this.tooltips = props.tooltips;
1853
1904
  this.transform = props.transform;
1905
+ this.transformations = props.transformations;
1854
1906
  this.transition_change = props.transition_change;
1855
1907
  this.transition_in = props.transition_in;
1856
1908
  this.transition_out = props.transition_out;
@@ -1916,6 +1968,18 @@ class DivTooltipModeNonModal {
1916
1968
  }
1917
1969
  }
1918
1970
 
1971
+ // Generated code. Do not modify.
1972
+ /**
1973
+ * Translation transformation.
1974
+ */
1975
+ class DivTranslationTransformation {
1976
+ constructor(props) {
1977
+ this.type = 'translation';
1978
+ this.x = props === null || props === void 0 ? void 0 : props.x;
1979
+ this.y = props === null || props === void 0 ? void 0 : props.y;
1980
+ }
1981
+ }
1982
+
1919
1983
  // Generated code. Do not modify.
1920
1984
  /**
1921
1985
  * Video.
@@ -1959,6 +2023,7 @@ class DivVideo {
1959
2023
  this.selected_actions = props.selected_actions;
1960
2024
  this.tooltips = props.tooltips;
1961
2025
  this.transform = props.transform;
2026
+ this.transformations = props.transformations;
1962
2027
  this.transition_change = props.transition_change;
1963
2028
  this.transition_in = props.transition_in;
1964
2029
  this.transition_out = props.transition_out;
@@ -2568,6 +2633,7 @@ exports.DivFilterRtlMirror = DivFilterRtlMirror;
2568
2633
  exports.DivFixedCount = DivFixedCount;
2569
2634
  exports.DivFixedLengthInputMask = DivFixedLengthInputMask;
2570
2635
  exports.DivFixedSize = DivFixedSize;
2636
+ exports.DivFixedTranslation = DivFixedTranslation;
2571
2637
  exports.DivGallery = DivGallery;
2572
2638
  exports.DivGifImage = DivGifImage;
2573
2639
  exports.DivGradientBackground = DivGradientBackground;
@@ -2592,6 +2658,7 @@ exports.DivPageTransformationOverlap = DivPageTransformationOverlap;
2592
2658
  exports.DivPageTransformationSlide = DivPageTransformationSlide;
2593
2659
  exports.DivPager = DivPager;
2594
2660
  exports.DivPercentageSize = DivPercentageSize;
2661
+ exports.DivPercentageTranslation = DivPercentageTranslation;
2595
2662
  exports.DivPhoneInputMask = DivPhoneInputMask;
2596
2663
  exports.DivPivotFixed = DivPivotFixed;
2597
2664
  exports.DivPivotPercentage = DivPivotPercentage;
@@ -2599,6 +2666,7 @@ exports.DivRadialGradient = DivRadialGradient;
2599
2666
  exports.DivRadialGradientFixedCenter = DivRadialGradientFixedCenter;
2600
2667
  exports.DivRadialGradientRelativeCenter = DivRadialGradientRelativeCenter;
2601
2668
  exports.DivRadialGradientRelativeRadius = DivRadialGradientRelativeRadius;
2669
+ exports.DivRotationTransformation = DivRotationTransformation;
2602
2670
  exports.DivRoundedRectangleShape = DivRoundedRectangleShape;
2603
2671
  exports.DivScaleTransition = DivScaleTransition;
2604
2672
  exports.DivSelect = DivSelect;
@@ -2618,6 +2686,7 @@ exports.DivTextRangeMaskParticles = DivTextRangeMaskParticles;
2618
2686
  exports.DivTextRangeMaskSolid = DivTextRangeMaskSolid;
2619
2687
  exports.DivTooltipModeModal = DivTooltipModeModal;
2620
2688
  exports.DivTooltipModeNonModal = DivTooltipModeNonModal;
2689
+ exports.DivTranslationTransformation = DivTranslationTransformation;
2621
2690
  exports.DivVideo = DivVideo;
2622
2691
  exports.DivVideoSource = DivVideoSource;
2623
2692
  exports.DivVideoSourceResolution = DivVideoSourceResolution;