@divkitframework/jsonbuilder 30.23.0 → 30.25.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- declare type Div = DivImage | DivGifImage | DivText | DivSeparator | DivContainer | DivGrid | DivGallery | DivPager | DivTabs | DivState | DivCustom | DivIndicator | DivSlider | DivInput | DivSelect | DivVideo | TemplateBlock;
1
+ declare type Div = DivImage | DivGifImage | DivText | DivSeparator | DivContainer | DivGrid | DivGallery | DivPager | DivTabs | DivState | DivCustom | DivIndicator | DivSlider | DivSwitch | DivInput | DivSelect | DivVideo | TemplateBlock;
2
2
 
3
3
  declare const expr: unique symbol;
4
4
  interface DivExpression {
@@ -370,7 +370,7 @@ interface IDivAction {
370
370
  /**
371
371
  * The ID of the element within which the specified action will be performed.
372
372
  *
373
- * Platforms: not supported
373
+ * Platforms: android, ios, web
374
374
  */
375
375
  scope_id?: Type<string>;
376
376
  /**
@@ -2762,7 +2762,7 @@ interface IDivDisappearAction {
2762
2762
  /**
2763
2763
  * The ID of the element within which the specified action will be performed.
2764
2764
  *
2765
- * Platforms: not supported
2765
+ * Platforms: android, ios, web
2766
2766
  */
2767
2767
  scope_id?: Type<string>;
2768
2768
  typed?: Type<DivActionTyped>;
@@ -3028,8 +3028,6 @@ interface IDivFocus {
3028
3028
  border?: Type<IDivBorder>;
3029
3029
  /**
3030
3030
  * IDs of elements that will be next to get focus.
3031
- *
3032
- * Platforms: android, ios
3033
3031
  */
3034
3032
  next_focus_ids?: Type<IDivFocusNextFocusIds>;
3035
3033
  /**
@@ -3045,10 +3043,25 @@ interface IDivFocus {
3045
3043
  * IDs of elements that will be next to get focus.
3046
3044
  */
3047
3045
  interface IDivFocusNextFocusIds {
3046
+ /**
3047
+ * Platforms: android
3048
+ */
3048
3049
  down?: Type<string | DivExpression>;
3050
+ /**
3051
+ * Platforms: android, ios
3052
+ */
3049
3053
  forward?: Type<string | DivExpression>;
3054
+ /**
3055
+ * Platforms: android
3056
+ */
3050
3057
  left?: Type<string | DivExpression>;
3058
+ /**
3059
+ * Platforms: android
3060
+ */
3051
3061
  right?: Type<string | DivExpression>;
3062
+ /**
3063
+ * Platforms: android
3064
+ */
3052
3065
  up?: Type<string | DivExpression>;
3053
3066
  }
3054
3067
 
@@ -5809,6 +5822,19 @@ declare class DivInput<T extends DivInputProps = DivInputProps> {
5809
5822
  * Platforms: android, ios, web
5810
5823
  */
5811
5824
  disappear_actions?: Type<NonEmptyArray<IDivDisappearAction>>;
5825
+ /**
5826
+ * Actions when clicking on a `Enter` keyboard button. If there are actions, the default behavior
5827
+ * will be overridden
5828
+ *
5829
+ * Platforms: ios
5830
+ */
5831
+ enter_key_actions?: Type<NonEmptyArray<IDivAction>>;
5832
+ /**
5833
+ * The type of the `Enter` keyboard button.
5834
+ *
5835
+ * Platforms: ios
5836
+ */
5837
+ enter_key_type?: Type<DivInputEnterKeyType | DivExpression>;
5812
5838
  /**
5813
5839
  * Extensions for additional processing of an element. The list of extensions is given in
5814
5840
  * [DivExtension](../../extensions).
@@ -6115,6 +6141,19 @@ interface DivInputProps {
6115
6141
  * Platforms: android, ios, web
6116
6142
  */
6117
6143
  disappear_actions?: Type<NonEmptyArray<IDivDisappearAction>>;
6144
+ /**
6145
+ * Actions when clicking on a `Enter` keyboard button. If there are actions, the default behavior
6146
+ * will be overridden
6147
+ *
6148
+ * Platforms: ios
6149
+ */
6150
+ enter_key_actions?: Type<NonEmptyArray<IDivAction>>;
6151
+ /**
6152
+ * The type of the `Enter` keyboard button.
6153
+ *
6154
+ * Platforms: ios
6155
+ */
6156
+ enter_key_type?: Type<DivInputEnterKeyType | DivExpression>;
6118
6157
  /**
6119
6158
  * Extensions for additional processing of an element. The list of extensions is given in
6120
6159
  * [DivExtension](../../extensions).
@@ -6370,6 +6409,7 @@ interface DivInputProps {
6370
6409
  width?: Type<DivSize>;
6371
6410
  }
6372
6411
  declare type DivInputAutocapitalization = 'auto' | 'none' | 'words' | 'sentences' | 'all_characters';
6412
+ declare type DivInputEnterKeyType = 'default' | 'go' | 'search' | 'send' | 'done';
6373
6413
  declare type DivInputKeyboardType = 'single_line_text' | 'multi_line_text' | 'phone' | 'number' | 'email' | 'uri' | 'password';
6374
6414
  /**
6375
6415
  * Text input line used in the native interface.
@@ -6976,6 +7016,8 @@ declare class DivPager<T extends DivPagerProps = DivPagerProps> {
6976
7016
  column_span?: Type<number | DivExpression>;
6977
7017
  /**
6978
7018
  * Ordinal number of the pager element that will be opened by default.
7019
+ *
7020
+ * Platforms: android, ios
6979
7021
  */
6980
7022
  default_item?: Type<number | DivExpression>;
6981
7023
  /**
@@ -7215,6 +7257,8 @@ interface DivPagerProps {
7215
7257
  column_span?: Type<number | DivExpression>;
7216
7258
  /**
7217
7259
  * Ordinal number of the pager element that will be opened by default.
7260
+ *
7261
+ * Platforms: android, ios
7218
7262
  */
7219
7263
  default_item?: Type<number | DivExpression>;
7220
7264
  /**
@@ -8828,7 +8872,7 @@ interface IDivSightAction {
8828
8872
  /**
8829
8873
  * The ID of the element within which the specified action will be performed.
8830
8874
  *
8831
- * Platforms: not supported
8875
+ * Platforms: android, ios, web
8832
8876
  */
8833
8877
  scope_id?: Type<string>;
8834
8878
  typed?: Type<DivActionTyped>;
@@ -9968,6 +10012,406 @@ interface IDivStroke {
9968
10012
  width?: Type<number | DivExpression>;
9969
10013
  }
9970
10014
 
10015
+ /**
10016
+ * A two-state switch that allows user to toggle a boolean variable. The element has a different
10017
+ * appearance depending on the platform. On iOS, the switch size is fixed.
10018
+ */
10019
+ declare class DivSwitch<T extends DivSwitchProps = DivSwitchProps> {
10020
+ readonly _props?: Exact<DivSwitchProps, T>;
10021
+ readonly type = "switch";
10022
+ /**
10023
+ * Accessibility settings.
10024
+ *
10025
+ * Platforms: android, ios, web
10026
+ */
10027
+ accessibility?: Type<IDivAccessibility>;
10028
+ /**
10029
+ * Horizontal alignment of an element inside the parent element.
10030
+ */
10031
+ alignment_horizontal?: Type<DivAlignmentHorizontal | DivExpression>;
10032
+ /**
10033
+ * Vertical alignment of an element inside the parent element.
10034
+ */
10035
+ alignment_vertical?: Type<DivAlignmentVertical | DivExpression>;
10036
+ /**
10037
+ * Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
10038
+ */
10039
+ alpha?: Type<number | DivExpression>;
10040
+ /**
10041
+ * Declaration of animators that change variable values over time.
10042
+ *
10043
+ * Platforms: android, ios
10044
+ */
10045
+ animators?: Type<NonEmptyArray<DivAnimator>>;
10046
+ /**
10047
+ * Element background. It can contain multiple layers.
10048
+ */
10049
+ background?: Type<NonEmptyArray<DivBackground>>;
10050
+ /**
10051
+ * Element stroke.
10052
+ */
10053
+ border?: Type<IDivBorder>;
10054
+ /**
10055
+ * Merges cells in a column of the [grid](div-grid.md) element.
10056
+ *
10057
+ * Platforms: android, ios, web
10058
+ */
10059
+ column_span?: Type<number | DivExpression>;
10060
+ /**
10061
+ * Actions when an element disappears from the screen.
10062
+ *
10063
+ * Platforms: android, ios, web
10064
+ */
10065
+ disappear_actions?: Type<NonEmptyArray<IDivDisappearAction>>;
10066
+ /**
10067
+ * Extensions for additional processing of an element. The list of extensions is given in
10068
+ * [DivExtension](../../extensions).
10069
+ *
10070
+ * Platforms: android, ios, web
10071
+ */
10072
+ extensions?: Type<NonEmptyArray<IDivExtension>>;
10073
+ /**
10074
+ * Parameters when focusing on an element or losing focus.
10075
+ */
10076
+ focus?: Type<IDivFocus>;
10077
+ /**
10078
+ * User functions.
10079
+ *
10080
+ * Platforms: ios
10081
+ */
10082
+ functions?: Type<NonEmptyArray<IDivFunction>>;
10083
+ /**
10084
+ * Element height. For Android: if there is text in this or in a child element, specify height in
10085
+ * `sp` to scale the element together with the text. To learn more about units of size
10086
+ * measurement, see [Layout inside the card](../../layout).
10087
+ */
10088
+ height?: Type<DivSize>;
10089
+ /**
10090
+ * Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier`
10091
+ * on iOS.
10092
+ */
10093
+ id?: Type<string>;
10094
+ /**
10095
+ * Enables or disables the ability to switch an element.
10096
+ */
10097
+ is_enabled?: Type<IntBoolean | DivExpression>;
10098
+ /**
10099
+ * The name of the boolean variable for the switch.
10100
+ */
10101
+ is_on_variable: Type<string>;
10102
+ /**
10103
+ * Provides data on the actual size of the element.
10104
+ *
10105
+ * Platforms: android, ios, web
10106
+ */
10107
+ layout_provider?: Type<IDivLayoutProvider>;
10108
+ /**
10109
+ * External margins from the element stroke.
10110
+ */
10111
+ margins?: Type<IDivEdgeInsets>;
10112
+ /**
10113
+ * The color of the switch when it is on. If no color is specified, the default system color is
10114
+ * used on iOS, and the color specified in `Div2Context` is used on Android.
10115
+ */
10116
+ on_color?: Type<string | DivExpression>;
10117
+ /**
10118
+ * Internal margins from the element stroke.
10119
+ */
10120
+ paddings?: Type<IDivEdgeInsets>;
10121
+ /**
10122
+ * ID for the div object structure. Used to optimize block reuse. See [block
10123
+ * reuse](../../reuse/reuse.md).
10124
+ *
10125
+ * Platforms: android, ios
10126
+ */
10127
+ reuse_id?: Type<string | DivExpression>;
10128
+ /**
10129
+ * Merges cells in a string of the [grid](div-grid.md) element.
10130
+ *
10131
+ * Platforms: android, ios, web
10132
+ */
10133
+ row_span?: Type<number | DivExpression>;
10134
+ /**
10135
+ * List of [actions](div-action.md) to be executed when selecting an element in
10136
+ * [pager](div-pager.md).
10137
+ *
10138
+ * Platforms: android, ios, web
10139
+ */
10140
+ selected_actions?: Type<NonEmptyArray<IDivAction>>;
10141
+ /**
10142
+ * Tooltips linked to an element. A tooltip can be shown by `div-action://show_tooltip?id=`,
10143
+ * hidden by `div-action://hide_tooltip?id=` where `id` — tooltip id.
10144
+ *
10145
+ * Platforms: android, ios, web
10146
+ */
10147
+ tooltips?: Type<NonEmptyArray<IDivTooltip>>;
10148
+ /**
10149
+ * Applies the passed transformation to the element. Content that doesn't fit into the original
10150
+ * view area is cut off.
10151
+ *
10152
+ * Platforms: android, ios, web
10153
+ */
10154
+ transform?: Type<IDivTransform>;
10155
+ /**
10156
+ * Change animation. It is played when the position or size of an element changes in the new
10157
+ * layout.
10158
+ *
10159
+ * Platforms: android, ios, web
10160
+ */
10161
+ transition_change?: Type<DivChangeTransition>;
10162
+ /**
10163
+ * Appearance animation. It is played when an element with a new ID appears. To learn more about
10164
+ * the concept of transitions, see [Animated
10165
+ * transitions](../../interaction#animation/transition-animation).
10166
+ *
10167
+ * Platforms: android, ios, web
10168
+ */
10169
+ transition_in?: Type<DivAppearanceTransition>;
10170
+ /**
10171
+ * Disappearance animation. It is played when an element disappears in the new layout.
10172
+ *
10173
+ * Platforms: android, ios, web
10174
+ */
10175
+ transition_out?: Type<DivAppearanceTransition>;
10176
+ /**
10177
+ * Animation starting triggers. Default value: `[state_change, visibility_change]`.
10178
+ *
10179
+ * Platforms: android, ios, web
10180
+ */
10181
+ transition_triggers?: Type<NonEmptyArray<DivTransitionTrigger>>;
10182
+ /**
10183
+ * Triggers for changing variables within an element.
10184
+ *
10185
+ * Platforms: android, ios, web
10186
+ */
10187
+ variable_triggers?: Type<NonEmptyArray<IDivTrigger>>;
10188
+ /**
10189
+ * Declaration of variables that can be used within an element. Variables declared in this array
10190
+ * can only be used within the element and its child elements.
10191
+ *
10192
+ * Platforms: ios, web, android
10193
+ */
10194
+ variables?: Type<NonEmptyArray<DivVariable>>;
10195
+ /**
10196
+ * Element visibility.
10197
+ */
10198
+ visibility?: Type<DivVisibility | DivExpression>;
10199
+ /**
10200
+ * Tracking visibility of a single element. Not used if the `visibility_actions` parameter is
10201
+ * set.
10202
+ *
10203
+ * Platforms: android, ios, web
10204
+ */
10205
+ visibility_action?: Type<IDivVisibilityAction>;
10206
+ /**
10207
+ * Actions when an element appears on the screen.
10208
+ *
10209
+ * Platforms: android, ios, web
10210
+ */
10211
+ visibility_actions?: Type<NonEmptyArray<IDivVisibilityAction>>;
10212
+ /**
10213
+ * Element width.
10214
+ */
10215
+ width?: Type<DivSize>;
10216
+ constructor(props: Exact<DivSwitchProps, T>);
10217
+ }
10218
+ interface DivSwitchProps {
10219
+ /**
10220
+ * Accessibility settings.
10221
+ *
10222
+ * Platforms: android, ios, web
10223
+ */
10224
+ accessibility?: Type<IDivAccessibility>;
10225
+ /**
10226
+ * Horizontal alignment of an element inside the parent element.
10227
+ */
10228
+ alignment_horizontal?: Type<DivAlignmentHorizontal | DivExpression>;
10229
+ /**
10230
+ * Vertical alignment of an element inside the parent element.
10231
+ */
10232
+ alignment_vertical?: Type<DivAlignmentVertical | DivExpression>;
10233
+ /**
10234
+ * Sets transparency of the entire element: `0` — completely transparent, `1` — opaque.
10235
+ */
10236
+ alpha?: Type<number | DivExpression>;
10237
+ /**
10238
+ * Declaration of animators that change variable values over time.
10239
+ *
10240
+ * Platforms: android, ios
10241
+ */
10242
+ animators?: Type<NonEmptyArray<DivAnimator>>;
10243
+ /**
10244
+ * Element background. It can contain multiple layers.
10245
+ */
10246
+ background?: Type<NonEmptyArray<DivBackground>>;
10247
+ /**
10248
+ * Element stroke.
10249
+ */
10250
+ border?: Type<IDivBorder>;
10251
+ /**
10252
+ * Merges cells in a column of the [grid](div-grid.md) element.
10253
+ *
10254
+ * Platforms: android, ios, web
10255
+ */
10256
+ column_span?: Type<number | DivExpression>;
10257
+ /**
10258
+ * Actions when an element disappears from the screen.
10259
+ *
10260
+ * Platforms: android, ios, web
10261
+ */
10262
+ disappear_actions?: Type<NonEmptyArray<IDivDisappearAction>>;
10263
+ /**
10264
+ * Extensions for additional processing of an element. The list of extensions is given in
10265
+ * [DivExtension](../../extensions).
10266
+ *
10267
+ * Platforms: android, ios, web
10268
+ */
10269
+ extensions?: Type<NonEmptyArray<IDivExtension>>;
10270
+ /**
10271
+ * Parameters when focusing on an element or losing focus.
10272
+ */
10273
+ focus?: Type<IDivFocus>;
10274
+ /**
10275
+ * User functions.
10276
+ *
10277
+ * Platforms: ios
10278
+ */
10279
+ functions?: Type<NonEmptyArray<IDivFunction>>;
10280
+ /**
10281
+ * Element height. For Android: if there is text in this or in a child element, specify height in
10282
+ * `sp` to scale the element together with the text. To learn more about units of size
10283
+ * measurement, see [Layout inside the card](../../layout).
10284
+ */
10285
+ height?: Type<DivSize>;
10286
+ /**
10287
+ * Element ID. It must be unique within the root element. It is used as `accessibilityIdentifier`
10288
+ * on iOS.
10289
+ */
10290
+ id?: Type<string>;
10291
+ /**
10292
+ * Enables or disables the ability to switch an element.
10293
+ */
10294
+ is_enabled?: Type<IntBoolean | DivExpression>;
10295
+ /**
10296
+ * The name of the boolean variable for the switch.
10297
+ */
10298
+ is_on_variable: Type<string>;
10299
+ /**
10300
+ * Provides data on the actual size of the element.
10301
+ *
10302
+ * Platforms: android, ios, web
10303
+ */
10304
+ layout_provider?: Type<IDivLayoutProvider>;
10305
+ /**
10306
+ * External margins from the element stroke.
10307
+ */
10308
+ margins?: Type<IDivEdgeInsets>;
10309
+ /**
10310
+ * The color of the switch when it is on. If no color is specified, the default system color is
10311
+ * used on iOS, and the color specified in `Div2Context` is used on Android.
10312
+ */
10313
+ on_color?: Type<string | DivExpression>;
10314
+ /**
10315
+ * Internal margins from the element stroke.
10316
+ */
10317
+ paddings?: Type<IDivEdgeInsets>;
10318
+ /**
10319
+ * ID for the div object structure. Used to optimize block reuse. See [block
10320
+ * reuse](../../reuse/reuse.md).
10321
+ *
10322
+ * Platforms: android, ios
10323
+ */
10324
+ reuse_id?: Type<string | DivExpression>;
10325
+ /**
10326
+ * Merges cells in a string of the [grid](div-grid.md) element.
10327
+ *
10328
+ * Platforms: android, ios, web
10329
+ */
10330
+ row_span?: Type<number | DivExpression>;
10331
+ /**
10332
+ * List of [actions](div-action.md) to be executed when selecting an element in
10333
+ * [pager](div-pager.md).
10334
+ *
10335
+ * Platforms: android, ios, web
10336
+ */
10337
+ selected_actions?: Type<NonEmptyArray<IDivAction>>;
10338
+ /**
10339
+ * Tooltips linked to an element. A tooltip can be shown by `div-action://show_tooltip?id=`,
10340
+ * hidden by `div-action://hide_tooltip?id=` where `id` — tooltip id.
10341
+ *
10342
+ * Platforms: android, ios, web
10343
+ */
10344
+ tooltips?: Type<NonEmptyArray<IDivTooltip>>;
10345
+ /**
10346
+ * Applies the passed transformation to the element. Content that doesn't fit into the original
10347
+ * view area is cut off.
10348
+ *
10349
+ * Platforms: android, ios, web
10350
+ */
10351
+ transform?: Type<IDivTransform>;
10352
+ /**
10353
+ * Change animation. It is played when the position or size of an element changes in the new
10354
+ * layout.
10355
+ *
10356
+ * Platforms: android, ios, web
10357
+ */
10358
+ transition_change?: Type<DivChangeTransition>;
10359
+ /**
10360
+ * Appearance animation. It is played when an element with a new ID appears. To learn more about
10361
+ * the concept of transitions, see [Animated
10362
+ * transitions](../../interaction#animation/transition-animation).
10363
+ *
10364
+ * Platforms: android, ios, web
10365
+ */
10366
+ transition_in?: Type<DivAppearanceTransition>;
10367
+ /**
10368
+ * Disappearance animation. It is played when an element disappears in the new layout.
10369
+ *
10370
+ * Platforms: android, ios, web
10371
+ */
10372
+ transition_out?: Type<DivAppearanceTransition>;
10373
+ /**
10374
+ * Animation starting triggers. Default value: `[state_change, visibility_change]`.
10375
+ *
10376
+ * Platforms: android, ios, web
10377
+ */
10378
+ transition_triggers?: Type<NonEmptyArray<DivTransitionTrigger>>;
10379
+ /**
10380
+ * Triggers for changing variables within an element.
10381
+ *
10382
+ * Platforms: android, ios, web
10383
+ */
10384
+ variable_triggers?: Type<NonEmptyArray<IDivTrigger>>;
10385
+ /**
10386
+ * Declaration of variables that can be used within an element. Variables declared in this array
10387
+ * can only be used within the element and its child elements.
10388
+ *
10389
+ * Platforms: ios, web, android
10390
+ */
10391
+ variables?: Type<NonEmptyArray<DivVariable>>;
10392
+ /**
10393
+ * Element visibility.
10394
+ */
10395
+ visibility?: Type<DivVisibility | DivExpression>;
10396
+ /**
10397
+ * Tracking visibility of a single element. Not used if the `visibility_actions` parameter is
10398
+ * set.
10399
+ *
10400
+ * Platforms: android, ios, web
10401
+ */
10402
+ visibility_action?: Type<IDivVisibilityAction>;
10403
+ /**
10404
+ * Actions when an element appears on the screen.
10405
+ *
10406
+ * Platforms: android, ios, web
10407
+ */
10408
+ visibility_actions?: Type<NonEmptyArray<IDivVisibilityAction>>;
10409
+ /**
10410
+ * Element width.
10411
+ */
10412
+ width?: Type<DivSize>;
10413
+ }
10414
+
9971
10415
  /**
9972
10416
  * Tabs. Height of the first tab is determined by its contents, and height of the remaining
9973
10417
  * [depends on the platform](../../location#tabs).
@@ -10128,7 +10572,7 @@ declare class DivTabs<T extends DivTabsProps = DivTabsProps> {
10128
10572
  /**
10129
10573
  * Design style of separators between tab titles.
10130
10574
  *
10131
- * Platforms: android
10575
+ * Platforms: android, web
10132
10576
  */
10133
10577
  tab_title_delimiter?: Type<IDivTabsTabTitleDelimiter>;
10134
10578
  /**
@@ -10370,7 +10814,7 @@ interface DivTabsProps {
10370
10814
  /**
10371
10815
  * Design style of separators between tab titles.
10372
10816
  *
10373
- * Platforms: android
10817
+ * Platforms: android, web
10374
10818
  */
10375
10819
  tab_title_delimiter?: Type<IDivTabsTabTitleDelimiter>;
10376
10820
  /**
@@ -12247,7 +12691,7 @@ interface IDivVisibilityAction {
12247
12691
  /**
12248
12692
  * The ID of the element within which the specified action will be performed.
12249
12693
  *
12250
- * Platforms: not supported
12694
+ * Platforms: android, ios, web
12251
12695
  */
12252
12696
  scope_id?: Type<string>;
12253
12697
  typed?: Type<DivActionTyped>;
@@ -12676,4 +13120,4 @@ declare function rewriteTemplateVersions<T extends ITemplates>(templates: T, res
12676
13120
  };
12677
13121
  };
12678
13122
 
12679
- export { AccessibilityType, ArrayValue, ArrayValueProps, ArrayVariable, ArrayVariableProps, BooleanValue, BooleanValueProps, BooleanVariable, BooleanVariableProps, ColorValue, ColorValueProps, ColorVariable, ColorVariableProps, ContentText, ContentTextProps, ContentUrl, ContentUrlProps, DelimiterStyleOrientation, DictValue, DictValueProps, DictVariable, DictVariableProps, Div, DivAccessibilityMode, DivAccessibilityType, DivActionAnimatorStart, DivActionAnimatorStartProps, DivActionAnimatorStop, DivActionAnimatorStopProps, DivActionArrayInsertValue, DivActionArrayInsertValueProps, DivActionArrayRemoveValue, DivActionArrayRemoveValueProps, DivActionArraySetValue, DivActionArraySetValueProps, DivActionClearFocus, DivActionClearFocusProps, DivActionCopyToClipboard, DivActionCopyToClipboardContent, DivActionCopyToClipboardProps, DivActionDictSetValue, DivActionDictSetValueProps, DivActionDownload, DivActionDownloadProps, DivActionFocusElement, DivActionFocusElementProps, DivActionHideTooltip, DivActionHideTooltipProps, DivActionScrollBy, DivActionScrollByOverflow, DivActionScrollByProps, DivActionScrollDestination, DivActionScrollTo, DivActionScrollToProps, DivActionSetState, DivActionSetStateProps, DivActionSetStoredValue, DivActionSetStoredValueProps, DivActionSetVariable, DivActionSetVariableProps, DivActionShowTooltip, DivActionShowTooltipProps, DivActionSubmit, DivActionSubmitProps, DivActionTarget, DivActionTimer, DivActionTimerAction, DivActionTimerProps, DivActionTyped, DivActionVideo, DivActionVideoAction, DivActionVideoProps, DivAlignmentHorizontal, DivAlignmentVertical, DivAnimationDirection, DivAnimationInterpolator, DivAnimationName, DivAnimator, DivAppearanceSetTransition, DivAppearanceSetTransitionProps, DivAppearanceTransition, DivBackground, DivBlendMode, DivBlur, DivBlurProps, DivChangeBoundsTransition, DivChangeBoundsTransitionProps, DivChangeSetTransition, DivChangeSetTransitionProps, DivChangeTransition, DivCircleShape, DivCircleShapeProps, DivCloudBackground, DivCloudBackgroundProps, DivColorAnimator, DivColorAnimatorProps, DivContainer, DivContainerLayoutMode, DivContainerOrientation, DivContainerProps, DivContainerProps0, DivContainerProps1, DivContainerPropsBase, DivContentAlignmentHorizontal, DivContentAlignmentVertical, DivCount, DivCurrencyInputMask, DivCurrencyInputMaskProps, DivCustom, DivCustomProps, DivDefaultIndicatorItemPlacement, DivDefaultIndicatorItemPlacementProps, DivDrawable, DivEvaluableType, DivExpression, DivFadeTransition, DivFadeTransitionProps, DivFilter, DivFilterRtlMirror, DivFilterRtlMirrorProps, DivFixedCount, DivFixedCountProps, DivFixedLengthInputMask, DivFixedLengthInputMaskProps, DivFixedSize, DivFixedSizeProps, DivFontWeight, DivGallery, DivGalleryCrossContentAlignment, DivGalleryOrientation, DivGalleryProps, DivGalleryScrollMode, DivGalleryScrollbar, DivGifImage, DivGifImageProps, DivGradientBackground, DivGrid, DivGridProps, DivImage, DivImageBackground, DivImageBackgroundProps, DivImageProps, DivImageScale, DivIndicator, DivIndicatorAnimation, DivIndicatorItemPlacement, DivIndicatorProps, DivInfinityCount, DivInfinityCountProps, DivInput, DivInputAutocapitalization, DivInputFilter, DivInputFilterExpression, DivInputFilterExpressionProps, DivInputFilterRegex, DivInputFilterRegexProps, DivInputKeyboardType, DivInputMask, DivInputProps, DivInputValidator, DivInputValidatorExpression, DivInputValidatorExpressionProps, DivInputValidatorRegex, DivInputValidatorRegexProps, DivLineStyle, DivLinearGradient, DivLinearGradientProps, DivMatchParentSize, DivMatchParentSizeProps, DivNeighbourPageSize, DivNeighbourPageSizeProps, DivNinePatchBackground, DivNinePatchBackgroundProps, DivNumberAnimator, DivNumberAnimatorProps, DivPageSize, DivPageSizeProps, DivPageTransformation, DivPageTransformationOverlap, DivPageTransformationOverlapProps, DivPageTransformationSlide, DivPageTransformationSlideProps, DivPager, DivPagerLayoutMode, DivPagerOrientation, DivPagerProps, DivPatchMode, DivPercentageSize, DivPercentageSizeProps, DivPhoneInputMask, DivPhoneInputMaskProps, DivPivot, DivPivotFixed, DivPivotFixedProps, DivPivotPercentage, DivPivotPercentageProps, DivRadialGradient, DivRadialGradientCenter, DivRadialGradientFixedCenter, DivRadialGradientFixedCenterProps, DivRadialGradientProps, DivRadialGradientRadius, DivRadialGradientRelativeCenter, DivRadialGradientRelativeCenterProps, DivRadialGradientRelativeRadius, DivRadialGradientRelativeRadiusProps, DivRadialGradientRelativeRadiusValue, DivRoundedRectangleShape, DivRoundedRectangleShapeProps, DivScaleTransition, DivScaleTransitionProps, DivSelect, DivSelectProps, DivSeparator, DivSeparatorProps, DivShape, DivShapeDrawable, DivShapeDrawableProps, DivSize, DivSizeUnit, DivSlideTransition, DivSlideTransitionEdge, DivSlideTransitionProps, DivSlider, DivSliderProps, DivSolidBackground, DivSolidBackgroundProps, DivState, DivStateProps, DivStretchIndicatorItemPlacement, DivStretchIndicatorItemPlacementProps, DivTabs, DivTabsProps, DivText, DivTextAlignmentVertical, DivTextGradient, DivTextProps, DivTextRangeBackground, DivTextTruncate, DivTooltipPosition, DivTransitionSelector, DivTransitionTrigger, DivTriggerMode, DivTypedValue, DivVariable, DivVideo, DivVideoProps, DivVideoScale, DivVideoSource, DivVideoSourceProps, DivVideoSourceResolution, DivVideoSourceResolutionProps, DivVisibility, DivWrapContentSize, DivWrapContentSizeProps, EndDestination, EndDestinationProps, Exact, IDivAbsoluteEdgeInsets, IDivAccessibility, IDivAction, IDivActionMenuItem, IDivActionSubmitRequest, IDivAnimation, IDivAnimatorBase, IDivAspect, IDivBase, IDivBorder, IDivCollectionItemBuilder, IDivCollectionItemBuilderPrototype, IDivContainerSeparator, IDivCornersRadius, IDivData, IDivDataState, IDivDimension, IDivDisappearAction, IDivDownloadCallbacks, IDivEdgeInsets, IDivExtension, IDivFixedLengthInputMaskPatternElement, IDivFocus, IDivFocusNextFocusIds, IDivFunction, IDivFunctionArgument, IDivInputMaskBase, IDivInputNativeInterface, IDivInputValidatorBase, IDivLayoutProvider, IDivPatch, IDivPatchChange, IDivPoint, IDivSelectOption, IDivSeparatorDelimiterStyle, IDivShadow, IDivSightAction, IDivSliderRange, IDivSliderTextStyle, IDivStateState, IDivStroke, IDivTabsItem, IDivTabsTabTitleDelimiter, IDivTabsTabTitleStyle, IDivTextEllipsis, IDivTextImage, IDivTextRange, IDivTextRangeBorder, IDivTimer, IDivTooltip, IDivTransform, IDivTransitionBase, IDivTrigger, IDivVisibilityAction, IDivWrapContentSizeConstraintSize, IImageAccessibility, IRequestHeader, ITemplates, IndexDestination, IndexDestinationProps, IntBoolean, IntegerValue, IntegerValueProps, IntegerVariable, IntegerVariableProps, NonEmptyArray, NumberValue, NumberValueProps, NumberVariable, NumberVariableProps, OffsetDestination, OffsetDestinationProps, RequestMethod, SafeDivExpression, StartDestination, StartDestinationProps, StringValue, StringValueProps, StringVariable, StringVariableProps, TabTitleStyleAnimationType, TemplateBlock, TemplateHelper, TemplatePropertyReference, TemplateResolvedAction, ThelperWithMemo, Type, UrlValue, UrlValueProps, UrlVariable, UrlVariableProps, copyTemplates, divCard, escapeCard, escapeExpression, expression, fixed, getTemplateHash, matchParent, reference, rewriteNames, rewriteRefs, rewriteTemplateVersions, runResolveDeps, template, templateHelper, templatesDepsMap, thelperVersion, thelperWithMemo, treeWalkDFS, weighted, wrapContent };
13123
+ export { AccessibilityType, ArrayValue, ArrayValueProps, ArrayVariable, ArrayVariableProps, BooleanValue, BooleanValueProps, BooleanVariable, BooleanVariableProps, ColorValue, ColorValueProps, ColorVariable, ColorVariableProps, ContentText, ContentTextProps, ContentUrl, ContentUrlProps, DelimiterStyleOrientation, DictValue, DictValueProps, DictVariable, DictVariableProps, Div, DivAccessibilityMode, DivAccessibilityType, DivActionAnimatorStart, DivActionAnimatorStartProps, DivActionAnimatorStop, DivActionAnimatorStopProps, DivActionArrayInsertValue, DivActionArrayInsertValueProps, DivActionArrayRemoveValue, DivActionArrayRemoveValueProps, DivActionArraySetValue, DivActionArraySetValueProps, DivActionClearFocus, DivActionClearFocusProps, DivActionCopyToClipboard, DivActionCopyToClipboardContent, DivActionCopyToClipboardProps, DivActionDictSetValue, DivActionDictSetValueProps, DivActionDownload, DivActionDownloadProps, DivActionFocusElement, DivActionFocusElementProps, DivActionHideTooltip, DivActionHideTooltipProps, DivActionScrollBy, DivActionScrollByOverflow, DivActionScrollByProps, DivActionScrollDestination, DivActionScrollTo, DivActionScrollToProps, DivActionSetState, DivActionSetStateProps, DivActionSetStoredValue, DivActionSetStoredValueProps, DivActionSetVariable, DivActionSetVariableProps, DivActionShowTooltip, DivActionShowTooltipProps, DivActionSubmit, DivActionSubmitProps, DivActionTarget, DivActionTimer, DivActionTimerAction, DivActionTimerProps, DivActionTyped, DivActionVideo, DivActionVideoAction, DivActionVideoProps, DivAlignmentHorizontal, DivAlignmentVertical, DivAnimationDirection, DivAnimationInterpolator, DivAnimationName, DivAnimator, DivAppearanceSetTransition, DivAppearanceSetTransitionProps, DivAppearanceTransition, DivBackground, DivBlendMode, DivBlur, DivBlurProps, DivChangeBoundsTransition, DivChangeBoundsTransitionProps, DivChangeSetTransition, DivChangeSetTransitionProps, DivChangeTransition, DivCircleShape, DivCircleShapeProps, DivCloudBackground, DivCloudBackgroundProps, DivColorAnimator, DivColorAnimatorProps, DivContainer, DivContainerLayoutMode, DivContainerOrientation, DivContainerProps, DivContainerProps0, DivContainerProps1, DivContainerPropsBase, DivContentAlignmentHorizontal, DivContentAlignmentVertical, DivCount, DivCurrencyInputMask, DivCurrencyInputMaskProps, DivCustom, DivCustomProps, DivDefaultIndicatorItemPlacement, DivDefaultIndicatorItemPlacementProps, DivDrawable, DivEvaluableType, DivExpression, DivFadeTransition, DivFadeTransitionProps, DivFilter, DivFilterRtlMirror, DivFilterRtlMirrorProps, DivFixedCount, DivFixedCountProps, DivFixedLengthInputMask, DivFixedLengthInputMaskProps, DivFixedSize, DivFixedSizeProps, DivFontWeight, DivGallery, DivGalleryCrossContentAlignment, DivGalleryOrientation, DivGalleryProps, DivGalleryScrollMode, DivGalleryScrollbar, DivGifImage, DivGifImageProps, DivGradientBackground, DivGrid, DivGridProps, DivImage, DivImageBackground, DivImageBackgroundProps, DivImageProps, DivImageScale, DivIndicator, DivIndicatorAnimation, DivIndicatorItemPlacement, DivIndicatorProps, DivInfinityCount, DivInfinityCountProps, DivInput, DivInputAutocapitalization, DivInputEnterKeyType, DivInputFilter, DivInputFilterExpression, DivInputFilterExpressionProps, DivInputFilterRegex, DivInputFilterRegexProps, DivInputKeyboardType, DivInputMask, DivInputProps, DivInputValidator, DivInputValidatorExpression, DivInputValidatorExpressionProps, DivInputValidatorRegex, DivInputValidatorRegexProps, DivLineStyle, DivLinearGradient, DivLinearGradientProps, DivMatchParentSize, DivMatchParentSizeProps, DivNeighbourPageSize, DivNeighbourPageSizeProps, DivNinePatchBackground, DivNinePatchBackgroundProps, DivNumberAnimator, DivNumberAnimatorProps, DivPageSize, DivPageSizeProps, DivPageTransformation, DivPageTransformationOverlap, DivPageTransformationOverlapProps, DivPageTransformationSlide, DivPageTransformationSlideProps, DivPager, DivPagerLayoutMode, DivPagerOrientation, DivPagerProps, DivPatchMode, DivPercentageSize, DivPercentageSizeProps, DivPhoneInputMask, DivPhoneInputMaskProps, DivPivot, DivPivotFixed, DivPivotFixedProps, DivPivotPercentage, DivPivotPercentageProps, DivRadialGradient, DivRadialGradientCenter, DivRadialGradientFixedCenter, DivRadialGradientFixedCenterProps, DivRadialGradientProps, DivRadialGradientRadius, DivRadialGradientRelativeCenter, DivRadialGradientRelativeCenterProps, DivRadialGradientRelativeRadius, DivRadialGradientRelativeRadiusProps, DivRadialGradientRelativeRadiusValue, DivRoundedRectangleShape, DivRoundedRectangleShapeProps, DivScaleTransition, DivScaleTransitionProps, DivSelect, DivSelectProps, DivSeparator, DivSeparatorProps, DivShape, DivShapeDrawable, DivShapeDrawableProps, DivSize, DivSizeUnit, DivSlideTransition, DivSlideTransitionEdge, DivSlideTransitionProps, DivSlider, DivSliderProps, DivSolidBackground, DivSolidBackgroundProps, DivState, DivStateProps, DivStretchIndicatorItemPlacement, DivStretchIndicatorItemPlacementProps, DivSwitch, DivSwitchProps, DivTabs, DivTabsProps, DivText, DivTextAlignmentVertical, DivTextGradient, DivTextProps, DivTextRangeBackground, DivTextTruncate, DivTooltipPosition, DivTransitionSelector, DivTransitionTrigger, DivTriggerMode, DivTypedValue, DivVariable, DivVideo, DivVideoProps, DivVideoScale, DivVideoSource, DivVideoSourceProps, DivVideoSourceResolution, DivVideoSourceResolutionProps, DivVisibility, DivWrapContentSize, DivWrapContentSizeProps, EndDestination, EndDestinationProps, Exact, IDivAbsoluteEdgeInsets, IDivAccessibility, IDivAction, IDivActionMenuItem, IDivActionSubmitRequest, IDivAnimation, IDivAnimatorBase, IDivAspect, IDivBase, IDivBorder, IDivCollectionItemBuilder, IDivCollectionItemBuilderPrototype, IDivContainerSeparator, IDivCornersRadius, IDivData, IDivDataState, IDivDimension, IDivDisappearAction, IDivDownloadCallbacks, IDivEdgeInsets, IDivExtension, IDivFixedLengthInputMaskPatternElement, IDivFocus, IDivFocusNextFocusIds, IDivFunction, IDivFunctionArgument, IDivInputMaskBase, IDivInputNativeInterface, IDivInputValidatorBase, IDivLayoutProvider, IDivPatch, IDivPatchChange, IDivPoint, IDivSelectOption, IDivSeparatorDelimiterStyle, IDivShadow, IDivSightAction, IDivSliderRange, IDivSliderTextStyle, IDivStateState, IDivStroke, IDivTabsItem, IDivTabsTabTitleDelimiter, IDivTabsTabTitleStyle, IDivTextEllipsis, IDivTextImage, IDivTextRange, IDivTextRangeBorder, IDivTimer, IDivTooltip, IDivTransform, IDivTransitionBase, IDivTrigger, IDivVisibilityAction, IDivWrapContentSizeConstraintSize, IImageAccessibility, IRequestHeader, ITemplates, IndexDestination, IndexDestinationProps, IntBoolean, IntegerValue, IntegerValueProps, IntegerVariable, IntegerVariableProps, NonEmptyArray, NumberValue, NumberValueProps, NumberVariable, NumberVariableProps, OffsetDestination, OffsetDestinationProps, RequestMethod, SafeDivExpression, StartDestination, StartDestinationProps, StringValue, StringValueProps, StringVariable, StringVariableProps, TabTitleStyleAnimationType, TemplateBlock, TemplateHelper, TemplatePropertyReference, TemplateResolvedAction, ThelperWithMemo, Type, UrlValue, UrlValueProps, UrlVariable, UrlVariableProps, copyTemplates, divCard, escapeCard, escapeExpression, expression, fixed, getTemplateHash, matchParent, reference, rewriteNames, rewriteRefs, rewriteTemplateVersions, runResolveDeps, template, templateHelper, templatesDepsMap, thelperVersion, thelperWithMemo, treeWalkDFS, weighted, wrapContent };
@@ -955,6 +955,8 @@ class DivInput {
955
955
  this.border = props.border;
956
956
  this.column_span = props.column_span;
957
957
  this.disappear_actions = props.disappear_actions;
958
+ this.enter_key_actions = props.enter_key_actions;
959
+ this.enter_key_type = props.enter_key_type;
958
960
  this.extensions = props.extensions;
959
961
  this.filters = props.filters;
960
962
  this.focus = props.focus;
@@ -1595,6 +1597,52 @@ class DivStretchIndicatorItemPlacement {
1595
1597
  }
1596
1598
  }
1597
1599
 
1600
+ // Generated code. Do not modify.
1601
+ /**
1602
+ * A two-state switch that allows user to toggle a boolean variable. The element has a different
1603
+ * appearance depending on the platform. On iOS, the switch size is fixed.
1604
+ */
1605
+ class DivSwitch {
1606
+ constructor(props) {
1607
+ this.type = 'switch';
1608
+ this.accessibility = props.accessibility;
1609
+ this.alignment_horizontal = props.alignment_horizontal;
1610
+ this.alignment_vertical = props.alignment_vertical;
1611
+ this.alpha = props.alpha;
1612
+ this.animators = props.animators;
1613
+ this.background = props.background;
1614
+ this.border = props.border;
1615
+ this.column_span = props.column_span;
1616
+ this.disappear_actions = props.disappear_actions;
1617
+ this.extensions = props.extensions;
1618
+ this.focus = props.focus;
1619
+ this.functions = props.functions;
1620
+ this.height = props.height;
1621
+ this.id = props.id;
1622
+ this.is_enabled = props.is_enabled;
1623
+ this.is_on_variable = props.is_on_variable;
1624
+ this.layout_provider = props.layout_provider;
1625
+ this.margins = props.margins;
1626
+ this.on_color = props.on_color;
1627
+ this.paddings = props.paddings;
1628
+ this.reuse_id = props.reuse_id;
1629
+ this.row_span = props.row_span;
1630
+ this.selected_actions = props.selected_actions;
1631
+ this.tooltips = props.tooltips;
1632
+ this.transform = props.transform;
1633
+ this.transition_change = props.transition_change;
1634
+ this.transition_in = props.transition_in;
1635
+ this.transition_out = props.transition_out;
1636
+ this.transition_triggers = props.transition_triggers;
1637
+ this.variable_triggers = props.variable_triggers;
1638
+ this.variables = props.variables;
1639
+ this.visibility = props.visibility;
1640
+ this.visibility_action = props.visibility_action;
1641
+ this.visibility_actions = props.visibility_actions;
1642
+ this.width = props.width;
1643
+ }
1644
+ }
1645
+
1598
1646
  // Generated code. Do not modify.
1599
1647
  /**
1600
1648
  * Tabs. Height of the first tab is determined by its contents, and height of the remaining
@@ -2398,6 +2446,7 @@ exports.DivSlider = DivSlider;
2398
2446
  exports.DivSolidBackground = DivSolidBackground;
2399
2447
  exports.DivState = DivState;
2400
2448
  exports.DivStretchIndicatorItemPlacement = DivStretchIndicatorItemPlacement;
2449
+ exports.DivSwitch = DivSwitch;
2401
2450
  exports.DivTabs = DivTabs;
2402
2451
  exports.DivText = DivText;
2403
2452
  exports.DivVideo = DivVideo;