All Downloads are FREE. Search and download functionalities are using the official Maven repository.

divkit.dsl.Slider.kt Maven / Gradle / Ivy

Go to download

DivKit is an open source Server-Driven UI (SDUI) framework. SDUI is a an emerging technique that leverage the server to build the user interfaces of their mobile app.

There is a newer version: 30.19.0
Show newest version
@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

/**
 * Slider for selecting a value in the range.
 * 
 * Can be created using the method [slider].
 * 
 * Required parameters: `type, track_inactive_style, track_active_style, thumb_style`.
 */
@Generated
class Slider internal constructor(
    @JsonIgnore
    val properties: Properties,
) : Div {
    @JsonAnyGetter
    internal fun getJsonProperties(): Map = properties.mergeWith(
        mapOf("type" to "slider")
    )

    operator fun plus(additive: Properties): Slider = Slider(
        Properties(
            accessibility = additive.accessibility ?: properties.accessibility,
            alignmentHorizontal = additive.alignmentHorizontal ?: properties.alignmentHorizontal,
            alignmentVertical = additive.alignmentVertical ?: properties.alignmentVertical,
            alpha = additive.alpha ?: properties.alpha,
            background = additive.background ?: properties.background,
            border = additive.border ?: properties.border,
            columnSpan = additive.columnSpan ?: properties.columnSpan,
            disappearActions = additive.disappearActions ?: properties.disappearActions,
            extensions = additive.extensions ?: properties.extensions,
            focus = additive.focus ?: properties.focus,
            height = additive.height ?: properties.height,
            id = additive.id ?: properties.id,
            layoutProvider = additive.layoutProvider ?: properties.layoutProvider,
            margins = additive.margins ?: properties.margins,
            maxValue = additive.maxValue ?: properties.maxValue,
            minValue = additive.minValue ?: properties.minValue,
            paddings = additive.paddings ?: properties.paddings,
            ranges = additive.ranges ?: properties.ranges,
            reuseId = additive.reuseId ?: properties.reuseId,
            rowSpan = additive.rowSpan ?: properties.rowSpan,
            secondaryValueAccessibility = additive.secondaryValueAccessibility ?: properties.secondaryValueAccessibility,
            selectedActions = additive.selectedActions ?: properties.selectedActions,
            thumbSecondaryStyle = additive.thumbSecondaryStyle ?: properties.thumbSecondaryStyle,
            thumbSecondaryTextStyle = additive.thumbSecondaryTextStyle ?: properties.thumbSecondaryTextStyle,
            thumbSecondaryValueVariable = additive.thumbSecondaryValueVariable ?: properties.thumbSecondaryValueVariable,
            thumbStyle = additive.thumbStyle ?: properties.thumbStyle,
            thumbTextStyle = additive.thumbTextStyle ?: properties.thumbTextStyle,
            thumbValueVariable = additive.thumbValueVariable ?: properties.thumbValueVariable,
            tickMarkActiveStyle = additive.tickMarkActiveStyle ?: properties.tickMarkActiveStyle,
            tickMarkInactiveStyle = additive.tickMarkInactiveStyle ?: properties.tickMarkInactiveStyle,
            tooltips = additive.tooltips ?: properties.tooltips,
            trackActiveStyle = additive.trackActiveStyle ?: properties.trackActiveStyle,
            trackInactiveStyle = additive.trackInactiveStyle ?: properties.trackInactiveStyle,
            transform = additive.transform ?: properties.transform,
            transitionChange = additive.transitionChange ?: properties.transitionChange,
            transitionIn = additive.transitionIn ?: properties.transitionIn,
            transitionOut = additive.transitionOut ?: properties.transitionOut,
            transitionTriggers = additive.transitionTriggers ?: properties.transitionTriggers,
            variableTriggers = additive.variableTriggers ?: properties.variableTriggers,
            variables = additive.variables ?: properties.variables,
            visibility = additive.visibility ?: properties.visibility,
            visibilityAction = additive.visibilityAction ?: properties.visibilityAction,
            visibilityActions = additive.visibilityActions ?: properties.visibilityActions,
            width = additive.width ?: properties.width,
        )
    )

    class Properties internal constructor(
        /**
         * Accessibility settings.
         */
        val accessibility: Property?,
        /**
         * Horizontal alignment of an element inside the parent element.
         */
        val alignmentHorizontal: Property?,
        /**
         * Vertical alignment of an element inside the parent element.
         */
        val alignmentVertical: Property?,
        /**
         * Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
         * Default value: `1.0`.
         */
        val alpha: Property?,
        /**
         * Element background. It can contain multiple layers.
         */
        val background: Property>?,
        /**
         * Element stroke.
         */
        val border: Property?,
        /**
         * Merges cells in a column of the [grid](div-grid.md) element.
         */
        val columnSpan: Property?,
        /**
         * Actions when an element disappears from the screen.
         */
        val disappearActions: Property>?,
        /**
         * Extensions for additional processing of an element. The list of extensions is given in  [DivExtension](../../extensions).
         */
        val extensions: Property>?,
        /**
         * Parameters when focusing on an element or losing focus.
         */
        val focus: Property?,
        /**
         * Element height. For Android: if there is text in this or in a child element, specify height in `sp` to scale the element together with the text. To learn more about units of size measurement, see [Layout inside the card](../../layout).
         * Default value: `{"type": "wrap_content"}`.
         */
        val height: Property?,
        /**
         * Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS.
         */
        val id: Property?,
        /**
         * Provides element real size values after a layout cycle.
         */
        val layoutProvider: Property?,
        /**
         * External margins from the element stroke.
         */
        val margins: Property?,
        /**
         * Maximum value. It must be greater than the minimum value.
         * Default value: `100`.
         */
        val maxValue: Property?,
        /**
         * Minimum value.
         * Default value: `0`.
         */
        val minValue: Property?,
        /**
         * Internal margins from the element stroke.
         */
        val paddings: Property?,
        /**
         * Section style.
         */
        val ranges: Property>?,
        /**
         * Id for the div structure. Used for more optimal reuse of blocks. See [reusing blocks](../../reuse/reuse.md)
         */
        val reuseId: Property?,
        /**
         * Merges cells in a string of the [grid](div-grid.md) element.
         */
        val rowSpan: Property?,
        /**
         * Accessibility settings for the second pointer.
         */
        val secondaryValueAccessibility: Property?,
        /**
         * List of [actions](div-action.md) to be executed when selecting an element in [pager](div-pager.md).
         */
        val selectedActions: Property>?,
        /**
         * Style of the second pointer.
         */
        val thumbSecondaryStyle: Property?,
        /**
         * Text style in the second pointer.
         */
        val thumbSecondaryTextStyle: Property?,
        /**
         * Name of the variable to store the second pointer's current value.
         */
        val thumbSecondaryValueVariable: Property?,
        /**
         * Style of the first pointer.
         */
        val thumbStyle: Property?,
        /**
         * Text style in the first pointer.
         */
        val thumbTextStyle: Property?,
        /**
         * Name of the variable to store the pointer's current value.
         */
        val thumbValueVariable: Property?,
        /**
         * Style of active serifs.
         */
        val tickMarkActiveStyle: Property?,
        /**
         * Style of inactive serifs.
         */
        val tickMarkInactiveStyle: Property?,
        /**
         * Tooltips linked to an element. A tooltip can be shown by `div-action://show_tooltip?id=`, hidden by `div-action://hide_tooltip?id=` where `id` — tooltip id.
         */
        val tooltips: Property>?,
        /**
         * Style of the active part of a scale.
         */
        val trackActiveStyle: Property?,
        /**
         * Style of the inactive part of a scale.
         */
        val trackInactiveStyle: Property?,
        /**
         * Applies the passed transformation to the element. Content that doesn't fit into the original view area is cut off.
         */
        val transform: Property?,
        /**
         * Change animation. It is played when the position or size of an element changes in the new layout.
         */
        val transitionChange: Property?,
        /**
         * Appearance animation. It is played when an element with a new ID appears. To learn more about the concept of transitions, see [Animated transitions](../../interaction#animation/transition-animation).
         */
        val transitionIn: Property?,
        /**
         * Disappearance animation. It is played when an element disappears in the new layout.
         */
        val transitionOut: Property?,
        /**
         * Animation starting triggers. Default value: `[state_change, visibility_change]`.
         */
        val transitionTriggers: Property>>?,
        /**
         * Triggers for changing variables within an element.
         */
        val variableTriggers: Property>?,
        /**
         * Definition of variables that can be used within this element. These variables, defined in the array, can only be used inside this element and its children.
         */
        val variables: Property>?,
        /**
         * Element visibility.
         * Default value: `visible`.
         */
        val visibility: Property?,
        /**
         * Tracking visibility of a single element. Not used if the `visibility_actions` parameter is set.
         */
        val visibilityAction: Property?,
        /**
         * Actions when an element appears on the screen.
         */
        val visibilityActions: Property>?,
        /**
         * Element width.
         * Default value: `{"type": "match_parent"}`.
         */
        val width: Property?,
    ) {
        internal fun mergeWith(properties: Map): Map {
            val result = mutableMapOf()
            result.putAll(properties)
            result.tryPutProperty("accessibility", accessibility)
            result.tryPutProperty("alignment_horizontal", alignmentHorizontal)
            result.tryPutProperty("alignment_vertical", alignmentVertical)
            result.tryPutProperty("alpha", alpha)
            result.tryPutProperty("background", background)
            result.tryPutProperty("border", border)
            result.tryPutProperty("column_span", columnSpan)
            result.tryPutProperty("disappear_actions", disappearActions)
            result.tryPutProperty("extensions", extensions)
            result.tryPutProperty("focus", focus)
            result.tryPutProperty("height", height)
            result.tryPutProperty("id", id)
            result.tryPutProperty("layout_provider", layoutProvider)
            result.tryPutProperty("margins", margins)
            result.tryPutProperty("max_value", maxValue)
            result.tryPutProperty("min_value", minValue)
            result.tryPutProperty("paddings", paddings)
            result.tryPutProperty("ranges", ranges)
            result.tryPutProperty("reuse_id", reuseId)
            result.tryPutProperty("row_span", rowSpan)
            result.tryPutProperty("secondary_value_accessibility", secondaryValueAccessibility)
            result.tryPutProperty("selected_actions", selectedActions)
            result.tryPutProperty("thumb_secondary_style", thumbSecondaryStyle)
            result.tryPutProperty("thumb_secondary_text_style", thumbSecondaryTextStyle)
            result.tryPutProperty("thumb_secondary_value_variable", thumbSecondaryValueVariable)
            result.tryPutProperty("thumb_style", thumbStyle)
            result.tryPutProperty("thumb_text_style", thumbTextStyle)
            result.tryPutProperty("thumb_value_variable", thumbValueVariable)
            result.tryPutProperty("tick_mark_active_style", tickMarkActiveStyle)
            result.tryPutProperty("tick_mark_inactive_style", tickMarkInactiveStyle)
            result.tryPutProperty("tooltips", tooltips)
            result.tryPutProperty("track_active_style", trackActiveStyle)
            result.tryPutProperty("track_inactive_style", trackInactiveStyle)
            result.tryPutProperty("transform", transform)
            result.tryPutProperty("transition_change", transitionChange)
            result.tryPutProperty("transition_in", transitionIn)
            result.tryPutProperty("transition_out", transitionOut)
            result.tryPutProperty("transition_triggers", transitionTriggers)
            result.tryPutProperty("variable_triggers", variableTriggers)
            result.tryPutProperty("variables", variables)
            result.tryPutProperty("visibility", visibility)
            result.tryPutProperty("visibility_action", visibilityAction)
            result.tryPutProperty("visibility_actions", visibilityActions)
            result.tryPutProperty("width", width)
            return result
        }
    }

    /**
     * Can be created using the method [sliderRange].
     */
    @Generated
    class Range internal constructor(
        @JsonIgnore
        val properties: Properties,
    ) {
        @JsonAnyGetter
        internal fun getJsonProperties(): Map = properties.mergeWith(emptyMap())

        operator fun plus(additive: Properties): Range = Range(
            Properties(
                end = additive.end ?: properties.end,
                margins = additive.margins ?: properties.margins,
                start = additive.start ?: properties.start,
                trackActiveStyle = additive.trackActiveStyle ?: properties.trackActiveStyle,
                trackInactiveStyle = additive.trackInactiveStyle ?: properties.trackInactiveStyle,
            )
        )

        class Properties internal constructor(
            /**
             * End of section.
             */
            val end: Property?,
            /**
             * Section margins. Only uses horizontal margins.
             */
            val margins: Property?,
            /**
             * Start of section.
             */
            val start: Property?,
            /**
             * Style of the active part of a scale.
             */
            val trackActiveStyle: Property?,
            /**
             * Style of the inactive part of a scale.
             */
            val trackInactiveStyle: Property?,
        ) {
            internal fun mergeWith(properties: Map): Map {
                val result = mutableMapOf()
                result.putAll(properties)
                result.tryPutProperty("end", end)
                result.tryPutProperty("margins", margins)
                result.tryPutProperty("start", start)
                result.tryPutProperty("track_active_style", trackActiveStyle)
                result.tryPutProperty("track_inactive_style", trackInactiveStyle)
                return result
            }
        }
    }


    /**
     * Can be created using the method [sliderTextStyle].
     * 
     * Required parameters: `font_size`.
     */
    @Generated
    class TextStyle internal constructor(
        @JsonIgnore
        val properties: Properties,
    ) {
        @JsonAnyGetter
        internal fun getJsonProperties(): Map = properties.mergeWith(emptyMap())

        operator fun plus(additive: Properties): TextStyle = TextStyle(
            Properties(
                fontSize = additive.fontSize ?: properties.fontSize,
                fontSizeUnit = additive.fontSizeUnit ?: properties.fontSizeUnit,
                fontWeight = additive.fontWeight ?: properties.fontWeight,
                fontWeightValue = additive.fontWeightValue ?: properties.fontWeightValue,
                offset = additive.offset ?: properties.offset,
                textColor = additive.textColor ?: properties.textColor,
            )
        )

        class Properties internal constructor(
            /**
             * Font size.
             */
            val fontSize: Property?,
            /**
             * Default value: `sp`.
             */
            val fontSizeUnit: Property?,
            /**
             * Style.
             * Default value: `regular`.
             */
            val fontWeight: Property?,
            /**
             * Style. Numeric value.
             */
            val fontWeightValue: Property?,
            /**
             * Shift relative to the center.
             */
            val offset: Property?,
            /**
             * Text color.
             * Default value: `#FF000000`.
             */
            val textColor: Property?,
        ) {
            internal fun mergeWith(properties: Map): Map {
                val result = mutableMapOf()
                result.putAll(properties)
                result.tryPutProperty("font_size", fontSize)
                result.tryPutProperty("font_size_unit", fontSizeUnit)
                result.tryPutProperty("font_weight", fontWeight)
                result.tryPutProperty("font_weight_value", fontWeightValue)
                result.tryPutProperty("offset", offset)
                result.tryPutProperty("text_color", textColor)
                return result
            }
        }
    }

}

