@divkitframework/jsonbuilder 32.41.0 → 32.42.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.
@@ -11946,6 +11946,12 @@ interface IDivTabsTabTitleStyle {
11946
11946
  * Active tab title style.
11947
11947
  */
11948
11948
  active_font_weight?: Type<DivFontWeight | DivExpression>;
11949
+ /**
11950
+ * Numeric value for font weight of the active tab title.
11951
+ *
11952
+ * Platforms: ios, web, android
11953
+ */
11954
+ active_font_weight_value?: Type<number | DivExpression>;
11949
11955
  /**
11950
11956
  * Color of the active tab title text.
11951
11957
  */
@@ -12002,6 +12008,12 @@ interface IDivTabsTabTitleStyle {
12002
12008
  * Inactive tab title style.
12003
12009
  */
12004
12010
  inactive_font_weight?: Type<DivFontWeight | DivExpression>;
12011
+ /**
12012
+ * Numeric value for font weight of the inactive tab title.
12013
+ *
12014
+ * Platforms: ios, web, android
12015
+ */
12016
+ inactive_font_weight_value?: Type<number | DivExpression>;
12005
12017
  /**
12006
12018
  * Color of the inactive tab title text.
12007
12019
  */
@@ -13513,7 +13525,7 @@ declare class DivVideo<T extends DivVideoProps = DivVideoProps> {
13513
13525
  *
13514
13526
  * Platforms: android, ios, web
13515
13527
  */
13516
- player_settings_payload?: Type<{}>;
13528
+ player_settings_payload?: Type<{} | DivExpression>;
13517
13529
  /**
13518
13530
  * Enables video preloading.
13519
13531
  *
@@ -13618,7 +13630,7 @@ declare class DivVideo<T extends DivVideoProps = DivVideoProps> {
13618
13630
  * Platforms: ios, web, android
13619
13631
  */
13620
13632
  variables?: Type<NonEmptyArray<DivVariable>>;
13621
- video_sources: Type<NonEmptyArray<DivVideoSource>>;
13633
+ video_sources?: Type<NonEmptyArray<DivVideoSource>>;
13622
13634
  /**
13623
13635
  * Element visibility.
13624
13636
  */
@@ -13636,7 +13648,7 @@ declare class DivVideo<T extends DivVideoProps = DivVideoProps> {
13636
13648
  * Element width.
13637
13649
  */
13638
13650
  width?: Type<DivSize>;
13639
- constructor(props: Exact<DivVideoProps, T>);
13651
+ constructor(props?: Exact<DivVideoProps, T>);
13640
13652
  }
13641
13653
  interface DivVideoProps {
13642
13654
  /**
@@ -13764,7 +13776,7 @@ interface DivVideoProps {
13764
13776
  *
13765
13777
  * Platforms: android, ios, web
13766
13778
  */
13767
- player_settings_payload?: Type<{}>;
13779
+ player_settings_payload?: Type<{} | DivExpression>;
13768
13780
  /**
13769
13781
  * Enables video preloading.
13770
13782
  *
@@ -13869,7 +13881,7 @@ interface DivVideoProps {
13869
13881
  * Platforms: ios, web, android
13870
13882
  */
13871
13883
  variables?: Type<NonEmptyArray<DivVariable>>;
13872
- video_sources: Type<NonEmptyArray<DivVideoSource>>;
13884
+ video_sources?: Type<NonEmptyArray<DivVideoSource>>;
13873
13885
  /**
13874
13886
  * Element visibility.
13875
13887
  */
@@ -1999,54 +1999,54 @@ class DivTranslationTransformation {
1999
1999
  class DivVideo {
2000
2000
  constructor(props) {
2001
2001
  this.type = 'video';
2002
- this.accessibility = props.accessibility;
2003
- this.alignment_horizontal = props.alignment_horizontal;
2004
- this.alignment_vertical = props.alignment_vertical;
2005
- this.alpha = props.alpha;
2006
- this.animators = props.animators;
2007
- this.aspect = props.aspect;
2008
- this.autostart = props.autostart;
2009
- this.background = props.background;
2010
- this.border = props.border;
2011
- this.buffering_actions = props.buffering_actions;
2012
- this.column_span = props.column_span;
2013
- this.disappear_actions = props.disappear_actions;
2014
- this.elapsed_time_variable = props.elapsed_time_variable;
2015
- this.end_actions = props.end_actions;
2016
- this.extensions = props.extensions;
2017
- this.fatal_actions = props.fatal_actions;
2018
- this.focus = props.focus;
2019
- this.functions = props.functions;
2020
- this.height = props.height;
2021
- this.id = props.id;
2022
- this.layout_provider = props.layout_provider;
2023
- this.margins = props.margins;
2024
- this.muted = props.muted;
2025
- this.paddings = props.paddings;
2026
- this.pause_actions = props.pause_actions;
2027
- this.player_settings_payload = props.player_settings_payload;
2028
- this.preload_required = props.preload_required;
2029
- this.preview = props.preview;
2030
- this.repeatable = props.repeatable;
2031
- this.resume_actions = props.resume_actions;
2032
- this.reuse_id = props.reuse_id;
2033
- this.row_span = props.row_span;
2034
- this.scale = props.scale;
2035
- this.selected_actions = props.selected_actions;
2036
- this.tooltips = props.tooltips;
2037
- this.transform = props.transform;
2038
- this.transformations = props.transformations;
2039
- this.transition_change = props.transition_change;
2040
- this.transition_in = props.transition_in;
2041
- this.transition_out = props.transition_out;
2042
- this.transition_triggers = props.transition_triggers;
2043
- this.variable_triggers = props.variable_triggers;
2044
- this.variables = props.variables;
2045
- this.video_sources = props.video_sources;
2046
- this.visibility = props.visibility;
2047
- this.visibility_action = props.visibility_action;
2048
- this.visibility_actions = props.visibility_actions;
2049
- this.width = props.width;
2002
+ this.accessibility = props === null || props === void 0 ? void 0 : props.accessibility;
2003
+ this.alignment_horizontal = props === null || props === void 0 ? void 0 : props.alignment_horizontal;
2004
+ this.alignment_vertical = props === null || props === void 0 ? void 0 : props.alignment_vertical;
2005
+ this.alpha = props === null || props === void 0 ? void 0 : props.alpha;
2006
+ this.animators = props === null || props === void 0 ? void 0 : props.animators;
2007
+ this.aspect = props === null || props === void 0 ? void 0 : props.aspect;
2008
+ this.autostart = props === null || props === void 0 ? void 0 : props.autostart;
2009
+ this.background = props === null || props === void 0 ? void 0 : props.background;
2010
+ this.border = props === null || props === void 0 ? void 0 : props.border;
2011
+ this.buffering_actions = props === null || props === void 0 ? void 0 : props.buffering_actions;
2012
+ this.column_span = props === null || props === void 0 ? void 0 : props.column_span;
2013
+ this.disappear_actions = props === null || props === void 0 ? void 0 : props.disappear_actions;
2014
+ this.elapsed_time_variable = props === null || props === void 0 ? void 0 : props.elapsed_time_variable;
2015
+ this.end_actions = props === null || props === void 0 ? void 0 : props.end_actions;
2016
+ this.extensions = props === null || props === void 0 ? void 0 : props.extensions;
2017
+ this.fatal_actions = props === null || props === void 0 ? void 0 : props.fatal_actions;
2018
+ this.focus = props === null || props === void 0 ? void 0 : props.focus;
2019
+ this.functions = props === null || props === void 0 ? void 0 : props.functions;
2020
+ this.height = props === null || props === void 0 ? void 0 : props.height;
2021
+ this.id = props === null || props === void 0 ? void 0 : props.id;
2022
+ this.layout_provider = props === null || props === void 0 ? void 0 : props.layout_provider;
2023
+ this.margins = props === null || props === void 0 ? void 0 : props.margins;
2024
+ this.muted = props === null || props === void 0 ? void 0 : props.muted;
2025
+ this.paddings = props === null || props === void 0 ? void 0 : props.paddings;
2026
+ this.pause_actions = props === null || props === void 0 ? void 0 : props.pause_actions;
2027
+ this.player_settings_payload = props === null || props === void 0 ? void 0 : props.player_settings_payload;
2028
+ this.preload_required = props === null || props === void 0 ? void 0 : props.preload_required;
2029
+ this.preview = props === null || props === void 0 ? void 0 : props.preview;
2030
+ this.repeatable = props === null || props === void 0 ? void 0 : props.repeatable;
2031
+ this.resume_actions = props === null || props === void 0 ? void 0 : props.resume_actions;
2032
+ this.reuse_id = props === null || props === void 0 ? void 0 : props.reuse_id;
2033
+ this.row_span = props === null || props === void 0 ? void 0 : props.row_span;
2034
+ this.scale = props === null || props === void 0 ? void 0 : props.scale;
2035
+ this.selected_actions = props === null || props === void 0 ? void 0 : props.selected_actions;
2036
+ this.tooltips = props === null || props === void 0 ? void 0 : props.tooltips;
2037
+ this.transform = props === null || props === void 0 ? void 0 : props.transform;
2038
+ this.transformations = props === null || props === void 0 ? void 0 : props.transformations;
2039
+ this.transition_change = props === null || props === void 0 ? void 0 : props.transition_change;
2040
+ this.transition_in = props === null || props === void 0 ? void 0 : props.transition_in;
2041
+ this.transition_out = props === null || props === void 0 ? void 0 : props.transition_out;
2042
+ this.transition_triggers = props === null || props === void 0 ? void 0 : props.transition_triggers;
2043
+ this.variable_triggers = props === null || props === void 0 ? void 0 : props.variable_triggers;
2044
+ this.variables = props === null || props === void 0 ? void 0 : props.variables;
2045
+ this.video_sources = props === null || props === void 0 ? void 0 : props.video_sources;
2046
+ this.visibility = props === null || props === void 0 ? void 0 : props.visibility;
2047
+ this.visibility_action = props === null || props === void 0 ? void 0 : props.visibility_action;
2048
+ this.visibility_actions = props === null || props === void 0 ? void 0 : props.visibility_actions;
2049
+ this.width = props === null || props === void 0 ? void 0 : props.width;
2050
2050
  }
2051
2051
  }
2052
2052