@divkitframework/jsonbuilder 28.12.0 → 29.0.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.
@@ -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
  /**
@@ -326,6 +326,11 @@ interface IDivAction {
326
326
  * Callbacks that are called after [data loading](../../interaction.dita#loading-data).
327
327
  */
328
328
  download_callbacks?: Type<IDivDownloadCallbacks>;
329
+ /**
330
+ * This parameter allows you to disable the action for any reason. When an action is disabled, it
331
+ * stops responding to the event associated with it (click, change in visibility, etc.).
332
+ */
333
+ is_enabled?: Type<IntBoolean | DivExpression>;
329
334
  /**
330
335
  * Logging ID.
331
336
  */
@@ -789,6 +794,35 @@ interface DivCircleShapeProps {
789
794
  stroke?: Type<IDivStroke>;
790
795
  }
791
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
+
792
826
  /**
793
827
  * Container. It contains other elements and is responsible for their location. It is used to
794
828
  * arrange elements vertically, horizontally, and with an overlay in a certain order, simulating
@@ -841,6 +875,10 @@ declare class DivContainer<T extends DivContainerProps = DivContainerProps> {
841
875
  * Element stroke.
842
876
  */
843
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>;
844
882
  /**
845
883
  * Merges cells in a column of the [grid](div-grid.md) element.
846
884
  */
@@ -885,10 +923,14 @@ declare class DivContainer<T extends DivContainerProps = DivContainerProps> {
885
923
  * on iOS.
886
924
  */
887
925
  id?: Type<string>;
926
+ /**
927
+ * A way to set collection items dynamically using data and prototypes.
928
+ */
929
+ item_builder?: Type<IDivCollectionItemBuilder>;
888
930
  /**
889
931
  * Nested elements.
890
932
  */
891
- items: Type<NonEmptyArray<Div>>;
933
+ items?: Type<NonEmptyArray<Div>>;
892
934
  /**
893
935
  * Element placement method. The `wrap` value transfers elements to the next line if they don't
894
936
  * fit in the previous one. If the `wrap` value is set:A separate line is allocated for each
@@ -981,9 +1023,9 @@ declare class DivContainer<T extends DivContainerProps = DivContainerProps> {
981
1023
  * Element width.
982
1024
  */
983
1025
  width?: Type<DivSize>;
984
- constructor(props: Exact<DivContainerProps, T>);
1026
+ constructor(props?: Exact<DivContainerProps, T>);
985
1027
  }