/**
 * @param accessibility Accessibility settings.
 * @param alignmentHorizontal Horizontal alignment of an element inside the parent element.
 * @param alignmentVertical Vertical alignment of an element inside the parent element.
 * @param alpha Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
 * @param background Element background. It can contain multiple layers.
 * @param border Element stroke.
 * @param columnSpan Merges cells in a column of the [grid](div-grid.md) element.
 * @param disappearActions Actions when an element disappears from the screen.
 * @param extensions Extensions for additional processing of an element. The list of extensions is given in  [DivExtension](../../extensions).
 * @param focus Parameters when focusing on an element or losing focus.
 * @param height Element height. For Android: if there is text in this or in a child element, specify height in `sp` to scale the element together with the text. To learn more about units of size measurement, see [Layout inside the card](../../layout).
 * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS.
 * @param layoutProvider Provides element real size values after a layout cycle.
 * @param margins External margins from the element stroke.
 * @param maxValue Maximum value. It must be greater than the minimum value.
 * @param minValue Minimum value.
 * @param paddings Internal margins from the element stroke.
 * @param ranges Section style.
 * @param reuseId Id for the div structure. Used for more optimal reuse of blocks. See [reusing blocks](../../reuse/reuse.md)
 * @param rowSpan Merges cells in a string of the [grid](div-grid.md) element.
 * @param secondaryValueAccessibility Accessibility settings for the second pointer.
 * @param selectedActions List of [actions](div-action.md) to be executed when selecting an element in [pager](div-pager.md).
 * @param thumbSecondaryStyle Style of the second pointer.
 * @param thumbSecondaryTextStyle Text style in the second pointer.
 * @param thumbSecondaryValueVariable Name of the variable to store the second pointer's current value.
 * @param thumbStyle Style of the first pointer.
 * @param thumbTextStyle Text style in the first pointer.
 * @param thumbValueVariable Name of the variable to store the pointer's current value.
 * @param tickMarkActiveStyle Style of active serifs.
 * @param tickMarkInactiveStyle Style of inactive serifs.
 * @param tooltips Tooltips linked to an element. A tooltip can be shown by `div-action://show_tooltip?id=`, hidden by `div-action://hide_tooltip?id=` where `id` — tooltip id.
 * @param trackActiveStyle Style of the active part of a scale.
 * @param trackInactiveStyle Style of the inactive part of a scale.
 * @param transform Applies the passed transformation to the element. Content that doesn't fit into the original view area is cut off.
 * @param transitionChange Change animation. It is played when the position or size of an element changes in the new layout.
 * @param transitionIn Appearance animation. It is played when an element with a new ID appears. To learn more about the concept of transitions, see [Animated transitions](../../interaction#animation/transition-animation).
 * @param transitionOut Disappearance animation. It is played when an element disappears in the new layout.
 * @param transitionTriggers Animation starting triggers. Default value: `[state_change, visibility_change]`.
 * @param variableTriggers Triggers for changing variables within an element.
 * @param variables Definition of variables that can be used within this element. These variables, defined in the array, can only be used inside this element and its children.
 * @param visibility Element visibility.
 * @param visibilityAction Tracking visibility of a single element. Not used if the `visibility_actions` parameter is set.
 * @param visibilityActions Actions when an element appears on the screen.
 * @param width Element width.
 */
@Generated
fun DivScope.slider(
    `use named arguments`: Guard = Guard.instance,
    accessibility: Accessibility? = null,
    alignmentHorizontal: AlignmentHorizontal? = null,
    alignmentVertical: AlignmentVertical? = null,
    alpha: Double? = null,
    background: List? = null,
    border: Border? = null,
    columnSpan: Int? = null,
    disappearActions: List? = null,
    extensions: List? = null,
    focus: Focus? = null,
    height: Size? = null,
    id: String? = null,
    layoutProvider: LayoutProvider? = null,
    margins: EdgeInsets? = null,
    maxValue: Int? = null,
    minValue: Int? = null,
    paddings: EdgeInsets? = null,
    ranges: List? = null,
    reuseId: String? = null,
    rowSpan: Int? = null,
    secondaryValueAccessibility: Accessibility? = null,
    selectedActions: List? = null,
    thumbSecondaryStyle: Drawable? = null,
    thumbSecondaryTextStyle: Slider.TextStyle? = null,
    thumbSecondaryValueVariable: String? = null,
    thumbStyle: Drawable? = null,
    thumbTextStyle: Slider.TextStyle? = null,
    thumbValueVariable: String? = null,
    tickMarkActiveStyle: Drawable? = null,
    tickMarkInactiveStyle: Drawable? = null,
    tooltips: List? = null,
    trackActiveStyle: Drawable? = null,
    trackInactiveStyle: Drawable? = null,
    transform: Transform? = null,
    transitionChange: ChangeTransition? = null,
    transitionIn: AppearanceTransition? = null,
    transitionOut: AppearanceTransition? = null,
    transitionTriggers: List>? = null,
    variableTriggers: List? = null,
    variables: List? = null,
    visibility: Visibility? = null,
    visibilityAction: VisibilityAction? = null,
    visibilityActions: List? = null,
    width: Size? = null,
): Slider = Slider(
    Slider.Properties(
        accessibility = valueOrNull(accessibility),
        alignmentHorizontal = valueOrNull(alignmentHorizontal),
        alignmentVertical = valueOrNull(alignmentVertical),
        alpha = valueOrNull(alpha),
        background = valueOrNull(background),
        border = valueOrNull(border),
        columnSpan = valueOrNull(columnSpan),
        disappearActions = valueOrNull(disappearActions),
        extensions = valueOrNull(extensions),
        focus = valueOrNull(focus),
        height = valueOrNull(height),
        id = valueOrNull(id),
        layoutProvider = valueOrNull(layoutProvider),
        margins = valueOrNull(margins),
        maxValue = valueOrNull(maxValue),
        minValue = valueOrNull(minValue),
        paddings = valueOrNull(paddings),
        ranges = valueOrNull(ranges),
        reuseId = valueOrNull(reuseId),
        rowSpan = valueOrNull(rowSpan),
        secondaryValueAccessibility = valueOrNull(secondaryValueAccessibility),
        selectedActions = valueOrNull(selectedActions),
        thumbSecondaryStyle = valueOrNull(thumbSecondaryStyle),
        thumbSecondaryTextStyle = valueOrNull(thumbSecondaryTextStyle),
        thumbSecondaryValueVariable = valueOrNull(thumbSecondaryValueVariable),
        thumbStyle = valueOrNull(thumbStyle),
        thumbTextStyle = valueOrNull(thumbTextStyle),
        thumbValueVariable = valueOrNull(thumbValueVariable),
        tickMarkActiveStyle = valueOrNull(tickMarkActiveStyle),
        tickMarkInactiveStyle = valueOrNull(tickMarkInactiveStyle),
        tooltips = valueOrNull(tooltips),
        trackActiveStyle = valueOrNull(trackActiveStyle),
        trackInactiveStyle = valueOrNull(trackInactiveStyle),
        transform = valueOrNull(transform),
        transitionChange = valueOrNull(transitionChange),
        transitionIn = valueOrNull(transitionIn),
        transitionOut = valueOrNull(transitionOut),
        transitionTriggers = valueOrNull(transitionTriggers),
        variableTriggers = valueOrNull(variableTriggers),
        variables = valueOrNull(variables),
        visibility = valueOrNull(visibility),
        visibilityAction = valueOrNull(visibilityAction),
        visibilityActions = valueOrNull(visibilityActions),
        width = valueOrNull(width),
    )
)

