@divkitframework/jsonbuilder 32.45.0 → 32.47.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 +37 -1
- package/dist/es/jsonbuilder.js.map +1 -1
- package/dist/jsonbuilder.d.ts +108 -13
- package/dist/jsonbuilder.js +39 -0
- package/dist/jsonbuilder.js.map +1 -1
- package/package.json +1 -1
package/dist/jsonbuilder.d.ts
CHANGED
|
@@ -379,7 +379,8 @@ interface IDivAction {
|
|
|
379
379
|
*/
|
|
380
380
|
referer?: Type<string | DivExpression>;
|
|
381
381
|
/**
|
|
382
|
-
* The ID of the element
|
|
382
|
+
* The ID of the element whose scope will be used for changing variable values when the action is
|
|
383
|
+
* performed.
|
|
383
384
|
*
|
|
384
385
|
* Platforms: android, ios, web
|
|
385
386
|
*/
|
|
@@ -740,7 +741,7 @@ interface DivActionScrollByProps {
|
|
|
740
741
|
}
|
|
741
742
|
declare type DivActionScrollByOverflow = 'clamp' | 'ring';
|
|
742
743
|
|
|
743
|
-
declare type DivActionScrollDestination = OffsetDestination | IndexDestination | StartDestination | EndDestination;
|
|
744
|
+
declare type DivActionScrollDestination = OffsetDestination | IndexDestination | StartDestination | EndDestination | ItemIdDestination;
|
|
744
745
|
|
|
745
746
|
/**
|
|
746
747
|
* Scrolls to a position or switches to the container element specified by the `destination`
|
|
@@ -755,9 +756,10 @@ declare class DivActionScrollTo<T extends DivActionScrollToProps = DivActionScro
|
|
|
755
756
|
animated?: Type<boolean | DivExpression>;
|
|
756
757
|
/**
|
|
757
758
|
* Defines the scrolling end position:`index`: Scroll to the element with the index provided in
|
|
758
|
-
* `value``
|
|
759
|
-
*
|
|
760
|
-
* start
|
|
759
|
+
* `value``item_id`: Scroll to the element with identifier provided in `value``offset`: Scroll to
|
|
760
|
+
* the position specified in `value` and measured in `dp` from the start of the container.
|
|
761
|
+
* Applies only in `gallery`;`start`: Scroll to the container start;`end`: Scroll to the
|
|
762
|
+
* container end.
|
|
761
763
|
*/
|
|
762
764
|
destination: Type<DivActionScrollDestination>;
|
|
763
765
|
/**
|
|
@@ -773,9 +775,10 @@ interface DivActionScrollToProps {
|
|
|
773
775
|
animated?: Type<boolean | DivExpression>;
|
|
774
776
|
/**
|
|
775
777
|
* Defines the scrolling end position:`index`: Scroll to the element with the index provided in
|
|
776
|
-
* `value``
|
|
777
|
-
*
|
|
778
|
-
* start
|
|
778
|
+
* `value``item_id`: Scroll to the element with identifier provided in `value``offset`: Scroll to
|
|
779
|
+
* the position specified in `value` and measured in `dp` from the start of the container.
|
|
780
|
+
* Applies only in `gallery`;`start`: Scroll to the container start;`end`: Scroll to the
|
|
781
|
+
* container end.
|
|
779
782
|
*/
|
|
780
783
|
destination: Type<DivActionScrollDestination>;
|
|
781
784
|
/**
|
|
@@ -784,6 +787,53 @@ interface DivActionScrollToProps {
|
|
|
784
787
|
id: Type<string | DivExpression>;
|
|
785
788
|
}
|
|
786
789
|
|
|
790
|
+
/**
|
|
791
|
+
* Sets the cursor position in the specified input field.
|
|
792
|
+
*/
|
|
793
|
+
declare class DivActionSetCursorPosition<T extends DivActionSetCursorPositionProps = DivActionSetCursorPositionProps> {
|
|
794
|
+
readonly _props?: Exact<DivActionSetCursorPositionProps, T>;
|
|
795
|
+
readonly type = "set_cursor_position";
|
|
796
|
+
/**
|
|
797
|
+
* ID of the input field.
|
|
798
|
+
*/
|
|
799
|
+
id: Type<string | DivExpression>;
|
|
800
|
+
/**
|
|
801
|
+
* Defines the cursor position. If `end` is not set, or if `end` is equal to `start`, it will
|
|
802
|
+
* just be the cursor position, if both are set and the values are different, part of the text
|
|
803
|
+
* will be selected. Use 0 to indicate the beginning of the text, -1 for the end.
|
|
804
|
+
*/
|
|
805
|
+
position: Type<DivActionSetCursorPositionPosition>;
|
|
806
|
+
constructor(props: Exact<DivActionSetCursorPositionProps, T>);
|
|
807
|
+
}
|
|
808
|
+
interface DivActionSetCursorPositionProps {
|
|
809
|
+
/**
|
|
810
|
+
* ID of the input field.
|
|
811
|
+
*/
|
|
812
|
+
id: Type<string | DivExpression>;
|
|
813
|
+
/**
|
|
814
|
+
* Defines the cursor position. If `end` is not set, or if `end` is equal to `start`, it will
|
|
815
|
+
* just be the cursor position, if both are set and the values are different, part of the text
|
|
816
|
+
* will be selected. Use 0 to indicate the beginning of the text, -1 for the end.
|
|
817
|
+
*/
|
|
818
|
+
position: Type<DivActionSetCursorPositionPosition>;
|
|
819
|
+
}
|
|
820
|
+
/**
|
|
821
|
+
* Defines the cursor position. If `end` is not set, or if `end` is equal to `start`, it will
|
|
822
|
+
* just be the cursor position, if both are set and the values are different, part of the text
|
|
823
|
+
* will be selected. Use 0 to indicate the beginning of the text, -1 for the end.
|
|
824
|
+
*/
|
|
825
|
+
declare class DivActionSetCursorPositionPosition<T extends DivActionSetCursorPositionPositionProps = DivActionSetCursorPositionPositionProps> {
|
|
826
|
+
readonly _props?: Exact<DivActionSetCursorPositionPositionProps, T>;
|
|
827
|
+
readonly type = "absolute";
|
|
828
|
+
end?: Type<number | DivExpression>;
|
|
829
|
+
start: Type<number | DivExpression>;
|
|
830
|
+
constructor(props: Exact<DivActionSetCursorPositionPositionProps, T>);
|
|
831
|
+
}
|
|
832
|
+
interface DivActionSetCursorPositionPositionProps {
|
|
833
|
+
end?: Type<number | DivExpression>;
|
|
834
|
+
start: Type<number | DivExpression>;
|
|
835
|
+
}
|
|
836
|
+
|
|
787
837
|
/**
|
|
788
838
|
* Applies a new appearance to the content in `div-state'.
|
|
789
839
|
*/
|
|
@@ -839,6 +889,17 @@ declare class DivActionSetStoredValue<T extends DivActionSetStoredValueProps = D
|
|
|
839
889
|
* Name of the saved variable.
|
|
840
890
|
*/
|
|
841
891
|
name: Type<string | DivExpression>;
|
|
892
|
+
/**
|
|
893
|
+
* Scope of the stored variable:`global` — not bound to a specific card (available for any
|
|
894
|
+
* card);`card` — bound to the current card. On Android the card is identified by `DivDataTag`,
|
|
895
|
+
* on iOS by the `cardId` parameter, on Web the scope value is passed to `Store` and the
|
|
896
|
+
* developer integrating DivKit must implement saving variables for that scope./nDefault value
|
|
897
|
+
* for Android and iOS is `global'. For Web, the implementation depends entirely on the
|
|
898
|
+
* developer.
|
|
899
|
+
*
|
|
900
|
+
* Platforms: not supported
|
|
901
|
+
*/
|
|
902
|
+
scope?: Type<DivActionSetStoredValueScope | DivExpression>;
|
|
842
903
|
/**
|
|
843
904
|
* Saved value.
|
|
844
905
|
*/
|
|
@@ -854,11 +915,23 @@ interface DivActionSetStoredValueProps {
|
|
|
854
915
|
* Name of the saved variable.
|
|
855
916
|
*/
|
|
856
917
|
name: Type<string | DivExpression>;
|
|
918
|
+
/**
|
|
919
|
+
* Scope of the stored variable:`global` — not bound to a specific card (available for any
|
|
920
|
+
* card);`card` — bound to the current card. On Android the card is identified by `DivDataTag`,
|
|
921
|
+
* on iOS by the `cardId` parameter, on Web the scope value is passed to `Store` and the
|
|
922
|
+
* developer integrating DivKit must implement saving variables for that scope./nDefault value
|
|
923
|
+
* for Android and iOS is `global'. For Web, the implementation depends entirely on the
|
|
924
|
+
* developer.
|
|
925
|
+
*
|
|
926
|
+
* Platforms: not supported
|
|
927
|
+
*/
|
|
928
|
+
scope?: Type<DivActionSetStoredValueScope | DivExpression>;
|
|
857
929
|
/**
|
|
858
930
|
* Saved value.
|
|
859
931
|
*/
|
|
860
932
|
value: Type<DivTypedValue>;
|
|
861
933
|
}
|
|
934
|
+
declare type DivActionSetStoredValueScope = 'global' | 'card';
|
|
862
935
|
|
|
863
936
|
/**
|
|
864
937
|
* Assigns a value to the variable
|
|
@@ -1004,7 +1077,7 @@ interface DivActionTimerProps {
|
|
|
1004
1077
|
}
|
|
1005
1078
|
declare type DivActionTimerAction = 'start' | 'stop' | 'pause' | 'resume' | 'cancel' | 'reset';
|
|
1006
1079
|
|
|
1007
|
-
declare type DivActionTyped = DivActionAnimatorStart | DivActionAnimatorStop | DivActionArrayInsertValue | DivActionArrayRemoveValue | DivActionArraySetValue | DivActionClearFocus | DivActionCopyToClipboard | DivActionDictSetValue | DivActionDownload | DivActionFocusElement | DivActionHideTooltip | DivActionScrollBy | DivActionScrollTo | DivActionSetState | DivActionSetStoredValue | DivActionSetVariable | DivActionShowTooltip | DivActionSubmit | DivActionTimer | DivActionUpdateStructure | DivActionVideo | DivActionCustom;
|
|
1080
|
+
declare type DivActionTyped = DivActionAnimatorStart | DivActionAnimatorStop | DivActionArrayInsertValue | DivActionArrayRemoveValue | DivActionArraySetValue | DivActionClearFocus | DivActionCopyToClipboard | DivActionDictSetValue | DivActionDownload | DivActionFocusElement | DivActionHideTooltip | DivActionScrollBy | DivActionScrollTo | DivActionSetState | DivActionSetStoredValue | DivActionSetVariable | DivActionShowTooltip | DivActionSubmit | DivActionTimer | DivActionUpdateStructure | DivActionVideo | DivActionCustom | DivActionSetCursorPosition;
|
|
1008
1081
|
|
|
1009
1082
|
/**
|
|
1010
1083
|
* Set values in a variable of type array or dictionary with different nesting.
|
|
@@ -2936,7 +3009,8 @@ interface IDivDisappearAction {
|
|
|
2936
3009
|
*/
|
|
2937
3010
|
referer?: Type<string | DivExpression>;
|
|
2938
3011
|
/**
|
|
2939
|
-
* The ID of the element
|
|
3012
|
+
* The ID of the element whose scope will be used for changing variable values when the action is
|
|
3013
|
+
* performed.
|
|
2940
3014
|
*
|
|
2941
3015
|
* Platforms: android, ios, web
|
|
2942
3016
|
*/
|
|
@@ -9626,7 +9700,8 @@ interface IDivSightAction {
|
|
|
9626
9700
|
*/
|
|
9627
9701
|
referer?: Type<string | DivExpression>;
|
|
9628
9702
|
/**
|
|
9629
|
-
* The ID of the element
|
|
9703
|
+
* The ID of the element whose scope will be used for changing variable values when the action is
|
|
9704
|
+
* performed.
|
|
9630
9705
|
*
|
|
9631
9706
|
* Platforms: android, ios, web
|
|
9632
9707
|
*/
|
|
@@ -14007,7 +14082,8 @@ interface IDivVisibilityAction {
|
|
|
14007
14082
|
*/
|
|
14008
14083
|
referer?: Type<string | DivExpression>;
|
|
14009
14084
|
/**
|
|
14010
|
-
* The ID of the element
|
|
14085
|
+
* The ID of the element whose scope will be used for changing variable values when the action is
|
|
14086
|
+
* performed.
|
|
14011
14087
|
*
|
|
14012
14088
|
* Platforms: android, ios, web
|
|
14013
14089
|
*/
|
|
@@ -14132,6 +14208,25 @@ interface IntegerVariableProps {
|
|
|
14132
14208
|
value: Type<number | DivExpression>;
|
|
14133
14209
|
}
|
|
14134
14210
|
|
|
14211
|
+
/**
|
|
14212
|
+
* Specifies the element with the given `id` as the scrolling end position.
|
|
14213
|
+
*/
|
|
14214
|
+
declare class ItemIdDestination<T extends ItemIdDestinationProps = ItemIdDestinationProps> {
|
|
14215
|
+
readonly _props?: Exact<ItemIdDestinationProps, T>;
|
|
14216
|
+
readonly type = "item_id";
|
|
14217
|
+
/**
|
|
14218
|
+
* Identifier of the container child element to scroll to.
|
|
14219
|
+
*/
|
|
14220
|
+
value: Type<string | DivExpression>;
|
|
14221
|
+
constructor(props: Exact<ItemIdDestinationProps, T>);
|
|
14222
|
+
}
|
|
14223
|
+
interface ItemIdDestinationProps {
|
|
14224
|
+
/**
|
|
14225
|
+
* Identifier of the container child element to scroll to.
|
|
14226
|
+
*/
|
|
14227
|
+
value: Type<string | DivExpression>;
|
|
14228
|
+
}
|
|
14229
|
+
|
|
14135
14230
|
declare class NumberValue<T extends NumberValueProps = NumberValueProps> {
|
|
14136
14231
|
readonly _props?: Exact<NumberValueProps, T>;
|
|
14137
14232
|
readonly type = "number";
|
|
@@ -14480,4 +14575,4 @@ declare function rewriteTemplateVersions<T extends ITemplates>(templates: T, res
|
|
|
14480
14575
|
};
|
|
14481
14576
|
};
|
|
14482
14577
|
|
|
14483
|
-
export { AccessibilityType, ArrayValue, ArrayValueProps, ArrayVariable, ArrayVariableProps, BooleanValue, BooleanValueProps, BooleanVariable, BooleanVariableProps, ColorValue, ColorValueProps, ColorVariable, ColorVariableProps, ContentText, ContentTextProps, ContentUrl, ContentUrlProps, DelimiterStyleOrientation, DictValue, DictValueProps, DictVariable, DictVariableProps, Div, DivAccessibilityMode, DivAccessibilityType, DivActionAnimatorStart, DivActionAnimatorStartProps, DivActionAnimatorStop, DivActionAnimatorStopProps, DivActionArrayInsertValue, DivActionArrayInsertValueProps, DivActionArrayRemoveValue, DivActionArrayRemoveValueProps, DivActionArraySetValue, DivActionArraySetValueProps, DivActionClearFocus, DivActionClearFocusProps, DivActionCopyToClipboard, DivActionCopyToClipboardContent, DivActionCopyToClipboardProps, DivActionCustom, DivActionCustomProps, DivActionDictSetValue, DivActionDictSetValueProps, DivActionDownload, DivActionDownloadProps, DivActionFocusElement, DivActionFocusElementProps, DivActionHideTooltip, DivActionHideTooltipProps, DivActionScrollBy, DivActionScrollByOverflow, DivActionScrollByProps, DivActionScrollDestination, DivActionScrollTo, DivActionScrollToProps, DivActionSetState, DivActionSetStateProps, DivActionSetStoredValue, DivActionSetStoredValueProps, DivActionSetVariable, DivActionSetVariableProps, DivActionShowTooltip, DivActionShowTooltipProps, DivActionSubmit, DivActionSubmitProps, DivActionTarget, DivActionTimer, DivActionTimerAction, DivActionTimerProps, DivActionTyped, DivActionUpdateStructure, DivActionUpdateStructureProps, DivActionVideo, DivActionVideoAction, DivActionVideoProps, DivAlignmentHorizontal, DivAlignmentVertical, DivAnimationDirection, DivAnimationInterpolator, DivAnimationName, DivAnimator, DivAppearanceSetTransition, DivAppearanceSetTransitionProps, DivAppearanceTransition, DivBackground, DivBlendMode, DivBlur, DivBlurProps, DivChangeBoundsTransition, DivChangeBoundsTransitionProps, DivChangeSetTransition, DivChangeSetTransitionProps, DivChangeTransition, DivCircleShape, DivCircleShapeProps, DivCloudBackground, DivCloudBackgroundProps, DivColorAnimator, DivColorAnimatorProps, DivContainer, DivContainerLayoutMode, DivContainerOrientation, DivContainerProps, DivContainerProps0, DivContainerProps1, DivContainerPropsBase, DivContentAlignmentHorizontal, DivContentAlignmentVertical, DivCount, DivCurrencyInputMask, DivCurrencyInputMaskProps, DivCustom, DivCustomProps, DivDefaultIndicatorItemPlacement, DivDefaultIndicatorItemPlacementProps, DivDrawable, DivEvaluableType, DivExpression, DivFadeTransition, DivFadeTransitionProps, DivFilter, DivFilterRtlMirror, DivFilterRtlMirrorProps, DivFixedCount, DivFixedCountProps, DivFixedLengthInputMask, DivFixedLengthInputMaskProps, DivFixedSize, DivFixedSizeProps, DivFixedTranslation, DivFixedTranslationProps, DivFontWeight, DivGallery, DivGalleryCrossContentAlignment, DivGalleryOrientation, DivGalleryProps, DivGalleryScrollMode, DivGalleryScrollbar, DivGifImage, DivGifImageProps, DivGradientBackground, DivGrid, DivGridProps, DivImage, DivImageBackground, DivImageBackgroundProps, DivImageProps, DivImageScale, DivIndicator, DivIndicatorAnimation, DivIndicatorItemPlacement, DivIndicatorProps, DivInfinityCount, DivInfinityCountProps, DivInput, DivInputAutocapitalization, DivInputEnterKeyType, DivInputFilter, DivInputFilterExpression, DivInputFilterExpressionProps, DivInputFilterRegex, DivInputFilterRegexProps, DivInputKeyboardType, DivInputMask, DivInputProps, DivInputValidator, DivInputValidatorExpression, DivInputValidatorExpressionProps, DivInputValidatorRegex, DivInputValidatorRegexProps, DivLineStyle, DivLinearGradient, DivLinearGradientProps, DivMatchParentSize, DivMatchParentSizeProps, DivNeighbourPageSize, DivNeighbourPageSizeProps, DivNinePatchBackground, DivNinePatchBackgroundProps, DivNumberAnimator, DivNumberAnimatorProps, DivPageContentSize, DivPageContentSizeProps, DivPageSize, DivPageSizeProps, DivPageTransformation, DivPageTransformationOverlap, DivPageTransformationOverlapProps, DivPageTransformationSlide, DivPageTransformationSlideProps, DivPager, DivPagerItemAlignment, DivPagerLayoutMode, DivPagerOrientation, DivPagerProps, DivPatchMode, DivPercentageSize, DivPercentageSizeProps, DivPercentageTranslation, DivPercentageTranslationProps, DivPhoneInputMask, DivPhoneInputMaskProps, DivPivot, DivPivotFixed, DivPivotFixedProps, DivPivotPercentage, DivPivotPercentageProps, DivRadialGradient, DivRadialGradientCenter, DivRadialGradientFixedCenter, DivRadialGradientFixedCenterProps, DivRadialGradientProps, DivRadialGradientRadius, DivRadialGradientRelativeCenter, DivRadialGradientRelativeCenterProps, DivRadialGradientRelativeRadius, DivRadialGradientRelativeRadiusProps, DivRadialGradientRelativeRadiusValue, DivRotationTransformation, DivRotationTransformationProps, DivRoundedRectangleShape, DivRoundedRectangleShapeProps, DivScaleTransition, DivScaleTransitionProps, DivSelect, DivSelectProps, DivSeparator, DivSeparatorProps, DivShape, DivShapeDrawable, DivShapeDrawableProps, DivSize, DivSizeUnit, DivSlideTransition, DivSlideTransitionEdge, DivSlideTransitionProps, DivSlider, DivSliderProps, DivSolidBackground, DivSolidBackgroundProps, DivState, DivStateProps, DivStretchIndicatorItemPlacement, DivStretchIndicatorItemPlacementProps, DivStrokeStyle, DivStrokeStyleDashed, DivStrokeStyleDashedProps, DivStrokeStyleSolid, DivStrokeStyleSolidProps, DivSwitch, DivSwitchProps, DivTabs, DivTabsProps, DivText, DivTextAlignmentVertical, DivTextGradient, DivTextProps, DivTextRangeBackground, DivTextRangeMask, DivTextRangeMaskParticles, DivTextRangeMaskParticlesProps, DivTextRangeMaskSolid, DivTextRangeMaskSolidProps, DivTextTruncate, DivTooltipMode, DivTooltipModeModal, DivTooltipModeModalProps, DivTooltipModeNonModal, DivTooltipModeNonModalProps, DivTooltipPosition, DivTransformation, DivTransitionSelector, DivTransitionTrigger, DivTranslation, DivTranslationTransformation, DivTranslationTransformationProps, DivTriggerMode, DivTypedValue, DivVariable, DivVideo, DivVideoProps, DivVideoScale, DivVideoSource, DivVideoSourceProps, DivVideoSourceResolution, DivVideoSourceResolutionProps, DivVisibility, DivWrapContentSize, DivWrapContentSizeProps, EndDestination, EndDestinationProps, Exact, IDivAbsoluteEdgeInsets, IDivAccessibility, IDivAction, IDivActionMenuItem, IDivActionSubmitRequest, IDivAnimation, IDivAnimatorBase, IDivAspect, IDivBase, IDivBorder, IDivCollectionItemBuilder, IDivCollectionItemBuilderPrototype, IDivContainerSeparator, IDivCornersRadius, IDivData, IDivDataState, IDivDimension, IDivDisappearAction, IDivDownloadCallbacks, IDivEdgeInsets, IDivExtension, IDivFixedLengthInputMaskPatternElement, IDivFocus, IDivFocusNextFocusIds, IDivFunction, IDivFunctionArgument, IDivInputMaskBase, IDivInputNativeInterface, IDivInputValidatorBase, IDivLayoutProvider, IDivLinearGradientColorPoint, IDivPatch, IDivPatchChange, IDivPoint, IDivRadialGradientColorPoint, IDivSelectOption, IDivSeparatorDelimiterStyle, IDivShadow, IDivSightAction, IDivSizeUnitValue, IDivSliderRange, IDivSliderTextStyle, IDivStateState, IDivStroke, IDivTabsItem, IDivTabsTabTitleDelimiter, IDivTabsTabTitleStyle, IDivTextEllipsis, IDivTextImage, IDivTextRange, IDivTextRangeBorder, IDivTextRangeMaskBase, IDivTimer, IDivTooltip, IDivTransform, IDivTransitionBase, IDivTrigger, IDivVisibilityAction, IImageAccessibility, IRequestHeader, ITemplates, ImageIndexingDirection, IndexDestination, IndexDestinationProps, IntBoolean, IntegerValue, IntegerValueProps, IntegerVariable, IntegerVariableProps, NonEmptyArray, NumberValue, NumberValueProps, NumberVariable, NumberVariableProps, OffsetDestination, OffsetDestinationProps, PropertyVariable, PropertyVariableProps, RequestMethod, SafeDivExpression, StartDestination, StartDestinationProps, 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 };
|
|
14578
|
+
export { AccessibilityType, ArrayValue, ArrayValueProps, ArrayVariable, ArrayVariableProps, BooleanValue, BooleanValueProps, BooleanVariable, BooleanVariableProps, ColorValue, ColorValueProps, ColorVariable, ColorVariableProps, ContentText, ContentTextProps, ContentUrl, ContentUrlProps, DelimiterStyleOrientation, DictValue, DictValueProps, DictVariable, DictVariableProps, Div, DivAccessibilityMode, DivAccessibilityType, DivActionAnimatorStart, DivActionAnimatorStartProps, DivActionAnimatorStop, DivActionAnimatorStopProps, DivActionArrayInsertValue, DivActionArrayInsertValueProps, DivActionArrayRemoveValue, DivActionArrayRemoveValueProps, DivActionArraySetValue, DivActionArraySetValueProps, DivActionClearFocus, DivActionClearFocusProps, DivActionCopyToClipboard, DivActionCopyToClipboardContent, DivActionCopyToClipboardProps, DivActionCustom, DivActionCustomProps, DivActionDictSetValue, DivActionDictSetValueProps, DivActionDownload, DivActionDownloadProps, DivActionFocusElement, DivActionFocusElementProps, DivActionHideTooltip, DivActionHideTooltipProps, DivActionScrollBy, DivActionScrollByOverflow, DivActionScrollByProps, DivActionScrollDestination, DivActionScrollTo, DivActionScrollToProps, DivActionSetCursorPosition, DivActionSetCursorPositionPosition, DivActionSetCursorPositionPositionProps, DivActionSetCursorPositionProps, DivActionSetState, DivActionSetStateProps, DivActionSetStoredValue, DivActionSetStoredValueProps, DivActionSetStoredValueScope, DivActionSetVariable, DivActionSetVariableProps, DivActionShowTooltip, DivActionShowTooltipProps, DivActionSubmit, DivActionSubmitProps, DivActionTarget, DivActionTimer, DivActionTimerAction, DivActionTimerProps, DivActionTyped, DivActionUpdateStructure, DivActionUpdateStructureProps, DivActionVideo, DivActionVideoAction, DivActionVideoProps, DivAlignmentHorizontal, DivAlignmentVertical, DivAnimationDirection, DivAnimationInterpolator, DivAnimationName, DivAnimator, DivAppearanceSetTransition, DivAppearanceSetTransitionProps, DivAppearanceTransition, DivBackground, DivBlendMode, DivBlur, DivBlurProps, DivChangeBoundsTransition, DivChangeBoundsTransitionProps, DivChangeSetTransition, DivChangeSetTransitionProps, DivChangeTransition, DivCircleShape, DivCircleShapeProps, DivCloudBackground, DivCloudBackgroundProps, DivColorAnimator, DivColorAnimatorProps, DivContainer, DivContainerLayoutMode, DivContainerOrientation, DivContainerProps, DivContainerProps0, DivContainerProps1, DivContainerPropsBase, DivContentAlignmentHorizontal, DivContentAlignmentVertical, DivCount, DivCurrencyInputMask, DivCurrencyInputMaskProps, DivCustom, DivCustomProps, DivDefaultIndicatorItemPlacement, DivDefaultIndicatorItemPlacementProps, DivDrawable, DivEvaluableType, DivExpression, DivFadeTransition, DivFadeTransitionProps, DivFilter, DivFilterRtlMirror, DivFilterRtlMirrorProps, DivFixedCount, DivFixedCountProps, DivFixedLengthInputMask, DivFixedLengthInputMaskProps, DivFixedSize, DivFixedSizeProps, DivFixedTranslation, DivFixedTranslationProps, DivFontWeight, DivGallery, DivGalleryCrossContentAlignment, DivGalleryOrientation, DivGalleryProps, DivGalleryScrollMode, DivGalleryScrollbar, DivGifImage, DivGifImageProps, DivGradientBackground, DivGrid, DivGridProps, DivImage, DivImageBackground, DivImageBackgroundProps, DivImageProps, DivImageScale, DivIndicator, DivIndicatorAnimation, DivIndicatorItemPlacement, DivIndicatorProps, DivInfinityCount, DivInfinityCountProps, DivInput, DivInputAutocapitalization, DivInputEnterKeyType, DivInputFilter, DivInputFilterExpression, DivInputFilterExpressionProps, DivInputFilterRegex, DivInputFilterRegexProps, DivInputKeyboardType, DivInputMask, DivInputProps, DivInputValidator, DivInputValidatorExpression, DivInputValidatorExpressionProps, DivInputValidatorRegex, DivInputValidatorRegexProps, DivLineStyle, DivLinearGradient, DivLinearGradientProps, DivMatchParentSize, DivMatchParentSizeProps, DivNeighbourPageSize, DivNeighbourPageSizeProps, DivNinePatchBackground, DivNinePatchBackgroundProps, DivNumberAnimator, DivNumberAnimatorProps, DivPageContentSize, DivPageContentSizeProps, DivPageSize, DivPageSizeProps, DivPageTransformation, DivPageTransformationOverlap, DivPageTransformationOverlapProps, DivPageTransformationSlide, DivPageTransformationSlideProps, DivPager, DivPagerItemAlignment, DivPagerLayoutMode, DivPagerOrientation, DivPagerProps, DivPatchMode, DivPercentageSize, DivPercentageSizeProps, DivPercentageTranslation, DivPercentageTranslationProps, DivPhoneInputMask, DivPhoneInputMaskProps, DivPivot, DivPivotFixed, DivPivotFixedProps, DivPivotPercentage, DivPivotPercentageProps, DivRadialGradient, DivRadialGradientCenter, DivRadialGradientFixedCenter, DivRadialGradientFixedCenterProps, DivRadialGradientProps, DivRadialGradientRadius, DivRadialGradientRelativeCenter, DivRadialGradientRelativeCenterProps, DivRadialGradientRelativeRadius, DivRadialGradientRelativeRadiusProps, DivRadialGradientRelativeRadiusValue, DivRotationTransformation, DivRotationTransformationProps, DivRoundedRectangleShape, DivRoundedRectangleShapeProps, DivScaleTransition, DivScaleTransitionProps, DivSelect, DivSelectProps, DivSeparator, DivSeparatorProps, DivShape, DivShapeDrawable, DivShapeDrawableProps, DivSize, DivSizeUnit, DivSlideTransition, DivSlideTransitionEdge, DivSlideTransitionProps, DivSlider, DivSliderProps, DivSolidBackground, DivSolidBackgroundProps, DivState, DivStateProps, DivStretchIndicatorItemPlacement, DivStretchIndicatorItemPlacementProps, DivStrokeStyle, DivStrokeStyleDashed, DivStrokeStyleDashedProps, DivStrokeStyleSolid, DivStrokeStyleSolidProps, DivSwitch, DivSwitchProps, DivTabs, DivTabsProps, DivText, DivTextAlignmentVertical, DivTextGradient, DivTextProps, DivTextRangeBackground, DivTextRangeMask, DivTextRangeMaskParticles, DivTextRangeMaskParticlesProps, DivTextRangeMaskSolid, DivTextRangeMaskSolidProps, DivTextTruncate, DivTooltipMode, DivTooltipModeModal, DivTooltipModeModalProps, DivTooltipModeNonModal, DivTooltipModeNonModalProps, DivTooltipPosition, DivTransformation, DivTransitionSelector, DivTransitionTrigger, DivTranslation, DivTranslationTransformation, DivTranslationTransformationProps, DivTriggerMode, DivTypedValue, DivVariable, DivVideo, DivVideoProps, DivVideoScale, DivVideoSource, DivVideoSourceProps, DivVideoSourceResolution, DivVideoSourceResolutionProps, DivVisibility, DivWrapContentSize, DivWrapContentSizeProps, EndDestination, EndDestinationProps, Exact, IDivAbsoluteEdgeInsets, IDivAccessibility, IDivAction, IDivActionMenuItem, IDivActionSubmitRequest, IDivAnimation, IDivAnimatorBase, IDivAspect, IDivBase, IDivBorder, IDivCollectionItemBuilder, IDivCollectionItemBuilderPrototype, IDivContainerSeparator, IDivCornersRadius, IDivData, IDivDataState, IDivDimension, IDivDisappearAction, IDivDownloadCallbacks, IDivEdgeInsets, IDivExtension, IDivFixedLengthInputMaskPatternElement, IDivFocus, IDivFocusNextFocusIds, IDivFunction, IDivFunctionArgument, IDivInputMaskBase, IDivInputNativeInterface, IDivInputValidatorBase, IDivLayoutProvider, IDivLinearGradientColorPoint, IDivPatch, IDivPatchChange, IDivPoint, IDivRadialGradientColorPoint, IDivSelectOption, IDivSeparatorDelimiterStyle, IDivShadow, IDivSightAction, IDivSizeUnitValue, IDivSliderRange, IDivSliderTextStyle, IDivStateState, IDivStroke, IDivTabsItem, IDivTabsTabTitleDelimiter, IDivTabsTabTitleStyle, IDivTextEllipsis, IDivTextImage, IDivTextRange, IDivTextRangeBorder, IDivTextRangeMaskBase, IDivTimer, IDivTooltip, IDivTransform, IDivTransitionBase, IDivTrigger, IDivVisibilityAction, IImageAccessibility, IRequestHeader, ITemplates, ImageIndexingDirection, IndexDestination, IndexDestinationProps, IntBoolean, IntegerValue, IntegerValueProps, IntegerVariable, IntegerVariableProps, ItemIdDestination, ItemIdDestinationProps, NonEmptyArray, NumberValue, NumberValueProps, NumberVariable, NumberVariableProps, OffsetDestination, OffsetDestinationProps, PropertyVariable, PropertyVariableProps, RequestMethod, SafeDivExpression, StartDestination, StartDestinationProps, 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
|
@@ -278,6 +278,30 @@ class DivActionScrollTo {
|
|
|
278
278
|
}
|
|
279
279
|
}
|
|
280
280
|
|
|
281
|
+
// Generated code. Do not modify.
|
|
282
|
+
/**
|
|
283
|
+
* Sets the cursor position in the specified input field.
|
|
284
|
+
*/
|
|
285
|
+
class DivActionSetCursorPosition {
|
|
286
|
+
constructor(props) {
|
|
287
|
+
this.type = 'set_cursor_position';
|
|
288
|
+
this.id = props.id;
|
|
289
|
+
this.position = props.position;
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
/**
|
|
293
|
+
* Defines the cursor position. If `end` is not set, or if `end` is equal to `start`, it will
|
|
294
|
+
* just be the cursor position, if both are set and the values are different, part of the text
|
|
295
|
+
* will be selected. Use 0 to indicate the beginning of the text, -1 for the end.
|
|
296
|
+
*/
|
|
297
|
+
class DivActionSetCursorPositionPosition {
|
|
298
|
+
constructor(props) {
|
|
299
|
+
this.type = 'absolute';
|
|
300
|
+
this.end = props.end;
|
|
301
|
+
this.start = props.start;
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
|
|
281
305
|
// Generated code. Do not modify.
|
|
282
306
|
/**
|
|
283
307
|
* Applies a new appearance to the content in `div-state'.
|
|
@@ -299,6 +323,7 @@ class DivActionSetStoredValue {
|
|
|
299
323
|
this.type = 'set_stored_value';
|
|
300
324
|
this.lifetime = props.lifetime;
|
|
301
325
|
this.name = props.name;
|
|
326
|
+
this.scope = props.scope;
|
|
302
327
|
this.value = props.value;
|
|
303
328
|
}
|
|
304
329
|
}
|
|
@@ -2125,6 +2150,17 @@ class IntegerVariable {
|
|
|
2125
2150
|
}
|
|
2126
2151
|
}
|
|
2127
2152
|
|
|
2153
|
+
// Generated code. Do not modify.
|
|
2154
|
+
/**
|
|
2155
|
+
* Specifies the element with the given `id` as the scrolling end position.
|
|
2156
|
+
*/
|
|
2157
|
+
class ItemIdDestination {
|
|
2158
|
+
constructor(props) {
|
|
2159
|
+
this.type = 'item_id';
|
|
2160
|
+
this.value = props.value;
|
|
2161
|
+
}
|
|
2162
|
+
}
|
|
2163
|
+
|
|
2128
2164
|
// Generated code. Do not modify.
|
|
2129
2165
|
class NumberValue {
|
|
2130
2166
|
constructor(props) {
|
|
@@ -2622,6 +2658,8 @@ exports.DivActionFocusElement = DivActionFocusElement;
|
|
|
2622
2658
|
exports.DivActionHideTooltip = DivActionHideTooltip;
|
|
2623
2659
|
exports.DivActionScrollBy = DivActionScrollBy;
|
|
2624
2660
|
exports.DivActionScrollTo = DivActionScrollTo;
|
|
2661
|
+
exports.DivActionSetCursorPosition = DivActionSetCursorPosition;
|
|
2662
|
+
exports.DivActionSetCursorPositionPosition = DivActionSetCursorPositionPosition;
|
|
2625
2663
|
exports.DivActionSetState = DivActionSetState;
|
|
2626
2664
|
exports.DivActionSetStoredValue = DivActionSetStoredValue;
|
|
2627
2665
|
exports.DivActionSetVariable = DivActionSetVariable;
|
|
@@ -2708,6 +2746,7 @@ exports.EndDestination = EndDestination;
|
|
|
2708
2746
|
exports.IndexDestination = IndexDestination;
|
|
2709
2747
|
exports.IntegerValue = IntegerValue;
|
|
2710
2748
|
exports.IntegerVariable = IntegerVariable;
|
|
2749
|
+
exports.ItemIdDestination = ItemIdDestination;
|
|
2711
2750
|
exports.NumberValue = NumberValue;
|
|
2712
2751
|
exports.NumberVariable = NumberVariable;
|
|
2713
2752
|
exports.OffsetDestination = OffsetDestination;
|