986
- interface DivContainerProps {
1028
+ interface DivContainerPropsBase {
987
1029
  /**
988
1030
  * Accessibility settings.
989
1031
  */
@@ -1028,6 +1070,10 @@ interface DivContainerProps {
1028
1070
  * Element stroke.
1029
1071
  */
1030
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>;
1031
1077
  /**
1032
1078
  * Merges cells in a column of the [grid](div-grid.md) element.
1033
1079
  */
@@ -1072,10 +1118,14 @@ interface DivContainerProps {
1072
1118
  * on iOS.
1073
1119
  */
1074
1120
  id?: Type<string>;
1121
+ /**
1122
+ * A way to set collection items dynamically using data and prototypes.
1123
+ */
1124
+ item_builder?: Type<IDivCollectionItemBuilder>;
1075
1125
  /**
1076
1126
  * Nested elements.
1077
1127
  */
1078
- items: Type<NonEmptyArray<Div>>;
1128
+ items?: Type<NonEmptyArray<Div>>;
1079
1129
  /**
1080
1130
  * Element placement method. The `wrap` value transfers elements to the next line if they don't
1081
1131
  * fit in the previous one. If the `wrap` value is set:A separate line is allocated for each
@@ -1169,6 +1219,19 @@ interface DivContainerProps {
1169
1219
  */
1170
1220
  width?: Type<DivSize>;
1171
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;
1172
1235
  declare type DivContainerLayoutMode = 'no_wrap' | 'wrap';
1173
1236
  declare type DivContainerOrientation = 'vertical' | 'horizontal' | 'overlap';
1174
1237
  interface IDivContainerSeparator {
@@ -1562,6 +1625,11 @@ interface IDivDisappearAction {
1562
1625
  * Callbacks that are called after [data loading](../../interaction.dita#loading-data).
1563
1626
  */
1564
1627
  download_callbacks?: Type<IDivDownloadCallbacks>;
1628
+ /**
1629
+ * This parameter allows you to disable the action for any reason. When an action is disabled, it
1630
+ * stops responding to the event associated with it (click, change in visibility, etc.).
1631
+ */
1632
+ is_enabled?: Type<IntBoolean | DivExpression>;
1565
1633
  /**
1566
1634
  * Logging ID.
1567
1635
  */
@@ -1956,7 +2024,7 @@ declare class DivGallery<T extends DivGalleryProps = DivGalleryProps> {
1956
2024
  * stop at the border element;`ring` — go to the beginning or end, depending on the current
1957
2025
  * element.</p><p>By default, `clamp`.
1958
2026
  */
1959
- items: Type<NonEmptyArray<Div>>;
2027
+ items?: Type<NonEmptyArray<Div>>;
1960
2028
  /**
1961
2029
  * External margins from the element stroke.
1962
2030
  */
@@ -2040,7 +2108,7 @@ declare class DivGallery<T extends DivGalleryProps = DivGalleryProps> {
2040
2108
  * Element width.
2041
2109
  */
2042
2110
  width?: Type<DivSize>;
2043
- constructor(props: Exact<DivGalleryProps, T>);
2111
+ constructor(props?: Exact<DivGalleryProps, T>);
2044
2112
  }
2045
2113
  interface DivGalleryProps {
2046
2114
  /**
@@ -2133,7 +2201,7 @@ interface DivGalleryProps {
2133
2201
  * stop at the border element;`ring` — go to the beginning or end, depending on the current
2134
2202
  * element.</p><p>By default, `clamp`.
2135
2203
  */
2136
- items: Type<NonEmptyArray<Div>>;
2204
+ items?: Type<NonEmptyArray<Div>>;
2137
2205
  /**
2138
2206
  * External margins from the element stroke.
2139
2207
  */
@@ -2668,7 +2736,7 @@ declare class DivGrid<T extends DivGridProps = DivGridProps> {
2668
2736
  /**
2669
2737
  * Contents.
2670
2738
  */
2671
- items: Type<NonEmptyArray<Div>>;
2739
+ items?: Type<NonEmptyArray<Div>>;
2672
2740
  /**
2673
2741
  * Action when long-clicking an element. Doesn't work on devices that don't support touch
2674
2742
  * gestures.
@@ -2824,7 +2892,7 @@ interface DivGridProps {
2824
2892
  /**
2825
2893
  * Contents.
2826
2894
  */
2827
- items: Type<NonEmptyArray<Div>>;
2895
+ items?: Type<NonEmptyArray<Div>>;
2828
2896
  /**
2829
2897
  * Action when long-clicking an element. Doesn't work on devices that don't support touch
2830
2898
  * gestures.
@@ -4470,7 +4538,7 @@ declare class DivPager<T extends DivPagerProps = DivPagerProps> {
4470
4538
  * reached:`clamp` — transition will stop at the border element;`ring` — go to the beginning or
4471
4539
  * end, depending on the current element.</p><p>By default, `clamp`.
4472
4540
  */
4473
- items: Type<NonEmptyArray<Div>>;
4541
+ items?: Type<NonEmptyArray<Div>>;
4474
4542
  /**
4475
4543
  * Type of calculation of the main page width:`fixed` — from the fixed width of the next page
4476
4544
  * `neighbour_page_width`;`percentage` — from the percentage value `page_width`.
@@ -4627,7 +4695,7 @@ interface DivPagerProps {
4627
4695
  * reached:`clamp` — transition will stop at the border element;`ring` — go to the beginning or
4628
4696
  * end, depending on the current element.</p><p>By default, `clamp`.
4629
4697
  */
4630
- items: Type<NonEmptyArray<Div>>;
4698
+ items?: Type<NonEmptyArray<Div>>;
4631
4699
  /**
4632
4700
  * Type of calculation of the main page width:`fixed` — from the fixed width of the next page
4633
4701
  * `neighbour_page_width`;`percentage` — from the percentage value `page_width`.
@@ -5788,6 +5856,11 @@ interface IDivSightAction {
5788
5856
  * Callbacks that are called after [data loading](../../interaction.dita#loading-data).
5789
5857
  */
5790
5858
  download_callbacks?: Type<IDivDownloadCallbacks>;
5859
+ /**
5860
+ * This parameter allows you to disable the action for any reason. When an action is disabled, it
5861
+ * stops responding to the event associated with it (click, change in visibility, etc.).
5862
+ */
5863
+ is_enabled?: Type<IntBoolean | DivExpression>;
5791
5864
  /**
5792
5865
  * Logging ID.
5793
5866
  */
@@ -8280,6 +8353,11 @@ interface IDivVisibilityAction {
8280
8353
  * Callbacks that are called after [data loading](../../interaction.dita#loading-data).
8281
8354
  */
8282
8355
  download_callbacks?: Type<IDivDownloadCallbacks>;
8356
+ /**
8357
+ * This parameter allows you to disable the action for any reason. When an action is disabled, it
8358
+ * stops responding to the event associated with it (click, change in visibility, etc.).
8359
+ */
8360
+ is_enabled?: Type<IntBoolean | DivExpression>;
8283
8361
  /**
8284
8362
  * Logging ID.
8285
8363
  */
@@ -8661,4 +8739,4 @@ declare function rewriteTemplateVersions<T extends ITemplates>(templates: T, res
8661
8739
  };
8662
8740
  };
8663
8741
 
8664
- 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 };
@@ -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.column_span = props.column_span;
241
- this.content_alignment_horizontal = props.content_alignment_horizontal;
242
- this.content_alignment_vertical = props.content_alignment_vertical;
243
- this.disappear_actions = props.disappear_actions;
244
- this.doubletap_actions = props.doubletap_actions;
245
- this.extensions = props.extensions;
246
- this.focus = props.focus;
247
- this.height = props.height;
248
- this.id = props.id;
249
- this.items = props.items;
250
- this.layout_mode = props.layout_mode;
251
- this.line_separator = props.line_separator;
252
- this.longtap_actions = props.longtap_actions;
253
- this.margins = props.margins;
254
- this.orientation = props.orientation;
255
- this.paddings = props.paddings;
256
- this.row_span = props.row_span;
257
- this.selected_actions = props.selected_actions;
258
- this.separator = props.separator;
259
- this.tooltips = props.tooltips;
260
- this.transform = props.transform;
261
- this.transition_change = props.transition_change;
262
- this.transition_in = props.transition_in;
263
- this.transition_out = props.transition_out;
264
- this.transition_triggers = props.transition_triggers;
265
- this.visibility = props.visibility;
266
- this.visibility_action = props.visibility_action;
267
- this.visibility_actions = props.visibility_actions;
268
- this.width = props.width;
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