/**
 * @param accessibility Accessibility settings.
 * @param alignmentHorizontal Horizontal alignment of an element inside the parent element.
 * @param alignmentVertical Vertical alignment of an element inside the parent element.
 * @param alpha Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
 * @param background Element background. It can contain multiple layers.
 * @param border Element stroke.
 * @param columnSpan Merges cells in a column of the [grid](div-grid.md) element.
 * @param disappearActions Actions when an element disappears from the screen.
 * @param extensions Extensions for additional processing of an element. The list of extensions is given in  [DivExtension](../../extensions).
 * @param focus Parameters when focusing on an element or losing focus.
 * @param height Element height. For Android: if there is text in this or in a child element, specify height in `sp` to scale the element together with the text. To learn more about units of size measurement, see [Layout inside the card](../../layout).
 * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS.
 * @param layoutProvider Provides element real size values after a layout cycle.
 * @param margins External margins from the element stroke.
 * @param maxValue Maximum value. It must be greater than the minimum value.
 * @param minValue Minimum value.
 * @param paddings Internal margins from the element stroke.
 * @param ranges Section style.
 * @param reuseId Id for the div structure. Used for more optimal reuse of blocks. See [reusing blocks](../../reuse/reuse.md)
 * @param rowSpan Merges cells in a string of the [grid](div-grid.md) element.
 * @param secondaryValueAccessibility Accessibility settings for the second pointer.
 * @param selectedActions List of [actions](div-action.md) to be executed when selecting an element in [pager](div-pager.md).
 * @param thumbSecondaryStyle Style of the second pointer.
 * @param thumbSecondaryTextStyle Text style in the second pointer.
 * @param thumbSecondaryValueVariable Name of the variable to store the second pointer's current value.
 * @param thumbStyle Style of the first pointer.
 * @param thumbTextStyle Text style in the first pointer.
 * @param thumbValueVariable Name of the variable to store the pointer's current value.
 * @param tickMarkActiveStyle Style of active serifs.
 * @param tickMarkInactiveStyle Style of inactive serifs.
 * @param tooltips Tooltips linked to an element. A tooltip can be shown by `div-action://show_tooltip?id=`, hidden by `div-action://hide_tooltip?id=` where `id` — tooltip id.
 * @param trackActiveStyle Style of the active part of a scale.
 * @param trackInactiveStyle Style of the inactive part of a scale.
 * @param transform Applies the passed transformation to the element. Content that doesn't fit into the original view area is cut off.
 * @param transitionChange Change animation. It is played when the position or size of an element changes in the new layout.
 * @param transitionIn Appearance animation. It is played when an element with a new ID appears. To learn more about the concept of transitions, see [Animated transitions](../../interaction#animation/transition-animation).
 * @param transitionOut Disappearance animation. It is played when an element disappears in the new layout.
 * @param transitionTriggers Animation starting triggers. Default value: `[state_change, visibility_change]`.
 * @param variableTriggers Triggers for changing variables within an element.
 * @param variables Definition of variables that can be used within this element. These variables, defined in the array, can only be used inside this element and its children.
 * @param visibility Element visibility.
 * @param visibilityAction Tracking visibility of a single element. Not used if the `visibility_actions` parameter is set.
 * @param visibilityActions Actions when an element appears on the screen.
 * @param width Element width.
 */
@Generated
fun DivScope.sliderProps(
    `use named arguments`: Guard = Guard.instance,
    accessibility: Accessibility? = null,
    alignmentHorizontal: AlignmentHorizontal? = null,
    alignmentVertical: AlignmentVertical? = null,
    alpha: Double? = null,
    background: List? = null,
    border: Border? = null,
    columnSpan: Int? = null,
    disappearActions: List? = null,
    extensions: List? = null,
    focus: Focus? = null,
    height: Size? = null,
    id: String? = null,
    layoutProvider: LayoutProvider? = null,
    margins: EdgeInsets? = null,
    maxValue: Int? = null,
    minValue: Int? = null,
    paddings: EdgeInsets? = null,
    ranges: List? = null,
    reuseId: String? = null,
    rowSpan: Int? = null,
    secondaryValueAccessibility: Accessibility? = null,
    selectedActions: List? = null,
    thumbSecondaryStyle: Drawable? = null,
    thumbSecondaryTextStyle: Slider.TextStyle? = null,
    thumbSecondaryValueVariable: String? = null,
    thumbStyle: Drawable? = null,
    thumbTextStyle: Slider.TextStyle? = null,
    thumbValueVariable: String? = null,
    tickMarkActiveStyle: Drawable? = null,
    tickMarkInactiveStyle: Drawable? = null,
    tooltips: List? = null,
    trackActiveStyle: Drawable? = null,
    trackInactiveStyle: Drawable? = null,
    transform: Transform? = null,
    transitionChange: ChangeTransition? = null,
    transitionIn: AppearanceTransition? = null,
    transitionOut: AppearanceTransition? = null,
    transitionTriggers: List>? = null,
    variableTriggers: List? = null,
    variables: List? = null,
    visibility: Visibility? = null,
    visibilityAction: VisibilityAction? = null,
    visibilityActions: List? = null,
    width: Size? = null,
) = Slider.Properties(
    accessibility = valueOrNull(accessibility),
    alignmentHorizontal = valueOrNull(alignmentHorizontal),
    alignmentVertical = valueOrNull(alignmentVertical),
    alpha = valueOrNull(alpha),
    background = valueOrNull(background),
    border = valueOrNull(border),
    columnSpan = valueOrNull(columnSpan),
    disappearActions = valueOrNull(disappearActions),
    extensions = valueOrNull(extensions),
    focus = valueOrNull(focus),
    height = valueOrNull(height),
    id = valueOrNull(id),
    layoutProvider = valueOrNull(layoutProvider),
    margins = valueOrNull(margins),
    maxValue = valueOrNull(maxValue),
    minValue = valueOrNull(minValue),
    paddings = valueOrNull(paddings),
    ranges = valueOrNull(ranges),
    reuseId = valueOrNull(reuseId),
    rowSpan = valueOrNull(rowSpan),
    secondaryValueAccessibility = valueOrNull(secondaryValueAccessibility),
    selectedActions = valueOrNull(selectedActions),
    thumbSecondaryStyle = valueOrNull(thumbSecondaryStyle),
    thumbSecondaryTextStyle = valueOrNull(thumbSecondaryTextStyle),
    thumbSecondaryValueVariable = valueOrNull(thumbSecondaryValueVariable),
    thumbStyle = valueOrNull(thumbStyle),
    thumbTextStyle = valueOrNull(thumbTextStyle),
    thumbValueVariable = valueOrNull(thumbValueVariable),
    tickMarkActiveStyle = valueOrNull(tickMarkActiveStyle),
    tickMarkInactiveStyle = valueOrNull(tickMarkInactiveStyle),
    tooltips = valueOrNull(tooltips),
    trackActiveStyle = valueOrNull(trackActiveStyle),
    trackInactiveStyle = valueOrNull(trackInactiveStyle),
    transform = valueOrNull(transform),
    transitionChange = valueOrNull(transitionChange),
    transitionIn = valueOrNull(transitionIn),
    transitionOut = valueOrNull(transitionOut),
    transitionTriggers = valueOrNull(transitionTriggers),
    variableTriggers = valueOrNull(variableTriggers),
    variables = valueOrNull(variables),
    visibility = valueOrNull(visibility),
    visibilityAction = valueOrNull(visibilityAction),
    visibilityActions = valueOrNull(visibilityActions),
    width = valueOrNull(width),
)

/**
 * @param accessibility Accessibility settings.
 * @param alignmentHorizontal Horizontal alignment of an element inside the parent element.
 * @param alignmentVertical Vertical alignment of an element inside the parent element.
 * @param alpha Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
 * @param background Element background. It can contain multiple layers.
 * @param border Element stroke.
 * @param columnSpan Merges cells in a column of the [grid](div-grid.md) element.
 * @param disappearActions Actions when an element disappears from the screen.
 * @param extensions Extensions for additional processing of an element. The list of extensions is given in  [DivExtension](../../extensions).
 * @param focus Parameters when focusing on an element or losing focus.
 * @param height Element height. For Android: if there is text in this or in a child element, specify height in `sp` to scale the element together with the text. To learn more about units of size measurement, see [Layout inside the card](../../layout).
 * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS.
 * @param layoutProvider Provides element real size values after a layout cycle.
 * @param margins External margins from the element stroke.
 * @param maxValue Maximum value. It must be greater than the minimum value.
 * @param minValue Minimum value.
 * @param paddings Internal margins from the element stroke.
 * @param ranges Section style.
 * @param reuseId Id for the div structure. Used for more optimal reuse of blocks. See [reusing blocks](../../reuse/reuse.md)
 * @param rowSpan Merges cells in a string of the [grid](div-grid.md) element.
 * @param secondaryValueAccessibility Accessibility settings for the second pointer.
 * @param selectedActions List of [actions](div-action.md) to be executed when selecting an element in [pager](div-pager.md).
 * @param thumbSecondaryStyle Style of the second pointer.
 * @param thumbSecondaryTextStyle Text style in the second pointer.
 * @param thumbSecondaryValueVariable Name of the variable to store the second pointer's current value.
 * @param thumbStyle Style of the first pointer.
 * @param thumbTextStyle Text style in the first pointer.
 * @param thumbValueVariable Name of the variable to store the pointer's current value.
 * @param tickMarkActiveStyle Style of active serifs.
 * @param tickMarkInactiveStyle Style of inactive serifs.
 * @param tooltips Tooltips linked to an element. A tooltip can be shown by `div-action://show_tooltip?id=`, hidden by `div-action://hide_tooltip?id=` where `id` — tooltip id.
 * @param trackActiveStyle Style of the active part of a scale.
 * @param trackInactiveStyle Style of the inactive part of a scale.
 * @param transform Applies the passed transformation to the element. Content that doesn't fit into the original view area is cut off.
 * @param transitionChange Change animation. It is played when the position or size of an element changes in the new layout.
 * @param transitionIn Appearance animation. It is played when an element with a new ID appears. To learn more about the concept of transitions, see [Animated transitions](../../interaction#animation/transition-animation).
 * @param transitionOut Disappearance animation. It is played when an element disappears in the new layout.
 * @param transitionTriggers Animation starting triggers. Default value: `[state_change, visibility_change]`.
 * @param variableTriggers Triggers for changing variables within an element.
 * @param variables Definition of variables that can be used within this element. These variables, defined in the array, can only be used inside this element and its children.
 * @param visibility Element visibility.
 * @param visibilityAction Tracking visibility of a single element. Not used if the `visibility_actions` parameter is set.
 * @param visibilityActions Actions when an element appears on the screen.
 * @param width Element width.
 */
