diff --git a/.mapping.json b/.mapping.json index 2cac7748e..28dd79178 100644 --- a/.mapping.json +++ b/.mapping.json @@ -26358,6 +26358,7 @@ "json-builder/kotlin/divan-dsl/src/generated/kotlin/divkit/dsl/InputValidatorRegex.kt":"divkit/public/json-builder/kotlin/divan-dsl/src/generated/kotlin/divkit/dsl/InputValidatorRegex.kt", "json-builder/kotlin/divan-dsl/src/generated/kotlin/divkit/dsl/IntegerValue.kt":"divkit/public/json-builder/kotlin/divan-dsl/src/generated/kotlin/divkit/dsl/IntegerValue.kt", "json-builder/kotlin/divan-dsl/src/generated/kotlin/divkit/dsl/IntegerVariable.kt":"divkit/public/json-builder/kotlin/divan-dsl/src/generated/kotlin/divkit/dsl/IntegerVariable.kt", + "json-builder/kotlin/divan-dsl/src/generated/kotlin/divkit/dsl/ItemIdDestination.kt":"divkit/public/json-builder/kotlin/divan-dsl/src/generated/kotlin/divkit/dsl/ItemIdDestination.kt", "json-builder/kotlin/divan-dsl/src/generated/kotlin/divkit/dsl/LayoutProvider.kt":"divkit/public/json-builder/kotlin/divan-dsl/src/generated/kotlin/divkit/dsl/LayoutProvider.kt", "json-builder/kotlin/divan-dsl/src/generated/kotlin/divkit/dsl/LineStyle.kt":"divkit/public/json-builder/kotlin/divan-dsl/src/generated/kotlin/divkit/dsl/LineStyle.kt", "json-builder/kotlin/divan-dsl/src/generated/kotlin/divkit/dsl/LinearGradient.kt":"divkit/public/json-builder/kotlin/divan-dsl/src/generated/kotlin/divkit/dsl/LinearGradient.kt", diff --git a/client/ios/Configurations/Version.xcconfig b/client/ios/Configurations/Version.xcconfig index 1dc1e3caa..9557dae2d 100644 --- a/client/ios/Configurations/Version.xcconfig +++ b/client/ios/Configurations/Version.xcconfig @@ -1,2 +1,2 @@ -MARKETING_VERSION = 32.45.0 +MARKETING_VERSION = 32.46.0 CURRENT_PROJECT_VERSION = 32 diff --git a/client/ios/DivKit/DivKitInfo.swift b/client/ios/DivKit/DivKitInfo.swift index 9de2b490d..b50b0b05c 100644 --- a/client/ios/DivKit/DivKitInfo.swift +++ b/client/ios/DivKit/DivKitInfo.swift @@ -1,3 +1,3 @@ public enum DivKitInfo { - public static let version = "32.45.0" + public static let version = "32.46.0" } diff --git a/client/web/divkit/package.json b/client/web/divkit/package.json index 580c09617..efdb2139c 100644 --- a/client/web/divkit/package.json +++ b/client/web/divkit/package.json @@ -1,6 +1,6 @@ { "name": "@divkitframework/divkit", - "version": "32.45.0", + "version": "32.46.0", "description": "DivKit for the web", "keywords": [ "server-driven-ui", diff --git a/json-builder/kotlin/divan-dsl/src/generated/kotlin/divkit/dsl/Action.kt b/json-builder/kotlin/divan-dsl/src/generated/kotlin/divkit/dsl/Action.kt index 83e28839a..6e2fcd21a 100644 --- a/json-builder/kotlin/divan-dsl/src/generated/kotlin/divkit/dsl/Action.kt +++ b/json-builder/kotlin/divan-dsl/src/generated/kotlin/divkit/dsl/Action.kt @@ -81,7 +81,7 @@ data class Action internal constructor( */ val referer: Property?, /** - * The ID of the element within which the specified action will be performed. + * The ID of the element whose scope will be used for changing variable values when the action is performed. */ val scopeId: Property?, /** @@ -178,7 +178,7 @@ data class Action internal constructor( * @param menuItems Context menu. * @param payload Additional parameters, passed to the host application. * @param referer Referer URL for logging. - * @param scopeId The ID of the element within which the specified action will be performed. + * @param scopeId The ID of the element whose scope will be used for changing variable values when the action is performed. * @param target The tab in which the URL must be opened. * @param url URL. Possible values: `url` or `div-action://`. To learn more, see [Interaction with elements](../../interaction). */ @@ -220,7 +220,7 @@ fun DivScope.action( * @param menuItems Context menu. * @param payload Additional parameters, passed to the host application. * @param referer Referer URL for logging. - * @param scopeId The ID of the element within which the specified action will be performed. + * @param scopeId The ID of the element whose scope will be used for changing variable values when the action is performed. * @param target The tab in which the URL must be opened. * @param url URL. Possible values: `url` or `div-action://`. To learn more, see [Interaction with elements](../../interaction). */ @@ -260,7 +260,7 @@ fun DivScope.actionProps( * @param menuItems Context menu. * @param payload Additional parameters, passed to the host application. * @param referer Referer URL for logging. - * @param scopeId The ID of the element within which the specified action will be performed. + * @param scopeId The ID of the element whose scope will be used for changing variable values when the action is performed. * @param target The tab in which the URL must be opened. * @param url URL. Possible values: `url` or `div-action://`. To learn more, see [Interaction with elements](../../interaction). */ @@ -300,7 +300,7 @@ fun TemplateScope.actionRefs( * @param menuItems Context menu. * @param payload Additional parameters, passed to the host application. * @param referer Referer URL for logging. - * @param scopeId The ID of the element within which the specified action will be performed. + * @param scopeId The ID of the element whose scope will be used for changing variable values when the action is performed. * @param target The tab in which the URL must be opened. * @param url URL. Possible values: `url` or `div-action://`. To learn more, see [Interaction with elements](../../interaction). */ @@ -342,7 +342,7 @@ fun Action.override( * @param menuItems Context menu. * @param payload Additional parameters, passed to the host application. * @param referer Referer URL for logging. - * @param scopeId The ID of the element within which the specified action will be performed. + * @param scopeId The ID of the element whose scope will be used for changing variable values when the action is performed. * @param target The tab in which the URL must be opened. * @param url URL. Possible values: `url` or `div-action://`. To learn more, see [Interaction with elements](../../interaction). */ @@ -384,7 +384,7 @@ fun Action.defer( * @param menuItems Context menu. * @param payload Additional parameters, passed to the host application. * @param referer Referer URL for logging. - * @param scopeId The ID of the element within which the specified action will be performed. + * @param scopeId The ID of the element whose scope will be used for changing variable values when the action is performed. * @param target The tab in which the URL must be opened. * @param url URL. Possible values: `url` or `div-action://`. To learn more, see [Interaction with elements](../../interaction). */ diff --git a/json-builder/kotlin/divan-dsl/src/generated/kotlin/divkit/dsl/ActionScrollDestination.kt b/json-builder/kotlin/divan-dsl/src/generated/kotlin/divkit/dsl/ActionScrollDestination.kt index 62b9d55e5..a146e9961 100644 --- a/json-builder/kotlin/divan-dsl/src/generated/kotlin/divkit/dsl/ActionScrollDestination.kt +++ b/json-builder/kotlin/divan-dsl/src/generated/kotlin/divkit/dsl/ActionScrollDestination.kt @@ -18,7 +18,7 @@ import kotlin.collections.List import kotlin.collections.Map /** - * Possible values: [OffsetDestination], [IndexDestination], [StartDestination], [EndDestination]. + * Possible values: [OffsetDestination], [IndexDestination], [StartDestination], [EndDestination], [ItemIdDestination]. */ @Generated sealed interface ActionScrollDestination diff --git a/json-builder/kotlin/divan-dsl/src/generated/kotlin/divkit/dsl/ActionScrollTo.kt b/json-builder/kotlin/divan-dsl/src/generated/kotlin/divkit/dsl/ActionScrollTo.kt index c7f0dd1ae..014aca5c8 100644 --- a/json-builder/kotlin/divan-dsl/src/generated/kotlin/divkit/dsl/ActionScrollTo.kt +++ b/json-builder/kotlin/divan-dsl/src/generated/kotlin/divkit/dsl/ActionScrollTo.kt @@ -51,7 +51,7 @@ data class ActionScrollTo internal constructor( */ val animated: Property?, /** - * Defines the scrolling end position:
  • `index`: Scroll to the element with the index provided in `value`
  • `offset`: Scroll to the position specified in `value` and measured in `dp` from the start of the container. Applies only in `gallery`;
  • `start`: Scroll to the container start;
  • `end`: Scroll to the container end.
  • + * Defines the scrolling end position:
  • `index`: Scroll to the element with the index provided in `value`
  • `item_id`: Scroll to the element with identifier provided in `value`
  • `offset`: Scroll to the position specified in `value` and measured in `dp` from the start of the container. Applies only in `gallery`;
  • `start`: Scroll to the container start;
  • `end`: Scroll to the container end.
  • */ val destination: Property?, /** @@ -72,7 +72,7 @@ data class ActionScrollTo internal constructor( /** * @param animated Enables scrolling animation. - * @param destination Defines the scrolling end position:
  • `index`: Scroll to the element with the index provided in `value`
  • `offset`: Scroll to the position specified in `value` and measured in `dp` from the start of the container. Applies only in `gallery`;
  • `start`: Scroll to the container start;
  • `end`: Scroll to the container end.
  • + * @param destination Defines the scrolling end position:
  • `index`: Scroll to the element with the index provided in `value`
  • `item_id`: Scroll to the element with identifier provided in `value`
  • `offset`: Scroll to the position specified in `value` and measured in `dp` from the start of the container. Applies only in `gallery`;
  • `start`: Scroll to the container start;
  • `end`: Scroll to the container end.
  • * @param id ID of the element where the action should be performed. */ @Generated @@ -91,7 +91,7 @@ fun DivScope.actionScrollTo( /** * @param animated Enables scrolling animation. - * @param destination Defines the scrolling end position:
  • `index`: Scroll to the element with the index provided in `value`
  • `offset`: Scroll to the position specified in `value` and measured in `dp` from the start of the container. Applies only in `gallery`;
  • `start`: Scroll to the container start;
  • `end`: Scroll to the container end.
  • + * @param destination Defines the scrolling end position:
  • `index`: Scroll to the element with the index provided in `value`
  • `item_id`: Scroll to the element with identifier provided in `value`
  • `offset`: Scroll to the position specified in `value` and measured in `dp` from the start of the container. Applies only in `gallery`;
  • `start`: Scroll to the container start;
  • `end`: Scroll to the container end.
  • * @param id ID of the element where the action should be performed. */ @Generated @@ -108,7 +108,7 @@ fun DivScope.actionScrollToProps( /** * @param animated Enables scrolling animation. - * @param destination Defines the scrolling end position:
  • `index`: Scroll to the element with the index provided in `value`
  • `offset`: Scroll to the position specified in `value` and measured in `dp` from the start of the container. Applies only in `gallery`;
  • `start`: Scroll to the container start;
  • `end`: Scroll to the container end.
  • + * @param destination Defines the scrolling end position:
  • `index`: Scroll to the element with the index provided in `value`
  • `item_id`: Scroll to the element with identifier provided in `value`
  • `offset`: Scroll to the position specified in `value` and measured in `dp` from the start of the container. Applies only in `gallery`;
  • `start`: Scroll to the container start;
  • `end`: Scroll to the container end.
  • * @param id ID of the element where the action should be performed. */ @Generated @@ -125,7 +125,7 @@ fun TemplateScope.actionScrollToRefs( /** * @param animated Enables scrolling animation. - * @param destination Defines the scrolling end position:
  • `index`: Scroll to the element with the index provided in `value`
  • `offset`: Scroll to the position specified in `value` and measured in `dp` from the start of the container. Applies only in `gallery`;
  • `start`: Scroll to the container start;
  • `end`: Scroll to the container end.
  • + * @param destination Defines the scrolling end position:
  • `index`: Scroll to the element with the index provided in `value`
  • `item_id`: Scroll to the element with identifier provided in `value`
  • `offset`: Scroll to the position specified in `value` and measured in `dp` from the start of the container. Applies only in `gallery`;
  • `start`: Scroll to the container start;
  • `end`: Scroll to the container end.
  • * @param id ID of the element where the action should be performed. */ @Generated @@ -144,7 +144,7 @@ fun ActionScrollTo.override( /** * @param animated Enables scrolling animation. - * @param destination Defines the scrolling end position:
  • `index`: Scroll to the element with the index provided in `value`
  • `offset`: Scroll to the position specified in `value` and measured in `dp` from the start of the container. Applies only in `gallery`;
  • `start`: Scroll to the container start;
  • `end`: Scroll to the container end.
  • + * @param destination Defines the scrolling end position:
  • `index`: Scroll to the element with the index provided in `value`
  • `item_id`: Scroll to the element with identifier provided in `value`
  • `offset`: Scroll to the position specified in `value` and measured in `dp` from the start of the container. Applies only in `gallery`;
  • `start`: Scroll to the container start;
  • `end`: Scroll to the container end.
  • * @param id ID of the element where the action should be performed. */ @Generated @@ -163,7 +163,7 @@ fun ActionScrollTo.defer( /** * @param animated Enables scrolling animation. - * @param destination Defines the scrolling end position:
  • `index`: Scroll to the element with the index provided in `value`
  • `offset`: Scroll to the position specified in `value` and measured in `dp` from the start of the container. Applies only in `gallery`;
  • `start`: Scroll to the container start;
  • `end`: Scroll to the container end.
  • + * @param destination Defines the scrolling end position:
  • `index`: Scroll to the element with the index provided in `value`
  • `item_id`: Scroll to the element with identifier provided in `value`
  • `offset`: Scroll to the position specified in `value` and measured in `dp` from the start of the container. Applies only in `gallery`;
  • `start`: Scroll to the container start;
  • `end`: Scroll to the container end.
  • * @param id ID of the element where the action should be performed. */ @Generated diff --git a/json-builder/kotlin/divan-dsl/src/generated/kotlin/divkit/dsl/DisappearAction.kt b/json-builder/kotlin/divan-dsl/src/generated/kotlin/divkit/dsl/DisappearAction.kt index 72142ba37..79ac89d16 100644 --- a/json-builder/kotlin/divan-dsl/src/generated/kotlin/divkit/dsl/DisappearAction.kt +++ b/json-builder/kotlin/divan-dsl/src/generated/kotlin/divkit/dsl/DisappearAction.kt @@ -83,7 +83,7 @@ data class DisappearAction internal constructor( */ val referer: Property?, /** - * The ID of the element within which the specified action will be performed. + * The ID of the element whose scope will be used for changing variable values when the action is performed. */ val scopeId: Property?, val typed: Property?, @@ -124,7 +124,7 @@ data class DisappearAction internal constructor( * @param logLimit Limit on the number of loggings. If `0`, the limit is removed. * @param payload Additional parameters, passed to the host application. * @param referer Referer URL for logging. - * @param scopeId The ID of the element within which the specified action will be performed. + * @param scopeId The ID of the element whose scope will be used for changing variable values when the action is performed. * @param url URL. Possible values: `url` or `div-action://`. To learn more, see [Interaction with elements](../../interaction). * @param visibilityPercentage Percentage of the visible part of an element that triggers `disappear-action`. */ @@ -166,7 +166,7 @@ fun DivScope.disappearAction( * @param logLimit Limit on the number of loggings. If `0`, the limit is removed. * @param payload Additional parameters, passed to the host application. * @param referer Referer URL for logging. - * @param scopeId The ID of the element within which the specified action will be performed. + * @param scopeId The ID of the element whose scope will be used for changing variable values when the action is performed. * @param url URL. Possible values: `url` or `div-action://`. To learn more, see [Interaction with elements](../../interaction). * @param visibilityPercentage Percentage of the visible part of an element that triggers `disappear-action`. */ @@ -206,7 +206,7 @@ fun DivScope.disappearActionProps( * @param logLimit Limit on the number of loggings. If `0`, the limit is removed. * @param payload Additional parameters, passed to the host application. * @param referer Referer URL for logging. - * @param scopeId The ID of the element within which the specified action will be performed. + * @param scopeId The ID of the element whose scope will be used for changing variable values when the action is performed. * @param url URL. Possible values: `url` or `div-action://`. To learn more, see [Interaction with elements](../../interaction). * @param visibilityPercentage Percentage of the visible part of an element that triggers `disappear-action`. */ @@ -246,7 +246,7 @@ fun TemplateScope.disappearActionRefs( * @param logLimit Limit on the number of loggings. If `0`, the limit is removed. * @param payload Additional parameters, passed to the host application. * @param referer Referer URL for logging. - * @param scopeId The ID of the element within which the specified action will be performed. + * @param scopeId The ID of the element whose scope will be used for changing variable values when the action is performed. * @param url URL. Possible values: `url` or `div-action://`. To learn more, see [Interaction with elements](../../interaction). * @param visibilityPercentage Percentage of the visible part of an element that triggers `disappear-action`. */ @@ -288,7 +288,7 @@ fun DisappearAction.override( * @param logLimit Limit on the number of loggings. If `0`, the limit is removed. * @param payload Additional parameters, passed to the host application. * @param referer Referer URL for logging. - * @param scopeId The ID of the element within which the specified action will be performed. + * @param scopeId The ID of the element whose scope will be used for changing variable values when the action is performed. * @param url URL. Possible values: `url` or `div-action://`. To learn more, see [Interaction with elements](../../interaction). * @param visibilityPercentage Percentage of the visible part of an element that triggers `disappear-action`. */ @@ -330,7 +330,7 @@ fun DisappearAction.defer( * @param logLimit Limit on the number of loggings. If `0`, the limit is removed. * @param payload Additional parameters, passed to the host application. * @param referer Referer URL for logging. - * @param scopeId The ID of the element within which the specified action will be performed. + * @param scopeId The ID of the element whose scope will be used for changing variable values when the action is performed. * @param url URL. Possible values: `url` or `div-action://`. To learn more, see [Interaction with elements](../../interaction). * @param visibilityPercentage Percentage of the visible part of an element that triggers `disappear-action`. */ diff --git a/json-builder/kotlin/divan-dsl/src/generated/kotlin/divkit/dsl/ItemIdDestination.kt b/json-builder/kotlin/divan-dsl/src/generated/kotlin/divkit/dsl/ItemIdDestination.kt new file mode 100644 index 000000000..9bd569fb9 --- /dev/null +++ b/json-builder/kotlin/divan-dsl/src/generated/kotlin/divkit/dsl/ItemIdDestination.kt @@ -0,0 +1,148 @@ +@file:Suppress( + "unused", + "UNUSED_PARAMETER", +) + +package divkit.dsl + +import com.fasterxml.jackson.annotation.JsonAnyGetter +import com.fasterxml.jackson.annotation.JsonIgnore +import com.fasterxml.jackson.annotation.JsonValue +import divkit.dsl.annotation.* +import divkit.dsl.core.* +import divkit.dsl.scope.* +import kotlin.Any +import kotlin.String +import kotlin.Suppress +import kotlin.collections.List +import kotlin.collections.Map + +/** + * Specifies the element with the given `id` as the scrolling end position. + * + * Can be created using the method [itemIdDestination]. + * + * Required parameters: `value, type`. + */ +@Generated +@ExposedCopyVisibility +data class ItemIdDestination internal constructor( + @JsonIgnore + val properties: Properties, +) : ActionScrollDestination { + @JsonAnyGetter + internal fun getJsonProperties(): Map = properties.mergeWith( + mapOf("type" to "item_id") + ) + + operator fun plus(additive: Properties): ItemIdDestination = ItemIdDestination( + Properties( + value = additive.value ?: properties.value, + ) + ) + + @ExposedCopyVisibility + data class Properties internal constructor( + /** + * Identifier of the container child element to scroll to. + */ + val value: Property?, + ) { + internal fun mergeWith(properties: Map): Map { + val result = mutableMapOf() + result.putAll(properties) + result.tryPutProperty("value", value) + return result + } + } +} + +/** + * @param value Identifier of the container child element to scroll to. + */ +@Generated +fun DivScope.itemIdDestination( + `use named arguments`: Guard = Guard.instance, + value: String? = null, +): ItemIdDestination = ItemIdDestination( + ItemIdDestination.Properties( + value = valueOrNull(value), + ) +) + +/** + * @param value Identifier of the container child element to scroll to. + */ +@Generated +fun DivScope.itemIdDestinationProps( + `use named arguments`: Guard = Guard.instance, + value: String? = null, +) = ItemIdDestination.Properties( + value = valueOrNull(value), +) + +/** + * @param value Identifier of the container child element to scroll to. + */ +@Generated +fun TemplateScope.itemIdDestinationRefs( + `use named arguments`: Guard = Guard.instance, + value: ReferenceProperty? = null, +) = ItemIdDestination.Properties( + value = value, +) + +/** + * @param value Identifier of the container child element to scroll to. + */ +@Generated +fun ItemIdDestination.override( + `use named arguments`: Guard = Guard.instance, + value: String? = null, +): ItemIdDestination = ItemIdDestination( + ItemIdDestination.Properties( + value = valueOrNull(value) ?: properties.value, + ) +) + +/** + * @param value Identifier of the container child element to scroll to. + */ +@Generated +fun ItemIdDestination.defer( + `use named arguments`: Guard = Guard.instance, + value: ReferenceProperty? = null, +): ItemIdDestination = ItemIdDestination( + ItemIdDestination.Properties( + value = value ?: properties.value, + ) +) + +/** + * @param value Identifier of the container child element to scroll to. + */ +@Generated +fun ItemIdDestination.modify( + `use named arguments`: Guard = Guard.instance, + value: Property? = null, +): ItemIdDestination = ItemIdDestination( + ItemIdDestination.Properties( + value = value ?: properties.value, + ) +) + +/** + * @param value Identifier of the container child element to scroll to. + */ +@Generated +fun ItemIdDestination.evaluate( + `use named arguments`: Guard = Guard.instance, + value: ExpressionProperty? = null, +): ItemIdDestination = ItemIdDestination( + ItemIdDestination.Properties( + value = value ?: properties.value, + ) +) + +@Generated +fun ItemIdDestination.asList() = listOf(this) diff --git a/json-builder/kotlin/divan-dsl/src/generated/kotlin/divkit/dsl/VisibilityAction.kt b/json-builder/kotlin/divan-dsl/src/generated/kotlin/divkit/dsl/VisibilityAction.kt index 0a63846bb..b344ee03d 100644 --- a/json-builder/kotlin/divan-dsl/src/generated/kotlin/divkit/dsl/VisibilityAction.kt +++ b/json-builder/kotlin/divan-dsl/src/generated/kotlin/divkit/dsl/VisibilityAction.kt @@ -78,7 +78,7 @@ data class VisibilityAction internal constructor( */ val referer: Property?, /** - * The ID of the element within which the specified action will be performed. + * The ID of the element whose scope will be used for changing variable values when the action is performed. */ val scopeId: Property?, val typed: Property?, @@ -123,7 +123,7 @@ data class VisibilityAction internal constructor( * @param logLimit Limit on the number of loggings. If `0`, the limit is removed. * @param payload Additional parameters, passed to the host application. * @param referer Referer URL for logging. - * @param scopeId The ID of the element within which the specified action will be performed. + * @param scopeId The ID of the element whose scope will be used for changing variable values when the action is performed. * @param url URL. Possible values: `url` or `div-action://`. To learn more, see [Interaction with elements](../../interaction). * @param visibilityDuration Time in milliseconds during which an element must be visible to trigger `visibility-action`. * @param visibilityPercentage Percentage of the visible part of an element that triggers `visibility-action`. @@ -165,7 +165,7 @@ fun DivScope.visibilityAction( * @param logLimit Limit on the number of loggings. If `0`, the limit is removed. * @param payload Additional parameters, passed to the host application. * @param referer Referer URL for logging. - * @param scopeId The ID of the element within which the specified action will be performed. + * @param scopeId The ID of the element whose scope will be used for changing variable values when the action is performed. * @param url URL. Possible values: `url` or `div-action://`. To learn more, see [Interaction with elements](../../interaction). * @param visibilityDuration Time in milliseconds during which an element must be visible to trigger `visibility-action`. * @param visibilityPercentage Percentage of the visible part of an element that triggers `visibility-action`. @@ -205,7 +205,7 @@ fun DivScope.visibilityActionProps( * @param logLimit Limit on the number of loggings. If `0`, the limit is removed. * @param payload Additional parameters, passed to the host application. * @param referer Referer URL for logging. - * @param scopeId The ID of the element within which the specified action will be performed. + * @param scopeId The ID of the element whose scope will be used for changing variable values when the action is performed. * @param url URL. Possible values: `url` or `div-action://`. To learn more, see [Interaction with elements](../../interaction). * @param visibilityDuration Time in milliseconds during which an element must be visible to trigger `visibility-action`. * @param visibilityPercentage Percentage of the visible part of an element that triggers `visibility-action`. @@ -245,7 +245,7 @@ fun TemplateScope.visibilityActionRefs( * @param logLimit Limit on the number of loggings. If `0`, the limit is removed. * @param payload Additional parameters, passed to the host application. * @param referer Referer URL for logging. - * @param scopeId The ID of the element within which the specified action will be performed. + * @param scopeId The ID of the element whose scope will be used for changing variable values when the action is performed. * @param url URL. Possible values: `url` or `div-action://`. To learn more, see [Interaction with elements](../../interaction). * @param visibilityDuration Time in milliseconds during which an element must be visible to trigger `visibility-action`. * @param visibilityPercentage Percentage of the visible part of an element that triggers `visibility-action`. @@ -287,7 +287,7 @@ fun VisibilityAction.override( * @param logLimit Limit on the number of loggings. If `0`, the limit is removed. * @param payload Additional parameters, passed to the host application. * @param referer Referer URL for logging. - * @param scopeId The ID of the element within which the specified action will be performed. + * @param scopeId The ID of the element whose scope will be used for changing variable values when the action is performed. * @param url URL. Possible values: `url` or `div-action://`. To learn more, see [Interaction with elements](../../interaction). * @param visibilityDuration Time in milliseconds during which an element must be visible to trigger `visibility-action`. * @param visibilityPercentage Percentage of the visible part of an element that triggers `visibility-action`. @@ -329,7 +329,7 @@ fun VisibilityAction.defer( * @param logLimit Limit on the number of loggings. If `0`, the limit is removed. * @param payload Additional parameters, passed to the host application. * @param referer Referer URL for logging. - * @param scopeId The ID of the element within which the specified action will be performed. + * @param scopeId The ID of the element whose scope will be used for changing variable values when the action is performed. * @param url URL. Possible values: `url` or `div-action://`. To learn more, see [Interaction with elements](../../interaction). * @param visibilityDuration Time in milliseconds during which an element must be visible to trigger `visibility-action`. * @param visibilityPercentage Percentage of the visible part of an element that triggers `visibility-action`. diff --git a/json-builder/python/pyproject.toml b/json-builder/python/pyproject.toml index 20719e4ad..da3480dcd 100644 --- a/json-builder/python/pyproject.toml +++ b/json-builder/python/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "pydivkit" -version = "32.45.0" +version = "32.46.0" description = "DivKit python library" readme = "README.md" keywords = ["divkit", "sdk"] diff --git a/json-builder/typescript/package.json b/json-builder/typescript/package.json index 9008c660f..7796cb012 100644 --- a/json-builder/typescript/package.json +++ b/json-builder/typescript/package.json @@ -1,6 +1,6 @@ { "name": "@divkitframework/jsonbuilder", - "version": "32.45.0", + "version": "32.46.0", "description": "DivKit TypeScript JSON Builder", "main": "./dist/jsonbuilder.js", "module": "./dist/es/jsonbuilder.js", diff --git a/version b/version index ab9d40c2c..df140f805 100644 --- a/version +++ b/version @@ -1 +1 @@ -32.45.0 +32.46.0