@divkitframework/jsonbuilder 32.18.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.
- package/dist/es/jsonbuilder.js +66 -1
- package/dist/es/jsonbuilder.js.map +1 -1
- package/dist/jsonbuilder.d.ts +325 -1
- package/dist/jsonbuilder.js +69 -0
- package/dist/jsonbuilder.js.map +1 -1
- package/package.json +1 -1
package/dist/es/jsonbuilder.js
CHANGED
|
@@ -511,6 +511,7 @@ class DivContainer {
|
|
|
511
511
|
this.separator = props === null || props === void 0 ? void 0 : props.separator;
|
|
512
512
|
this.tooltips = props === null || props === void 0 ? void 0 : props.tooltips;
|
|
513
513
|
this.transform = props === null || props === void 0 ? void 0 : props.transform;
|
|
514
|
+
this.transformations = props === null || props === void 0 ? void 0 : props.transformations;
|
|
514
515
|
this.transition_change = props === null || props === void 0 ? void 0 : props.transition_change;
|
|
515
516
|
this.transition_in = props === null || props === void 0 ? void 0 : props.transition_in;
|
|
516
517
|
this.transition_out = props === null || props === void 0 ? void 0 : props.transition_out;
|
|
@@ -569,6 +570,7 @@ class DivCustom {
|
|
|
569
570
|
this.selected_actions = props.selected_actions;
|
|
570
571
|
this.tooltips = props.tooltips;
|
|
571
572
|
this.transform = props.transform;
|
|
573
|
+
this.transformations = props.transformations;
|
|
572
574
|
this.transition_change = props.transition_change;
|
|
573
575
|
this.transition_in = props.transition_in;
|
|
574
576
|
this.transition_out = props.transition_out;
|
|
@@ -654,6 +656,18 @@ class DivFixedSize {
|
|
|
654
656
|
}
|
|
655
657
|
}
|
|
656
658
|
|
|
659
|
+
// Generated code. Do not modify.
|
|
660
|
+
/**
|
|
661
|
+
* Fixed coordinates of the translation.
|
|
662
|
+
*/
|
|
663
|
+
class DivFixedTranslation {
|
|
664
|
+
constructor(props) {
|
|
665
|
+
this.type = 'translation-fixed';
|
|
666
|
+
this.unit = props.unit;
|
|
667
|
+
this.value = props.value;
|
|
668
|
+
}
|
|
669
|
+
}
|
|
670
|
+
|
|
657
671
|
// Generated code. Do not modify.
|
|
658
672
|
/**
|
|
659
673
|
* Gallery. It contains a horizontal or vertical set of cards that can be scrolled.
|
|
@@ -694,6 +708,7 @@ class DivGallery {
|
|
|
694
708
|
this.selected_actions = props === null || props === void 0 ? void 0 : props.selected_actions;
|
|
695
709
|
this.tooltips = props === null || props === void 0 ? void 0 : props.tooltips;
|
|
696
710
|
this.transform = props === null || props === void 0 ? void 0 : props.transform;
|
|
711
|
+
this.transformations = props === null || props === void 0 ? void 0 : props.transformations;
|
|
697
712
|
this.transition_change = props === null || props === void 0 ? void 0 : props.transition_change;
|
|
698
713
|
this.transition_in = props === null || props === void 0 ? void 0 : props.transition_in;
|
|
699
714
|
this.transition_out = props === null || props === void 0 ? void 0 : props.transition_out;
|
|
@@ -754,6 +769,7 @@ class DivGifImage {
|
|
|
754
769
|
this.selected_actions = props.selected_actions;
|
|
755
770
|
this.tooltips = props.tooltips;
|
|
756
771
|
this.transform = props.transform;
|
|
772
|
+
this.transformations = props.transformations;
|
|
757
773
|
this.transition_change = props.transition_change;
|
|
758
774
|
this.transition_in = props.transition_in;
|
|
759
775
|
this.transition_out = props.transition_out;
|
|
@@ -810,6 +826,7 @@ class DivGrid {
|
|
|
810
826
|
this.selected_actions = props.selected_actions;
|
|
811
827
|
this.tooltips = props.tooltips;
|
|
812
828
|
this.transform = props.transform;
|
|
829
|
+
this.transformations = props.transformations;
|
|
813
830
|
this.transition_change = props.transition_change;
|
|
814
831
|
this.transition_in = props.transition_in;
|
|
815
832
|
this.transition_out = props.transition_out;
|
|
@@ -875,6 +892,7 @@ class DivImage {
|
|
|
875
892
|
this.tint_mode = props.tint_mode;
|
|
876
893
|
this.tooltips = props.tooltips;
|
|
877
894
|
this.transform = props.transform;
|
|
895
|
+
this.transformations = props.transformations;
|
|
878
896
|
this.transition_change = props.transition_change;
|
|
879
897
|
this.transition_in = props.transition_in;
|
|
880
898
|
this.transition_out = props.transition_out;
|
|
@@ -946,6 +964,7 @@ class DivIndicator {
|
|
|
946
964
|
this.space_between_centers = props === null || props === void 0 ? void 0 : props.space_between_centers;
|
|
947
965
|
this.tooltips = props === null || props === void 0 ? void 0 : props.tooltips;
|
|
948
966
|
this.transform = props === null || props === void 0 ? void 0 : props.transform;
|
|
967
|
+
this.transformations = props === null || props === void 0 ? void 0 : props.transformations;
|
|
949
968
|
this.transition_change = props === null || props === void 0 ? void 0 : props.transition_change;
|
|
950
969
|
this.transition_in = props === null || props === void 0 ? void 0 : props.transition_in;
|
|
951
970
|
this.transition_out = props === null || props === void 0 ? void 0 : props.transition_out;
|
|
@@ -1024,6 +1043,7 @@ class DivInput {
|
|
|
1024
1043
|
this.text_variable = props.text_variable;
|
|
1025
1044
|
this.tooltips = props.tooltips;
|
|
1026
1045
|
this.transform = props.transform;
|
|
1046
|
+
this.transformations = props.transformations;
|
|
1027
1047
|
this.transition_change = props.transition_change;
|
|
1028
1048
|
this.transition_in = props.transition_in;
|
|
1029
1049
|
this.transition_out = props.transition_out;
|
|
@@ -1251,6 +1271,7 @@ class DivPager {
|
|
|
1251
1271
|
this.selected_actions = props.selected_actions;
|
|
1252
1272
|
this.tooltips = props.tooltips;
|
|
1253
1273
|
this.transform = props.transform;
|
|
1274
|
+
this.transformations = props.transformations;
|
|
1254
1275
|
this.transition_change = props.transition_change;
|
|
1255
1276
|
this.transition_in = props.transition_in;
|
|
1256
1277
|
this.transition_out = props.transition_out;
|
|
@@ -1275,6 +1296,17 @@ class DivPercentageSize {
|
|
|
1275
1296
|
}
|
|
1276
1297
|
}
|
|
1277
1298
|
|
|
1299
|
+
// Generated code. Do not modify.
|
|
1300
|
+
/**
|
|
1301
|
+
* Location of the translation coordinates as a percentage relative to the element size.
|
|
1302
|
+
*/
|
|
1303
|
+
class DivPercentageTranslation {
|
|
1304
|
+
constructor(props) {
|
|
1305
|
+
this.type = 'translation-percentage';
|
|
1306
|
+
this.value = props.value;
|
|
1307
|
+
}
|
|
1308
|
+
}
|
|
1309
|
+
|
|
1278
1310
|
// Generated code. Do not modify.
|
|
1279
1311
|
/**
|
|
1280
1312
|
* Mask for entering phone numbers with dynamic regional format identification.
|
|
@@ -1358,6 +1390,19 @@ class DivRadialGradientRelativeRadius {
|
|
|
1358
1390
|
}
|
|
1359
1391
|
}
|
|
1360
1392
|
|
|
1393
|
+
// Generated code. Do not modify.
|
|
1394
|
+
/**
|
|
1395
|
+
* Rotation transformation.
|
|
1396
|
+
*/
|
|
1397
|
+
class DivRotationTransformation {
|
|
1398
|
+
constructor(props) {
|
|
1399
|
+
this.type = 'rotation';
|
|
1400
|
+
this.angle = props.angle;
|
|
1401
|
+
this.pivot_x = props.pivot_x;
|
|
1402
|
+
this.pivot_y = props.pivot_y;
|
|
1403
|
+
}
|
|
1404
|
+
}
|
|
1405
|
+
|
|
1361
1406
|
// Generated code. Do not modify.
|
|
1362
1407
|
/**
|
|
1363
1408
|
* A rectangle with rounded corners.
|
|
@@ -1430,6 +1475,7 @@ class DivSelect {
|
|
|
1430
1475
|
this.text_color = props.text_color;
|
|
1431
1476
|
this.tooltips = props.tooltips;
|
|
1432
1477
|
this.transform = props.transform;
|
|
1478
|
+
this.transformations = props.transformations;
|
|
1433
1479
|
this.transition_change = props.transition_change;
|
|
1434
1480
|
this.transition_in = props.transition_in;
|
|
1435
1481
|
this.transition_out = props.transition_out;
|
|
@@ -1484,6 +1530,7 @@ class DivSeparator {
|
|
|
1484
1530
|
this.selected_actions = props === null || props === void 0 ? void 0 : props.selected_actions;
|
|
1485
1531
|
this.tooltips = props === null || props === void 0 ? void 0 : props.tooltips;
|
|
1486
1532
|
this.transform = props === null || props === void 0 ? void 0 : props.transform;
|
|
1533
|
+
this.transformations = props === null || props === void 0 ? void 0 : props.transformations;
|
|
1487
1534
|
this.transition_change = props === null || props === void 0 ? void 0 : props.transition_change;
|
|
1488
1535
|
this.transition_in = props === null || props === void 0 ? void 0 : props.transition_in;
|
|
1489
1536
|
this.transition_out = props === null || props === void 0 ? void 0 : props.transition_out;
|
|
@@ -1569,6 +1616,7 @@ class DivSlider {
|
|
|
1569
1616
|
this.track_active_style = props.track_active_style;
|
|
1570
1617
|
this.track_inactive_style = props.track_inactive_style;
|
|
1571
1618
|
this.transform = props.transform;
|
|
1619
|
+
this.transformations = props.transformations;
|
|
1572
1620
|
this.transition_change = props.transition_change;
|
|
1573
1621
|
this.transition_in = props.transition_in;
|
|
1574
1622
|
this.transition_out = props.transition_out;
|
|
@@ -1637,6 +1685,7 @@ class DivState {
|
|
|
1637
1685
|
this.states = props.states;
|
|
1638
1686
|
this.tooltips = props.tooltips;
|
|
1639
1687
|
this.transform = props.transform;
|
|
1688
|
+
this.transformations = props.transformations;
|
|
1640
1689
|
this.transition_animation_selector = props.transition_animation_selector;
|
|
1641
1690
|
this.transition_change = props.transition_change;
|
|
1642
1691
|
this.transition_in = props.transition_in;
|
|
@@ -1716,6 +1765,7 @@ class DivSwitch {
|
|
|
1716
1765
|
this.selected_actions = props.selected_actions;
|
|
1717
1766
|
this.tooltips = props.tooltips;
|
|
1718
1767
|
this.transform = props.transform;
|
|
1768
|
+
this.transformations = props.transformations;
|
|
1719
1769
|
this.transition_change = props.transition_change;
|
|
1720
1770
|
this.transition_in = props.transition_in;
|
|
1721
1771
|
this.transition_out = props.transition_out;
|
|
@@ -1770,6 +1820,7 @@ class DivTabs {
|
|
|
1770
1820
|
this.title_paddings = props.title_paddings;
|
|
1771
1821
|
this.tooltips = props.tooltips;
|
|
1772
1822
|
this.transform = props.transform;
|
|
1823
|
+
this.transformations = props.transformations;
|
|
1773
1824
|
this.transition_change = props.transition_change;
|
|
1774
1825
|
this.transition_in = props.transition_in;
|
|
1775
1826
|
this.transition_out = props.transition_out;
|
|
@@ -1847,6 +1898,7 @@ class DivText {
|
|
|
1847
1898
|
this.tighten_width = props.tighten_width;
|
|
1848
1899
|
this.tooltips = props.tooltips;
|
|
1849
1900
|
this.transform = props.transform;
|
|
1901
|
+
this.transformations = props.transformations;
|
|
1850
1902
|
this.transition_change = props.transition_change;
|
|
1851
1903
|
this.transition_in = props.transition_in;
|
|
1852
1904
|
this.transition_out = props.transition_out;
|
|
@@ -1912,6 +1964,18 @@ class DivTooltipModeNonModal {
|
|
|
1912
1964
|
}
|
|
1913
1965
|
}
|
|
1914
1966
|
|
|
1967
|
+
// Generated code. Do not modify.
|
|
1968
|
+
/**
|
|
1969
|
+
* Translation transformation.
|
|
1970
|
+
*/
|
|
1971
|
+
class DivTranslationTransformation {
|
|
1972
|
+
constructor(props) {
|
|
1973
|
+
this.type = 'translation';
|
|
1974
|
+
this.x = props === null || props === void 0 ? void 0 : props.x;
|
|
1975
|
+
this.y = props === null || props === void 0 ? void 0 : props.y;
|
|
1976
|
+
}
|
|
1977
|
+
}
|
|
1978
|
+
|
|
1915
1979
|
// Generated code. Do not modify.
|
|
1916
1980
|
/**
|
|
1917
1981
|
* Video.
|
|
@@ -1955,6 +2019,7 @@ class DivVideo {
|
|
|
1955
2019
|
this.selected_actions = props.selected_actions;
|
|
1956
2020
|
this.tooltips = props.tooltips;
|
|
1957
2021
|
this.transform = props.transform;
|
|
2022
|
+
this.transformations = props.transformations;
|
|
1958
2023
|
this.transition_change = props.transition_change;
|
|
1959
2024
|
this.transition_in = props.transition_in;
|
|
1960
2025
|
this.transition_out = props.transition_out;
|
|
@@ -2517,5 +2582,5 @@ function rewriteTemplateVersions(templates, resolvedNames) {
|
|
|
2517
2582
|
return rewriteNames(templates, rename, resolvedNames);
|
|
2518
2583
|
}
|
|
2519
2584
|
|
|
2520
|
-
export { ArrayValue, ArrayVariable, BooleanValue, BooleanVariable, ColorValue, ColorVariable, ContentText, ContentUrl, DictValue, DictVariable, DivActionAnimatorStart, DivActionAnimatorStop, DivActionArrayInsertValue, DivActionArrayRemoveValue, DivActionArraySetValue, DivActionClearFocus, DivActionCopyToClipboard, DivActionDictSetValue, DivActionDownload, DivActionFocusElement, DivActionHideTooltip, DivActionScrollBy, DivActionScrollTo, DivActionSetState, DivActionSetStoredValue, DivActionSetVariable, DivActionShowTooltip, DivActionSubmit, DivActionTimer, DivActionUpdateStructure, DivActionVideo, DivAppearanceSetTransition, DivBlur, DivChangeBoundsTransition, DivChangeSetTransition, DivCircleShape, DivCloudBackground, DivColorAnimator, DivContainer, DivCurrencyInputMask, DivCustom, DivDefaultIndicatorItemPlacement, DivFadeTransition, DivFilterRtlMirror, DivFixedCount, DivFixedLengthInputMask, DivFixedSize, DivGallery, DivGifImage, DivGradientBackground, DivGrid, DivImage, DivImageBackground, DivIndicator, DivInfinityCount, DivInput, DivInputFilterExpression, DivInputFilterRegex, DivInputValidatorExpression, DivInputValidatorRegex, DivLinearGradient, DivMatchParentSize, DivNeighbourPageSize, DivNinePatchBackground, DivNumberAnimator, DivPageContentSize, DivPageSize, DivPageTransformationOverlap, DivPageTransformationSlide, DivPager, DivPercentageSize, DivPhoneInputMask, DivPivotFixed, DivPivotPercentage, DivRadialGradient, DivRadialGradientFixedCenter, DivRadialGradientRelativeCenter, DivRadialGradientRelativeRadius, DivRoundedRectangleShape, DivScaleTransition, DivSelect, DivSeparator, DivShapeDrawable, DivSlideTransition, DivSlider, DivSolidBackground, DivState, DivStretchIndicatorItemPlacement, DivStrokeStyleDashed, DivStrokeStyleSolid, DivSwitch, DivTabs, DivText, DivTextRangeMaskParticles, DivTextRangeMaskSolid, DivTooltipModeModal, DivTooltipModeNonModal, DivVideo, DivVideoSource, DivVideoSourceResolution, DivWrapContentSize, EndDestination, IndexDestination, IntegerValue, IntegerVariable, NumberValue, NumberVariable, OffsetDestination, PropertyVariable, SafeDivExpression, StartDestination, StringValue, StringVariable, TemplateBlock, TemplatePropertyReference, UrlValue, UrlVariable, copyTemplates, divCard, escapeCard, escapeExpression, expression, fixed, getTemplateHash, matchParent, reference, rewriteNames, rewriteRefs, rewriteTemplateVersions, runResolveDeps, template, templateHelper, templatesDepsMap, thelperVersion, thelperWithMemo, treeWalkDFS, weighted, wrapContent };
|
|
2585
|
+
export { ArrayValue, ArrayVariable, BooleanValue, BooleanVariable, ColorValue, ColorVariable, ContentText, ContentUrl, DictValue, DictVariable, DivActionAnimatorStart, DivActionAnimatorStop, DivActionArrayInsertValue, DivActionArrayRemoveValue, DivActionArraySetValue, DivActionClearFocus, DivActionCopyToClipboard, DivActionDictSetValue, DivActionDownload, DivActionFocusElement, DivActionHideTooltip, DivActionScrollBy, DivActionScrollTo, DivActionSetState, DivActionSetStoredValue, DivActionSetVariable, DivActionShowTooltip, DivActionSubmit, DivActionTimer, DivActionUpdateStructure, DivActionVideo, DivAppearanceSetTransition, DivBlur, DivChangeBoundsTransition, DivChangeSetTransition, DivCircleShape, DivCloudBackground, DivColorAnimator, DivContainer, DivCurrencyInputMask, DivCustom, DivDefaultIndicatorItemPlacement, DivFadeTransition, DivFilterRtlMirror, DivFixedCount, DivFixedLengthInputMask, DivFixedSize, DivFixedTranslation, DivGallery, DivGifImage, DivGradientBackground, DivGrid, DivImage, DivImageBackground, DivIndicator, DivInfinityCount, DivInput, DivInputFilterExpression, DivInputFilterRegex, DivInputValidatorExpression, DivInputValidatorRegex, DivLinearGradient, DivMatchParentSize, DivNeighbourPageSize, DivNinePatchBackground, DivNumberAnimator, DivPageContentSize, DivPageSize, DivPageTransformationOverlap, DivPageTransformationSlide, DivPager, DivPercentageSize, DivPercentageTranslation, DivPhoneInputMask, DivPivotFixed, DivPivotPercentage, DivRadialGradient, DivRadialGradientFixedCenter, DivRadialGradientRelativeCenter, DivRadialGradientRelativeRadius, DivRotationTransformation, DivRoundedRectangleShape, DivScaleTransition, DivSelect, DivSeparator, DivShapeDrawable, DivSlideTransition, DivSlider, DivSolidBackground, DivState, DivStretchIndicatorItemPlacement, DivStrokeStyleDashed, DivStrokeStyleSolid, DivSwitch, DivTabs, DivText, DivTextRangeMaskParticles, DivTextRangeMaskSolid, DivTooltipModeModal, DivTooltipModeNonModal, DivTranslationTransformation, DivVideo, DivVideoSource, DivVideoSourceResolution, DivWrapContentSize, EndDestination, IndexDestination, IntegerValue, IntegerVariable, NumberValue, NumberVariable, OffsetDestination, PropertyVariable, SafeDivExpression, StartDestination, StringValue, StringVariable, TemplateBlock, TemplatePropertyReference, UrlValue, UrlVariable, copyTemplates, divCard, escapeCard, escapeExpression, expression, fixed, getTemplateHash, matchParent, reference, rewriteNames, rewriteRefs, rewriteTemplateVersions, runResolveDeps, template, templateHelper, templatesDepsMap, thelperVersion, thelperWithMemo, treeWalkDFS, weighted, wrapContent };
|
|
2521
2586
|
//# sourceMappingURL=jsonbuilder.js.map
|