@Generated
fun TemplateScope.sliderRefs(
    `use named arguments`: Guard = Guard.instance,
    accessibility: ReferenceProperty? = null,
    alignmentHorizontal: ReferenceProperty? = null,
    alignmentVertical: ReferenceProperty? = null,
    alpha: ReferenceProperty? = null,
    background: ReferenceProperty>? = null,
    border: ReferenceProperty? = null,
    columnSpan: ReferenceProperty? = null,
    disappearActions: ReferenceProperty>? = null,
    extensions: ReferenceProperty>? = null,
    focus: ReferenceProperty? = null,
    height: ReferenceProperty? = null,
    id: ReferenceProperty? = null,
    layoutProvider: ReferenceProperty? = null,
    margins: ReferenceProperty? = null,
    maxValue: ReferenceProperty? = null,
    minValue: ReferenceProperty? = null,
    paddings: ReferenceProperty? = null,
    ranges: ReferenceProperty>? = null,
    reuseId: ReferenceProperty? = null,
    rowSpan: ReferenceProperty? = null,
    secondaryValueAccessibility: ReferenceProperty? = null,
    selectedActions: ReferenceProperty>? = null,
    thumbSecondaryStyle: ReferenceProperty? = null,
    thumbSecondaryTextStyle: ReferenceProperty? = null,
    thumbSecondaryValueVariable: ReferenceProperty? = null,
    thumbStyle: ReferenceProperty? = null,
    thumbTextStyle: ReferenceProperty? = null,
    thumbValueVariable: ReferenceProperty? = null,
    tickMarkActiveStyle: ReferenceProperty? = null,
    tickMarkInactiveStyle: ReferenceProperty? = null,
    tooltips: ReferenceProperty>? = null,
    trackActiveStyle: ReferenceProperty? = null,
    trackInactiveStyle: ReferenceProperty? = null,
    transform: ReferenceProperty? = null,
    transitionChange: ReferenceProperty? = null,
    transitionIn: ReferenceProperty? = null,
    transitionOut: ReferenceProperty? = null,
    transitionTriggers: ReferenceProperty>>? = null,
    variableTriggers: ReferenceProperty>? = null,
    variables: ReferenceProperty>? = null,
    visibility: ReferenceProperty? = null,
    visibilityAction: ReferenceProperty? = null,
    visibilityActions: ReferenceProperty>? = null,
    width: ReferenceProperty? = null,
) = Slider.Properties(
    accessibility = accessibility,
    alignmentHorizontal = alignmentHorizontal,
    alignmentVertical = alignmentVertical,
    alpha = alpha,
    background = background,
    border = border,
    columnSpan = columnSpan,
    disappearActions = disappearActions,
    extensions = extensions,
    focus = focus,
    height = height,
    id = id,
    layoutProvider = layoutProvider,
    margins = margins,
    maxValue = maxValue,
    minValue = minValue,
    paddings = paddings,
    ranges = ranges,
    reuseId = reuseId,
    rowSpan = rowSpan,
    secondaryValueAccessibility = secondaryValueAccessibility,
    selectedActions = selectedActions,
    thumbSecondaryStyle = thumbSecondaryStyle,
    thumbSecondaryTextStyle = thumbSecondaryTextStyle,
    thumbSecondaryValueVariable = thumbSecondaryValueVariable,
    thumbStyle = thumbStyle,
    thumbTextStyle = thumbTextStyle,
    thumbValueVariable = thumbValueVariable,
    tickMarkActiveStyle = tickMarkActiveStyle,
    tickMarkInactiveStyle = tickMarkInactiveStyle,
    tooltips = tooltips,
    trackActiveStyle = trackActiveStyle,
    trackInactiveStyle = trackInactiveStyle,
    transform = transform,
    transitionChange = transitionChange,
    transitionIn = transitionIn,
    transitionOut = transitionOut,
    transitionTriggers = transitionTriggers,
    variableTriggers = variableTriggers,
    variables = variables,
    visibility = visibility,
    visibilityAction = visibilityAction,
    visibilityActions = visibilityActions,
    width = width,
)

/**
 * @param accessibility Accessibility settings.
 * @param alignmentHorizontal Horizontal alignment of an element inside the parent element.
 * @param alignmentVertical Vertical alignment of an element inside the parent element.
 * @param alpha Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
 * @param background Element background. It can contain multiple layers.
 * @param border Element stroke.
 * @param columnSpan Merges cells in a column of the [grid](div-grid.md) element.
 * @param disappearActions Actions when an element disappears from the screen.
 * @param extensions Extensions for additional processing of an element. The list of extensions is given in  [DivExtension](../../extensions).
 * @param focus Parameters when focusing on an element or losing focus.
 * @param height Element height. For Android: if there is text in this or in a child element, specify height in `sp` to scale the element together with the text. To learn more about units of size measurement, see [Layout inside the card](../../layout).
 * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS.
 * @param layoutProvider Provides element real size values after a layout cycle.
 * @param margins External margins from the element stroke.
 * @param maxValue Maximum value. It must be greater than the minimum value.
 * @param minValue Minimum value.
 * @param paddings Internal margins from the element stroke.
 * @param ranges Section style.
 * @param reuseId Id for the div structure. Used for more optimal reuse of blocks. See [reusing blocks](../../reuse/reuse.md)
 * @param rowSpan Merges cells in a string of the [grid](div-grid.md) element.
 * @param secondaryValueAccessibility Accessibility settings for the second pointer.
 * @param selectedActions List of [actions](div-action.md) to be executed when selecting an element in [pager](div-pager.md).
 * @param thumbSecondaryStyle Style of the second pointer.
 * @param thumbSecondaryTextStyle Text style in the second pointer.
 * @param thumbSecondaryValueVariable Name of the variable to store the second pointer's current value.
 * @param thumbStyle Style of the first pointer.
 * @param thumbTextStyle Text style in the first pointer.
 * @param thumbValueVariable Name of the variable to store the pointer's current value.
 * @param tickMarkActiveStyle Style of active serifs.
 * @param tickMarkInactiveStyle Style of inactive serifs.
 * @param tooltips Tooltips linked to an element. A tooltip can be shown by `div-action://show_tooltip?id=`, hidden by `div-action://hide_tooltip?id=` where `id` — tooltip id.
 * @param trackActiveStyle Style of the active part of a scale.
 * @param trackInactiveStyle Style of the inactive part of a scale.
 * @param transform Applies the passed transformation to the element. Content that doesn't fit into the original view area is cut off.
 * @param transitionChange Change animation. It is played when the position or size of an element changes in the new layout.
 * @param transitionIn Appearance animation. It is played when an element with a new ID appears. To learn more about the concept of transitions, see [Animated transitions](../../interaction#animation/transition-animation).
 * @param transitionOut Disappearance animation. It is played when an element disappears in the new layout.
 * @param transitionTriggers Animation starting triggers. Default value: `[state_change, visibility_change]`.
 * @param variableTriggers Triggers for changing variables within an element.
 * @param variables Definition of variables that can be used within this element. These variables, defined in the array, can only be used inside this element and its children.
 * @param visibility Element visibility.
 * @param visibilityAction Tracking visibility of a single element. Not used if the `visibility_actions` parameter is set.
 * @param visibilityActions Actions when an element appears on the screen.
 * @param width Element width.
 */
