@divkitframework/jsonbuilder 28.13.0 → 29.1.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 +77 -75
- package/dist/es/jsonbuilder.js.map +1 -1
- package/dist/jsonbuilder.d.ts +72 -14
- package/dist/jsonbuilder.js +77 -75
- package/dist/jsonbuilder.js.map +1 -1
- package/package.json +1 -1
package/dist/jsonbuilder.d.ts
CHANGED
|
@@ -94,11 +94,11 @@ declare function copyTemplates<T extends ITemplates>(templates: T): T;
|
|
|
94
94
|
declare class ArrayValue<T extends ArrayValueProps = ArrayValueProps> {
|
|
95
95
|
readonly _props?: Exact<ArrayValueProps, T>;
|
|
96
96
|
readonly type = "array";
|
|
97
|
-
value: Type<unknown[]>;
|
|
97
|
+
value: Type<unknown[] | DivExpression>;
|
|
98
98
|
constructor(props: Exact<ArrayValueProps, T>);
|
|
99
99
|
}
|
|
100
100
|
interface ArrayValueProps {
|
|
101
|
-
value: Type<unknown[]>;
|
|
101
|
+
value: Type<unknown[] | DivExpression>;
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
/**
|
|
@@ -794,6 +794,35 @@ interface DivCircleShapeProps {
|
|
|
794
794
|
stroke?: Type<IDivStroke>;
|
|
795
795
|
}
|
|
796
796
|
|
|
797
|
+
interface IDivCollectionItemBuilder {
|
|
798
|
+
/**
|
|
799
|
+
* Data that will be used to create collection items.
|
|
800
|
+
*/
|
|
801
|
+
data: Type<unknown[] | DivExpression>;
|
|
802
|
+
/**
|
|
803
|
+
* Prefix for accessing the next `data` element in the prototype.
|
|
804
|
+
*/
|
|
805
|
+
data_element_prefix?: Type<string>;
|
|
806
|
+
/**
|
|
807
|
+
* Array of `div` from which the collection items will be created.
|
|
808
|
+
*/
|
|
809
|
+
prototypes: Type<NonEmptyArray<IDivCollectionItemBuilderPrototype>>;
|
|
810
|
+
}
|
|
811
|
+
interface IDivCollectionItemBuilderPrototype {
|
|
812
|
+
/**
|
|
813
|
+
* `Div` from which the collection items will be created. In `Div`, you can use expressions using
|
|
814
|
+
* data from `data`, to access the next `data` element, you need to use the same prefix as in
|
|
815
|
+
* `data_element_prefix`.
|
|
816
|
+
*/
|
|
817
|
+
div: Type<Div>;
|
|
818
|
+
/**
|
|
819
|
+
* A condition that is used to select a prototype for the next item in the collection. If there
|
|
820
|
+
* is more than 1 true condition, the prototype that is earlier will be selected. If none of the
|
|
821
|
+
* conditions are met, the data element will be skipped.
|
|
822
|
+
*/
|
|
823
|
+
selector?: Type<IntBoolean | DivExpression>;
|
|
824
|
+
}
|
|
825
|
+
|
|
797
826
|
/**
|
|
798
827
|
* Container. It contains other elements and is responsible for their location. It is used to
|
|
799
828
|
* arrange elements vertically, horizontally, and with an overlay in a certain order, simulating
|
|
@@ -846,6 +875,10 @@ declare class DivContainer<T extends DivContainerProps = DivContainerProps> {
|
|
|
846
875
|
* Element stroke.
|
|
847
876
|
*/
|
|
848
877
|
border?: Type<IDivBorder>;
|
|
878
|
+
/**
|
|
879
|
+
* Parameter that determines whether child elements are bounded by the parent's boundaries.
|
|
880
|
+
*/
|
|
881
|
+
clip_to_bounds?: Type<IntBoolean | DivExpression>;
|
|
849
882
|
/**
|
|
850
883
|
* Merges cells in a column of the [grid](div-grid.md) element.
|
|
851
884
|
*/
|
|
@@ -890,10 +923,14 @@ declare class DivContainer<T extends DivContainerProps = DivContainerProps> {
|
|
|
890
923
|
* on iOS.
|
|
891
924
|
*/
|
|
892
925
|
id?: Type<string>;
|
|
926
|
+
/**
|
|
927
|
+
* A way to set collection items dynamically using data and prototypes.
|
|
928
|
+
*/
|
|
929
|
+
item_builder?: Type<IDivCollectionItemBuilder>;
|
|
893
930
|
/**
|
|
894
931
|
* Nested elements.
|
|
895
932
|
*/
|
|
896
|
-
items
|
|
933
|
+
items?: Type<NonEmptyArray<Div>>;
|
|
897
934
|
/**
|
|
898
935
|
* Element placement method. The `wrap` value transfers elements to the next line if they don't
|
|
899
936
|
* fit in the previous one. If the `wrap` value is set:A separate line is allocated for each
|
|
@@ -986,9 +1023,9 @@ declare class DivContainer<T extends DivContainerProps = DivContainerProps> {
|
|
|
986
1023
|
* Element width.
|
|
987
1024
|
*/
|
|
988
1025
|
width?: Type<DivSize>;
|
|
989
|
-
constructor(props
|
|
1026
|
+
constructor(props?: Exact<DivContainerProps, T>);
|
|
990
1027
|
}
|
|
991
|
-
interface
|
|
1028
|
+
interface DivContainerPropsBase {
|
|
992
1029
|
/**
|
|
993
1030
|
* Accessibility settings.
|
|
994
1031
|
*/
|
|
@@ -1033,6 +1070,10 @@ interface DivContainerProps {
|
|
|
1033
1070
|
* Element stroke.
|
|
1034
1071
|
*/
|
|
1035
1072
|
border?: Type<IDivBorder>;
|
|
1073
|
+
/**
|
|
1074
|
+
* Parameter that determines whether child elements are bounded by the parent's boundaries.
|
|
1075
|
+
*/
|
|
1076
|
+
clip_to_bounds?: Type<IntBoolean | DivExpression>;
|
|
1036
1077
|
/**
|
|
1037
1078
|
* Merges cells in a column of the [grid](div-grid.md) element.
|
|
1038
1079
|
*/
|
|
@@ -1077,10 +1118,14 @@ interface DivContainerProps {
|
|
|
1077
1118
|
* on iOS.
|
|
1078
1119
|
*/
|
|
1079
1120
|
id?: Type<string>;
|
|
1121
|
+
/**
|
|
1122
|
+
* A way to set collection items dynamically using data and prototypes.
|
|
1123
|
+
*/
|
|
1124
|
+
item_builder?: Type<IDivCollectionItemBuilder>;
|
|
1080
1125
|
/**
|
|
1081
1126
|
* Nested elements.
|
|
1082
1127
|
*/
|
|
1083
|
-
items
|
|
1128
|
+
items?: Type<NonEmptyArray<Div>>;
|
|
1084
1129
|
/**
|
|
1085
1130
|
* Element placement method. The `wrap` value transfers elements to the next line if they don't
|
|
1086
1131
|
* fit in the previous one. If the `wrap` value is set:A separate line is allocated for each
|
|
@@ -1174,6 +1219,19 @@ interface DivContainerProps {
|
|
|
1174
1219
|
*/
|
|
1175
1220
|
width?: Type<DivSize>;
|
|
1176
1221
|
}
|
|
1222
|
+
interface DivContainerProps0 extends DivContainerPropsBase {
|
|
1223
|
+
/**
|
|
1224
|
+
* Nested elements.
|
|
1225
|
+
*/
|
|
1226
|
+
items: Type<NonEmptyArray<Div>>;
|
|
1227
|
+
}
|
|
1228
|
+
interface DivContainerProps1 extends DivContainerPropsBase {
|
|
1229
|
+
/**
|
|
1230
|
+
* A way to set collection items dynamically using data and prototypes.
|
|
1231
|
+
*/
|
|
1232
|
+
item_builder: Type<IDivCollectionItemBuilder>;
|
|
1233
|
+
}
|
|
1234
|
+
declare type DivContainerProps = DivContainerProps0 | DivContainerProps1;
|
|
1177
1235
|
declare type DivContainerLayoutMode = 'no_wrap' | 'wrap';
|
|
1178
1236
|
declare type DivContainerOrientation = 'vertical' | 'horizontal' | 'overlap';
|
|
1179
1237
|
interface IDivContainerSeparator {
|
|
@@ -1966,7 +2024,7 @@ declare class DivGallery<T extends DivGalleryProps = DivGalleryProps> {
|
|
|
1966
2024
|
* stop at the border element;`ring` — go to the beginning or end, depending on the current
|
|
1967
2025
|
* element.</p><p>By default, `clamp`.
|
|
1968
2026
|
*/
|
|
1969
|
-
items
|
|
2027
|
+
items?: Type<NonEmptyArray<Div>>;
|
|
1970
2028
|
/**
|
|
1971
2029
|
* External margins from the element stroke.
|
|
1972
2030
|
*/
|
|
@@ -2050,7 +2108,7 @@ declare class DivGallery<T extends DivGalleryProps = DivGalleryProps> {
|
|
|
2050
2108
|
* Element width.
|
|
2051
2109
|
*/
|
|
2052
2110
|
width?: Type<DivSize>;
|
|
2053
|
-
constructor(props
|
|
2111
|
+
constructor(props?: Exact<DivGalleryProps, T>);
|
|
2054
2112
|
}
|
|
2055
2113
|
interface DivGalleryProps {
|
|
2056
2114
|
/**
|
|
@@ -2143,7 +2201,7 @@ interface DivGalleryProps {
|
|
|
2143
2201
|
* stop at the border element;`ring` — go to the beginning or end, depending on the current
|
|
2144
2202
|
* element.</p><p>By default, `clamp`.
|
|
2145
2203
|
*/
|
|
2146
|
-
items
|
|
2204
|
+
items?: Type<NonEmptyArray<Div>>;
|
|
2147
2205
|
/**
|
|
2148
2206
|
* External margins from the element stroke.
|
|
2149
2207
|
*/
|
|
@@ -2678,7 +2736,7 @@ declare class DivGrid<T extends DivGridProps = DivGridProps> {
|
|
|
2678
2736
|
/**
|
|
2679
2737
|
* Contents.
|
|
2680
2738
|
*/
|
|
2681
|
-
items
|
|
2739
|
+
items?: Type<NonEmptyArray<Div>>;
|
|
2682
2740
|
/**
|
|
2683
2741
|
* Action when long-clicking an element. Doesn't work on devices that don't support touch
|
|
2684
2742
|
* gestures.
|
|
@@ -2834,7 +2892,7 @@ interface DivGridProps {
|
|
|
2834
2892
|
/**
|
|
2835
2893
|
* Contents.
|
|
2836
2894
|
*/
|
|
2837
|
-
items
|
|
2895
|
+
items?: Type<NonEmptyArray<Div>>;
|
|
2838
2896
|
/**
|
|
2839
2897
|
* Action when long-clicking an element. Doesn't work on devices that don't support touch
|
|
2840
2898
|
* gestures.
|
|
@@ -4480,7 +4538,7 @@ declare class DivPager<T extends DivPagerProps = DivPagerProps> {
|
|
|
4480
4538
|
* reached:`clamp` — transition will stop at the border element;`ring` — go to the beginning or
|
|
4481
4539
|
* end, depending on the current element.</p><p>By default, `clamp`.
|
|
4482
4540
|
*/
|
|
4483
|
-
items
|
|
4541
|
+
items?: Type<NonEmptyArray<Div>>;
|
|
4484
4542
|
/**
|
|
4485
4543
|
* Type of calculation of the main page width:`fixed` — from the fixed width of the next page
|
|
4486
4544
|
* `neighbour_page_width`;`percentage` — from the percentage value `page_width`.
|
|
@@ -4637,7 +4695,7 @@ interface DivPagerProps {
|
|
|
4637
4695
|
* reached:`clamp` — transition will stop at the border element;`ring` — go to the beginning or
|
|
4638
4696
|
* end, depending on the current element.</p><p>By default, `clamp`.
|
|
4639
4697
|
*/
|
|
4640
|
-
items
|
|
4698
|
+
items?: Type<NonEmptyArray<Div>>;
|
|
4641
4699
|
/**
|
|
4642
4700
|
* Type of calculation of the main page width:`fixed` — from the fixed width of the next page
|
|
4643
4701
|
* `neighbour_page_width`;`percentage` — from the percentage value `page_width`.
|
|
@@ -8681,4 +8739,4 @@ declare function rewriteTemplateVersions<T extends ITemplates>(templates: T, res
|
|
|
8681
8739
|
};
|
|
8682
8740
|
};
|
|
8683
8741
|
|
|
8684
|
-
export { ArrayValue, ArrayValueProps, ArrayVariable, ArrayVariableProps, BooleanValue, BooleanValueProps, BooleanVariable, BooleanVariableProps, ColorValue, ColorValueProps, ColorVariable, ColorVariableProps, ContentText, ContentTextProps, ContentUrl, ContentUrlProps, DelimiterStyleOrientation, DictValue, DictValueProps, DictVariable, DictVariableProps, Div, DivAccessibilityMode, DivAccessibilityType, DivActionArrayInsertValue, DivActionArrayInsertValueProps, DivActionArrayRemoveValue, DivActionArrayRemoveValueProps, DivActionCopyToClipboard, DivActionCopyToClipboardContent, DivActionCopyToClipboardProps, DivActionFocusElement, DivActionFocusElementProps, DivActionSetVariable, DivActionSetVariableProps, DivActionTarget, DivActionTyped, DivAlignmentHorizontal, DivAlignmentVertical, DivAnimationInterpolator, DivAnimationName, DivAppearanceSetTransition, DivAppearanceSetTransitionProps, DivAppearanceTransition, DivBackground, DivBlendMode, DivBlur, DivBlurProps, DivChangeBoundsTransition, DivChangeBoundsTransitionProps, DivChangeSetTransition, DivChangeSetTransitionProps, DivChangeTransition, DivCircleShape, DivCircleShapeProps, DivContainer, DivContainerLayoutMode, DivContainerOrientation, DivContainerProps, DivContentAlignmentHorizontal, DivContentAlignmentVertical, DivCount, DivCurrencyInputMask, DivCurrencyInputMaskProps, DivCustom, DivCustomProps, DivDefaultIndicatorItemPlacement, DivDefaultIndicatorItemPlacementProps, DivDrawable, DivExpression, DivFadeTransition, DivFadeTransitionProps, DivFilter, DivFilterRtlMirror, DivFilterRtlMirrorProps, DivFixedCount, DivFixedCountProps, DivFixedLengthInputMask, DivFixedLengthInputMaskProps, DivFixedSize, DivFixedSizeProps, DivFontWeight, DivGallery, DivGalleryCrossContentAlignment, DivGalleryOrientation, DivGalleryProps, DivGalleryScrollMode, DivGalleryScrollbar, DivGifImage, DivGifImageProps, DivGradientBackground, DivGrid, DivGridProps, DivImage, DivImageBackground, DivImageBackgroundProps, DivImageProps, DivImageScale, DivIndicator, DivIndicatorAnimation, DivIndicatorItemPlacement, DivIndicatorProps, DivInfinityCount, DivInfinityCountProps, DivInput, DivInputKeyboardType, DivInputMask, DivInputProps, DivInputValidator, DivInputValidatorExpression, DivInputValidatorExpressionProps, DivInputValidatorRegex, DivInputValidatorRegexProps, DivLineStyle, DivLinearGradient, DivLinearGradientProps, DivMatchParentSize, DivMatchParentSizeProps, DivNeighbourPageSize, DivNeighbourPageSizeProps, DivNinePatchBackground, DivNinePatchBackgroundProps, DivPageSize, DivPageSizeProps, DivPager, DivPagerLayoutMode, DivPagerOrientation, DivPagerProps, DivPatchMode, DivPercentageSize, DivPercentageSizeProps, DivPhoneInputMask, DivPhoneInputMaskProps, 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, DivTypedValue, DivVariable, DivVideo, DivVideoProps, DivVideoScale, DivVideoSource, DivVideoSourceProps, DivVideoSourceResolution, DivVideoSourceResolutionProps, DivVisibility, DivWrapContentSize, DivWrapContentSizeProps, Exact, IDivAbsoluteEdgeInsets, IDivAccessibility, IDivAction, IDivActionMenuItem, IDivAnimation, IDivAspect, IDivBase, IDivBorder, IDivContainerSeparator, IDivCornersRadius, IDivData, IDivDataState, IDivDimension, IDivDisappearAction, IDivDownloadCallbacks, IDivEdgeInsets, IDivExtension, IDivFixedLengthInputMaskPatternElement, IDivFocus, IDivFocusNextFocusIds, IDivInputMaskBase, IDivInputNativeInterface, IDivInputValidatorBase, IDivPatch, IDivPatchChange, IDivPoint, IDivSelectOption, IDivSeparatorDelimiterStyle, IDivShadow, IDivSightAction, IDivSliderRange, IDivSliderTextStyle, IDivStateState, IDivStroke, IDivTabsItem, IDivTabsTabTitleStyle, IDivTextEllipsis, IDivTextImage, IDivTextRange, IDivTextRangeBorder, IDivTimer, IDivTooltip, IDivTransform, IDivTransitionBase, IDivTrigger, IDivVisibilityAction, IDivWrapContentSizeConstraintSize, ITemplates, IntBoolean, IntegerValue, IntegerValueProps, IntegerVariable, IntegerVariableProps, NonEmptyArray, NumberValue, NumberValueProps, NumberVariable, NumberVariableProps, SafeDivExpression, StringValue, StringValueProps, StringVariable, StringVariableProps, TabTitleStyleAnimationType, TemplateBlock, TemplateHelper, TemplatePropertyReference, TemplateResolvedAction, ThelperWithMemo, Type, UrlValue, UrlValueProps, UrlVariable, UrlVariableProps, copyTemplates, divCard, escapeCard, escapeExpression, expression, fixed, getTemplateHash, matchParent, reference, rewriteNames, rewriteRefs, rewriteTemplateVersions, runResolveDeps, template, templateHelper, templatesDepsMap, thelperVersion, thelperWithMemo, treeWalkDFS, weighted, wrapContent };
|
|
8742
|
+
export { ArrayValue, ArrayValueProps, ArrayVariable, ArrayVariableProps, BooleanValue, BooleanValueProps, BooleanVariable, BooleanVariableProps, ColorValue, ColorValueProps, ColorVariable, ColorVariableProps, ContentText, ContentTextProps, ContentUrl, ContentUrlProps, DelimiterStyleOrientation, DictValue, DictValueProps, DictVariable, DictVariableProps, Div, DivAccessibilityMode, DivAccessibilityType, DivActionArrayInsertValue, DivActionArrayInsertValueProps, DivActionArrayRemoveValue, DivActionArrayRemoveValueProps, DivActionCopyToClipboard, DivActionCopyToClipboardContent, DivActionCopyToClipboardProps, DivActionFocusElement, DivActionFocusElementProps, DivActionSetVariable, DivActionSetVariableProps, DivActionTarget, DivActionTyped, DivAlignmentHorizontal, DivAlignmentVertical, DivAnimationInterpolator, DivAnimationName, DivAppearanceSetTransition, DivAppearanceSetTransitionProps, DivAppearanceTransition, DivBackground, DivBlendMode, DivBlur, DivBlurProps, DivChangeBoundsTransition, DivChangeBoundsTransitionProps, DivChangeSetTransition, DivChangeSetTransitionProps, DivChangeTransition, DivCircleShape, DivCircleShapeProps, DivContainer, DivContainerLayoutMode, DivContainerOrientation, DivContainerProps, DivContainerProps0, DivContainerProps1, DivContainerPropsBase, DivContentAlignmentHorizontal, DivContentAlignmentVertical, DivCount, DivCurrencyInputMask, DivCurrencyInputMaskProps, DivCustom, DivCustomProps, DivDefaultIndicatorItemPlacement, DivDefaultIndicatorItemPlacementProps, DivDrawable, DivExpression, DivFadeTransition, DivFadeTransitionProps, DivFilter, DivFilterRtlMirror, DivFilterRtlMirrorProps, DivFixedCount, DivFixedCountProps, DivFixedLengthInputMask, DivFixedLengthInputMaskProps, DivFixedSize, DivFixedSizeProps, DivFontWeight, DivGallery, DivGalleryCrossContentAlignment, DivGalleryOrientation, DivGalleryProps, DivGalleryScrollMode, DivGalleryScrollbar, DivGifImage, DivGifImageProps, DivGradientBackground, DivGrid, DivGridProps, DivImage, DivImageBackground, DivImageBackgroundProps, DivImageProps, DivImageScale, DivIndicator, DivIndicatorAnimation, DivIndicatorItemPlacement, DivIndicatorProps, DivInfinityCount, DivInfinityCountProps, DivInput, DivInputKeyboardType, DivInputMask, DivInputProps, DivInputValidator, DivInputValidatorExpression, DivInputValidatorExpressionProps, DivInputValidatorRegex, DivInputValidatorRegexProps, DivLineStyle, DivLinearGradient, DivLinearGradientProps, DivMatchParentSize, DivMatchParentSizeProps, DivNeighbourPageSize, DivNeighbourPageSizeProps, DivNinePatchBackground, DivNinePatchBackgroundProps, DivPageSize, DivPageSizeProps, DivPager, DivPagerLayoutMode, DivPagerOrientation, DivPagerProps, DivPatchMode, DivPercentageSize, DivPercentageSizeProps, DivPhoneInputMask, DivPhoneInputMaskProps, 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, DivTypedValue, DivVariable, DivVideo, DivVideoProps, DivVideoScale, DivVideoSource, DivVideoSourceProps, DivVideoSourceResolution, DivVideoSourceResolutionProps, DivVisibility, DivWrapContentSize, DivWrapContentSizeProps, Exact, IDivAbsoluteEdgeInsets, IDivAccessibility, IDivAction, IDivActionMenuItem, IDivAnimation, IDivAspect, IDivBase, IDivBorder, IDivCollectionItemBuilder, IDivCollectionItemBuilderPrototype, IDivContainerSeparator, IDivCornersRadius, IDivData, IDivDataState, IDivDimension, IDivDisappearAction, IDivDownloadCallbacks, IDivEdgeInsets, IDivExtension, IDivFixedLengthInputMaskPatternElement, IDivFocus, IDivFocusNextFocusIds, IDivInputMaskBase, IDivInputNativeInterface, IDivInputValidatorBase, IDivPatch, IDivPatchChange, IDivPoint, IDivSelectOption, IDivSeparatorDelimiterStyle, IDivShadow, IDivSightAction, IDivSliderRange, IDivSliderTextStyle, IDivStateState, IDivStroke, IDivTabsItem, IDivTabsTabTitleStyle, IDivTextEllipsis, IDivTextImage, IDivTextRange, IDivTextRangeBorder, IDivTimer, IDivTooltip, IDivTransform, IDivTransitionBase, IDivTrigger, IDivVisibilityAction, IDivWrapContentSizeConstraintSize, ITemplates, IntBoolean, IntegerValue, IntegerValueProps, IntegerVariable, IntegerVariableProps, NonEmptyArray, NumberValue, NumberValueProps, NumberVariable, NumberVariableProps, SafeDivExpression, StringValue, StringValueProps, StringVariable, StringVariableProps, TabTitleStyleAnimationType, TemplateBlock, TemplateHelper, TemplatePropertyReference, TemplateResolvedAction, ThelperWithMemo, Type, UrlValue, UrlValueProps, UrlVariable, UrlVariableProps, copyTemplates, divCard, escapeCard, escapeExpression, expression, fixed, getTemplateHash, matchParent, reference, rewriteNames, rewriteRefs, rewriteTemplateVersions, runResolveDeps, template, templateHelper, templatesDepsMap, thelperVersion, thelperWithMemo, treeWalkDFS, weighted, wrapContent };
|
package/dist/jsonbuilder.js
CHANGED
|
@@ -227,45 +227,47 @@ class DivCircleShape {
|
|
|
227
227
|
class DivContainer {
|
|
228
228
|
constructor(props) {
|
|
229
229
|
this.type = 'container';
|
|
230
|
-
this.accessibility = props.accessibility;
|
|
231
|
-
this.action = props.action;
|
|
232
|
-
this.action_animation = props.action_animation;
|
|
233
|
-
this.actions = props.actions;
|
|
234
|
-
this.alignment_horizontal = props.alignment_horizontal;
|
|
235
|
-
this.alignment_vertical = props.alignment_vertical;
|
|
236
|
-
this.alpha = props.alpha;
|
|
237
|
-
this.aspect = props.aspect;
|
|
238
|
-
this.background = props.background;
|
|
239
|
-
this.border = props.border;
|
|
240
|
-
this.
|
|
241
|
-
this.
|
|
242
|
-
this.
|
|
243
|
-
this.
|
|
244
|
-
this.
|
|
245
|
-
this.
|
|
246
|
-
this.
|
|
247
|
-
this.
|
|
248
|
-
this.
|
|
249
|
-
this.
|
|
250
|
-
this.
|
|
251
|
-
this.
|
|
252
|
-
this.
|
|
253
|
-
this.
|
|
254
|
-
this.
|
|
255
|
-
this.
|
|
256
|
-
this.
|
|
257
|
-
this.
|
|
258
|
-
this.
|
|
259
|
-
this.
|
|
260
|
-
this.
|
|
261
|
-
this.
|
|
262
|
-
this.
|
|
263
|
-
this.
|
|
264
|
-
this.
|
|
265
|
-
this.
|
|
266
|
-
this.
|
|
267
|
-
this.
|
|
268
|
-
this.
|
|
230
|
+
this.accessibility = props === null || props === void 0 ? void 0 : props.accessibility;
|
|
231
|
+
this.action = props === null || props === void 0 ? void 0 : props.action;
|
|
232
|
+
this.action_animation = props === null || props === void 0 ? void 0 : props.action_animation;
|
|
233
|
+
this.actions = props === null || props === void 0 ? void 0 : props.actions;
|
|
234
|
+
this.alignment_horizontal = props === null || props === void 0 ? void 0 : props.alignment_horizontal;
|
|
235
|
+
this.alignment_vertical = props === null || props === void 0 ? void 0 : props.alignment_vertical;
|
|
236
|
+
this.alpha = props === null || props === void 0 ? void 0 : props.alpha;
|
|
237
|
+
this.aspect = props === null || props === void 0 ? void 0 : props.aspect;
|
|
238
|
+
this.background = props === null || props === void 0 ? void 0 : props.background;
|
|
239
|
+
this.border = props === null || props === void 0 ? void 0 : props.border;
|
|
240
|
+
this.clip_to_bounds = props === null || props === void 0 ? void 0 : props.clip_to_bounds;
|
|
241
|
+
this.column_span = props === null || props === void 0 ? void 0 : props.column_span;
|
|
242
|
+
this.content_alignment_horizontal = props === null || props === void 0 ? void 0 : props.content_alignment_horizontal;
|
|
243
|
+
this.content_alignment_vertical = props === null || props === void 0 ? void 0 : props.content_alignment_vertical;
|
|
244
|
+
this.disappear_actions = props === null || props === void 0 ? void 0 : props.disappear_actions;
|
|
245
|
+
this.doubletap_actions = props === null || props === void 0 ? void 0 : props.doubletap_actions;
|
|
246
|
+
this.extensions = props === null || props === void 0 ? void 0 : props.extensions;
|
|
247
|
+
this.focus = props === null || props === void 0 ? void 0 : props.focus;
|
|
248
|
+
this.height = props === null || props === void 0 ? void 0 : props.height;
|
|
249
|
+
this.id = props === null || props === void 0 ? void 0 : props.id;
|
|
250
|
+
this.item_builder = props === null || props === void 0 ? void 0 : props.item_builder;
|
|
251
|
+
this.items = props === null || props === void 0 ? void 0 : props.items;
|
|
252
|
+
this.layout_mode = props === null || props === void 0 ? void 0 : props.layout_mode;
|
|
253
|
+
this.line_separator = props === null || props === void 0 ? void 0 : props.line_separator;
|
|
254
|
+
this.longtap_actions = props === null || props === void 0 ? void 0 : props.longtap_actions;
|
|
255
|
+
this.margins = props === null || props === void 0 ? void 0 : props.margins;
|
|
256
|
+
this.orientation = props === null || props === void 0 ? void 0 : props.orientation;
|
|
257
|
+
this.paddings = props === null || props === void 0 ? void 0 : props.paddings;
|
|
258
|
+
this.row_span = props === null || props === void 0 ? void 0 : props.row_span;
|
|
259
|
+
this.selected_actions = props === null || props === void 0 ? void 0 : props.selected_actions;
|
|
260
|
+
this.separator = props === null || props === void 0 ? void 0 : props.separator;
|
|
261
|
+
this.tooltips = props === null || props === void 0 ? void 0 : props.tooltips;
|
|
262
|
+
this.transform = props === null || props === void 0 ? void 0 : props.transform;
|
|
263
|
+
this.transition_change = props === null || props === void 0 ? void 0 : props.transition_change;
|
|
264
|
+
this.transition_in = props === null || props === void 0 ? void 0 : props.transition_in;
|
|
265
|
+
this.transition_out = props === null || props === void 0 ? void 0 : props.transition_out;
|
|
266
|
+
this.transition_triggers = props === null || props === void 0 ? void 0 : props.transition_triggers;
|
|
267
|
+
this.visibility = props === null || props === void 0 ? void 0 : props.visibility;
|
|
268
|
+
this.visibility_action = props === null || props === void 0 ? void 0 : props.visibility_action;
|
|
269
|
+
this.visibility_actions = props === null || props === void 0 ? void 0 : props.visibility_actions;
|
|
270
|
+
this.width = props === null || props === void 0 ? void 0 : props.width;
|
|
269
271
|
}
|
|
270
272
|
}
|
|
271
273
|
|
|
@@ -400,42 +402,42 @@ class DivFixedSize {
|
|
|
400
402
|
class DivGallery {
|
|
401
403
|
constructor(props) {
|
|
402
404
|
this.type = 'gallery';
|
|
403
|
-
this.accessibility = props.accessibility;
|
|
404
|
-
this.alignment_horizontal = props.alignment_horizontal;
|
|
405
|
-
this.alignment_vertical = props.alignment_vertical;
|
|
406
|
-
this.alpha = props.alpha;
|
|
407
|
-
this.background = props.background;
|
|
408
|
-
this.border = props.border;
|
|
409
|
-
this.column_count = props.column_count;
|
|
410
|
-
this.column_span = props.column_span;
|
|
411
|
-
this.cross_content_alignment = props.cross_content_alignment;
|
|
412
|
-
this.cross_spacing = props.cross_spacing;
|
|
413
|
-
this.default_item = props.default_item;
|
|
414
|
-
this.disappear_actions = props.disappear_actions;
|
|
415
|
-
this.extensions = props.extensions;
|
|
416
|
-
this.focus = props.focus;
|
|
417
|
-
this.height = props.height;
|
|
418
|
-
this.id = props.id;
|
|
419
|
-
this.item_spacing = props.item_spacing;
|
|
420
|
-
this.items = props.items;
|
|
421
|
-
this.margins = props.margins;
|
|
422
|
-
this.orientation = props.orientation;
|
|
423
|
-
this.paddings = props.paddings;
|
|
424
|
-
this.restrict_parent_scroll = props.restrict_parent_scroll;
|
|
425
|
-
this.row_span = props.row_span;
|
|
426
|
-
this.scroll_mode = props.scroll_mode;
|
|
427
|
-
this.scrollbar = props.scrollbar;
|
|
428
|
-
this.selected_actions = props.selected_actions;
|
|
429
|
-
this.tooltips = props.tooltips;
|
|
430
|
-
this.transform = props.transform;
|
|
431
|
-
this.transition_change = props.transition_change;
|
|
432
|
-
this.transition_in = props.transition_in;
|
|
433
|
-
this.transition_out = props.transition_out;
|
|
434
|
-
this.transition_triggers = props.transition_triggers;
|
|
435
|
-
this.visibility = props.visibility;
|
|
436
|
-
this.visibility_action = props.visibility_action;
|
|
437
|
-
this.visibility_actions = props.visibility_actions;
|
|
438
|
-
this.width = props.width;
|
|
405
|
+
this.accessibility = props === null || props === void 0 ? void 0 : props.accessibility;
|
|
406
|
+
this.alignment_horizontal = props === null || props === void 0 ? void 0 : props.alignment_horizontal;
|
|
407
|
+
this.alignment_vertical = props === null || props === void 0 ? void 0 : props.alignment_vertical;
|
|
408
|
+
this.alpha = props === null || props === void 0 ? void 0 : props.alpha;
|
|
409
|
+
this.background = props === null || props === void 0 ? void 0 : props.background;
|
|
410
|
+
this.border = props === null || props === void 0 ? void 0 : props.border;
|
|
411
|
+
this.column_count = props === null || props === void 0 ? void 0 : props.column_count;
|
|
412
|
+
this.column_span = props === null || props === void 0 ? void 0 : props.column_span;
|
|
413
|
+
this.cross_content_alignment = props === null || props === void 0 ? void 0 : props.cross_content_alignment;
|
|
414
|
+
this.cross_spacing = props === null || props === void 0 ? void 0 : props.cross_spacing;
|
|
415
|
+
this.default_item = props === null || props === void 0 ? void 0 : props.default_item;
|
|
416
|
+
this.disappear_actions = props === null || props === void 0 ? void 0 : props.disappear_actions;
|
|
417
|
+
this.extensions = props === null || props === void 0 ? void 0 : props.extensions;
|
|
418
|
+
this.focus = props === null || props === void 0 ? void 0 : props.focus;
|
|
419
|
+
this.height = props === null || props === void 0 ? void 0 : props.height;
|
|
420
|
+
this.id = props === null || props === void 0 ? void 0 : props.id;
|
|
421
|
+
this.item_spacing = props === null || props === void 0 ? void 0 : props.item_spacing;
|
|
422
|
+
this.items = props === null || props === void 0 ? void 0 : props.items;
|
|
423
|
+
this.margins = props === null || props === void 0 ? void 0 : props.margins;
|
|
424
|
+
this.orientation = props === null || props === void 0 ? void 0 : props.orientation;
|
|
425
|
+
this.paddings = props === null || props === void 0 ? void 0 : props.paddings;
|
|
426
|
+
this.restrict_parent_scroll = props === null || props === void 0 ? void 0 : props.restrict_parent_scroll;
|
|
427
|
+
this.row_span = props === null || props === void 0 ? void 0 : props.row_span;
|
|
428
|
+
this.scroll_mode = props === null || props === void 0 ? void 0 : props.scroll_mode;
|
|
429
|
+
this.scrollbar = props === null || props === void 0 ? void 0 : props.scrollbar;
|
|
430
|
+
this.selected_actions = props === null || props === void 0 ? void 0 : props.selected_actions;
|
|
431
|
+
this.tooltips = props === null || props === void 0 ? void 0 : props.tooltips;
|
|
432
|
+
this.transform = props === null || props === void 0 ? void 0 : props.transform;
|
|
433
|
+
this.transition_change = props === null || props === void 0 ? void 0 : props.transition_change;
|
|
434
|
+
this.transition_in = props === null || props === void 0 ? void 0 : props.transition_in;
|
|
435
|
+
this.transition_out = props === null || props === void 0 ? void 0 : props.transition_out;
|
|
436
|
+
this.transition_triggers = props === null || props === void 0 ? void 0 : props.transition_triggers;
|
|
437
|
+
this.visibility = props === null || props === void 0 ? void 0 : props.visibility;
|
|
438
|
+
this.visibility_action = props === null || props === void 0 ? void 0 : props.visibility_action;
|
|
439
|
+
this.visibility_actions = props === null || props === void 0 ? void 0 : props.visibility_actions;
|
|
440
|
+
this.width = props === null || props === void 0 ? void 0 : props.width;
|
|
439
441
|
}
|
|
440
442
|
}
|
|
441
443
|
|