@Generated
fun Slider.override(
    `use named arguments`: Guard = Guard.instance,
    accessibility: Accessibility? = null,
    alignmentHorizontal: AlignmentHorizontal? = null,
    alignmentVertical: AlignmentVertical? = null,
    alpha: Double? = null,
    background: List? = null,
    border: Border? = null,
    columnSpan: Int? = null,
    disappearActions: List? = null,
    extensions: List? = null,
    focus: Focus? = null,
    height: Size? = null,
    id: String? = null,
    layoutProvider: LayoutProvider? = null,
    margins: EdgeInsets? = null,
    maxValue: Int? = null,
    minValue: Int? = null,
    paddings: EdgeInsets? = null,
    ranges: List? = null,
    reuseId: String? = null,
    rowSpan: Int? = null,
    secondaryValueAccessibility: Accessibility? = null,
    selectedActions: List? = null,
    thumbSecondaryStyle: Drawable? = null,
    thumbSecondaryTextStyle: Slider.TextStyle? = null,
    thumbSecondaryValueVariable: String? = null,
    thumbStyle: Drawable? = null,
    thumbTextStyle: Slider.TextStyle? = null,
    thumbValueVariable: String? = null,
    tickMarkActiveStyle: Drawable? = null,
    tickMarkInactiveStyle: Drawable? = null,
    tooltips: List? = null,
    trackActiveStyle: Drawable? = null,
    trackInactiveStyle: Drawable? = null,
    transform: Transform? = null,
    transitionChange: ChangeTransition? = null,
    transitionIn: AppearanceTransition? = null,
    transitionOut: AppearanceTransition? = null,
    transitionTriggers: List>? = null,
    variableTriggers: List? = null,
    variables: List? = null,
    visibility: Visibility? = null,
    visibilityAction: VisibilityAction? = null,
    visibilityActions: List? = null,
    width: Size? = null,
): Slider = Slider(
    Slider.Properties(
        accessibility = valueOrNull(accessibility) ?: properties.accessibility,
        alignmentHorizontal = valueOrNull(alignmentHorizontal) ?: properties.alignmentHorizontal,
        alignmentVertical = valueOrNull(alignmentVertical) ?: properties.alignmentVertical,
        alpha = valueOrNull(alpha) ?: properties.alpha,
        background = valueOrNull(background) ?: properties.background,
        border = valueOrNull(border) ?: properties.border,
        columnSpan = valueOrNull(columnSpan) ?: properties.columnSpan,
        disappearActions = valueOrNull(disappearActions) ?: properties.disappearActions,
        extensions = valueOrNull(extensions) ?: properties.extensions,
        focus = valueOrNull(focus) ?: properties.focus,
        height = valueOrNull(height) ?: properties.height,
        id = valueOrNull(id) ?: properties.id,
        layoutProvider = valueOrNull(layoutProvider) ?: properties.layoutProvider,
        margins = valueOrNull(margins) ?: properties.margins,
        maxValue = valueOrNull(maxValue) ?: properties.maxValue,
        minValue = valueOrNull(minValue) ?: properties.minValue,
        paddings = valueOrNull(paddings) ?: properties.paddings,
        ranges = valueOrNull(ranges) ?: properties.ranges,
        reuseId = valueOrNull(reuseId) ?: properties.reuseId,
        rowSpan = valueOrNull(rowSpan) ?: properties.rowSpan,
        secondaryValueAccessibility = valueOrNull(secondaryValueAccessibility) ?: properties.secondaryValueAccessibility,
        selectedActions = valueOrNull(selectedActions) ?: properties.selectedActions,
        thumbSecondaryStyle = valueOrNull(thumbSecondaryStyle) ?: properties.thumbSecondaryStyle,
        thumbSecondaryTextStyle = valueOrNull(thumbSecondaryTextStyle) ?: properties.thumbSecondaryTextStyle,
        thumbSecondaryValueVariable = valueOrNull(thumbSecondaryValueVariable) ?: properties.thumbSecondaryValueVariable,
        thumbStyle = valueOrNull(thumbStyle) ?: properties.thumbStyle,
        thumbTextStyle = valueOrNull(thumbTextStyle) ?: properties.thumbTextStyle,
        thumbValueVariable = valueOrNull(thumbValueVariable) ?: properties.thumbValueVariable,
        tickMarkActiveStyle = valueOrNull(tickMarkActiveStyle) ?: properties.tickMarkActiveStyle,
        tickMarkInactiveStyle = valueOrNull(tickMarkInactiveStyle) ?: properties.tickMarkInactiveStyle,
        tooltips = valueOrNull(tooltips) ?: properties.tooltips,
        trackActiveStyle = valueOrNull(trackActiveStyle) ?: properties.trackActiveStyle,
        trackInactiveStyle = valueOrNull(trackInactiveStyle) ?: properties.trackInactiveStyle,
        transform = valueOrNull(transform) ?: properties.transform,
        transitionChange = valueOrNull(transitionChange) ?: properties.transitionChange,
        transitionIn = valueOrNull(transitionIn) ?: properties.transitionIn,
        transitionOut = valueOrNull(transitionOut) ?: properties.transitionOut,
        transitionTriggers = valueOrNull(transitionTriggers) ?: properties.transitionTriggers,
        variableTriggers = valueOrNull(variableTriggers) ?: properties.variableTriggers,
        variables = valueOrNull(variables) ?: properties.variables,
        visibility = valueOrNull(visibility) ?: properties.visibility,
        visibilityAction = valueOrNull(visibilityAction) ?: properties.visibilityAction,
        visibilityActions = valueOrNull(visibilityActions) ?: properties.visibilityActions,
        width = valueOrNull(width) ?: properties.width,
    )
)

/**
 * @param accessibility Accessibility settings.
 * @param alignmentHorizontal Horizontal alignment of an element inside the parent element.
 * @param alignmentVertical Vertical alignment of an element inside the parent element.
 * @param alpha Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
 * @param background Element background. It can contain multiple layers.
 * @param border Element stroke.
 * @param columnSpan Merges cells in a column of the [grid](div-grid.md) element.
 * @param disappearActions Actions when an element disappears from the screen.
 * @param extensions Extensions for additional processing of an element. The list of extensions is given in  [DivExtension](../../extensions).
 * @param focus Parameters when focusing on an element or losing focus.
 * @param height Element height. For Android: if there is text in this or in a child element, specify height in `sp` to scale the element together with the text. To learn more about units of size measurement, see [Layout inside the card](../../layout).
 * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS.
 * @param layoutProvider Provides element real size values after a layout cycle.
 * @param margins External margins from the element stroke.
 * @param maxValue Maximum value. It must be greater than the minimum value.
 * @param minValue Minimum value.
 * @param paddings Internal margins from the element stroke.
 * @param ranges Section style.
 * @param reuseId Id for the div structure. Used for more optimal reuse of blocks. See [reusing blocks](../../reuse/reuse.md)
 * @param rowSpan Merges cells in a string of the [grid](div-grid.md) element.
 * @param secondaryValueAccessibility Accessibility settings for the second pointer.
 * @param selectedActions List of [actions](div-action.md) to be executed when selecting an element in [pager](div-pager.md).
 * @param thumbSecondaryStyle Style of the second pointer.
 * @param thumbSecondaryTextStyle Text style in the second pointer.
 * @param thumbSecondaryValueVariable Name of the variable to store the second pointer's current value.
 * @param thumbStyle Style of the first pointer.
 * @param thumbTextStyle Text style in the first pointer.
 * @param thumbValueVariable Name of the variable to store the pointer's current value.
 * @param tickMarkActiveStyle Style of active serifs.
 * @param tickMarkInactiveStyle Style of inactive serifs.
 * @param tooltips Tooltips linked to an element. A tooltip can be shown by `div-action://show_tooltip?id=`, hidden by `div-action://hide_tooltip?id=` where `id` — tooltip id.
 * @param trackActiveStyle Style of the active part of a scale.
 * @param trackInactiveStyle Style of the inactive part of a scale.
 * @param transform Applies the passed transformation to the element. Content that doesn't fit into the original view area is cut off.
 * @param transitionChange Change animation. It is played when the position or size of an element changes in the new layout.
 * @param transitionIn Appearance animation. It is played when an element with a new ID appears. To learn more about the concept of transitions, see [Animated transitions](../../interaction#animation/transition-animation).
 * @param transitionOut Disappearance animation. It is played when an element disappears in the new layout.
 * @param transitionTriggers Animation starting triggers. Default value: `[state_change, visibility_change]`.
 * @param variableTriggers Triggers for changing variables within an element.
 * @param variables Definition of variables that can be used within this element. These variables, defined in the array, can only be used inside this element and its children.
 * @param visibility Element visibility.
 * @param visibilityAction Tracking visibility of a single element. Not used if the `visibility_actions` parameter is set.
 * @param visibilityActions Actions when an element appears on the screen.
 * @param width Element width.
 */
@Generated
fun Slider.defer(
    `use named arguments`: Guard = Guard.instance,
    accessibility: ReferenceProperty? = null,
    alignmentHorizontal: ReferenceProperty? = null,
    alignmentVertical: ReferenceProperty? = null,
    alpha: ReferenceProperty? = null,
    background: ReferenceProperty>? = null,
    border: ReferenceProperty? = null,
    columnSpan: ReferenceProperty? = null,
    disappearActions: ReferenceProperty>? = null,
    extensions: ReferenceProperty>? = null,
    focus: ReferenceProperty? = null,
    height: ReferenceProperty? = null,
    id: ReferenceProperty? = null,
    layoutProvider: ReferenceProperty? = null,
    margins: ReferenceProperty? = null,
    maxValue: ReferenceProperty? = null,
    minValue: ReferenceProperty? = null,
    paddings: ReferenceProperty? = null,
    ranges: ReferenceProperty>? = null,
    reuseId: ReferenceProperty? = null,
    rowSpan: ReferenceProperty? = null,
    secondaryValueAccessibility: ReferenceProperty? = null,
    selectedActions: ReferenceProperty>? = null,
    thumbSecondaryStyle: ReferenceProperty? = null,
    thumbSecondaryTextStyle: ReferenceProperty? = null,
    thumbSecondaryValueVariable: ReferenceProperty? = null,
    thumbStyle: ReferenceProperty? = null,
    thumbTextStyle: ReferenceProperty? = null,
    thumbValueVariable: ReferenceProperty? = null,
    tickMarkActiveStyle: ReferenceProperty? = null,
    tickMarkInactiveStyle: ReferenceProperty? = null,
    tooltips: ReferenceProperty>? = null,
    trackActiveStyle: ReferenceProperty? = null,
    trackInactiveStyle: ReferenceProperty? = null,
    transform: ReferenceProperty? = null,
    transitionChange: ReferenceProperty? = null,
    transitionIn: ReferenceProperty? = null,
    transitionOut: ReferenceProperty? = null,
    transitionTriggers: ReferenceProperty>>? = null,
    variableTriggers: ReferenceProperty>? = null,
    variables: ReferenceProperty>? = null,
    visibility: ReferenceProperty? = null,
    visibilityAction: ReferenceProperty? = null,
    visibilityActions: ReferenceProperty>? = null,
    width: ReferenceProperty? = null,
): Slider = Slider(
    Slider.Properties(
        accessibility = accessibility ?: properties.accessibility,
        alignmentHorizontal = alignmentHorizontal ?: properties.alignmentHorizontal,
        alignmentVertical = alignmentVertical ?: properties.alignmentVertical,
        alpha = alpha ?: properties.alpha,
        background = background ?: properties.background,
        border = border ?: properties.border,
        columnSpan = columnSpan ?: properties.columnSpan,
        disappearActions = disappearActions ?: properties.disappearActions,
        extensions = extensions ?: properties.extensions,
        focus = focus ?: properties.focus,
        height = height ?: properties.height,
        id = id ?: properties.id,
        layoutProvider = layoutProvider ?: properties.layoutProvider,
        margins = margins ?: properties.margins,
        maxValue = maxValue ?: properties.maxValue,
        minValue = minValue ?: properties.minValue,
        paddings = paddings ?: properties.paddings,
        ranges = ranges ?: properties.ranges,
        reuseId = reuseId ?: properties.reuseId,
        rowSpan = rowSpan ?: properties.rowSpan,
        secondaryValueAccessibility = secondaryValueAccessibility ?: properties.secondaryValueAccessibility,
        selectedActions = selectedActions ?: properties.selectedActions,
        thumbSecondaryStyle = thumbSecondaryStyle ?: properties.thumbSecondaryStyle,
        thumbSecondaryTextStyle = thumbSecondaryTextStyle ?: properties.thumbSecondaryTextStyle,
        thumbSecondaryValueVariable = thumbSecondaryValueVariable ?: properties.thumbSecondaryValueVariable,
        thumbStyle = thumbStyle ?: properties.thumbStyle,
        thumbTextStyle = thumbTextStyle ?: properties.thumbTextStyle,
        thumbValueVariable = thumbValueVariable ?: properties.thumbValueVariable,
        tickMarkActiveStyle = tickMarkActiveStyle ?: properties.tickMarkActiveStyle,
        tickMarkInactiveStyle = tickMarkInactiveStyle ?: properties.tickMarkInactiveStyle,
        tooltips = tooltips ?: properties.tooltips,
        trackActiveStyle = trackActiveStyle ?: properties.trackActiveStyle,
        trackInactiveStyle = trackInactiveStyle ?: properties.trackInactiveStyle,
        transform = transform ?: properties.transform,
        transitionChange = transitionChange ?: properties.transitionChange,
        transitionIn = transitionIn ?: properties.transitionIn,
        transitionOut = transitionOut ?: properties.transitionOut,
        transitionTriggers = transitionTriggers ?: properties.transitionTriggers,
        variableTriggers = variableTriggers ?: properties.variableTriggers,
        variables = variables ?: properties.variables,
        visibility = visibility ?: properties.visibility,
        visibilityAction = visibilityAction ?: properties.visibilityAction,
        visibilityActions = visibilityActions ?: properties.visibilityActions,
        width = width ?: properties.width,
    )
)

/**
 * @param alignmentHorizontal Horizontal alignment of an element inside the parent element.
 * @param alignmentVertical Vertical alignment of an element inside the parent element.
 * @param alpha Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
 * @param columnSpan Merges cells in a column of the [grid](div-grid.md) element.
 * @param maxValue Maximum value. It must be greater than the minimum value.
 * @param minValue Minimum value.
 * @param reuseId Id for the div structure. Used for more optimal reuse of blocks. See [reusing blocks](../../reuse/reuse.md)
 * @param rowSpan Merges cells in a string of the [grid](div-grid.md) element.
 * @param visibility Element visibility.
 */
@Generated
fun Slider.evaluate(
    `use named arguments`: Guard = Guard.instance,
    alignmentHorizontal: ExpressionProperty? = null,
    alignmentVertical: ExpressionProperty? = null,
    alpha: ExpressionProperty? = null,
    columnSpan: ExpressionProperty? = null,
    maxValue: ExpressionProperty? = null,
    minValue: ExpressionProperty? = null,
    reuseId: ExpressionProperty? = null,
    rowSpan: ExpressionProperty? = null,
    visibility: ExpressionProperty? = null,
): Slider = Slider(
    Slider.Properties(
        accessibility = properties.accessibility,
        alignmentHorizontal = alignmentHorizontal ?: properties.alignmentHorizontal,
        alignmentVertical = alignmentVertical ?: properties.alignmentVertical,
        alpha = alpha ?: properties.alpha,
        background = properties.background,
        border = properties.border,
        columnSpan = columnSpan ?: properties.columnSpan,
        disappearActions = properties.disappearActions,
        extensions = properties.extensions,
        focus = properties.focus,
        height = properties.height,
        id = properties.id,
        layoutProvider = properties.layoutProvider,
        margins = properties.margins,
        maxValue = maxValue ?: properties.maxValue,
        minValue = minValue ?: properties.minValue,
        paddings = properties.paddings,
        ranges = properties.ranges,
        reuseId = reuseId ?: properties.reuseId,
        rowSpan = rowSpan ?: properties.rowSpan,
        secondaryValueAccessibility = properties.secondaryValueAccessibility,
        selectedActions = properties.selectedActions,
        thumbSecondaryStyle = properties.thumbSecondaryStyle,
        thumbSecondaryTextStyle = properties.thumbSecondaryTextStyle,
        thumbSecondaryValueVariable = properties.thumbSecondaryValueVariable,
        thumbStyle = properties.thumbStyle,
        thumbTextStyle = properties.thumbTextStyle,
        thumbValueVariable = properties.thumbValueVariable,
        tickMarkActiveStyle = properties.tickMarkActiveStyle,
        tickMarkInactiveStyle = properties.tickMarkInactiveStyle,
        tooltips = properties.tooltips,
        trackActiveStyle = properties.trackActiveStyle,
        trackInactiveStyle = properties.trackInactiveStyle,
        transform = properties.transform,
        transitionChange = properties.transitionChange,
        transitionIn = properties.transitionIn,
        transitionOut = properties.transitionOut,
        transitionTriggers = properties.transitionTriggers,
        variableTriggers = properties.variableTriggers,
        variables = properties.variables,
        visibility = visibility ?: properties.visibility,
        visibilityAction = properties.visibilityAction,
        visibilityActions = properties.visibilityActions,
        width = properties.width,
    )
)

/**
 * @param accessibility Accessibility settings.
 * @param alignmentHorizontal Horizontal alignment of an element inside the parent element.
 * @param alignmentVertical Vertical alignment of an element inside the parent element.
 * @param alpha Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
 * @param background Element background. It can contain multiple layers.
 * @param border Element stroke.
 * @param columnSpan Merges cells in a column of the [grid](div-grid.md) element.
 * @param disappearActions Actions when an element disappears from the screen.
 * @param extensions Extensions for additional processing of an element. The list of extensions is given in  [DivExtension](../../extensions).
 * @param focus Parameters when focusing on an element or losing focus.
 * @param height Element height. For Android: if there is text in this or in a child element, specify height in `sp` to scale the element together with the text. To learn more about units of size measurement, see [Layout inside the card](../../layout).
 * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS.
 * @param layoutProvider Provides element real size values after a layout cycle.
 * @param margins External margins from the element stroke.
 * @param maxValue Maximum value. It must be greater than the minimum value.
 * @param minValue Minimum value.
 * @param paddings Internal margins from the element stroke.
 * @param ranges Section style.
 * @param reuseId Id for the div structure. Used for more optimal reuse of blocks. See [reusing blocks](../../reuse/reuse.md)
 * @param rowSpan Merges cells in a string of the [grid](div-grid.md) element.
 * @param secondaryValueAccessibility Accessibility settings for the second pointer.
 * @param selectedActions List of [actions](div-action.md) to be executed when selecting an element in [pager](div-pager.md).
 * @param thumbSecondaryStyle Style of the second pointer.
 * @param thumbSecondaryTextStyle Text style in the second pointer.
 * @param thumbSecondaryValueVariable Name of the variable to store the second pointer's current value.
 * @param thumbStyle Style of the first pointer.
 * @param thumbTextStyle Text style in the first pointer.
 * @param thumbValueVariable Name of the variable to store the pointer's current value.
 * @param tickMarkActiveStyle Style of active serifs.
 * @param tickMarkInactiveStyle Style of inactive serifs.
 * @param tooltips Tooltips linked to an element. A tooltip can be shown by `div-action://show_tooltip?id=`, hidden by `div-action://hide_tooltip?id=` where `id` — tooltip id.
 * @param trackActiveStyle Style of the active part of a scale.
 * @param trackInactiveStyle Style of the inactive part of a scale.
 * @param transform Applies the passed transformation to the element. Content that doesn't fit into the original view area is cut off.
 * @param transitionChange Change animation. It is played when the position or size of an element changes in the new layout.
 * @param transitionIn Appearance animation. It is played when an element with a new ID appears. To learn more about the concept of transitions, see [Animated transitions](../../interaction#animation/transition-animation).
 * @param transitionOut Disappearance animation. It is played when an element disappears in the new layout.
 * @param transitionTriggers Animation starting triggers. Default value: `[state_change, visibility_change]`.
 * @param variableTriggers Triggers for changing variables within an element.
 * @param variables Definition of variables that can be used within this element. These variables, defined in the array, can only be used inside this element and its children.
 * @param visibility Element visibility.
 * @param visibilityAction Tracking visibility of a single element. Not used if the `visibility_actions` parameter is set.
 * @param visibilityActions Actions when an element appears on the screen.
 * @param width Element width.
 */
@Generated
fun Component.override(
    `use named arguments`: Guard = Guard.instance,
    accessibility: Accessibility? = null,
    alignmentHorizontal: AlignmentHorizontal? = null,
    alignmentVertical: AlignmentVertical? = null,
    alpha: Double? = null,
    background: List? = null,
    border: Border? = null,
    columnSpan: Int? = null,
    disappearActions: List? = null,
    extensions: List? = null,
    focus: Focus? = null,
    height: Size? = null,
    id: String? = null,
    layoutProvider: LayoutProvider? = null,
    margins: EdgeInsets? = null,
    maxValue: Int? = null,
    minValue: Int? = null,
    paddings: EdgeInsets? = null,
    ranges: List? = null,
    reuseId: String? = null,
    rowSpan: Int? = null,
    secondaryValueAccessibility: Accessibility? = null,
    selectedActions: List? = null,
    thumbSecondaryStyle: Drawable? = null,
    thumbSecondaryTextStyle: Slider.TextStyle? = null,
    thumbSecondaryValueVariable: String? = null,
    thumbStyle: Drawable? = null,
    thumbTextStyle: Slider.TextStyle? = null,
    thumbValueVariable: String? = null,
    tickMarkActiveStyle: Drawable? = null,
    tickMarkInactiveStyle: Drawable? = null,
    tooltips: List? = null,
    trackActiveStyle: Drawable? = null,
    trackInactiveStyle: Drawable? = null,
    transform: Transform? = null,
    transitionChange: ChangeTransition? = null,
    transitionIn: AppearanceTransition? = null,
    transitionOut: AppearanceTransition? = null,
    transitionTriggers: List>? = null,
    variableTriggers: List? = null,
    variables: List? = null,
    visibility: Visibility? = null,
    visibilityAction: VisibilityAction? = null,
    visibilityActions: List? = null,
    width: Size? = null,
): Component = Component(
    template = template,
    properties = Slider.Properties(
        accessibility = valueOrNull(accessibility),
        alignmentHorizontal = valueOrNull(alignmentHorizontal),
        alignmentVertical = valueOrNull(alignmentVertical),
        alpha = valueOrNull(alpha),
        background = valueOrNull(background),
        border = valueOrNull(border),
        columnSpan = valueOrNull(columnSpan),
        disappearActions = valueOrNull(disappearActions),
        extensions = valueOrNull(extensions),
        focus = valueOrNull(focus),
        height = valueOrNull(height),
        id = valueOrNull(id),
        layoutProvider = valueOrNull(layoutProvider),
        margins = valueOrNull(margins),
        maxValue = valueOrNull(maxValue),
        minValue = valueOrNull(minValue),
        paddings = valueOrNull(paddings),
        ranges = valueOrNull(ranges),
        reuseId = valueOrNull(reuseId),
        rowSpan = valueOrNull(rowSpan),
        secondaryValueAccessibility = valueOrNull(secondaryValueAccessibility),
        selectedActions = valueOrNull(selectedActions),
        thumbSecondaryStyle = valueOrNull(thumbSecondaryStyle),
        thumbSecondaryTextStyle = valueOrNull(thumbSecondaryTextStyle),
        thumbSecondaryValueVariable = valueOrNull(thumbSecondaryValueVariable),
        thumbStyle = valueOrNull(thumbStyle),
        thumbTextStyle = valueOrNull(thumbTextStyle),
        thumbValueVariable = valueOrNull(thumbValueVariable),
        tickMarkActiveStyle = valueOrNull(tickMarkActiveStyle),
        tickMarkInactiveStyle = valueOrNull(tickMarkInactiveStyle),
        tooltips = valueOrNull(tooltips),
        trackActiveStyle = valueOrNull(trackActiveStyle),
        trackInactiveStyle = valueOrNull(trackInactiveStyle),
        transform = valueOrNull(transform),
        transitionChange = valueOrNull(transitionChange),
        transitionIn = valueOrNull(transitionIn),
        transitionOut = valueOrNull(transitionOut),
        transitionTriggers = valueOrNull(transitionTriggers),
        variableTriggers = valueOrNull(variableTriggers),
        variables = valueOrNull(variables),
        visibility = valueOrNull(visibility),
        visibilityAction = valueOrNull(visibilityAction),
        visibilityActions = valueOrNull(visibilityActions),
        width = valueOrNull(width),
    ).mergeWith(properties)
)

/**
 * @param accessibility Accessibility settings.
 * @param alignmentHorizontal Horizontal alignment of an element inside the parent element.
 * @param alignmentVertical Vertical alignment of an element inside the parent element.
 * @param alpha Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
 * @param background Element background. It can contain multiple layers.
 * @param border Element stroke.
 * @param columnSpan Merges cells in a column of the [grid](div-grid.md) element.
 * @param disappearActions Actions when an element disappears from the screen.
 * @param extensions Extensions for additional processing of an element. The list of extensions is given in  [DivExtension](../../extensions).
 * @param focus Parameters when focusing on an element or losing focus.
 * @param height Element height. For Android: if there is text in this or in a child element, specify height in `sp` to scale the element together with the text. To learn more about units of size measurement, see [Layout inside the card](../../layout).
 * @param id Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier` on iOS.
 * @param layoutProvider Provides element real size values after a layout cycle.
 * @param margins External margins from the element stroke.
 * @param maxValue Maximum value. It must be greater than the minimum value.
 * @param minValue Minimum value.
 * @param paddings Internal margins from the element stroke.
 * @param ranges Section style.
 * @param reuseId Id for the div structure. Used for more optimal reuse of blocks. See [reusing blocks](../../reuse/reuse.md)
 * @param rowSpan Merges cells in a string of the [grid](div-grid.md) element.
 * @param secondaryValueAccessibility Accessibility settings for the second pointer.
 * @param selectedActions List of [actions](div-action.md) to be executed when selecting an element in [pager](div-pager.md).
 * @param thumbSecondaryStyle Style of the second pointer.
 * @param thumbSecondaryTextStyle Text style in the second pointer.
 * @param thumbSecondaryValueVariable Name of the variable to store the second pointer's current value.
 * @param thumbStyle Style of the first pointer.
 * @param thumbTextStyle Text style in the first pointer.
 * @param thumbValueVariable Name of the variable to store the pointer's current value.
 * @param tickMarkActiveStyle Style of active serifs.
 * @param tickMarkInactiveStyle Style of inactive serifs.
 * @param tooltips Tooltips linked to an element. A tooltip can be shown by `div-action://show_tooltip?id=`, hidden by `div-action://hide_tooltip?id=` where `id` — tooltip id.
 * @param trackActiveStyle Style of the active part of a scale.
 * @param trackInactiveStyle Style of the inactive part of a scale.
 * @param transform Applies the passed transformation to the element. Content that doesn't fit into the original view area is cut off.
 * @param transitionChange Change animation. It is played when the position or size of an element changes in the new layout.
 * @param transitionIn Appearance animation. It is played when an element with a new ID appears. To learn more about the concept of transitions, see [Animated transitions](../../interaction#animation/transition-animation).
 * @param transitionOut Disappearance animation. It is played when an element disappears in the new layout.
 * @param transitionTriggers Animation starting triggers. Default value: `[state_change, visibility_change]`.
 * @param variableTriggers Triggers for changing variables within an element.
 * @param variables Definition of variables that can be used within this element. These variables, defined in the array, can only be used inside this element and its children.
 * @param visibility Element visibility.
 * @param visibilityAction Tracking visibility of a single element. Not used if the `visibility_actions` parameter is set.
 * @param visibilityActions Actions when an element appears on the screen.
 * @param width Element width.
 */
@Generated
fun Component.defer(
    `use named arguments`: Guard = Guard.instance,
    accessibility: ReferenceProperty? = null,
    alignmentHorizontal: ReferenceProperty? = null,
    alignmentVertical: ReferenceProperty? = null,
    alpha: ReferenceProperty? = null,
    background: ReferenceProperty>? = null,
    border: ReferenceProperty? = null,
    columnSpan: ReferenceProperty? = null,
    disappearActions: ReferenceProperty>? = null,
    extensions: ReferenceProperty>? = null,
    focus: ReferenceProperty? = null,
    height: ReferenceProperty? = null,
    id: ReferenceProperty? = null,
    layoutProvider: ReferenceProperty? = null,
    margins: ReferenceProperty? = null,
    maxValue: ReferenceProperty? = null,
    minValue: ReferenceProperty? = null,
    paddings: ReferenceProperty? = null,
    ranges: ReferenceProperty>? = null,
    reuseId: ReferenceProperty? = null,
    rowSpan: ReferenceProperty? = null,
    secondaryValueAccessibility: ReferenceProperty? = null,
    selectedActions: ReferenceProperty>? = null,
    thumbSecondaryStyle: ReferenceProperty? = null,
    thumbSecondaryTextStyle: ReferenceProperty? = null,
    thumbSecondaryValueVariable: ReferenceProperty? = null,
    thumbStyle: ReferenceProperty? = null,
    thumbTextStyle: ReferenceProperty? = null,
    thumbValueVariable: ReferenceProperty? = null,
    tickMarkActiveStyle: ReferenceProperty? = null,
    tickMarkInactiveStyle: ReferenceProperty? = null,
    tooltips: ReferenceProperty>? = null,
    trackActiveStyle: ReferenceProperty? = null,
    trackInactiveStyle: ReferenceProperty? = null,
    transform: ReferenceProperty? = null,
    transitionChange: ReferenceProperty? = null,
    transitionIn: ReferenceProperty? = null,
    transitionOut: ReferenceProperty? = null,
    transitionTriggers: ReferenceProperty>>? = null,
    variableTriggers: ReferenceProperty>? = null,
    variables: ReferenceProperty>? = null,
    visibility: ReferenceProperty? = null,
    visibilityAction: ReferenceProperty? = null,
    visibilityActions: ReferenceProperty>? = null,
    width: ReferenceProperty? = null,
): Component = Component(
    template = template,
    properties = Slider.Properties(
        accessibility = accessibility,
        alignmentHorizontal = alignmentHorizontal,
        alignmentVertical = alignmentVertical,
        alpha = alpha,
        background = background,
        border = border,
        columnSpan = columnSpan,
        disappearActions = disappearActions,
        extensions = extensions,
        focus = focus,
        height = height,
        id = id,
        layoutProvider = layoutProvider,
        margins = margins,
        maxValue = maxValue,
        minValue = minValue,
        paddings = paddings,
        ranges = ranges,
        reuseId = reuseId,
        rowSpan = rowSpan,
        secondaryValueAccessibility = secondaryValueAccessibility,
        selectedActions = selectedActions,
        thumbSecondaryStyle = thumbSecondaryStyle,
        thumbSecondaryTextStyle = thumbSecondaryTextStyle,
        thumbSecondaryValueVariable = thumbSecondaryValueVariable,
        thumbStyle = thumbStyle,
        thumbTextStyle = thumbTextStyle,
        thumbValueVariable = thumbValueVariable,
        tickMarkActiveStyle = tickMarkActiveStyle,
        tickMarkInactiveStyle = tickMarkInactiveStyle,
        tooltips = tooltips,
        trackActiveStyle = trackActiveStyle,
        trackInactiveStyle = trackInactiveStyle,
        transform = transform,
        transitionChange = transitionChange,
        transitionIn = transitionIn,
        transitionOut = transitionOut,
        transitionTriggers = transitionTriggers,
        variableTriggers = variableTriggers,
        variables = variables,
        visibility = visibility,
        visibilityAction = visibilityAction,
        visibilityActions = visibilityActions,
        width = width,
    ).mergeWith(properties)
)

/**
 * @param alignmentHorizontal Horizontal alignment of an element inside the parent element.
 * @param alignmentVertical Vertical alignment of an element inside the parent element.
 * @param alpha Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
 * @param columnSpan Merges cells in a column of the [grid](div-grid.md) element.
 * @param maxValue Maximum value. It must be greater than the minimum value.
 * @param minValue Minimum value.
 * @param reuseId Id for the div structure. Used for more optimal reuse of blocks. See [reusing blocks](../../reuse/reuse.md)
 * @param rowSpan Merges cells in a string of the [grid](div-grid.md) element.
 * @param visibility Element visibility.
 */
@Generated
fun Component.evaluate(
    `use named arguments`: Guard = Guard.instance,
    alignmentHorizontal: ExpressionProperty? = null,
    alignmentVertical: ExpressionProperty? = null,
    alpha: ExpressionProperty? = null,
    columnSpan: ExpressionProperty? = null,
    maxValue: ExpressionProperty? = null,
    minValue: ExpressionProperty? = null,
    reuseId: ExpressionProperty? = null,
    rowSpan: ExpressionProperty? = null,
    visibility: ExpressionProperty? = null,
): Component = Component(
    template = template,
    properties = Slider.Properties(
        accessibility = null,
        alignmentHorizontal = alignmentHorizontal,
        alignmentVertical = alignmentVertical,
        alpha = alpha,
        background = null,
        border = null,
        columnSpan = columnSpan,
        disappearActions = null,
        extensions = null,
        focus = null,
        height = null,
        id = null,
        layoutProvider = null,
        margins = null,
        maxValue = maxValue,
        minValue = minValue,
        paddings = null,
        ranges = null,
        reuseId = reuseId,
        rowSpan = rowSpan,
        secondaryValueAccessibility = null,
        selectedActions = null,
        thumbSecondaryStyle = null,
        thumbSecondaryTextStyle = null,
        thumbSecondaryValueVariable = null,
        thumbStyle = null,
        thumbTextStyle = null,
        thumbValueVariable = null,
        tickMarkActiveStyle = null,
        tickMarkInactiveStyle = null,
        tooltips = null,
        trackActiveStyle = null,
        trackInactiveStyle = null,
        transform = null,
        transitionChange = null,
        transitionIn = null,
        transitionOut = null,
        transitionTriggers = null,
        variableTriggers = null,
        variables = null,
        visibility = visibility,
        visibilityAction = null,
        visibilityActions = null,
        width = null,
    ).mergeWith(properties)
)

@Generated
operator fun Component.plus(additive: Slider.Properties): Component = Component(
    template = template,
    properties = additive.mergeWith(properties)
)

@Generated
fun Slider.asList() = listOf(this)

/**
 * @param end End of section.
 * @param margins Section margins. Only uses horizontal margins.
 * @param start Start of section.
 * @param trackActiveStyle Style of the active part of a scale.
 * @param trackInactiveStyle Style of the inactive part of a scale.
 */
@Generated
fun DivScope.sliderRange(
    `use named arguments`: Guard = Guard.instance,
    end: Int? = null,
    margins: EdgeInsets? = null,
    start: Int? = null,
    trackActiveStyle: Drawable? = null,
    trackInactiveStyle: Drawable? = null,
): Slider.Range = Slider.Range(
    Slider.Range.Properties(
        end = valueOrNull(end),
        margins = valueOrNull(margins),
        start = valueOrNull(start),
        trackActiveStyle = valueOrNull(trackActiveStyle),
        trackInactiveStyle = valueOrNull(trackInactiveStyle),
    )
)

/**
 * @param end End of section.
 * @param margins Section margins. Only uses horizontal margins.
 * @param start Start of section.
 * @param trackActiveStyle Style of the active part of a scale.
 * @param trackInactiveStyle Style of the inactive part of a scale.
 */
@Generated
fun DivScope.sliderRangeProps(
    `use named arguments`: Guard = Guard.instance,
    end: Int? = null,
    margins: EdgeInsets? = null,
    start: Int? = null,
    trackActiveStyle: Drawable? = null,
    trackInactiveStyle: Drawable? = null,
) = Slider.Range.Properties(
    end = valueOrNull(end),
    margins = valueOrNull(margins),
    start = valueOrNull(start),
    trackActiveStyle = valueOrNull(trackActiveStyle),
    trackInactiveStyle = valueOrNull(trackInactiveStyle),
)

/**
 * @param end End of section.
 * @param margins Section margins. Only uses horizontal margins.
 * @param start Start of section.
 * @param trackActiveStyle Style of the active part of a scale.
 * @param trackInactiveStyle Style of the inactive part of a scale.
 */
@Generated
fun TemplateScope.sliderRangeRefs(
    `use named arguments`: Guard = Guard.instance,
    end: ReferenceProperty? = null,
    margins: ReferenceProperty? = null,
    start: ReferenceProperty? = null,
    trackActiveStyle: ReferenceProperty? = null,
    trackInactiveStyle: ReferenceProperty? = null,
) = Slider.Range.Properties(
    end = end,
    margins = margins,
    start = start,
    trackActiveStyle = trackActiveStyle,
    trackInactiveStyle = trackInactiveStyle,
)

/**
 * @param end End of section.
 * @param margins Section margins. Only uses horizontal margins.
 * @param start Start of section.
 * @param trackActiveStyle Style of the active part of a scale.
 * @param trackInactiveStyle Style of the inactive part of a scale.
 */
@Generated
fun Slider.Range.override(
    `use named arguments`: Guard = Guard.instance,
    end: Int? = null,
    margins: EdgeInsets? = null,
    start: Int? = null,
    trackActiveStyle: Drawable? = null,
    trackInactiveStyle: Drawable? = null,
): Slider.Range = Slider.Range(
    Slider.Range.Properties(
        end = valueOrNull(end) ?: properties.end,
        margins = valueOrNull(margins) ?: properties.margins,
        start = valueOrNull(start) ?: properties.start,
        trackActiveStyle = valueOrNull(trackActiveStyle) ?: properties.trackActiveStyle,
        trackInactiveStyle = valueOrNull(trackInactiveStyle) ?: properties.trackInactiveStyle,
    )
)

/**
 * @param end End of section.
 * @param margins Section margins. Only uses horizontal margins.
 * @param start Start of section.
 * @param trackActiveStyle Style of the active part of a scale.
 * @param trackInactiveStyle Style of the inactive part of a scale.
 */
@Generated
fun Slider.Range.defer(
    `use named arguments`: Guard = Guard.instance,
    end: ReferenceProperty? = null,
    margins: ReferenceProperty? = null,
    start: ReferenceProperty? = null,
    trackActiveStyle: ReferenceProperty? = null,
    trackInactiveStyle: ReferenceProperty? = null,
): Slider.Range = Slider.Range(
    Slider.Range.Properties(
        end = end ?: properties.end,
        margins = margins ?: properties.margins,
        start = start ?: properties.start,
        trackActiveStyle = trackActiveStyle ?: properties.trackActiveStyle,
        trackInactiveStyle = trackInactiveStyle ?: properties.trackInactiveStyle,
    )
)

/**
 * @param end End of section.
 * @param start Start of section.
 */
@Generated
fun Slider.Range.evaluate(
    `use named arguments`: Guard = Guard.instance,
    end: ExpressionProperty? = null,
    start: ExpressionProperty? = null,
): Slider.Range = Slider.Range(
    Slider.Range.Properties(
        end = end ?: properties.end,
        margins = properties.margins,
        start = start ?: properties.start,
        trackActiveStyle = properties.trackActiveStyle,
        trackInactiveStyle = properties.trackInactiveStyle,
    )
)

@Generated
fun Slider.Range.asList() = listOf(this)

/**
 * @param fontSize Font size.
 * @param fontWeight Style.
 * @param fontWeightValue Style. Numeric value.
 * @param offset Shift relative to the center.
 * @param textColor Text color.
 */
@Generated
fun DivScope.sliderTextStyle(
    `use named arguments`: Guard = Guard.instance,
    fontSize: Int? = null,
    fontSizeUnit: SizeUnit? = null,
    fontWeight: FontWeight? = null,
    fontWeightValue: Int? = null,
    offset: Point? = null,
    textColor: Color? = null,
): Slider.TextStyle = Slider.TextStyle(
    Slider.TextStyle.Properties(
        fontSize = valueOrNull(fontSize),
        fontSizeUnit = valueOrNull(fontSizeUnit),
        fontWeight = valueOrNull(fontWeight),
        fontWeightValue = valueOrNull(fontWeightValue),
        offset = valueOrNull(offset),
        textColor = valueOrNull(textColor),
    )
)

/**
 * @param fontSize Font size.
 * @param fontWeight Style.
 * @param fontWeightValue Style. Numeric value.
 * @param offset Shift relative to the center.
 * @param textColor Text color.
 */
@Generated
fun DivScope.sliderTextStyleProps(
    `use named arguments`: Guard = Guard.instance,
    fontSize: Int? = null,
    fontSizeUnit: SizeUnit? = null,
    fontWeight: FontWeight? = null,
    fontWeightValue: Int? = null,
    offset: Point? = null,
    textColor: Color? = null,
) = Slider.TextStyle.Properties(
    fontSize = valueOrNull(fontSize),
    fontSizeUnit = valueOrNull(fontSizeUnit),
    fontWeight = valueOrNull(fontWeight),
    fontWeightValue = valueOrNull(fontWeightValue),
    offset = valueOrNull(offset),
    textColor = valueOrNull(textColor),
)

/**
 * @param fontSize Font size.
 * @param fontWeight Style.
 * @param fontWeightValue Style. Numeric value.
 * @param offset Shift relative to the center.
 * @param textColor Text color.
 */
@Generated
fun TemplateScope.sliderTextStyleRefs(
    `use named arguments`: Guard = Guard.instance,
    fontSize: ReferenceProperty? = null,
    fontSizeUnit: ReferenceProperty? = null,
    fontWeight: ReferenceProperty? = null,
    fontWeightValue: ReferenceProperty? = null,
    offset: ReferenceProperty? = null,
    textColor: ReferenceProperty? = null,
) = Slider.TextStyle.Properties(
    fontSize = fontSize,
    fontSizeUnit = fontSizeUnit,
    fontWeight = fontWeight,
    fontWeightValue = fontWeightValue,
    offset = offset,
    textColor = textColor,
)

/**
 * @param fontSize Font size.
 * @param fontWeight Style.
 * @param fontWeightValue Style. Numeric value.
 * @param offset Shift relative to the center.
 * @param textColor Text color.
 */
@Generated
fun Slider.TextStyle.override(
    `use named arguments`: Guard = Guard.instance,
    fontSize: Int? = null,
    fontSizeUnit: SizeUnit? = null,
    fontWeight: FontWeight? = null,
    fontWeightValue: Int? = null,
    offset: Point? = null,
    textColor: Color? = null,
): Slider.TextStyle = Slider.TextStyle(
    Slider.TextStyle.Properties(
        fontSize = valueOrNull(fontSize) ?: properties.fontSize,
        fontSizeUnit = valueOrNull(fontSizeUnit) ?: properties.fontSizeUnit,
        fontWeight = valueOrNull(fontWeight) ?: properties.fontWeight,
        fontWeightValue = valueOrNull(fontWeightValue) ?: properties.fontWeightValue,
        offset = valueOrNull(offset) ?: properties.offset,
        textColor = valueOrNull(textColor) ?: properties.textColor,
    )
)

/**
 * @param fontSize Font size.
 * @param fontWeight Style.
 * @param fontWeightValue Style. Numeric value.
 * @param offset Shift relative to the center.
 * @param textColor Text color.
 */
@Generated
fun Slider.TextStyle.defer(
    `use named arguments`: Guard = Guard.instance,
    fontSize: ReferenceProperty? = null,
    fontSizeUnit: ReferenceProperty? = null,
    fontWeight: ReferenceProperty? = null,
    fontWeightValue: ReferenceProperty? = null,
    offset: ReferenceProperty? = null,
    textColor: ReferenceProperty? = null,
): Slider.TextStyle = Slider.TextStyle(
    Slider.TextStyle.Properties(
        fontSize = fontSize ?: properties.fontSize,
        fontSizeUnit = fontSizeUnit ?: properties.fontSizeUnit,
        fontWeight = fontWeight ?: properties.fontWeight,
        fontWeightValue = fontWeightValue ?: properties.fontWeightValue,
        offset = offset ?: properties.offset,
        textColor = textColor ?: properties.textColor,
    )
)

/**
 * @param fontSize Font size.
 * @param fontWeight Style.
 * @param fontWeightValue Style. Numeric value.
 * @param textColor Text color.
 */
@Generated
fun Slider.TextStyle.evaluate(
    `use named arguments`: Guard = Guard.instance,
    fontSize: ExpressionProperty? = null,
    fontSizeUnit: ExpressionProperty? = null,
    fontWeight: ExpressionProperty? = null,
    fontWeightValue: ExpressionProperty? = null,
    textColor: ExpressionProperty? = null,
): Slider.TextStyle = Slider.TextStyle(
    Slider.TextStyle.Properties(
        fontSize = fontSize ?: properties.fontSize,
        fontSizeUnit = fontSizeUnit ?: properties.fontSizeUnit,
        fontWeight = fontWeight ?: properties.fontWeight,
        fontWeightValue = fontWeightValue ?: properties.fontWeightValue,
        offset = properties.offset,
        textColor = textColor ?: properties.textColor,
    )
)

@Generated
fun Slider.TextStyle.asList() = listOf(this)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy